HomeSort by relevance Sort by last modified time
    Searched defs:utf16 (Results 1 - 25 of 25) sorted by null

  /external/chromium/base/i18n/
icu_string_conversions_unittest.cc 301 string16 utf16; local
305 &utf16);
312 EXPECT_EQ(utf16_expected, utf16);
320 success = UTF16ToCodepage(utf16, kConvertCodepageCases[i].codepage_name,
  /external/chromium/googleurl/src/
url_canon_query.cc 102 RawCanonOutputW<1024> utf16; local
103 ConvertUTF8ToUTF16(&spec[query.begin], query.len, &utf16);
104 converter->ConvertFromUTF16(utf16.data(), utf16.length(), output);
url_canon_host.cc 263 StackBufferW utf16; local
264 if (!ConvertUTF8ToUTF16(utf8_source, utf8_source_len, &utf16)) {
277 return DoIDNHost(utf16.data(), utf16.length(), output);
  /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/chromium/base/
utf_string_conversions_unittest.cc 143 const wchar_t* utf16; member in struct:base::WideToUTF8Case
163 WideToUTF8(convert_cases[i].utf16,
164 wcslen(convert_cases[i].utf16),
values_unittest.cc 138 Value::CreateStringValueFromUTF16(ASCIIToUTF16("utf16")));
145 string16 utf16 = ASCIIToUTF16("http://google.com"); local
148 ASSERT_TRUE(narrow_value->GetAsUTF16(&utf16));
151 ASSERT_EQ(ASCIIToUTF16("narrow"), utf16);
155 ASSERT_TRUE(wide_value->GetAsUTF16(&utf16));
158 ASSERT_EQ(ASCIIToUTF16("wide"), utf16);
162 ASSERT_TRUE(utf16_value->GetAsUTF16(&utf16));
163 ASSERT_EQ(std::string("utf16"), narrow);
164 ASSERT_EQ(std::wstring(L"utf16"), wide);
165 ASSERT_EQ(ASCIIToUTF16("utf16"), utf16)
    [all...]
  /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 583 u2* utf16 = NULL; local
592 utf16 = (u2*) malloc(sizeof(u2) * charLen);
593 if (utf16 == NULL)
596 dvmConvertUtf8ToUtf16(utf16, str);
604 u2 ch = utf16[i];
629 u2 ch = utf16[i];
661 free(utf16);
  /external/chromium/third_party/icu/source/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/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/chromium/third_party/icu/source/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...]
  /external/icu4c/test/cintltst/
ucnvseltst.c 444 static UChar utf16[10000]; local
469 u_strFromUTF8(utf16, LENGTHOF(utf16), &length16, s, length8, &status);
479 verifyResult(ucnvsel_selectForString(sel_rt, utf16, length16, &status), manual_rt);
480 verifyResult(ucnvsel_selectForString(sel_fb, utf16, length16, &status), manual_fb);
482 verifyResult(ucnvsel_selectForString(sel_rt, utf16, -1, &status), manual_rt);
483 verifyResult(ucnvsel_selectForString(sel_fb, utf16, -1, &status), manual_fb);
ccapitst.c 2484 UChar utf16[U16_MAX_LENGTH]; local
2789 utf16[]={ local
    [all...]
  /dalvik/libdex/
DexFile.c 92 u2 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); local
95 switch (utf16 >> 8) {
98 return (utf16 > 0x00a0);
108 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr);
109 return (utf16 >= 0xdc00) && (utf16 <= 0xdfff);
121 switch (utf16 & 0xfff8) {
  /external/chromium/third_party/icu/source/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/chromium/third_party/icu/source/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/icu4c/common/
unistr.cpp 427 UChar *utf16 = result.getBuffer(capacity); local
430 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16,
1169 UChar *utf16 = getBuffer(capacity); local
1172 u_strFromUTF8WithSub(utf16, getCapacity(), &length16,
    [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/icu4c/test/intltest/
ustrtest.cpp 242 static const UChar utf16[]={ 0x61, 0xE4, 0xDF, 0x4E00 }; local
245 UnicodeString from16(FALSE, utf16, LENGTHOF(utf16));
1815 static const UChar utf16[] = { local
1873 static const UChar utf16[] = { local
    [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...]
  /external/protobuf/gtest/test/
gtest_unittest.cc 1450 const WCHAR* utf16 = String::AnsiToUtf16("str"); local
1459 const WCHAR* utf16 = String::AnsiToUtf16(".:\\\\ \\"*?"); local
    [all...]

Completed in 795 milliseconds