Searched refs:WideToUTF16 (Results 1 – 6 of 6) sorted by relevance
/external/libchrome/base/strings/ |
D | utf_string_conversions.cc | 95 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() function 100 string16 WideToUTF16(const std::wstring& wide) { in WideToUTF16() function 115 bool WideToUTF16(const wchar_t* src, size_t src_len, string16* output) { in WideToUTF16() function 123 string16 WideToUTF16(const std::wstring& wide) { in WideToUTF16() function 125 WideToUTF16(wide.data(), wide.length(), &ret); in WideToUTF16()
|
D | utf_string_conversions.h | 31 BASE_EXPORT bool WideToUTF16(const wchar_t* src, size_t src_len, 33 BASE_EXPORT string16 WideToUTF16(const std::wstring& wide);
|
D | string_util_unittest.cc | 236 TrimWhitespace(WideToUTF16(value.input), value.positions, in TEST() 238 EXPECT_EQ(WideToUTF16(value.output), output); in TEST() 289 EXPECT_EQ(WideToUTF16(value.output), in TEST() 290 CollapseWhitespace(WideToUTF16(value.input), value.trim)); in TEST() 481 EXPECT_EQ(WideToUTF16(wchar_cases[i]), utf16); in TEST() 483 std::string ascii = UTF16ToASCII(WideToUTF16(wchar_cases[i])); in TEST()
|
/external/libchrome/base/json/ |
D | string_escape_unittest.cc | 92 string16 in = WideToUTF16(cases[i].to_escape); in TEST() 104 string16 in = WideToUTF16(cases[0].to_escape); in TEST() 117 string16 null_prepend = WideToUTF16(L"test"); in TEST()
|
D | json_value_serializer_unittest.cc | 318 string16 test(WideToUTF16(L"\x7F51\x9875")); in TEST() 343 string16 test(WideToUTF16(L"\x01\x02")); in TEST()
|
/external/libchrome/base/files/ |
D | file_path.cc | 596 return WideToUTF16(SysNativeMBToWide(path_)); in LossyDisplayName() 617 return WideToUTF16(SysNativeMBToWide(value())); in AsUTF16Unsafe()
|