Home
last modified time | relevance | path

Searched refs:WideToUTF16 (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/strings/
Dutf_string_conversions.cc95 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()
Dutf_string_conversions.h31 BASE_EXPORT bool WideToUTF16(const wchar_t* src, size_t src_len,
33 BASE_EXPORT string16 WideToUTF16(const std::wstring& wide);
Dstring_util_unittest.cc236 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/
Dstring_escape_unittest.cc92 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()
Djson_value_serializer_unittest.cc318 string16 test(WideToUTF16(L"\x7F51\x9875")); in TEST()
343 string16 test(WideToUTF16(L"\x01\x02")); in TEST()
/external/libchrome/base/files/
Dfile_path.cc596 return WideToUTF16(SysNativeMBToWide(path_)); in LossyDisplayName()
617 return WideToUTF16(SysNativeMBToWide(value())); in AsUTF16Unsafe()