Searched refs:len16 (Results 1 - 14 of 14) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
H A Dwin32.h60 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, len, NULL, 0); local
61 wchar_t* ws = STACK_ARRAY(wchar_t, len16);
62 ::MultiByteToWideChar(CP_UTF8, 0, utf8, len, ws, len16);
63 return std::wstring(ws, len16);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dwin32.h69 int len16 = ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), local
71 wchar_t* ws = STACK_ARRAY(wchar_t, len16);
72 ::MultiByteToWideChar(CP_UTF8, 0, utf8, static_cast<int>(len), ws, len16);
73 return std::wstring(ws, len16);
/external/skia/tests/
H A DUnicodeTest.cpp50 size_t len16 = len8 * 2; local
68 int count16 = paint.textToGlyphs(text16, len16, glyphs16);
/external/icu4c/i18n/
H A Drematch.cpp330 int32_t len16; local
332 len16 = (int32_t)(fMatchStart-fAppendPosition);
335 len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus);
337 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1));
342 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status);
343 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status);
521 int32_t len16; local
523 len16 = (int32_t)(fInputLength-fAppendPosition);
525 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status);
529 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16));
1255 int32_t len16; local
1332 int32_t len16; local
1404 int32_t len16; local
[all...]
H A Drepattrn.cpp539 int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error local
543 UChar *resultChars = result.getBuffer(len16);
544 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning
545 result.releaseBuffer(len16);
/external/chromium_org/third_party/icu/source/i18n/
H A Drepattrn.cpp564 int32_t len16 = utext_extract(fPattern, 0, nativeLen, NULL, 0, &status); // buffer overflow error local
568 UChar *resultChars = result.getBuffer(len16);
569 utext_extract(fPattern, 0, nativeLen, resultChars, len16, &status); // unterminated warning
570 result.releaseBuffer(len16);
H A Drematch.cpp324 int32_t len16; local
326 len16 = (int32_t)(fMatchStart-fAppendPosition);
329 len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus);
331 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16+1));
336 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status);
337 destLen += utext_replace(dest, destLen, destLen, inputChars, len16, &status);
515 int32_t len16; local
517 len16 = (int32_t)(fInputLength-fAppendPosition);
519 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status);
523 UChar *inputChars = (UChar *)uprv_malloc(sizeof(UChar)*(len16));
1249 int32_t len16; local
1326 int32_t len16; local
1398 int32_t len16; local
[all...]
H A Duspoof.cpp342 int32_t len16; local
344 u_strFromUTF8(text16, USPOOF_STACK_BUFFER_SIZE, &len16, text, length, status);
349 text16 = static_cast<UChar *>(uprv_malloc(len16 * sizeof(UChar) + 2));
355 u_strFromUTF8(text16, len16+1, NULL, text, length, status);
359 int32_t result = uspoof_check(sc, text16, len16, &position16, status);
367 U_ASSERT(position16 <= len16);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcustrtrn.c213 int32_t len16, u32DestLen; local
221 len16 = LENGTHOF(surr16);
224 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+i, len16-i, &err);
232 u_strToUTF32(u32Target, LENGTHOF(u32Target), &u32DestLen, surr16+i, len16-i, &err);
257 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+4, len16-4-1, &err);
265 u_strToUTF32(u32Target, LENGTHOF(u32Target), &u32DestLen, surr16+4, len16-4-1, &err);
291 u_strToUTF32WithSub(u32Target, 0, &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err);
299 u_strToUTF32WithSub(u32Target, LENGTHOF(u32Target), &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err);
H A Dreapits.c1743 int32_t len16; local
1754 /* len16 = utext_extract(actual, nativeIndex, nativeIndex + group_len, NULL, 0, &shallowStatus); */
1755 len16 = group_len;
1757 groupChars = (UChar *)malloc(sizeof(UChar)*(len16+1));
1758 utext_extract(actual, nativeIndex, nativeIndex + group_len, groupChars, len16+1, &shallowStatus);
1760 utext_openUChars(&groupText, groupChars, len16, &shallowStatus);
/external/icu4c/test/cintltst/
H A Dcustrtrn.c213 int32_t len16, u32DestLen; local
221 len16 = LENGTHOF(surr16);
224 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+i, len16-i, &err);
232 u_strToUTF32(u32Target, LENGTHOF(u32Target), &u32DestLen, surr16+i, len16-i, &err);
257 u_strToUTF32(u32Target, 0, &u32DestLen, surr16+4, len16-4-1, &err);
265 u_strToUTF32(u32Target, LENGTHOF(u32Target), &u32DestLen, surr16+4, len16-4-1, &err);
291 u_strToUTF32WithSub(u32Target, 0, &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err);
299 u_strToUTF32WithSub(u32Target, LENGTHOF(u32Target), &u32DestLen, surr16, len16-1, 0xfffd, &numSubstitutions, &err);
H A Dreapits.c1785 int32_t len16; local
1796 /* len16 = utext_extract(actual, nativeIndex, nativeIndex + group_len, NULL, 0, &shallowStatus); */
1797 len16 = (int32_t)group_len;
1799 groupChars = (UChar *)malloc(sizeof(UChar)*(len16+1));
1800 utext_extract(actual, nativeIndex, nativeIndex + group_len, groupChars, len16+1, &shallowStatus);
1802 utext_openUChars(&groupText, groupChars, len16, &shallowStatus);
/external/javasqlite/src/main/native/
H A Dsqlite_jni.c3543 jsize len16; local
3565 len16 = (*env)->GetStringLength(env, sql) * sizeof (jchar);
3566 if (len16 < 1) {
3572 ret = sqlite3_prepare16_v2((sqlite3 *) h->sqlite, sql16, len16,
3575 ret = sqlite3_prepare16((sqlite3 *) h->sqlite, sql16, len16,
3596 len16 = len16 + sizeof (jchar) - ((char *) tail - (char *) sql16);
3597 if (len16 < sizeof (jchar)) {
3598 len16 = sizeof (jchar);
3600 v = malloc(sizeof (hvm) + len16);
[all...]
/external/chromium_org/v8/src/x64/
H A Dmacro-assembler-x64.cc4443 Label short_loop, len8, len16, len24, done, short_string; local
4459 j(below_equal, &len16, Label::kNear);
4481 bind(&len16);

Completed in 361 milliseconds