Home
last modified time | relevance | path

Searched refs:WideToUTF8 (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/strings/
Dutf_string_conversions_unittest.cc54 utf8 << WideToUTF8(kConvertRoundtripCases[i]); in TEST()
67 EXPECT_EQ(empty, WideToUTF8(wempty)); in TEST()
148 WideToUTF8(test.utf16, wcslen(test.utf16), &converted)); in TEST()
179 WideToUTF8(test.utf32, wcslen(test.utf32), &converted)); in TEST()
Dutf_string_conversions.cc299 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { in WideToUTF8() function
303 std::string WideToUTF8(WStringPiece wide) { in WideToUTF8() function
309 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { in WideToUTF8() function
313 std::string WideToUTF8(WStringPiece wide) { in WideToUTF8() function
317 WideToUTF8(wide.data(), wide.length(), &ret); in WideToUTF8()
Dutf_string_conversions_fuzzer.cc39 base::WideToUTF8(output_std_wstring); in LLVMFuzzerTestOneInput()
40 base::WideToUTF8(reinterpret_cast<const wchar_t*>(data), in LLVMFuzzerTestOneInput()
Dutf_string_conversions.h24 BASE_EXPORT bool WideToUTF8(const wchar_t* src, size_t src_len,
26 BASE_EXPORT std::string WideToUTF8(WStringPiece wide);
Dold_utf_string_conversions.h29 BASE_EXPORT bool WideToUTF8(const wchar_t* src,
32 BASE_EXPORT std::string WideToUTF8(const std::wstring& wide);
Dutf_string_conversions_regression_fuzzer.cc76 bool new_res = base::WideToUTF8(src, src_len, &new_out); in WideToCheck()
79 bool old_res = base_old::WideToUTF8(src, src_len, &old_out); in WideToCheck()
Dsys_string_conversions_posix.cc19 return WideToUTF8(wide); in SysWideToUTF8()
34 return WideToUTF8(wide); in SysWideToNativeMB()
Dold_utf_string_conversions.cc83 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { in WideToUTF8() function
93 std::string WideToUTF8(const std::wstring& wide) { in WideToUTF8() function
237 return WideToUTF8(src, src_len, output); in UTF16ToUTF8()
Dsys_string_conversions_unittest.cc182 std::wstring trip = SysNativeMBToWide(WideToUTF8(wide)); in TEST()
/external/google-breakpad/src/common/windows/
Dhttp_upload.cc162 string WideToUTF8(const wstring &wide) { in WideToUTF8() function
364 string file_part_name_utf8 = WideToUTF8(file_part_name); in AppendFileToRequestBody()
369 string filename_utf8 = WideToUTF8(filename); in AppendFileToRequestBody()
397 string boundary_str = WideToUTF8(boundary); in GenerateRequestBody()
409 WideToUTF8(pos->first) + "\"\r\n\r\n" + in GenerateRequestBody()
410 WideToUTF8(pos->second) + "\r\n"); in GenerateRequestBody()
505 WideToUTF8(body), in SendSimplePostRequest()
/external/libchrome/base/i18n/
Dfile_util_icu_unittest.cc94 std::string bad_name(WideToUTF8(kIllegalCharacterCases[i].bad_name)); in TEST_F()
96 EXPECT_EQ(WideToUTF8(kIllegalCharacterCases[i].good_name), bad_name); in TEST_F()
/external/libchrome/device/bluetooth/
Dbluetooth_uuid.cc90 GetCanonicalUuid(base::WideToUTF8(base::WStringPiece(buffer).substr(1, 36)), in BluetoothUUID()
/external/libchrome/base/
Denvironment.cc68 *result = WideToUTF8(value.get()); in GetVarImpl()
Dlogging.cc1064 return out << (wstr ? base::WideToUTF8(wstr) : std::string()); in operator <<()
/external/libchrome/base/files/
Dfile_path.cc602 return WideToUTF8(value()); in AsUTF8Unsafe()
638 return WideToUTF8(SysNativeMBToWide(value())); in AsUTF8Unsafe()
Dfile_path_unittest.cc323 std::string ascii = WideToUTF8(leaf); in TEST_F()