/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
H A D | QuotedPrintable.cpp | 42 static size_t lengthOfLineEndingAtIndex(const char* input, size_t inputLength, size_t index) argument 44 ASSERT_WITH_SECURITY_IMPLICATION(index < inputLength); 49 if ((index + 1) == inputLength || input[index + 1] != '\n') 62 void quotedPrintableEncode(const char* input, size_t inputLength, Vector<char>& out) 65 out.reserveCapacity(inputLength); 67 for (size_t i = 0; i < inputLength; ++i) { 68 bool isLastCharacter = (i == inputLength - 1); 76 if (!requiresEncoding && (currentCharacter == '\t' || currentCharacter == ' ') && (isLastCharacter || lengthOfLineEndingAtIndex(input, inputLength, i + 1))) 81 size_t lengthOfLineEnding = lengthOfLineEndingAtIndex(input, inputLength, i);
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
H A D | WebSocketDeflaterTest.cpp | 44 const size_t inputLength = strlen(inputData); local 46 ASSERT_TRUE(deflater->addBytes(inputData, inputLength)); 53 EXPECT_EQ(inputLength, inflater->size()); 59 ASSERT_TRUE(deflater->addBytes(inputData, inputLength)); 66 EXPECT_EQ(inputLength, inflater->size()); 97 const size_t inputLength = strlen(inputData); local 102 ASSERT_TRUE(deflater->addBytes(inputData, inputLength)); 108 EXPECT_EQ(inputLength, inflater->size());
|
H A D | WebSocketDeflater.cpp | 76 static void setStreamParameter(z_stream* stream, const char* inputData, size_t inputLength, char* outputData, size_t outputLength) argument 79 stream->avail_in = inputLength;
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
H A D | UniscribeHelperTextRun.cpp | 75 int inputLength, 80 : UniscribeHelper(input, inputLength, isRtl, hfont, 73 UniscribeHelperTextRun( const wchar_t* input, int inputLength, bool isRtl, HFONT hfont, SCRIPT_CACHE* scriptCache, SCRIPT_FONTPROPERTIES* fontProperties) argument
|
H A D | UniscribeHelper.cpp | 124 int inputLength, 131 , m_inputLength(inputLength) 123 UniscribeHelper(const UChar* input, int inputLength, bool isRtl, HFONT hfont, SCRIPT_CACHE* scriptCache, SCRIPT_FONTPROPERTIES* fontProperties, WORD spaceGlyph) argument
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkFlate.cpp | 57 size_t inputLength = src->getLength(); local 58 if (input == NULL || inputLength == 0) { 64 flateData.avail_in = inputLength;
|
/external/icu4c/samples/csdet/ |
H A D | csdet.c | 29 int32_t inputLength, match, matchCount = 0; local 47 inputLength = (int32_t) fread(buffer, 1, BUFFER_SIZE, file); 52 ucsdet_setText(csd, buffer, inputLength, &status);
|
/external/skia/src/core/ |
H A D | SkFlate.cpp | 57 size_t inputLength = src->getLength(); local 58 if (input == NULL || inputLength == 0) { 64 flateData.avail_in = inputLength;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | DOMTokenList.cpp | 199 unsigned inputLength = input.length(); local 201 output.reserveCapacity(inputLength); 205 while (position < inputLength) { 213 while (position < inputLength && isNotHTMLSpace(input[position])) 220 while (position < inputLength && isHTMLSpace(input[position])) 230 if (position < inputLength && !output.isEmpty())
|
/external/chromium_org/third_party/WebKit/Source/core/platform/network/ |
H A D | ParsedContentType.cpp | 59 unsigned inputLength = input.length(); local 63 if (tokenEnd >= inputLength) 66 while (tokenEnd < inputLength) { 77 unsigned inputLength = input.length(); local 81 if (quotedStringEnd >= inputLength) 84 if (input[quotedStringEnd++] != '"' || quotedStringEnd >= inputLength) 90 if (quotedStringEnd >= inputLength)
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkSHA1.cpp | 33 void SkSHA1::update(const uint8_t* input, size_t inputLength) { argument 38 if (inputLength >= bufferAvailable) { 47 for (; inputIndex + 63 < inputLength; inputIndex += 64) { 56 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); 58 this->byteCount += inputLength;
|
H A D | SkMD5.cpp | 35 void SkMD5::update(const uint8_t* input, size_t inputLength) { argument 40 if (inputLength >= bufferAvailable) { 49 for (; inputIndex + 63 < inputLength; inputIndex += 64) { 58 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); 60 this->byteCount += inputLength;
|
/external/skia/src/utils/ |
H A D | SkSHA1.cpp | 33 void SkSHA1::update(const uint8_t* input, size_t inputLength) { argument 38 if (inputLength >= bufferAvailable) { 47 for (; inputIndex + 63 < inputLength; inputIndex += 64) { 56 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); 58 this->byteCount += inputLength;
|
H A D | SkMD5.cpp | 35 void SkMD5::update(const uint8_t* input, size_t inputLength) { argument 40 if (inputLength >= bufferAvailable) { 49 for (; inputIndex + 63 < inputLength; inputIndex += 64) { 58 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex); 60 this->byteCount += inputLength;
|
/external/chromium_org/third_party/icu/source/test/perf/unisetperf/ |
H A D | unisetperf.cpp | 59 int32_t inputLength; local 60 UPerfTest::getBuffer(inputLength, status); 61 if(U_SUCCESS(status) && inputLength>0) {
|
/external/chromium_org/third_party/icu/source/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 55 int32_t inputLength; local 56 UPerfTest::getBuffer(inputLength, status); 57 if(U_SUCCESS(status) && inputLength>0) {
|
/external/icu4c/test/perf/unisetperf/ |
H A D | unisetperf.cpp | 59 int32_t inputLength; local 60 UPerfTest::getBuffer(inputLength, status); 61 if(U_SUCCESS(status) && inputLength>0) {
|
/external/icu4c/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 55 int32_t inputLength; local 56 UPerfTest::getBuffer(inputLength, status); 57 if(U_SUCCESS(status) && inputLength>0) {
|
/external/chromium_org/third_party/icu/source/test/perf/utfperf/ |
H A D | utfperf.cpp | 86 int32_t inputLength; local 87 UPerfTest::getBuffer(inputLength, status); 124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), 145 int32_t inputLength; member in class:Command 175 pInLimit=input+inputLength; 210 if(inputLength!=outputLength) { 211 fprintf(stderr, "error: roundtrip failed, inputLength %d!=outputLength %d\n", inputLength, outputLength); 239 pInLimit=input+inputLength;
|
/external/icu4c/test/perf/utfperf/ |
H A D | utfperf.cpp | 86 int32_t inputLength; local 87 UPerfTest::getBuffer(inputLength, status); 124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), 145 int32_t inputLength; member in class:Command 175 pInLimit=input+inputLength; 210 if(inputLength!=outputLength) { 211 fprintf(stderr, "error: roundtrip failed, inputLength %d!=outputLength %d\n", inputLength, outputLength); 239 pInLimit=input+inputLength;
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | dictbe.cpp | 547 size_t inputLength = rangeEnd - rangeStart; local 548 AutoBuffer<UChar, defaultInputLength> charString(inputLength); 554 utext_extract(text, rangeStart, rangeEnd, charString.elems(), inputLength, &status); 558 UnicodeString inputString(charString.elems(), inputLength); 564 AutoBuffer<int32_t, defaultInputLength> charPositions(inputLength + 1); 583 Normalizer normalizer(charString.elems(), inputLength, norm_mode);
|
/external/chromium_org/third_party/icu/source/i18n/ |
H A D | uspoof.cpp | 387 static UChar *getSkeleton(const USpoofChecker *sc, uint32_t type, const UChar *s, int32_t inputLength, argument 395 requiredCapacity = uspoof_getSkeleton(sc, type, s, inputLength, dest, destCapacity, status); 403 uspoof_getSkeleton(sc, type, s, inputLength, buf, requiredCapacity, status);
|
/external/icu4c/common/ |
H A D | dictbe.cpp | 761 size_t inputLength = rangeEnd - rangeStart; local 763 AutoBuffer<UChar, defaultInputLength> charString(inputLength); 769 utext_extract(text, rangeStart, rangeEnd, charString.elems(), inputLength, &status); 774 UnicodeString inputString(charString.elems(), inputLength); 782 AutoBuffer<int32_t, defaultInputLength> charPositions(inputLength + 1); 802 Normalizer normalizer(charString.elems(), inputLength, norm_mode);
|
/external/chromium_org/third_party/WebKit/Source/weborigin/ |
H A D | KURL.cpp | 102 virtual void ConvertFromUTF16(const url_parse::UTF16Char* input, int inputLength, url_canon::CanonOutput* output) argument 104 CString encoded = m_encoding->normalizeAndEncode(String(input, inputLength), WTF::URLEncodedEntitiesForUnencodables); 612 int inputLength = utf8.length(); local 613 if (buffer.length() < inputLength * 3) 614 buffer.Resize(inputLength * 3); 616 url_util::EncodeURIComponent(utf8.data(), inputLength, &buffer);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
H A D | regextst.cpp | 4158 int32_t inputLength; local 4351 inputLength = matchString.extract(inputChars, inputCapacity, UTF8Converter.getAlias(), status); 4355 inputCapacity = inputLength + 1; 4359 utext_openUTF8(&inputText, inputChars, inputLength, &status);
|