len 1 LayoutTests/http/tests/misc/resources/generatedimage.php <?php header("Content-Type: image/jpg"); function hex2bin($str) { $len = strlen($str); return pack("H" . $len, $str); } echo hex2bin("47494638396158001f00e60000000000c5dddd00569ecc3300a91700b5aa9d002066709f9eefefef585c99777c7cd08445393b3b5d61610aa4d4ae6742000a49e0620ed3e5e5b3cfcfffffff004e8f0e8cc8c14d19e59d6ce15a0a72777786aeae171a1a33ccffe6e6e6e76c27d5dede293b667f8c8ce45201bdcece27305dadbfc224587ef38538921b10484b4bc96e65262929e36414f3f7f7003d7463ccec96d9eb899696ffb7779ca3a3804c39ccccccdeececc16114006dab0e0f0fd34707f0691fbebdb70099cc66666694a6a6c52007fdecae105f84afb6b6af7860ab9a86ec6b1bda8f6c587388fccaa3cedddd42b1de669999c2c7c7a6b7b7f98c4f3171aaef7425de6c16a755213379a5de9465003077be16070040873f4444dad5d2c4783edfdfdf515353f99e559bbbbbe5efef8fa3a3dd7f243d6082cfbcacde4a06ea7a1800213eefc089df5308953811ad7752e75a08a25733bf310713afe0c79e6d0066993333333e3e770f75b4c1d6d6003366a3c4d41e1f1f18738fd53b0cc39f7ef06613f28031ef905 len 46 ManualTests/NPN_Invoke/main.c int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); len 199 ManualTests/NPN_Invoke/main.c int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer) len 85 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp static float* jsArrayToFloatArray(v8::Handle<v8::Array> array, uint32_t len, ExceptionState& exceptionState) len 88 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp if (len > std::numeric_limits<uint32_t>::max() / sizeof(float)) { len 92 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp float* data = static_cast<float*>(fastMalloc(len * sizeof(float))); len 94 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp for (uint32_t i = 0; i < len; i++) { len 108 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp static int* jsArrayToIntArray(v8::Handle<v8::Array> array, uint32_t len, ExceptionState& exceptionState) len 111 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp if (len > std::numeric_limits<uint32_t>::max() / sizeof(int)) { len 115 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp int* data = static_cast<int*>(fastMalloc(len * sizeof(int))); len 117 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp for (uint32_t i = 0; i < len; i++) { len 604 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp uint32_t len = array->Length(); len 605 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp float* data = jsArrayToFloatArray(array, len, exceptionState); len 615 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform1v: context->uniform1fv(location, data, len); break; len 616 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform2v: context->uniform2fv(location, data, len); break; len 617 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform3v: context->uniform3fv(location, data, len); break; len 618 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform4v: context->uniform4fv(location, data, len); break; len 619 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib1v: context->vertexAttrib1fv(index, data, len); break; len 620 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib2v: context->vertexAttrib2fv(index, data, len); break; len 621 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib3v: context->vertexAttrib3fv(index, data, len); break; len 622 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kVertexAttrib4v: context->vertexAttrib4fv(index, data, len); break; len 675 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp uint32_t len = array->Length(); len 676 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp int* data = jsArrayToIntArray(array, len, exceptionState); len 686 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform1v: context->uniform1iv(location, data, len); break; len 687 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform2v: context->uniform2iv(location, data, len); break; len 688 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform3v: context->uniform3iv(location, data, len); break; len 689 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case kUniform4v: context->uniform4iv(location, data, len); break; len 790 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp uint32_t len = array->Length(); len 791 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp float* data = jsArrayToFloatArray(array, len, exceptionState); len 801 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 2: context->uniformMatrix2fv(location, transpose, data, len); break; len 802 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 3: context->uniformMatrix3fv(location, transpose, data, len); break; len 803 Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp case 4: context->uniformMatrix4fv(location, transpose, data, len); break; len 96 Source/bindings/v8/npruntime.cpp size_t len = key.m_length; len 98 Source/bindings/v8/npruntime.cpp for (size_t i = 0; i < len; i++) { len 92 Source/core/accessibility/AXInlineTextBox.cpp unsigned len = m_inlineTextBox->len(); len 95 Source/core/accessibility/AXInlineTextBox.cpp ASSERT(widths.size() == len); len 96 Source/core/accessibility/AXInlineTextBox.cpp offsets.resize(len); len 99 Source/core/accessibility/AXInlineTextBox.cpp for (unsigned i = 0; i < len; i++) { len 307 Source/core/css/CSSTokenizer-in.cpp UChar* CSSTokenizer::allocateStringBuffer16(size_t len) len 312 Source/core/css/CSSTokenizer-in.cpp OwnPtr<UChar[]> buffer = adoptArrayPtr(new UChar[len]); len 77 Source/core/css/CSSTokenizer.h UChar* allocateStringBuffer16(size_t len); len 35 Source/core/css/HashTools.h const Property* findProperty(register const char* str, register unsigned len); len 36 Source/core/css/HashTools.h const Value* findValue(register const char* str, register unsigned len); len 261 Source/core/css/parser/BisonCSSParser.h void recheckAtKeyword(const UChar* str, int len); len 517 Source/core/css/resolver/FontBuilder.cpp int len = list->length(); len 518 Source/core/css/resolver/FontBuilder.cpp for (int i = 0; i < len; ++i) { len 178 Source/core/css/resolver/StyleBuilderCustom.cpp int len = list->length(); len 180 Source/core/css/resolver/StyleBuilderCustom.cpp for (int i = 0; i < len; i++) { len 467 Source/core/dom/Position.cpp int end = box->start() + box->len(); len 474 Source/core/dom/Position.cpp result += box->len(); len 663 Source/core/dom/Position.cpp if (textOffset <= box->start() + box->len()) { len 669 Source/core/dom/Position.cpp if (box == lastTextBox || textOffset != box->start() + box->len() + 1) len 793 Source/core/dom/Position.cpp if (box == lastTextBox || textOffset != box->start() + box->len()) len 959 Source/core/dom/Position.cpp if (m_offset >= static_cast<int>(box->start()) && m_offset < static_cast<int>(box->start() + box->len())) len 744 Source/core/editing/CompositeEditCommand.cpp unsigned gapStart = prevBox ? prevBox->start() + prevBox->len() : 0; len 94 Source/core/editing/PlainTextRange.cpp int len = it.length(); len 97 Source/core/editing/PlainTextRange.cpp bool foundStart = start() >= docTextPosition && start() <= docTextPosition + len; len 98 Source/core/editing/PlainTextRange.cpp bool foundEnd = end() >= docTextPosition && end() <= docTextPosition + len; len 105 Source/core/editing/PlainTextRange.cpp if (len == 1 && it.characterAt(0) == '\n') { len 143 Source/core/editing/PlainTextRange.cpp docTextPosition += len; len 146 Source/core/editing/PlainTextRange.cpp docTextPosition += len; len 52 Source/core/editing/TextCheckingHelper.h String textSubstring(unsigned pos, unsigned len = INT_MAX) const { return text().substring(pos, len); } len 682 Source/core/editing/TextIterator.cpp unsigned textBoxEnd = textBoxStart + m_textBox->len(); len 296 Source/core/editing/VisibleUnits.cpp int len = 0; len 299 Source/core/editing/VisibleUnits.cpp previousBoxLength = previousBox->len(); len 301 Source/core/editing/VisibleUnits.cpp len += previousBoxLength; len 303 Source/core/editing/VisibleUnits.cpp textBox->textRenderer().text().appendTo(string, textBox->start(), textBox->len()); len 304 Source/core/editing/VisibleUnits.cpp len += textBox->len(); len 306 Source/core/editing/VisibleUnits.cpp return wordBreakIterator(string.data(), len); len 317 Source/core/editing/VisibleUnits.cpp int len = 0; len 319 Source/core/editing/VisibleUnits.cpp textBox->textRenderer().text().appendTo(string, textBox->start(), textBox->len()); len 320 Source/core/editing/VisibleUnits.cpp len += textBox->len(); len 322 Source/core/editing/VisibleUnits.cpp nextBox->textRenderer().text().appendTo(string, nextBox->start(), nextBox->len()); len 323 Source/core/editing/VisibleUnits.cpp len += nextBox->len(); len 326 Source/core/editing/VisibleUnits.cpp return wordBreakIterator(string.data(), len); len 389 Source/core/editing/VisibleUnits.cpp iter = wordBreakIterator(textBox->textRenderer().text(), textBox->start(), textBox->len()); len 407 Source/core/editing/VisibleUnits.cpp bool logicalEndInRenderer = offsetInBox == static_cast<int>(textBox->start() + textBox->len()) && nextBoxInDifferentBlock; len 824 Source/core/editing/VisibleUnits.cpp endOffset += endTextBox->len(); len 54 Source/core/fetch/MemoryCacheTest.cpp virtual void appendData(const char* data, int len) len 56 Source/core/fetch/MemoryCacheTest.cpp Resource::appendData(data, len); len 53 Source/core/fileapi/Stream.cpp void Stream::addData(const char* data, size_t len) len 56 Source/core/fileapi/Stream.cpp buffer->mutableData()->resize(len); len 57 Source/core/fileapi/Stream.cpp memcpy(buffer->mutableData()->data(), data, len); len 63 Source/core/fileapi/Stream.h void addData(const char* data, size_t len); len 178 Source/core/html/HTMLFormElement.cpp unsigned len = 0; len 181 Source/core/html/HTMLFormElement.cpp ++len; len 183 Source/core/html/HTMLFormElement.cpp return len; len 152 Source/core/html/parser/TextResourceDecoder.cpp static int findXMLEncoding(const char* str, int len, int& encodingLength) len 154 Source/core/html/parser/TextResourceDecoder.cpp int pos = find(str, len, "encoding"); len 160 Source/core/html/parser/TextResourceDecoder.cpp while (pos < len && str[pos] <= ' ') len 164 Source/core/html/parser/TextResourceDecoder.cpp if (pos >= len || str[pos] != '=') len 169 Source/core/html/parser/TextResourceDecoder.cpp while (pos < len && str[pos] <= ' ') len 173 Source/core/html/parser/TextResourceDecoder.cpp if (pos >= len) len 182 Source/core/html/parser/TextResourceDecoder.cpp while (end < len && str[end] != quoteMark) len 184 Source/core/html/parser/TextResourceDecoder.cpp if (end >= len) len 191 Source/core/html/parser/TextResourceDecoder.cpp size_t TextResourceDecoder::checkForBOM(const char* data, size_t len) len 202 Source/core/html/parser/TextResourceDecoder.cpp size_t buf2Len = len; len 230 Source/core/html/parser/TextResourceDecoder.cpp if (lengthOfBOM || bufferLength + len >= 4) len 236 Source/core/html/parser/TextResourceDecoder.cpp bool TextResourceDecoder::checkForCSSCharset(const char* data, size_t len, bool& movedDataToBuffer) len 244 Source/core/html/parser/TextResourceDecoder.cpp m_buffer.grow(oldSize + len); len 245 Source/core/html/parser/TextResourceDecoder.cpp memcpy(m_buffer.data() + oldSize, data, len); len 276 Source/core/html/parser/TextResourceDecoder.cpp bool TextResourceDecoder::checkForXMLCharset(const char* data, size_t len, bool& movedDataToBuffer) len 287 Source/core/html/parser/TextResourceDecoder.cpp m_buffer.grow(oldSize + len); len 288 Source/core/html/parser/TextResourceDecoder.cpp memcpy(m_buffer.data() + oldSize, data, len); len 308 Source/core/html/parser/TextResourceDecoder.cpp int len = 0; len 309 Source/core/html/parser/TextResourceDecoder.cpp int pos = findXMLEncoding(ptr, xmlDeclarationEnd - ptr, len); len 311 Source/core/html/parser/TextResourceDecoder.cpp setEncoding(findTextEncoding(ptr + pos, len), EncodingFromXMLHeader); len 363 Source/core/html/parser/TextResourceDecoder.cpp String TextResourceDecoder::decode(const char* data, size_t len) len 367 Source/core/html/parser/TextResourceDecoder.cpp lengthOfBOM = checkForBOM(data, len); len 372 Source/core/html/parser/TextResourceDecoder.cpp if (!checkForCSSCharset(data, len, movedDataToBuffer)) len 377 Source/core/html/parser/TextResourceDecoder.cpp if (!checkForXMLCharset(data, len, movedDataToBuffer)) len 382 Source/core/html/parser/TextResourceDecoder.cpp size_t lengthForDecode = len - lengthOfBOM; len 387 Source/core/html/parser/TextResourceDecoder.cpp m_buffer.grow(oldSize + len); len 388 Source/core/html/parser/TextResourceDecoder.cpp memcpy(m_buffer.data() + oldSize, data, len); len 400 Source/core/html/parser/TextResourceDecoder.cpp if (detectTextEncoding(data, len, m_hintEncoding, &detectedEncoding)) len 106 Source/core/rendering/AbstractInlineTextBox.cpp return m_inlineTextBox->len(); len 133 Source/core/rendering/AbstractInlineTextBox.cpp int len = text.length(); len 134 Source/core/rendering/AbstractInlineTextBox.cpp TextBreakIterator* iterator = wordBreakIterator(text, 0, len); len 136 Source/core/rendering/AbstractInlineTextBox.cpp while (pos >= 0 && pos < len) { len 150 Source/core/rendering/AbstractInlineTextBox.cpp unsigned len = m_inlineTextBox->len(); len 154 Source/core/rendering/AbstractInlineTextBox.cpp range->setEnd(node, start + len, IGNORE_EXCEPTION); len 158 Source/core/rendering/AbstractInlineTextBox.cpp String result = m_renderText->text().substring(start, len).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace); len 79 Source/core/rendering/AbstractInlineTextBox.h unsigned len() const; len 157 Source/core/rendering/InlineTextBox.cpp int lastSelectable = start() + len() - (isLineBreak() ? 1 : 0); len 369 Source/core/rendering/InlineTextBox.cpp return renderer().isBR() || (renderer().style()->preserveNewline() && len() == 1 && (*textRenderer().text().impl())[start()] == '\n'); len 1425 Source/core/rendering/InlineTextBox.cpp return isLeftToRightDirection() ? len() : 0; len 1427 Source/core/rendering/InlineTextBox.cpp return isLeftToRightDirection() ? 0 : len(); len 1508 Source/core/rendering/InlineTextBox.cpp unsigned length = len(); len 1559 Source/core/rendering/InlineTextBox.cpp value = value.substring(start(), len()); len 1569 Source/core/rendering/InlineTextBox.cpp fprintf(stderr, "(%d,%d) \"%s\"\n", start(), start() + len(), value.utf8().data()); len 66 Source/core/rendering/InlineTextBox.h unsigned len() const { return m_len; } len 69 Source/core/rendering/InlineTextBox.h void setLen(unsigned len) { m_len = len; } len 2941 Source/core/rendering/RenderBlock.cpp return createLegacyEditingPosition(box->renderer().nonPseudoNode(), start ? textBox->start() : textBox->start() + textBox->len()); len 314 Source/core/rendering/RenderText.cpp String text = m_text.substring(textBox->start(), textBox->len()).simplifyWhiteSpace(WTF::DoNotStripWhiteSpace); len 397 Source/core/rendering/RenderText.cpp int ellipsisEndPosition = min<int>(endPos - box->start(), box->len()); len 478 Source/core/rendering/RenderText.cpp int off = s->len(); len 481 Source/core/rendering/RenderText.cpp off = s->start() + s->len(); len 484 Source/core/rendering/RenderText.cpp pos = (offset > off ? s->len() : s->len() - (off - offset) ); len 548 Source/core/rendering/RenderText.cpp if (offset && static_cast<unsigned>(offset) < box->len()) len 725 Source/core/rendering/RenderText.cpp ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const len 739 Source/core/rendering/RenderText.cpp for (int i = start; i < start + len; i++) { len 765 Source/core/rendering/RenderText.cpp TextRun run = RenderBlockFlow::constructTextRun(const_cast<RenderText*>(this), f, this, start, len, style(), textDirection); len 793 Source/core/rendering/RenderText.cpp int len = textLength(); len 795 Source/core/rendering/RenderText.cpp if (!len || (stripFrontSpaces && text().impl()->containsOnlyWhitespace())) { len 839 Source/core/rendering/RenderText.cpp for (int i = 0; i < len; i++) { len 841 Source/core/rendering/RenderText.cpp while (i + linelen < len && text[i + linelen] != '\n') len 858 Source/core/rendering/RenderText.cpp if (i == len - 1) { len 922 Source/core/rendering/RenderText.cpp int len = textLength(); len 956 Source/core/rendering/RenderText.cpp for (int i = 0; i < len; i++) { len 992 Source/core/rendering/RenderText.cpp if (i == len - 1) { len 1021 Source/core/rendering/RenderText.cpp if (j == len) len 1037 Source/core/rendering/RenderText.cpp bool isSpace = (j < len) && c == ' '; len 1069 Source/core/rendering/RenderText.cpp bool isCollapsibleWhiteSpace = (j < len) && styleToUse->isCollapsibleWhiteSpace(c); len 1070 Source/core/rendering/RenderText.cpp if (j < len && styleToUse->autoWrap()) len 1075 Source/core/rendering/RenderText.cpp if (wordSpacing && (isSpace || isCollapsibleWhiteSpace) && !containsOnlyWhitespace(j, len-j)) len 1117 Source/core/rendering/RenderText.cpp run.setCharactersLength(len - i); len 1124 Source/core/rendering/RenderText.cpp needsWordSpacing = isSpace && !previousCharacterIsSpace && i == len - 1; len 1136 Source/core/rendering/RenderText.cpp if ((needsWordSpacing && len > 1) || (ignoringSpaces && !firstWord)) len 1171 Source/core/rendering/RenderText.cpp bool RenderText::containsOnlyWhitespace(unsigned from, unsigned len) const len 1177 Source/core/rendering/RenderText.cpp currPos < from + len && (text[currPos] == '\n' || text[currPos] == ' ' || text[currPos] == '\t'); len 1179 Source/core/rendering/RenderText.cpp return currPos >= (from + len); len 1232 Source/core/rendering/RenderText.cpp void RenderText::setTextWithOffset(PassRefPtr<StringImpl> text, unsigned offset, unsigned len, bool force) len 1240 Source/core/rendering/RenderText.cpp unsigned end = len ? offset + len - 1 : offset; len 1471 Source/core/rendering/RenderText.cpp if (!s->len()) { len 1489 Source/core/rendering/RenderText.cpp float RenderText::width(unsigned from, unsigned len, float xPos, TextDirection textDirection, bool firstLine, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const len 1494 Source/core/rendering/RenderText.cpp if (from + len > textLength()) len 1495 Source/core/rendering/RenderText.cpp len = textLength() - from; len 1497 Source/core/rendering/RenderText.cpp return width(from, len, style(firstLine)->font(), xPos, textDirection, fallbackFonts, glyphOverflow); len 1500 Source/core/rendering/RenderText.cpp float RenderText::width(unsigned from, unsigned len, const Font& f, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const len 1502 Source/core/rendering/RenderText.cpp ASSERT(from + len <= textLength()); len 1508 Source/core/rendering/RenderText.cpp if (!style()->preserveNewline() && !from && len == textLength() && (!glyphOverflow || !glyphOverflow->computeBounds)) { len 1521 Source/core/rendering/RenderText.cpp w = widthFromCache(f, from, len, xPos, textDirection, fallbackFonts, glyphOverflow); len 1524 Source/core/rendering/RenderText.cpp TextRun run = RenderBlockFlow::constructTextRun(const_cast<RenderText*>(this), f, this, from, len, style(), textDirection); len 1667 Source/core/rendering/RenderText.cpp int maxOffset = box->start() + box->len(); len 1669 Source/core/rendering/RenderText.cpp maxOffset = max<int>(maxOffset, box->start() + box->len()); len 1677 Source/core/rendering/RenderText.cpp l += box->len(); len 87 Source/core/rendering/RenderText.h virtual float width(unsigned from, unsigned len, const Font&, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; len 88 Source/core/rendering/RenderText.h virtual float width(unsigned from, unsigned len, float xPos, TextDirection, bool firstLine = false, HashSet<const SimpleFontData*>* fallbackFonts = 0, GlyphOverflow* = 0) const; len 109 Source/core/rendering/RenderText.h void setTextWithOffset(PassRefPtr<StringImpl>, unsigned offset, unsigned len, bool force = false); len 181 Source/core/rendering/RenderText.h bool containsOnlyWhitespace(unsigned from, unsigned len) const; len 182 Source/core/rendering/RenderText.h float widthFromCache(const Font&, int start, int len, float xPos, TextDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow*) const; len 423 Source/core/rendering/RenderTreeAsText.cpp << quoteAndEscapeNonPrintables(String(o.text()).substring(run.start(), run.len())); len 149 Source/core/rendering/break_lines.cpp int len = static_cast<int>(length); len 155 Source/core/rendering/break_lines.cpp for (int i = pos; i < len; i++) { len 182 Source/core/rendering/break_lines.cpp return len; len 522 Source/core/rendering/line/BreakingContextInlineHeaders.h ALWAYS_INLINE float textWidth(RenderText* text, unsigned from, unsigned len, const Font& font, float xPos, bool isFixedPitch, bool collapseWhiteSpace, HashSet<const SimpleFontData*>* fallbackFonts = 0) len 525 Source/core/rendering/line/BreakingContextInlineHeaders.h if (isFixedPitch || (!from && len == text->textLength()) || text->style()->hasTextCombine()) len 526 Source/core/rendering/line/BreakingContextInlineHeaders.h return text->width(from, len, font, xPos, text->style()->direction(), fallbackFonts, &glyphOverflow); len 528 Source/core/rendering/line/BreakingContextInlineHeaders.h TextRun run = RenderBlockFlow::constructTextRun(text, font, text, from, len, text->style()); len 113 Source/core/rendering/svg/RenderSVGInlineText.cpp if (static_cast<unsigned>(caretOffset) < textBox->start() || static_cast<unsigned>(caretOffset) > textBox->start() + textBox->len()) len 117 Source/core/rendering/svg/RenderSVGInlineText.cpp if (static_cast<unsigned>(caretOffset) < textBox->start() + textBox->len()) { len 150 Source/core/rendering/svg/SVGInlineTextBox.cpp endPosition = min(endPosition - boxStart, static_cast<int>(len())); len 712 Source/core/rendering/svg/SVGInlineTextBox.cpp int markerEndPosition = min<int>(marker->endOffset() - textBox->start(), textBox->len()); len 263 Source/core/rendering/svg/SVGRootInlineBox.cpp if (firstTextBox->len() == 1 && firstTextBox->len() == lastTextBox->len()) { len 273 Source/core/rendering/svg/SVGTextLayoutEngine.cpp fprintf(stderr, " textBox properties, start=%i, len=%i, box direction=%i\n", textBox->start(), textBox->len(), textBox->direction()); len 395 Source/core/rendering/svg/SVGTextLayoutEngine.cpp unsigned boxLength = textBox->len(); len 162 Source/core/rendering/svg/SVGTextQuery.cpp unsigned boxLength = queryData->textBox->len(); len 120 Source/core/workers/WorkerScriptLoader.cpp void WorkerScriptLoader::didReceiveData(const char* data, int len) len 132 Source/core/workers/WorkerScriptLoader.cpp if (!len) len 135 Source/core/workers/WorkerScriptLoader.cpp if (len == -1) len 136 Source/core/workers/WorkerScriptLoader.cpp len = strlen(data); len 138 Source/core/workers/WorkerScriptLoader.cpp m_script.append(m_decoder->decode(data, len)); len 116 Source/core/xml/XMLHttpRequest.cpp unsigned pos = 0, len = 0; len 118 Source/core/xml/XMLHttpRequest.cpp findCharsetInMediaType(mediaType, pos, len); len 120 Source/core/xml/XMLHttpRequest.cpp if (!len) { len 126 Source/core/xml/XMLHttpRequest.cpp while (len) { len 127 Source/core/xml/XMLHttpRequest.cpp mediaType.replace(pos, len, charsetValue); len 129 Source/core/xml/XMLHttpRequest.cpp findCharsetInMediaType(mediaType, pos, len, start); len 1294 Source/core/xml/XMLHttpRequest.cpp void XMLHttpRequest::didReceiveData(const char* data, int len) len 1320 Source/core/xml/XMLHttpRequest.cpp if (!len) len 1323 Source/core/xml/XMLHttpRequest.cpp if (len == -1) len 1324 Source/core/xml/XMLHttpRequest.cpp len = strlen(data); len 1327 Source/core/xml/XMLHttpRequest.cpp m_responseText = m_responseText.concatenateWith(m_decoder->decode(data, len)); len 1332 Source/core/xml/XMLHttpRequest.cpp m_binaryResponseBuilder->append(data, len); len 1336 Source/core/xml/XMLHttpRequest.cpp m_responseStream->addData(data, len); len 1342 Source/core/xml/XMLHttpRequest.cpp trackProgress(len); len 520 Source/core/xml/XPathFunctions.cpp long len = -1; len 525 Source/core/xml/XPathFunctions.cpp len = static_cast<long>(FunRound::round(doubleLen)); len 533 Source/core/xml/XPathFunctions.cpp len -= 1 - pos; len 534 Source/core/xml/XPathFunctions.cpp if (len < 1) len 540 Source/core/xml/XPathFunctions.cpp return s.substring(pos - 1, len); len 95 Source/core/xml/XPathValue.cpp unsigned len = str.length(); len 96 Source/core/xml/XPathValue.cpp for (unsigned i = 0; i < len; ++i) { len 144 Source/core/xml/XSLTProcessorLibxslt.cpp static int writeToStringBuilder(void* context, const char* buffer, int len) len 148 Source/core/xml/XSLTProcessorLibxslt.cpp if (!len) len 151 Source/core/xml/XSLTProcessorLibxslt.cpp StringBuffer<UChar> stringBuffer(len); len 153 Source/core/xml/XSLTProcessorLibxslt.cpp UChar* bufferUCharEnd = bufferUChar + len; len 156 Source/core/xml/XSLTProcessorLibxslt.cpp WTF::Unicode::ConversionResult result = WTF::Unicode::convertUTF8ToUTF16(&stringCurrent, buffer + len, &bufferUChar, bufferUCharEnd); len 51 Source/core/xml/XSLTUnicodeSort.cpp int len = 0; len 116 Source/core/xml/XSLTUnicodeSort.cpp len = list->nodeNr; len 138 Source/core/xml/XSLTUnicodeSort.cpp for (incr = len / 2; incr > 0; incr /= 2) { len 139 Source/core/xml/XSLTUnicodeSort.cpp for (i = incr; i < len; i++) { len 284 Source/core/xml/XSLTUnicodeSort.cpp for (i = 0;i < len;i++) len 643 Source/core/xml/parser/XMLDocumentParser.cpp static int readFunc(void* context, char* buffer, int len) len 650 Source/core/xml/parser/XMLDocumentParser.cpp return data->readData(buffer, len); len 209 Source/modules/webaudio/RealtimeAnalyser.cpp size_t len = min(sourceLength, destinationArray->length()); len 210 Source/modules/webaudio/RealtimeAnalyser.cpp if (len > 0) { len 214 Source/modules/webaudio/RealtimeAnalyser.cpp for (unsigned i = 0; i < len; ++i) { len 233 Source/modules/webaudio/RealtimeAnalyser.cpp size_t len = min(sourceLength, destinationArray->length()); len 234 Source/modules/webaudio/RealtimeAnalyser.cpp if (len > 0) { len 241 Source/modules/webaudio/RealtimeAnalyser.cpp for (unsigned i = 0; i < len; ++i) { len 267 Source/modules/webaudio/RealtimeAnalyser.cpp size_t len = min(fftSize, destinationArray->length()); len 268 Source/modules/webaudio/RealtimeAnalyser.cpp if (len > 0) { len 279 Source/modules/webaudio/RealtimeAnalyser.cpp for (unsigned i = 0; i < len; ++i) { len 296 Source/modules/webaudio/RealtimeAnalyser.cpp size_t len = min(fftSize, destinationArray->length()); len 297 Source/modules/webaudio/RealtimeAnalyser.cpp if (len > 0) { len 308 Source/modules/webaudio/RealtimeAnalyser.cpp for (unsigned i = 0; i < len; ++i) { len 306 Source/modules/websockets/MainThreadWebSocketChannel.cpp void MainThreadWebSocketChannel::didReceiveSocketStreamData(SocketStreamHandle* handle, const char* data, int len) len 308 Source/modules/websockets/MainThreadWebSocketChannel.cpp WTF_LOG(Network, "MainThreadWebSocketChannel %p didReceiveSocketStreamData() Received %d bytes", this, len); len 313 Source/modules/websockets/MainThreadWebSocketChannel.cpp if (len <= 0) { len 324 Source/modules/websockets/MainThreadWebSocketChannel.cpp if (!appendToBuffer(data, len)) { len 400 Source/modules/websockets/MainThreadWebSocketChannel.cpp bool MainThreadWebSocketChannel::appendToBuffer(const char* data, size_t len) len 402 Source/modules/websockets/MainThreadWebSocketChannel.cpp size_t newBufferSize = m_buffer.size() + len; len 404 Source/modules/websockets/MainThreadWebSocketChannel.cpp WTF_LOG(Network, "MainThreadWebSocketChannel %p appendToBuffer() Buffer overflow (%lu bytes already in receive buffer and appending %lu bytes)", this, static_cast<unsigned long>(m_buffer.size()), static_cast<unsigned long>(len)); len 407 Source/modules/websockets/MainThreadWebSocketChannel.cpp m_buffer.append(data, len); len 411 Source/modules/websockets/MainThreadWebSocketChannel.cpp void MainThreadWebSocketChannel::skipBuffer(size_t len) len 413 Source/modules/websockets/MainThreadWebSocketChannel.cpp ASSERT_WITH_SECURITY_IMPLICATION(len <= m_buffer.size()); len 414 Source/modules/websockets/MainThreadWebSocketChannel.cpp memmove(m_buffer.data(), m_buffer.data() + len, m_buffer.size() - len); len 415 Source/modules/websockets/MainThreadWebSocketChannel.cpp m_buffer.resize(m_buffer.size() - len); len 122 Source/modules/websockets/MainThreadWebSocketChannel.h bool appendToBuffer(const char* data, size_t len); len 123 Source/modules/websockets/MainThreadWebSocketChannel.h void skipBuffer(size_t len); len 104 Source/modules/websockets/WebSocketHandshake.cpp static String trimInputSample(const char* p, size_t len) len 106 Source/modules/websockets/WebSocketHandshake.cpp if (len > maxInputSampleSize) len 108 Source/modules/websockets/WebSocketHandshake.cpp return String(p, len); len 288 Source/modules/websockets/WebSocketHandshake.cpp int WebSocketHandshake::readServerHandshake(const char* header, size_t len) len 293 Source/modules/websockets/WebSocketHandshake.cpp int lineLength = readStatusLine(header, len, statusCode, statusText); len 298 Source/modules/websockets/WebSocketHandshake.cpp return len; len 306 Source/modules/websockets/WebSocketHandshake.cpp return len; len 309 Source/modules/websockets/WebSocketHandshake.cpp if (!strnstr(header, "\r\n\r\n", len)) { len 314 Source/modules/websockets/WebSocketHandshake.cpp const char* p = readHTTPHeaders(header + lineLength, header + len); len 318 Source/modules/websockets/WebSocketHandshake.cpp return len; len 83 Source/modules/websockets/WebSocketHandshake.h int readServerHandshake(const char* header, size_t len); len 94 Source/platform/Length.cpp unsigned len = str->count(' ') + 1; len 95 Source/platform/Length.cpp Vector<Length> r(len); len 107 Source/platform/Length.cpp ASSERT(i == len - 1); len 114 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp unsigned len = m_FFTSize / 2; len 120 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp for (unsigned k = 1; k < len; ++k) { len 137 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp unsigned len = m_FFTSize / 2; len 143 Source/platform/audio/android/FFTFrameOpenMAXDLAndroid.cpp for (unsigned k = 1; k < len; ++k) { len 130 Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp int len = m_FFTSize / 2; len 134 Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp for (int i = 0; i < len; ++i) { len 172 Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp int len = m_FFTSize / 2; len 176 Source/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp for (int i = 0; i < len; ++i) { len 139 Source/platform/audio/ipp/FFTFrameIPP.cpp int len = m_FFTSize >> 1; len 144 Source/platform/audio/ipp/FFTFrameIPP.cpp ippsRealToCplx_32f(realP, imagP, complexP, len); len 85 Source/platform/fonts/Character.cpp CodePath Character::characterRangeCodePath(const UChar* characters, unsigned len) len 137 Source/platform/fonts/Character.cpp for (unsigned i = 0; i < len; i++) { len 152 Source/platform/fonts/Character.cpp if (i == len - 1) len 46 Source/platform/fonts/Character.h static CodePath characterRangeCodePath(const UChar*, unsigned len); len 60 Source/platform/graphics/Color.h const NamedColor* findColor(register const char* str, register unsigned len); len 107 Source/platform/graphics/filters/FEBlend.cpp unsigned len = pixelArrayLength / 4; len 108 Source/platform/graphics/filters/FEBlend.cpp for (unsigned pixelOffset = 0; pixelOffset < len; pixelOffset++) { len 45 Source/platform/heap/RunAllTests.cpp static void AlwaysZeroNumberSource(unsigned char* buf, size_t len) len 47 Source/platform/heap/RunAllTests.cpp memset(buf, '\0', len); len 387 Source/platform/image-decoders/gif/GIFImageReader.cpp bool GIFImageReader::parseData(size_t dataPosition, size_t len, GIFImageDecoder::GIFParseQuery query) len 389 Source/platform/image-decoders/gif/GIFImageReader.cpp if (!len) { len 394 Source/platform/image-decoders/gif/GIFImageReader.cpp if (len < m_bytesToConsume) len 400 Source/platform/image-decoders/gif/GIFImageReader.cpp while (len >= m_bytesToConsume) { len 407 Source/platform/image-decoders/gif/GIFImageReader.cpp len -= m_bytesToConsume; len 662 Source/platform/image-decoders/gif/GIFImageReader.cpp setRemainingBytes(len + 9); len 734 Source/platform/image-decoders/gif/GIFImageReader.cpp setRemainingBytes(len); len 329 Source/platform/image-decoders/gif/GIFImageReader.h bool parseData(size_t dataPosition, size_t len, WebCore::GIFImageDecoder::GIFParseQuery); len 50 Source/platform/network/HTTPParsers.cpp unsigned len = str.length(); len 53 Source/platform/network/HTTPParsers.cpp while (pos < len && str[pos] <= ' ') len 56 Source/platform/network/HTTPParsers.cpp while (pos < len && (str[pos] == '\t' || str[pos] == ' ')) len 60 Source/platform/network/HTTPParsers.cpp return pos < len; len 68 Source/platform/network/HTTPParsers.cpp unsigned len = str.length(); len 71 Source/platform/network/HTTPParsers.cpp while (current < len && *token) { len 95 Source/platform/network/HTTPParsers.cpp unsigned len = str.length(); len 96 Source/platform/network/HTTPParsers.cpp while (pos < len) { len 172 Source/platform/network/HTTPParsers.cpp unsigned len = refresh.length(); len 178 Source/platform/network/HTTPParsers.cpp while (pos != len && refresh[pos] != ',' && refresh[pos] != ';') len 181 Source/platform/network/HTTPParsers.cpp if (pos == len) { // no URL len 206 Source/platform/network/HTTPParsers.cpp unsigned urlEndPos = len; len 222 Source/platform/network/HTTPParsers.cpp urlEndPos = len; len 305 Source/platform/network/HTTPParsers.cpp unsigned pos, len; len 306 Source/platform/network/HTTPParsers.cpp findCharsetInMediaType(mediaType, pos, len); len 307 Source/platform/network/HTTPParsers.cpp return mediaType.substring(pos, len); len 71 Source/platform/network/SocketStreamHandle.cpp int SocketStreamHandleInternal::send(const char* data, int len) len 73 Source/platform/network/SocketStreamHandle.cpp WTF_LOG(Network, "SocketStreamHandleInternal %p send() len=%d", this, len); len 81 Source/platform/network/SocketStreamHandle.cpp if (m_pendingAmountSent + len > m_maxPendingSendAllowed) len 82 Source/platform/network/SocketStreamHandle.cpp len = m_maxPendingSendAllowed - m_pendingAmountSent; len 84 Source/platform/network/SocketStreamHandle.cpp if (len <= 0) len 85 Source/platform/network/SocketStreamHandle.cpp return len; len 86 Source/platform/network/SocketStreamHandle.cpp blink::WebData webdata(data, len); len 88 Source/platform/network/SocketStreamHandle.cpp m_pendingAmountSent += len; len 89 Source/platform/network/SocketStreamHandle.cpp WTF_LOG(Network, "SocketStreamHandleInternal %p send() Sent %d bytes", this, len); len 90 Source/platform/network/SocketStreamHandle.cpp return len; len 267 Source/platform/network/SocketStreamHandle.cpp int SocketStreamHandle::sendInternal(const char* buf, int len) len 271 Source/platform/network/SocketStreamHandle.cpp return m_internal->send(buf, len); len 46 Source/platform/testing/RunAllTests.cpp static void AlwaysZeroNumberSource(unsigned char* buf, size_t len) len 48 Source/platform/testing/RunAllTests.cpp memset(buf, '\0', len); len 62 Source/platform/text/TextBoundaries.cpp int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward) len 64 Source/platform/text/TextBoundaries.cpp TextBreakIterator* it = wordBreakIterator(chars, len); len 71 Source/platform/text/TextBoundaries.cpp if (position < len && isAlphanumeric(chars[position - 1])) len 77 Source/platform/text/TextBoundaries.cpp return len; len 93 Source/platform/text/TextBoundaries.cpp void findWordBoundary(const UChar* chars, int len, int position, int* start, int* end) len 95 Source/platform/text/TextBoundaries.cpp TextBreakIterator* it = wordBreakIterator(chars, len); len 42 Source/platform/text/TextBoundaries.h PLATFORM_EXPORT void findWordBoundary(const UChar*, int len, int position, int* start, int* end); len 43 Source/platform/text/TextBoundaries.h PLATFORM_EXPORT int findNextWordFromIndex(const UChar*, int len, int position, bool forward); len 65 Source/platform/text/TextRun.h TextRun(const LChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) len 66 Source/platform/text/TextRun.h : m_charactersLength(len) len 67 Source/platform/text/TextRun.h , m_len(len) len 85 Source/platform/text/TextRun.h TextRun(const UChar* c, unsigned len, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) len 86 Source/platform/text/TextRun.h : m_charactersLength(len) len 87 Source/platform/text/TextRun.h , m_len(len) len 186 Source/platform/text/TextRun.h void setText(const LChar* c, unsigned len) { m_data.characters8 = c; m_len = len; m_is8Bit = true;} len 187 Source/platform/text/TextRun.h void setText(const UChar* c, unsigned len) { m_data.characters16 = c; m_len = len; m_is8Bit = false;} len 268 Source/platform/transforms/TransformationMatrix.cpp double len = v3Length(v); len 269 Source/platform/transforms/TransformationMatrix.cpp if (len != 0) { len 270 Source/platform/transforms/TransformationMatrix.cpp double l = desiredLength / len; len 296 Source/platform/weborigin/KURL.cpp return m_parsed.path.len >= 0; len 311 Source/platform/weborigin/KURL.cpp if (path.len > 0 && m_string[path.end() - 1] == '/') len 312 Source/platform/weborigin/KURL.cpp path.len--; len 344 Source/platform/weborigin/KURL.cpp if (!m_isValid || m_parsed.port.len <= 0) len 384 Source/platform/weborigin/KURL.cpp return m_parsed.ref.len >= 0; len 395 Source/platform/weborigin/KURL.cpp if (m_parsed.query.len >= 0) len 680 Source/platform/weborigin/KURL.cpp if (a.m_parsed.ref.len >= 0) len 684 Source/platform/weborigin/KURL.cpp if (b.m_parsed.ref.len >= 0) len 795 Source/platform/weborigin/KURL.cpp const CHAR* end = begin + scheme.len; len 811 Source/platform/weborigin/KURL.cpp if (scheme.len == 4) len 813 Source/platform/weborigin/KURL.cpp if (scheme.len == 5) len 839 Source/platform/weborigin/KURL.cpp if (m_string.isNull() || m_parsed.scheme.len <= 0) len 856 Source/platform/weborigin/KURL.cpp if (!m_isValid || component.len <= 0) len 866 Source/platform/weborigin/KURL.cpp return string().substring(component.begin, component.len); len 47 Source/wtf/FastMalloc.cpp size_t len = strlen(src) + 1; len 48 Source/wtf/FastMalloc.cpp char* dup = static_cast<char*>(fastMalloc(len)); len 49 Source/wtf/FastMalloc.cpp memcpy(dup, src, len); len 65 Source/wtf/PageAllocator.cpp static void* systemAllocPages(void* addr, size_t len) len 67 Source/wtf/PageAllocator.cpp ASSERT(!(len & kPageAllocationGranularityOffsetMask)); len 71 Source/wtf/PageAllocator.cpp ret = VirtualAlloc(addr, len, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); len 73 Source/wtf/PageAllocator.cpp ret = VirtualAlloc(0, len, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE); len 75 Source/wtf/PageAllocator.cpp ret = mmap(addr, len, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); len 183 Source/wtf/PageAllocator.cpp void* allocPages(void* addr, size_t len, size_t align) len 185 Source/wtf/PageAllocator.cpp ASSERT(len >= kPageAllocationGranularity); len 186 Source/wtf/PageAllocator.cpp ASSERT(!(len & kPageAllocationGranularityOffsetMask)); len 201 Source/wtf/PageAllocator.cpp void* ret = systemAllocPages(addr, len); len 208 Source/wtf/PageAllocator.cpp freePages(ret, len); len 210 Source/wtf/PageAllocator.cpp size_t tryLen = len + (align - kPageAllocationGranularity); len 211 Source/wtf/PageAllocator.cpp RELEASE_ASSERT(tryLen > len); len 225 Source/wtf/PageAllocator.cpp if (trimMapping(ret, tryLen, addr, len)) len 232 Source/wtf/PageAllocator.cpp ret = systemAllocPages(addr, len); len 237 Source/wtf/PageAllocator.cpp freePages(ret, len); len 245 Source/wtf/PageAllocator.cpp void freePages(void* addr, size_t len) len 248 Source/wtf/PageAllocator.cpp ASSERT(!(len & kPageAllocationGranularityOffsetMask)); len 250 Source/wtf/PageAllocator.cpp int ret = munmap(addr, len); len 258 Source/wtf/PageAllocator.cpp void setSystemPagesInaccessible(void* addr, size_t len) len 260 Source/wtf/PageAllocator.cpp ASSERT(!(len & kSystemPageOffsetMask)); len 262 Source/wtf/PageAllocator.cpp int ret = mprotect(addr, len, PROT_NONE); len 265 Source/wtf/PageAllocator.cpp BOOL ret = VirtualFree(addr, len, MEM_DECOMMIT); len 270 Source/wtf/PageAllocator.cpp void setSystemPagesAccessible(void* addr, size_t len) len 272 Source/wtf/PageAllocator.cpp ASSERT(!(len & kSystemPageOffsetMask)); len 274 Source/wtf/PageAllocator.cpp int ret = mprotect(addr, len, PROT_READ | PROT_WRITE); len 277 Source/wtf/PageAllocator.cpp void* ret = VirtualAlloc(addr, len, MEM_COMMIT, PAGE_READWRITE); len 282 Source/wtf/PageAllocator.cpp void decommitSystemPages(void* addr, size_t len) len 284 Source/wtf/PageAllocator.cpp ASSERT(!(len & kSystemPageOffsetMask)); len 286 Source/wtf/PageAllocator.cpp int ret = madvise(addr, len, MADV_FREE); len 289 Source/wtf/PageAllocator.cpp void* ret = VirtualAlloc(addr, len, MEM_RESET, PAGE_READWRITE); len 66 Source/wtf/PageAllocator.h WTF_EXPORT void* allocPages(void* addr, size_t len, size_t align); len 70 Source/wtf/PageAllocator.h WTF_EXPORT void freePages(void* addr, size_t len); len 76 Source/wtf/PageAllocator.h WTF_EXPORT void setSystemPagesInaccessible(void* addr, size_t len); len 81 Source/wtf/PageAllocator.h WTF_EXPORT void setSystemPagesAccessible(void* addr, size_t len); len 92 Source/wtf/PageAllocator.h WTF_EXPORT void decommitSystemPages(void* addr, size_t len); len 82 Source/wtf/StringExtras.h inline int strncasecmp(const char* s1, const char* s2, size_t len) len 84 Source/wtf/StringExtras.h return _strnicmp(s1, s2, len); len 44 Source/wtf/testing/RunAllTests.cpp static void AlwaysZeroNumberSource(unsigned char* buf, size_t len) len 46 Source/wtf/testing/RunAllTests.cpp memset(buf, '\0', len); len 69 Source/wtf/text/Base64.cpp void base64Encode(const char* data, unsigned len, Vector<char>& out, Base64EncodePolicy policy) len 72 Source/wtf/text/Base64.cpp if (!len) len 79 Source/wtf/text/Base64.cpp if (len > maxInputBufferSize) len 85 Source/wtf/text/Base64.cpp unsigned outLength = ((len + 2) / 3) * 4; len 96 Source/wtf/text/Base64.cpp if (len > 1) { len 97 Source/wtf/text/Base64.cpp while (sidx < len - 2) { len 111 Source/wtf/text/Base64.cpp if (sidx < len) { len 116 Source/wtf/text/Base64.cpp if (sidx < len - 1) { len 183 Source/wtf/text/StringConcatenate.h size_t len = 0; len 184 Source/wtf/text/StringConcatenate.h while (m_buffer[len] != UChar(0)) len 185 Source/wtf/text/StringConcatenate.h ++len; len 187 Source/wtf/text/StringConcatenate.h RELEASE_ASSERT(len <= std::numeric_limits<unsigned>::max()); len 189 Source/wtf/text/StringConcatenate.h m_length = len; len 312 Source/wtf/text/StringImpl.h PassRefPtr<StringImpl> substring(unsigned pos, unsigned len = UINT_MAX); len 399 Source/wtf/text/StringImpl.h PassRefPtr<StringImpl> replace(unsigned index, unsigned len, StringImpl*); len 345 Source/wtf/text/WTFString.cpp String String::substring(unsigned pos, unsigned len) const len 349 Source/wtf/text/WTFString.cpp return m_impl->substring(pos, len); len 491 Source/wtf/text/WTFString.cpp unsigned len = result; len 492 Source/wtf/text/WTFString.cpp buffer.grow(len + 1); len 499 Source/wtf/text/WTFString.cpp return StringImpl::create(reinterpret_cast<const LChar*>(buffer.data()), len); len 257 Source/wtf/text/WTFString.h void appendTo(Vector<UChar, inlineCapacity>&, unsigned pos = 0, unsigned len = UINT_MAX) const; len 260 Source/wtf/text/WTFString.h void appendTo(BufferType&, unsigned pos = 0, unsigned len = UINT_MAX) const; len 263 Source/wtf/text/WTFString.h void prependTo(Vector<UChar, inlineCapacity>&, unsigned pos = 0, unsigned len = UINT_MAX) const; len 300 Source/wtf/text/WTFString.h String& replace(unsigned index, unsigned len, const String& b) { if (m_impl) m_impl = m_impl->replace(index, len, b.impl()); return *this; } len 315 Source/wtf/text/WTFString.h void truncate(unsigned len); len 316 Source/wtf/text/WTFString.h void remove(unsigned pos, int len = 1); len 318 Source/wtf/text/WTFString.h String substring(unsigned pos, unsigned len = UINT_MAX) const; len 319 Source/wtf/text/WTFString.h String left(unsigned len) const { return substring(0, len); } len 320 Source/wtf/text/WTFString.h String right(unsigned len) const { return substring(length() - len, len); } len 606 Source/wtf/text/WTFString.h size_t len = length(); len 608 Source/wtf/text/WTFString.h if (!len) len 612 Source/wtf/text/WTFString.h return WTF::isAllSpecialCharacters<isSpecialCharacter, LChar>(characters8(), len); len 613 Source/wtf/text/WTFString.h return WTF::isAllSpecialCharacters<isSpecialCharacter, UChar>(characters16(), len); len 617 Source/wtf/text/WTFString.h inline void String::appendTo(Vector<UChar, inlineCapacity>& result, unsigned pos, unsigned len) const len 619 Source/wtf/text/WTFString.h unsigned numberOfCharactersToCopy = std::min(len, length() - pos); len 634 Source/wtf/text/WTFString.h inline void String::appendTo(BufferType& result, unsigned pos, unsigned len) const len 636 Source/wtf/text/WTFString.h unsigned numberOfCharactersToCopy = std::min(len, length() - pos); len 646 Source/wtf/text/WTFString.h inline void String::prependTo(Vector<UChar, inlineCapacity>& result, unsigned pos, unsigned len) const len 648 Source/wtf/text/WTFString.h unsigned numberOfCharactersToCopy = std::min(len, length() - pos); len 221 Source/wtf/unicode/icu/UnicodeIcu.h inline int umemcasecmp(const UChar* a, const UChar* b, int len) len 223 Source/wtf/unicode/icu/UnicodeIcu.h return u_memcasecmp(a, b, len, U_FOLD_CASE_DEFAULT); len 98 public/platform/WebApplicationCacheHost.h virtual void didReceiveDataForMainResource(const char* data, int len) { } len 64 public/platform/WebCString.h WebCString(const char* data, size_t len) len 66 public/platform/WebCString.h assign(data, len); len 84 public/platform/WebCString.h BLINK_COMMON_EXPORT void assign(const char* data, size_t len); len 113 public/platform/WebCString.h size_t len = length(); len 114 public/platform/WebCString.h return len ? std::string(data(), len) : std::string(); len 65 public/platform/WebString.h WebString(const WebUChar* data, size_t len) len 67 public/platform/WebString.h assign(data, len); len 80 public/platform/WebString.h BLINK_COMMON_EXPORT void assign(const WebUChar* data, size_t len); len 66 public/platform/WebThreadSafeData.h size_t len = size(); len 67 public/platform/WebThreadSafeData.h return len ? std::string(data(), len) : std::string();