/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);
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebCString.h | 92 BLINK_COMMON_EXPORT WebString utf16() const;
|
/external/chromium_org/net/cert/ |
x509_cert_types_mac.cc | 115 base::string16 utf16; local 117 base::OnStringConversionError::FAIL, &utf16)) 119 return UTF16ToUTF8(utf16);
|
/external/harfbuzz_ng/test/api/ |
test-buffer.c | 33 static const uint16_t utf16[8] = {'a', 'b', 0xD840, 0xDC00, 'd', 'e', 'f', 'g'}; variable 50 "utf16", 82 hb_buffer_add_utf16 (b, utf16, G_N_ELEMENTS (utf16), 1, G_N_ELEMENTS (utf16) - 2); 696 const uint16_t utf16[8]; member in struct:__anon20487 700 /* note: we skip the first and last item from utf16 when adding to buffer */ 726 for (u_len = 0; test->utf16[u_len]; u_len++) 732 hb_buffer_add_utf16 (b, test->utf16, u_len, 1, u_len - 2);
|
/external/chromium/net/proxy/ |
init_proxy_resolver_unittest.cc | 148 rules_->GetRuleByText(script_data->utf16()) : 155 EXPECT_EQ(rule.text(), script_data->utf16()); 187 EXPECT_EQ(rule.text(), resolver.script_data()->utf16()); 288 EXPECT_EQ(rule.text(), resolver.script_data()->utf16()); 307 EXPECT_EQ(rule.text(), resolver.script_data()->utf16()); 331 EXPECT_EQ(rule.text(), resolver.script_data()->utf16());
|
multi_threaded_proxy_resolver_unittest.cc | 254 mock->last_script_data()->utf16()); 590 EXPECT_EQ(ASCIIToUTF16("data2"), mock->last_script_data()->utf16()); 618 factory->resolvers()[0]->last_script_data()->utf16()); 688 factory->resolvers()[i]->last_script_data()->utf16()) << "i=" << i; 692 factory->resolvers()[3]->last_script_data()->utf16()); 730 factory->resolvers()[0]->last_script_data()->utf16());
|
proxy_resolver_v8.cc | 85 // External string wrapper so V8 can access the UTF16 string wrapped by 95 return reinterpret_cast<const uint16*>(script_data_->utf16().data()); 99 return script_data_->utf16().size(); 145 // Converts a V8 String to a UTF16 string16. 161 // Converts a UTF16 string16 (warpped by a ProxyResolverScriptData) to a 165 if (s->utf16().size() * 2 <= kMaxStringBytesForCopy) { 167 reinterpret_cast<const uint16_t*>(s->utf16().data()), 168 s->utf16().size()); 741 if (script_data->utf16().empty())
|
proxy_script_fetcher_impl.cc | 47 // Converts |bytes| (which is encoded by |charset|) to UTF16, saving the resul 48 // to |*utf16|. 52 string16* utf16) { 68 utf16); 277 // The caller expects the response to be encoded as UTF16.
|
proxy_service_unittest.cc | [all...] |
/external/chromium_org/net/proxy/ |
multi_threaded_proxy_resolver_unittest.cc | 263 mock->last_script_data()->utf16()); 599 EXPECT_EQ(ASCIIToUTF16("data2"), mock->last_script_data()->utf16()); 627 factory->resolvers()[0]->last_script_data()->utf16()); 697 factory->resolvers()[i]->last_script_data()->utf16()) << "i=" << i; 701 factory->resolvers()[3]->last_script_data()->utf16()); 739 factory->resolvers()[0]->last_script_data()->utf16());
|
proxy_resolver_v8.cc | 84 // External string wrapper so V8 can access the UTF16 string wrapped by 94 return reinterpret_cast<const uint16*>(script_data_->utf16().data()); 98 return script_data_->utf16().size(); 146 // Converts a V8 String to a UTF16 base::string16. 163 // Converts a UTF16 base::string16 (warpped by a ProxyResolverScriptData) to a 167 if (s->utf16().size() * 2 <= kMaxStringBytesForCopy) { 169 reinterpret_cast<const uint16_t*>(s->utf16().data()), 170 s->utf16().size()); 742 if (script_data->utf16().empty())
|
proxy_script_fetcher_impl.cc | 48 // Converts |bytes| (which is encoded by |charset|) to UTF16, saving the resul 49 // to |*utf16|. 53 base::string16* utf16) { 69 utf16); 285 // The caller expects the response to be encoded as UTF16.
|
proxy_script_decider_unittest.cc | 134 EXPECT_EQ(rule.text(), decider.script_data()->utf16()); 240 EXPECT_EQ(rule.text(), decider.script_data()->utf16()); 263 EXPECT_EQ(rule.text(), decider.script_data()->utf16()); 290 EXPECT_EQ(rule.text(), decider.script_data()->utf16()); 506 decider.script_data()->utf16());
|
/external/chromium/net/base/ |
x509_cert_types_mac.cc | 105 string16 utf16; local 107 base::OnStringConversionError::FAIL, &utf16)) 109 return UTF16ToUTF8(utf16);
|
/external/chromium_org/base/strings/ |
utf_offset_string_conversions_unittest.cc | 41 char16 utf16[10]; member in struct:base::UTF16ToUTF8Case 60 UTF16ToUTF8AndAdjustOffset(utf16_to_utf8_cases[i].utf16, &offset);
|
string_util.cc | 374 std::string UTF16ToASCII(const string16& utf16) { 375 DCHECK(IsStringASCII(utf16)) << utf16; 376 return std::string(utf16.begin(), utf16.end());
|
/external/qemu/distrib/sdl-1.2.15/src/file/ |
SDL_rwops.c | 145 char *utf16 = SDL_iconv_string("UCS2", "UTF8", filename, SDL_strlen(filename) + 1); local 150 if (!utf16 || 151 !WideCharToMultiByte(CP_ACP, 0, (LPCWSTR)utf16, -1, filenameA, size*6, 0, &bDefCharUsed) || 154 SDL_free(utf16); 169 SDL_free(utf16);
|
/art/runtime/ |
utils.cc | 673 uint16_t utf16 = GetUtf16FromUtf8(pUtf8Ptr); local 676 switch (utf16 >> 8) { 679 return (utf16 > 0x00a0); 686 utf16 = GetUtf16FromUtf8(pUtf8Ptr); 687 return (utf16 >= 0xdc00) && (utf16 <= 0xdfff); 697 switch (utf16 & 0xfff8) { [all...] |
/external/chromium_org/base/files/ |
file_path.h | 364 static FilePath FromUTF16Unsafe(const string16& utf16);
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
NotificationPresenter.cpp | 54 return notification.url().spec().utf16();
|
/external/chromium_org/third_party/sqlite/src/ext/fts2/ |
fts2_icu.c | 27 #include <unicode/utf16.h>
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3_icu.c | 27 #include <unicode/utf16.h>
|
/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/chromium/base/ |
string_util.cc | 429 std::string UTF16ToASCII(const string16& utf16) { 430 DCHECK(IsStringASCII(utf16)) << utf16; 431 return std::string(utf16.begin(), utf16.end()); [all...] |
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);
|