/external/webrtc/rtc_base/ |
D | string_utils.h | 63 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), in ToUtf16() local 65 std::wstring ws(len16, 0); in ToUtf16() 67 len16); in ToUtf16()
|
/external/skia/tests/ |
D | UnicodeTest.cpp | 26 size_t len16 = len8 * 2; in DEF_TEST() local 41 …int count16 = font.textToGlyphs(text16, len16, SkTextEncoding::kUTF16, glyphs16, std::size(glyphs1… in DEF_TEST()
|
/external/cronet/third_party/icu/source/i18n/ |
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() [all …]
|
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()
|
/external/icu/icu4c/source/i18n/ |
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() [all …]
|
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()
|
/external/icu/icu4c/source/test/cintltst/ |
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, &nu… in Test_strToUTF32_surrogates()
|
/external/cronet/third_party/icu/source/test/cintltst/ |
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, &nu… in Test_strToUTF32_surrogates()
|
/external/javasqlite/src/main/native/ |
D | sqlite_jni.c | 3543 jsize len16; in Java_SQLite_Database_stmt_1prepare() local 3565 len16 = (*env)->GetStringLength(env, sql) * sizeof (jchar); in Java_SQLite_Database_stmt_1prepare() 3566 if (len16 < 1) { in Java_SQLite_Database_stmt_1prepare() 3572 ret = sqlite3_prepare16_v2((sqlite3 *) h->sqlite, sql16, len16, in Java_SQLite_Database_stmt_1prepare() 3575 ret = sqlite3_prepare16((sqlite3 *) h->sqlite, sql16, len16, in Java_SQLite_Database_stmt_1prepare() 3596 len16 = len16 + sizeof (jchar) - ((char *) tail - (char *) sql16); in Java_SQLite_Database_stmt_1prepare() 3597 if (len16 < sizeof (jchar)) { in Java_SQLite_Database_stmt_1prepare() 3598 len16 = sizeof (jchar); in Java_SQLite_Database_stmt_1prepare() 3600 v = malloc(sizeof (hvm) + len16); in Java_SQLite_Database_stmt_1prepare() 3615 memcpy(v->tail, tail, len16); in Java_SQLite_Database_stmt_1prepare() [all …]
|
/external/icu/icu4c/source/tools/icuexportdata/ |
D | icuexportdata.cpp | 376 void writeDecompositionTables(const char* basename, const uint16_t* ptr16, size_t len16, const uint… in writeDecompositionTables() argument 378 usrc_writeArray(f, "scalars16 = [\n ", ptr16, 16, len16, " ", "\n]\n"); in writeDecompositionTables()
|
/external/cronet/third_party/icu/source/tools/icuexportdata/ |
D | icuexportdata.cpp | 376 void writeDecompositionTables(const char* basename, const uint16_t* ptr16, size_t len16, const uint… in writeDecompositionTables() argument 378 usrc_writeArray(f, "scalars16 = [\n ", ptr16, 16, len16, " ", "\n]\n"); in writeDecompositionTables()
|