/third_party/skia/tests/ |
H A D | UnicodeTest.cpp | 21 size_t len16 = len8 * 2; in DEF_TEST() local 36 int count16 = font.textToGlyphs(text16, len16, SkTextEncoding::kUTF16, glyphs16, SK_ARRAY_COUNT(glyphs16)); in DEF_TEST()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | repattrn.cpp | 586 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()
|
H A D | rematch.cpp | 324 int32_t len16; in appendReplacement() local 326 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement() 329 len16 = 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() 1290 int32_t len16; appendGroup() local 1360 int32_t len16; input() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | repattrn.cpp | 586 int32_t len16 = utext_extract(fPattern, 0, nativeLen, nullptr, 0, &status); // buffer overflow error in pattern() local 590 char16_t *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()
|
H A D | rematch.cpp | 324 int32_t len16; in appendReplacement() local 326 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement() 329 len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, nullptr, 0, &lengthStatus); in appendReplacement() 331 char16_t *inputChars = (char16_t *)uprv_malloc(sizeof(char16_t)*(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, nullptr, 0, &status); in appendTail() 531 char16_t *inputChars = (char16_t *)uprv_malloc(sizeof(char16_t)*(len16)); in appendTail() 1290 int32_t len16; appendGroup() local 1360 int32_t len16; input() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | repattrn.cpp | 586 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()
|
H A D | rematch.cpp | 324 int32_t len16; in appendReplacement() local 326 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement() 329 len16 = 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() 1280 int32_t len16; appendGroup() local 1350 int32_t len16; input() local [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | custrtrn.c | 214 int32_t len16, u32DestLen; in Test_strToUTF32_surrogates() local 222 len16 = UPRV_LENGTHOF(surr16); in Test_strToUTF32_surrogates() 225 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+i, len16-i, &err); in Test_strToUTF32_surrogates() 233 u_strToUTF32(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16+i, len16-i, &err); in Test_strToUTF32_surrogates() 258 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+4, len16-4-1, &err); in Test_strToUTF32_surrogates() 266 u_strToUTF32(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16+4, len16-4-1, &err); in Test_strToUTF32_surrogates() 292 u_strToUTF32WithSub(u32Target, 0, &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err); in Test_strToUTF32_surrogates() 300 u_strToUTF32WithSub(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err); in Test_strToUTF32_surrogates()
|
/third_party/node/src/ |
H A D | util-inl.h | 223 size_t len16 = nbytes / sizeof(*data16); in SwapBytes16() local 224 for (size_t i = 0; i < len16; i++) { in SwapBytes16()
|
/third_party/node/deps/icu-small/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 553 void writeDecompositionTables(const char* basename, const uint16_t* ptr16, size_t len16, const uint32_t* ptr32, size_t len32) { in writeDecompositionTables() argument 555 usrc_writeArray(f, "scalars16 = [\n ", ptr16, 16, len16, " ", "\n]\n"); in writeDecompositionTables()
|
/third_party/icu/icu4c/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 376 void writeDecompositionTables(const char* basename, const uint16_t* ptr16, size_t len16, const uint32_t* ptr32, size_t len32) { in writeDecompositionTables() argument 378 usrc_writeArray(f, "scalars16 = [\n ", ptr16, 16, len16, " ", "\n]\n"); in writeDecompositionTables()
|