Home
last modified time | relevance | path

Searched refs:len16 (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/tests/
DUnicodeTest.cpp21 size_t len16 = len8 * 2; in DEF_TEST() local
36 …int count16 = font.textToGlyphs(text16, len16, SkTextEncoding::kUTF16, glyphs16, SK_ARRAY_COUNT(gl… in DEF_TEST()
/third_party/flutter/skia/tests/
DUnicodeTest.cpp21 size_t len16 = len8 * 2; in DEF_TEST() local
36 …int count16 = font.textToGlyphs(text16, len16, SkTextEncoding::kUTF16, glyphs16, SK_ARRAY_COUNT(gl… in DEF_TEST()
/third_party/icu/icu4c/source/i18n/
Drematch.cpp324 int32_t len16; in appendReplacement() local
326 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement()
329len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
331 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1)); in appendReplacement()
336 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
337 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
523 int32_t len16; in appendTail() local
525 len16 = (int32_t)(fInputLength-fAppendPosition); in appendTail()
527 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
531 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16)); in appendTail()
[all …]
Drepattrn.cpp586 … int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error in pattern() local
590 UChar *resultChars = result.getBuffer(len16); in pattern()
591 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning in pattern()
592 result.releaseBuffer(len16); in pattern()
/third_party/skia/third_party/externals/icu/source/i18n/
Drematch.cpp324 int32_t len16; in appendReplacement() local
326 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement()
329len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
331 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1)); in appendReplacement()
336 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
337 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
523 int32_t len16; in appendTail() local
525 len16 = (int32_t)(fInputLength-fAppendPosition); in appendTail()
527 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
531 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16)); in appendTail()
[all …]
Drepattrn.cpp586 … int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error in pattern() local
590 UChar *resultChars = result.getBuffer(len16); in pattern()
591 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning in pattern()
592 result.releaseBuffer(len16); in pattern()
/third_party/node/deps/icu-small/source/i18n/
Drematch.cpp324 int32_t len16; in appendReplacement() local
326 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement()
329len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
331 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1)); in appendReplacement()
336 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
337 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
523 int32_t len16; in appendTail() local
525 len16 = (int32_t)(fInputLength-fAppendPosition); in appendTail()
527 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
531 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16)); in appendTail()
[all …]
Drepattrn.cpp586 … int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error in pattern() local
590 UChar *resultChars = result.getBuffer(len16); in pattern()
591 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning in pattern()
592 result.releaseBuffer(len16); in pattern()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drepattrn.cpp575 … int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error in pattern() local
579 UChar *resultChars = result.getBuffer(len16); in pattern()
580 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning in pattern()
581 result.releaseBuffer(len16); in pattern()
Drematch.cpp322 int32_t len16; in appendReplacement() local
324 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement()
327len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
329 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1)); in appendReplacement()
334 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
335 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
521 int32_t len16; in appendTail() local
523 len16 = (int32_t)(fInputLength-fAppendPosition); in appendTail()
525 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
529 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16)); in appendTail()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dcustrtrn.c213 int32_t len16, u32DestLen; in Test_strToUTF32_surrogates() local
221 len16 = UPRV_LENGTHOF(surr16); in Test_strToUTF32_surrogates()
224 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+i, len16-i, &err); in Test_strToUTF32_surrogates()
232 u_strToUTF32(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16+i, len16-i, &err); in Test_strToUTF32_surrogates()
257 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+4, len16-4-1, &err); in Test_strToUTF32_surrogates()
265 u_strToUTF32(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16+4, len16-4-1, &err); in Test_strToUTF32_surrogates()
291 … u_strToUTF32WithSub(u32Target, 0, &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err); in Test_strToUTF32_surrogates()
299 …u_strToUTF32WithSub(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16, len16-1, 0xfffd, &nu… in Test_strToUTF32_surrogates()
/third_party/node/src/
Dutil-inl.h215 size_t len16 = nbytes / sizeof(*data16); in SwapBytes16() local
216 for (size_t i = 0; i < len16; i++) { in SwapBytes16()