/external/chromium/net/proxy/ |
proxy_resolver_script_data.cc | 22 const string16& utf16) { 23 return new ProxyResolverScriptData(TYPE_SCRIPT_CONTENTS, GURL(), utf16); 38 const string16& ProxyResolverScriptData::utf16() const { function in class:net::ProxyResolverScriptData 50 const string16& utf16) 53 utf16_(utf16) {
|
/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/Source/WebCore/bindings/cpp/ |
WebDOMCString.cpp | 68 WebDOMString WebDOMCString::utf16() const function in class:WebDOMCString
|
/external/webkit/Source/WebCore/platform/android/ |
KeyEventAndroid.cpp | 206 UChar utf16[2] = {lead, trail}; local 207 return String(utf16, 2);
|
/dalvik/libdex/ |
DexUtf.cpp | 69 u2 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); local 72 switch (utf16 >> 8) { 75 return (utf16 > 0x00a0); 85 utf16 = dexGetUtf16FromUtf8(pUtf8Ptr); 86 return (utf16 >= 0xdc00) && (utf16 <= 0xdfff); 98 switch (utf16 & 0xfff8) {
|
/external/chromium/base/i18n/ |
icu_string_conversions_unittest.cc | 317 string16 utf16; local 321 &utf16); 328 EXPECT_EQ(utf16_expected, utf16); 336 success = UTF16ToCodepage(utf16, kConvertCodepageCases[i].codepage_name,
|
icu_string_conversions.cc | 153 bool UTF16ToCodepage(const string16& utf16, 164 return ConvertFromUTF16(converter, utf16.c_str(), 165 static_cast<int>(utf16.length()), on_error, encoded); 171 string16* utf16) { 172 utf16->clear(); 190 int actual_size = ucnv_toUChars(converter, WriteInto(utf16, uchar_max_length), 195 utf16->clear(); // Make sure the output is empty on error. 199 utf16->resize(actual_size); 223 std::vector<UChar> utf16(wide.length() * 2 + 1); 224 u_strFromUTF32(&utf16[0], utf16.size(), &utf16_len 274 string16 utf16; local [all...] |
/external/chromium/base/ |
utf_string_conversions_unittest.cc | 125 const wchar_t* utf16; member in struct:base::WideToUTF8Case 145 WideToUTF8(convert_cases[i].utf16, 146 wcslen(convert_cases[i].utf16),
|
values_unittest.cc | 133 Value::CreateStringValue(ASCIIToUTF16("utf16"))); 139 string16 utf16 = ASCIIToUTF16("http://google.com"); local 141 ASSERT_TRUE(narrow_value->GetAsString(&utf16)); 143 ASSERT_EQ(ASCIIToUTF16("narrow"), utf16); 146 ASSERT_TRUE(utf16_value->GetAsString(&utf16)); 147 ASSERT_EQ(std::string("utf16"), narrow); 148 ASSERT_EQ(ASCIIToUTF16("utf16"), utf16);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebCString.cpp | 93 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.cpp | 470 u2 utf16 = dexGetUtf16FromUtf8(&utf8Str); /* advances utf8Str */ local 471 set2BE(utf16Str, utf16);
|
Native.cpp | 591 u2* utf16 = (u2*) malloc(sizeof(u2) * charLen); local 592 if (utf16 == NULL) 595 dvmConvertUtf8ToUtf16(utf16, str); 602 u2 ch = utf16[i]; 622 free(utf16); 628 u2 ch = utf16[i]; 659 free(utf16);
|
/external/chromium/net/base/ |
x509_cert_types_mac.cc | 105 string16 utf16; local 107 base::OnStringConversionError::FAIL, &utf16)) 109 return UTF16ToUTF8(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 | 447 static UChar utf16[10000]; local 472 u_strFromUTF8(utf16, LENGTHOF(utf16), &length16, s, length8, &status); 482 verifyResult(ucnvsel_selectForString(sel_rt, utf16, length16, &status), manual_rt); 483 verifyResult(ucnvsel_selectForString(sel_fb, utf16, length16, &status), manual_fb); 485 verifyResult(ucnvsel_selectForString(sel_rt, utf16, -1, &status), manual_rt); 486 verifyResult(ucnvsel_selectForString(sel_fb, utf16, -1, &status), manual_fb);
|
ccapitst.c | 2486 UChar utf16[U16_MAX_LENGTH]; local 2791 utf16[]={ local [all...] |
/external/icu4c/common/ |
unistr.cpp | 427 UChar *utf16 = result.getBuffer(capacity); local 430 u_strFromUTF32WithSub(utf16, result.getCapacity(), &length16, 1170 UChar *utf16 = getBuffer(capacity); local 1173 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)); 1814 static const UChar utf16[] = { local 1880 static const UChar utf16[] = { local [all...] |
/external/skia/samplecode/ |
SampleAll.cpp | 397 short utf16[] = {'u', 't', 'f', '1', '6', 0x2026 }; local 529 canvas->drawTextOnPath((void*) utf16, sizeof(utf16), path, &matrix, paint);
|
/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...] |
/external/webkit/Source/WebKit/qt/tests/qwebframe/ |
tst_qwebframe.cpp | 3269 QTextCodec *utf16 = QTextCodec::codecForName("UTF-16"); local [all...] |