/external/webkit/WebCore/platform/android/ |
KeyEventAndroid.cpp | 206 UChar utf16[2] = {lead, trail}; local 207 return String(utf16, 2);
|
/external/webkit/WebKit/chromium/src/ |
WebCString.cpp | 81 WebString WebCString::utf16() const function in class:WebKit::WebCString
|
/external/bluetooth/glib/tests/ |
convert-test.c | 294 const gunichar2 *utf16, 335 g_assert (result[i] == utf16[i]); 355 g_assert (result[i] == utf16[i]); 360 g_assert (result3[i] == utf16[i]); 368 check_utf16_to_utf8 (const gunichar2 *utf16, 380 result = g_utf16_to_utf8 (utf16, utf16_len, &items_read, &items_written, &error); 381 if (utf16[utf16_len] == 0) 385 result2 = g_utf16_to_utf8 (utf16, -1, &items_read2, &items_written2, &error2); 400 result3 = g_utf16_to_utf8 (utf16, utf16_len, NULL, NULL, &error3); 442 const gunichar2 *utf16, 588 gunichar2 utf16[100]; local [all...] |
/dalvik/vm/ |
AllocTracker.c | 469 u2 utf16 = dexGetUtf16FromUtf8(&utf8Str); /* advances utf8Str */ local 470 set2BE(utf16Str, utf16);
|
Native.c | 638 u2* utf16 = NULL; local 647 utf16 = (u2*) malloc(sizeof(u2) * charLen); 648 if (utf16 == NULL) 651 dvmConvertUtf8ToUtf16(utf16, str); 659 u2 ch = utf16[i]; 684 u2 ch = utf16[i]; 716 free(utf16);
|
/external/icu4c/test/perf/unisetperf/ |
unisetperf.cpp | 210 UChar utf16[2]; local 214 utf16[0]=(UChar)c; 215 if(testcase.set.span(utf16, 1, USET_SPAN_CONTAINED)>0) { 220 utf16[0]=(UChar)c; 222 utf16[1]=(UChar)c2; 223 if(testcase.set.span(utf16, 2, USET_SPAN_CONTAINED)>0) { 261 UChar utf16[2]; local 265 utf16[0]=(UChar)c; 266 if(testcase.set.spanBack(utf16, 1, USET_SPAN_CONTAINED)==0) { 271 utf16[0]=(UChar)c [all...] |
/external/icu4c/test/cintltst/ |
ucnvseltst.c | 443 static UChar utf16[10000]; local 468 u_strFromUTF8(utf16, LENGTHOF(utf16), &length16, s, length8, &status); 478 verifyResult(ucnvsel_selectForString(sel_rt, utf16, length16, &status), manual_rt); 479 verifyResult(ucnvsel_selectForString(sel_fb, utf16, length16, &status), manual_fb); 481 verifyResult(ucnvsel_selectForString(sel_rt, utf16, -1, &status), manual_rt); 482 verifyResult(ucnvsel_selectForString(sel_fb, utf16, -1, &status), manual_fb);
|
ccapitst.c | 2478 UChar utf16[U16_MAX_LENGTH]; local 2698 utf16[]={ local [all...] |
/dalvik/libdex/ |
DexFile.c | 94 u2 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); local 97 switch (utf16 >> 8) { 100 return (utf16 > 0x00a0); 110 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); 111 return (utf16 >= 0xdc00) && (utf16 <= 0xdfff); 123 switch (utf16 & 0xfff8) { [all...] |
/external/icu4c/common/ |
unistr.cpp | 426 UChar *utf16 = result.getBuffer(capacity); local 429 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, 1157 UChar *utf16 = getBuffer(capacity); local 1160 u_strFromUTF8WithSub(utf16, getCapacity(), &length16, [all...] |
/external/icu4c/test/intltest/ |
ustrtest.cpp | 241 static const UChar utf16[]={ 0x61, 0xE4, 0xDF, 0x4E00 }; local 244 UnicodeString from16(FALSE, utf16, LENGTHOF(utf16)); 1798 static const UChar utf16[] = { local 1856 static const UChar utf16[] = { local [all...] |
/external/webkit/WebCore/platform/ |
KURLGoogle.cpp | 930 url_canon::RawCanonOutputT<url_parse::UTF16Char> utf16; local 935 utf16.push_back(uch); 944 url_canon::AppendUTF16Value(codePoint, &utf16); 952 utf16.push_back(static_cast<unsigned char>(unescaped.at(i))); 955 utf16.push_back(static_cast<unsigned char>(unescaped.at(i))); 960 return String(reinterpret_cast<UChar*>(utf16.data()), utf16.length()); [all...] |
/external/expat/lib/ |
xmltok.c | 1251 unsigned short utf16[256]; member in struct:unknown_encoding 1332 unsigned short c = uenc->utf16[(unsigned char)**fromP]; [all...] |
/external/gtest/test/ |
gtest_unittest.cc | 767 const WCHAR* utf16 = String::AnsiToUtf16("str"); local 768 EXPECT_TRUE(wcsncmp(L"str", utf16, 3) == 0); 769 delete [] utf16; 776 const WCHAR* utf16 = String::AnsiToUtf16(".:\\ \"*?"); local 777 EXPECT_TRUE(wcsncmp(L".:\\ \"*?", utf16, 3) == 0); 778 delete [] utf16; [all...] |