Home
last modified time | relevance | path

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

/external/webrtc/webrtc/system_wrappers/include/
Dutf_util_win.h25 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), in ToUtf16() local
27 rtc::scoped_ptr<wchar_t[]> ws(new wchar_t[len16]); in ToUtf16()
29 len16); in ToUtf16()
30 return std::wstring(ws.get(), len16); in ToUtf16()
/external/webrtc/webrtc/base/
Dwin32.h50 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), in ToUtf16() local
52 wchar_t* ws = STACK_ARRAY(wchar_t, len16); in ToUtf16()
53 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws, len16); in ToUtf16()
54 return std::wstring(ws, len16); in ToUtf16()
/external/skia/tests/
DUnicodeTest.cpp49 size_t len16 = len8 * 2; in test_textencodings() local
67 int count16 = paint.textToGlyphs(text16, len16, glyphs16); in test_textencodings()
/external/icu/icu4c/source/i18n/
Drepattrn.cpp571 … int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error in pattern() local
575 UChar *resultChars = result.getBuffer(len16); in pattern()
576 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning in pattern()
577 result.releaseBuffer(len16); in pattern()
Drematch.cpp318 int32_t len16; in appendReplacement() local
320 len16 = (int32_t)(fMatchStart-fAppendPosition); in appendReplacement()
323len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
325 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1)); in appendReplacement()
330 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
331 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status); in appendReplacement()
517 int32_t len16; in appendTail() local
519 len16 = (int32_t)(fInputLength-fAppendPosition); in appendTail()
521 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
525 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16)); in appendTail()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcustrtrn.c211 int32_t len16, u32DestLen; in Test_strToUTF32_surrogates() local
219 len16 = UPRV_LENGTHOF(surr16); in Test_strToUTF32_surrogates()
222 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+i, len16-i, &err); in Test_strToUTF32_surrogates()
230 u_strToUTF32(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16+i, len16-i, &err); in Test_strToUTF32_surrogates()
255 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+4, len16-4-1, &err); in Test_strToUTF32_surrogates()
263 u_strToUTF32(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16+4, len16-4-1, &err); in Test_strToUTF32_surrogates()
289 … u_strToUTF32WithSub(u32Target, 0, &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err); in Test_strToUTF32_surrogates()
297 …u_strToUTF32WithSub(u32Target, UPRV_LENGTHOF(u32Target), &u32DestLen, surr16, len16-1, 0xfffd, &nu… in Test_strToUTF32_surrogates()
/external/javasqlite/src/main/native/
Dsqlite_jni.c3543 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/v8/src/x64/
Dmacro-assembler-x64.cc4981 Label short_loop, len8, len16, len24, done, short_string; in CopyBytes() local
4997 j(below_equal, &len16, Label::kNear); in CopyBytes()
5019 bind(&len16); in CopyBytes()