WideToUTF8 73 base/environment.cc *result = WideToUTF8(value.get()); WideToUTF8 599 base/files/file_path.cc return WideToUTF8(SysNativeMBToWide(value())); WideToUTF8 641 base/files/file_path.cc return WideToUTF8(value()); WideToUTF8 319 base/files/file_path_unittest.cc std::string ascii = WideToUTF8(leaf); WideToUTF8 35 base/guid_win.cc return WideToUTF8(guid_string.substr(1, guid_string.length() - 2)); WideToUTF8 76 base/i18n/file_util_icu_unittest.cc std::string bad_name(base::WideToUTF8(kIllegalCharacterCases[i].bad_name)); WideToUTF8 78 base/i18n/file_util_icu_unittest.cc EXPECT_EQ(base::WideToUTF8(kIllegalCharacterCases[i].good_name), bad_name); WideToUTF8 80 base/i18n/icu_string_conversions_unittest.cc std::string expected(WideToUTF8(kConvertRoundtripCases[i])); WideToUTF8 856 base/logging.cc return out << base::WideToUTF8(std::wstring(wstr)); WideToUTF8 17 base/strings/sys_string_conversions_posix.cc return WideToUTF8(wide); WideToUTF8 33 base/strings/sys_string_conversions_posix.cc return WideToUTF8(wide); WideToUTF8 173 base/strings/sys_string_conversions_unittest.cc std::wstring trip = SysNativeMBToWide(WideToUTF8(wide)); WideToUTF8 54 base/strings/utf_string_conversions.cc WideToUTF8(wide.data(), wide.length(), &ret); WideToUTF8 166 base/strings/utf_string_conversions.cc return WideToUTF8(src, src_len, output); WideToUTF8 170 base/strings/utf_string_conversions.cc return WideToUTF8(utf16); WideToUTF8 22 base/strings/utf_string_conversions.h BASE_EXPORT bool WideToUTF8(const wchar_t* src, size_t src_len, WideToUTF8 24 base/strings/utf_string_conversions.h BASE_EXPORT std::string WideToUTF8(const std::wstring& wide); WideToUTF8 51 base/strings/utf_string_conversions_unittest.cc utf8 << WideToUTF8(kConvertRoundtripCases[i]); WideToUTF8 64 base/strings/utf_string_conversions_unittest.cc EXPECT_EQ(empty, WideToUTF8(wempty)); WideToUTF8 145 base/strings/utf_string_conversions_unittest.cc WideToUTF8(convert_cases[i].utf16, WideToUTF8 178 base/strings/utf_string_conversions_unittest.cc WideToUTF8(convert_cases[i].utf32, WideToUTF8 206 base/strings/utf_string_conversions_unittest.cc const std::string& converted = WideToUTF8(wmultistring); WideToUTF8 102 base/test/test_file_util_posix.cc return base::FilePath(base::WideToUTF8(path)); WideToUTF8 309 chrome/app/client_util.cc env->SetVar(chrome::kChromeVersionEnvVar, base::WideToUTF8(version)); WideToUTF8 212 chrome/browser/browser_keyevents_browsertest.cc ASSERT_EQ(base::WideToUTF8(focused), actual); WideToUTF8 233 chrome/browser/browser_keyevents_browsertest.cc ASSERT_EQ(base::WideToUTF8(value), actual); WideToUTF8 244 chrome/browser/browser_keyevents_browsertest.cc ASSERT_EQ(base::WideToUTF8(value), actual); WideToUTF8 74 chrome/browser/chrome_elf_init_win.cc base::WideToUTF8(blocked_dlls[i], wcslen(blocked_dlls[i]), &dll_name_utf8); WideToUTF8 2885 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(base::WideToUTF8(crazy_w, wcslen(crazy_w), &crazy8)); WideToUTF8 378 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.name), &filename_hash); WideToUTF8 379 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.location), &location_hash); WideToUTF8 407 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.digital_signer), &signer_hash); WideToUTF8 408 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.description), &description_hash); WideToUTF8 1062 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.name), &filename); WideToUTF8 1063 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.location), &location); WideToUTF8 1064 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.description), &description); WideToUTF8 1065 chrome/browser/enumerate_modules_model_win.cc GenerateHash(base::WideToUTF8(module.digital_signer), &signer); WideToUTF8 43 chrome/browser/extensions/api/system_display/display_info_provider_win.cc base::Hash(base::WideToUTF8(monitor_info.szDevice))); WideToUTF8 44 chrome/browser/extensions/api/system_display/display_info_provider_win.cc unit->name = base::WideToUTF8(device.DeviceString); WideToUTF8 22 chrome/browser/extensions/browser_action_apitest.cc EXPECT_STREQ(base::WideToUTF8( WideToUTF8 25 chrome/browser/extensions/browser_action_apitest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur is my name").c_str(), WideToUTF8 29 chrome/browser/extensions/browser_action_apitest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur").c_str(), WideToUTF8 193 chrome/browser/extensions/page_action_browsertest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur: l10n page action").c_str(), WideToUTF8 195 chrome/browser/extensions/page_action_browsertest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur is my name").c_str(), WideToUTF8 199 chrome/browser/extensions/page_action_browsertest.cc EXPECT_STREQ(base::WideToUTF8(L"Hreggvi\u00F0ur").c_str(), WideToUTF8 462 chrome/browser/history/history_querying_unittest.cc { base::WideToUTF8(std::wstring(L"\u043f\u0440\u0435\u0437") + WideToUTF8 75 chrome/browser/history/in_memory_database.cc attach.BindString(0, base::WideToUTF8(history_name.value())); WideToUTF8 42 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(base::WideToUTF8(L"\xAC00 \xC7A5"), WideToUTF8 43 chrome/browser/history/query_parser_unittest.cc QueryToString(base::WideToUTF8(L" \xAC00 \xC7A5"))); WideToUTF8 46 chrome/browser/history/query_parser_unittest.cc EXPECT_EQ(base::WideToUTF8(L"\xAC00\xC7A5* \xBE5B\xACE0*"), WideToUTF8 47 chrome/browser/history/query_parser_unittest.cc QueryToString(base::WideToUTF8(L"\xAC00\xC7A5 \xBE5B\xACE0"))); WideToUTF8 25 chrome/browser/parsers/metadata_parser_filebase.cc value = base::WideToUTF8(path_.BaseName().value()); WideToUTF8 480 chrome/browser/performance_monitor/database.cc std::string name = base::WideToUTF8(path_.AppendASCII(path).value()); WideToUTF8 147 chrome/browser/printing/printing_layout_browsertest.cc EXPECT_EQ(0., diff_emf) << base::WideToUTF8(verification_name) << WideToUTF8 160 chrome/browser/printing/printing_layout_browsertest.cc EXPECT_EQ(0., diff_png) << base::WideToUTF8(verification_name) << WideToUTF8 210 chrome/browser/printing/printing_layout_browsertest.cc if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".emf") == 0) { WideToUTF8 218 chrome/browser/printing/printing_layout_browsertest.cc if (base::strcasecmp(base::WideToUTF8(ext).c_str(), ".prn") == 0) { WideToUTF8 1042 chrome/browser/profile_resetter/profile_resetter_unittest.cc prefs->SetString(prefs::kHomePage, base::WideToUTF8(url)); WideToUTF8 1045 chrome/browser/profile_resetter/profile_resetter_unittest.cc startup_pref.urls.push_back(GURL(base::WideToUTF8(url))); WideToUTF8 18 chrome/browser/webdata/logins_table_win.cc s.BindString(0, base::WideToUTF8(info.url_hash)); WideToUTF8 30 chrome/browser/webdata/logins_table_win.cc s.BindString(0, base::WideToUTF8(info.url_hash)); WideToUTF8 281 chrome/common/crash_keys.cc std::string switch_str = base::WideToUTF8(argv[i]); WideToUTF8 608 chrome/common/net/url_fixer_upper.cc base::WideToUTF8(trimmed), WideToUTF8 635 chrome/common/net/url_fixer_upper.cc std::string text_utf8 = base::WideToUTF8(text.value()); WideToUTF8 382 chrome/common/net/url_fixer_upper_unittest.cc GURL fixedup(URLFixerUpper::FixupURL(base::WideToUTF8(original.value()), WideToUTF8 392 chrome/common/net/url_fixer_upper_unittest.cc std::string cur(base::WideToUTF8(original.value())); WideToUTF8 108 chrome/common/service_process_util.cc std::string user_data_dir_path = base::WideToUTF8(user_data_dir.value()); WideToUTF8 44 chrome/common/service_process_util_win.cc std::string scoped_name = base::WideToUTF8(user_data_dir.value()); WideToUTF8 293 chrome/installer/util/google_update_settings.cc *metrics_id = base::WideToUTF8(metrics_id_w); WideToUTF8 781 chrome/service/cloud_print/print_system_win.cc base::WideToUTF8(job_info->pStatus, wcslen(job_info->pStatus), WideToUTF8 266 chrome/test/chromedriver/chrome_launcher.cc std::string command_string = base::WideToUTF8(command.GetCommandLineString()); WideToUTF8 155 chrome/test/chromedriver/key_converter_unittest.cc CreateCharEvent(base::WideToUTF8(L"\u00E9"), WideToUTF8 156 chrome/test/chromedriver/key_converter_unittest.cc base::WideToUTF8(L"\u00E9"), 0), WideToUTF8 33 chrome/test/chromedriver/keycode_text_conversion_win.cc base::WideToUTF8(chars, code, text); WideToUTF8 151 chrome/tools/convert_dict/aff_reader.cc *utf8 = base::WideToUTF8(wide_word); WideToUTF8 705 chrome/utility/importer/ie_importer_win.cc std::string url(base::WideToUTF8(wide_url)); WideToUTF8 593 components/nacl/browser/nacl_process_host.cc base::WideToUTF8(module_path.DirName().Append(L"x64").value()); WideToUTF8 94 content/browser/accessibility/accessibility_win_browsertest.cc printf("role=%d name=%s\n", V_I4(&role), base::WideToUTF8(name).c_str()); WideToUTF8 80 content/browser/dom_storage/session_storage_database.cc base::WideToUTF8(session_storage_database_->file_path_.value()), WideToUTF8 380 content/browser/dom_storage/session_storage_database.cc return leveldb::DB::Open(options, base::WideToUTF8(file_path_.value()), db); WideToUTF8 25 content/ppapi_plugin/broker_process_dispatcher.cc return base::WideToUTF8(plugin_data_path.value()); WideToUTF8 39 content/shell/app/webkit_test_platform_support_win.cc std::cerr << "Failed to load font " << base::WideToUTF8(font_path.value()) WideToUTF8 103 content/shell/browser/shell_browser_main.cc *test = base::WideToUTF8(args[(*position)++]); WideToUTF8 337 content/shell/renderer/webkit_test_runner.cc std::string utf8_path = base::WideToUTF8(replace_path.value()); WideToUTF8 340 content/shell/renderer/webkit_test_runner.cc base::WideToUTF8(base::SysNativeMBToWide(replace_path.value())); WideToUTF8 553 google_apis/drive/gdata_wapi_parser.cc std::string file_extension = base::WideToUTF8(file_path.Extension()); WideToUTF8 39 gpu/config/gpu_dx_diagnostics_win.cc std::string prop_name8 = base::WideToUTF8(prop_name16); WideToUTF8 54 gpu/config/gpu_dx_diagnostics_win.cc output->values[prop_name8] = base::WideToUTF8(variant.bstrVal); WideToUTF8 77 gpu/config/gpu_dx_diagnostics_win.cc std::string child_name8 = base::WideToUTF8(child_name16); WideToUTF8 343 ipc/ipc_message_utils.cc l->append(base::WideToUTF8(p)); WideToUTF8 162 media/audio/win/audio_device_listener_win.cc new_device_id = base::WideToUTF8(new_default_device_id); WideToUTF8 512 media/audio/win/audio_low_latency_input_win.cc base::WideToUTF8(static_cast<WCHAR*>(communications_id))) { WideToUTF8 149 media/audio/win/core_audio_util_win.cc base::WideToUTF8(device_id_com, wcslen(device_id_com), &device_id); WideToUTF8 319 media/audio/win/core_audio_util_win.cc base::WideToUTF8(friendly_name.get().pwszVal, WideToUTF8 370 media/audio/win/core_audio_util_win.cc base::WideToUTF8(instance_id.get().pwszVal, WideToUTF8 507 media/audio/win/core_audio_util_win_unittest.cc base::WideToUTF8(wide_id, wcslen(wide_id), &id); WideToUTF8 72 media/audio/win/device_enumeration_win.cc base::WideToUTF8(static_cast<WCHAR*>(endpoint_device_id)); WideToUTF8 86 media/audio/win/device_enumeration_win.cc device.device_name = base::WideToUTF8(friendly_name.get().pwszVal); WideToUTF8 128 media/audio/win/device_enumeration_win.cc device.device_name = base::WideToUTF8(capabilities.szPname); WideToUTF8 185 media/audio/win/device_enumeration_win.cc std::string utf8_id = base::WideToUTF8(static_cast<WCHAR*>(id)); WideToUTF8 199 media/audio/win/device_enumeration_win.cc return base::WideToUTF8(capabilities.szPname); WideToUTF8 43 media/midi/midi_manager_win.cc return base::WideToUTF8(text); WideToUTF8 55 media/midi/midi_manager_win.cc return base::WideToUTF8(text); WideToUTF8 522 media/midi/midi_manager_win.cc base::WideToUTF8(caps.szPname), WideToUTF8 545 media/midi/midi_manager_win.cc base::WideToUTF8(caps.szPname), WideToUTF8 201 net/base/mime_util_unittest.cc nonAscii.append(base::WideToUTF8(std::wstring(L"\u2603"))); WideToUTF8 816 net/base/net_util.cc decoded_filename = base::WideToUTF8( WideToUTF8 861 net/base/net_util.cc std::string filename_lower = StringToLowerASCII(base::WideToUTF8(filename)); WideToUTF8 499 net/base/net_util_unittest.cc std::string default_filename(base::WideToUTF8(test_case->default_filename)); WideToUTF8 22 net/base/platform_mime_util_win.cc *result = base::WideToUTF8(value); WideToUTF8 140 net/cert/x509_cert_types_mac.cc return base::WideToUTF8(reinterpret_cast<const wchar_t*>(chars), WideToUTF8 57 net/cert/x509_cert_types_win.cc *value = base::WideToUTF8(wide_name); WideToUTF8 310 net/dns/host_resolver_impl.cc dict->SetString("os_error_string", base::WideToUTF8(error_string)); WideToUTF8 118 net/http/http_content_disposition.cc *output = base::WideToUTF8(base::SysNativeMBToWide(encoded_word)); WideToUTF8 24 net/test/python_utils.cc dir_path = base::WideToUTF8(dir.value()); WideToUTF8 125 net/test/spawned_test_server/local_test_server_win.cc new_value += base::WideToUTF8(path_to_add.value()); WideToUTF8 20 ppapi/shared_impl/file_ref_create_info.cc return base::WideToUTF8(path.substr(pos + 1)); WideToUTF8 26 ppapi/shared_impl/file_ref_util.cc return base::WideToUTF8(file_path.substr(pos + 1)); WideToUTF8 96 printing/backend/print_backend_win.cc paper.name = base::WideToUTF8(tmp_name); WideToUTF8 122 printing/backend/print_backend_win.cc paper.name = base::WideToUTF8(tmp_name); WideToUTF8 215 printing/backend/print_backend_win.cc return base::WideToUTF8(default_printer_name); WideToUTF8 332 printing/backend/win_helper.cc printer_info->printer_name = base::WideToUTF8(info_2.get()->pPrinterName); WideToUTF8 335 printing/backend/win_helper.cc base::WideToUTF8(info_2.get()->pComment); WideToUTF8 339 printing/backend/win_helper.cc base::WideToUTF8(info_2.get()->pLocation); WideToUTF8 343 printing/backend/win_helper.cc base::WideToUTF8(info_2.get()->pDriverName); WideToUTF8 366 printing/backend/win_helper.cc info[0] = base::WideToUTF8(info_6.get()->pName); WideToUTF8 373 printing/backend/win_helper.cc info[1] = base::WideToUTF8(version_info->file_version()); WideToUTF8 374 printing/backend/win_helper.cc info[2] = base::WideToUTF8(version_info->product_name()); WideToUTF8 375 printing/backend/win_helper.cc info[3] = base::WideToUTF8(version_info->product_version()); WideToUTF8 119 remoting/base/breakpad_win_unittest.cc base::WideToUTF8(pipe_name_))); WideToUTF8 547 remoting/host/desktop_session_win.cc base::WideToUTF8( WideToUTF8 42 remoting/host/ipc_util_win.cc "O:%1$sG:%1$sD:(A;;GA;;;%1$s)", base::WideToUTF8(user_sid).c_str()); WideToUTF8 51 remoting/host/pairing_registry_delegate_win.cc std::string value_json_utf8 = base::WideToUTF8(value_json); WideToUTF8 138 remoting/host/pairing_registry_delegate_win.cc PairingRegistry::Pairing pairing = Load(base::WideToUTF8(value_name)); WideToUTF8 124 remoting/host/policy_hack/policy_watcher_win.cc *result = base::WideToUTF8(value); WideToUTF8 132 remoting/host/policy_hack/policy_watcher_win.cc *result = base::WideToUTF8(value); WideToUTF8 79 remoting/host/setup/win/auth_code_getter.cc *auth_code = GetOauthCodeInUrl(base::WideToUTF8(static_cast<BSTR>(url)), WideToUTF8 207 remoting/host/win/chromoting_module.cc if (!InitializeComSecurity(base::WideToUTF8(kElevatedControllerSd), "", true)) WideToUTF8 275 remoting/host/win/host_service.cc if (!InitializeComSecurity(base::WideToUTF8(kComProcessSd), WideToUTF8 276 remoting/host/win/host_service.cc base::WideToUTF8(kComProcessMandatoryLabel), WideToUTF8 312 remoting/host/win/host_service.cc if (!InitializeComSecurity(base::WideToUTF8(kComProcessSd), WideToUTF8 313 remoting/host/win/host_service.cc base::WideToUTF8(kComProcessMandatoryLabel), WideToUTF8 45 remoting/host/win/wts_terminal_monitor.cc bool result = base::WideToUTF8(working_directory, WideToUTF8 34 rlz/win/lib/registry_util.cc strncpy(value, base::WideToUTF8(value_string).c_str(), *value_size); WideToUTF8 189 skia/ext/image_operations_bench.cc value = base::WideToUTF8(iter->second); WideToUTF8 245 sql/connection.cc return OpenInternal(base::WideToUTF8(path.value()), RETRY_ON_POISON); WideToUTF8 60 sync/internal_api/write_node.cc SyncAPINameToServerName(base::WideToUTF8(title), &new_legal_title); WideToUTF8 14 third_party/libaddressinput/chromium/chrome_rule_test.cc ASSERT_TRUE(rule.ParseSerializedRule(base::WideToUTF8( WideToUTF8 50 third_party/libaddressinput/chromium/chrome_rule_test.cc const std::string input(base::WideToUTF8(expectations[i].input)); WideToUTF8 51 third_party/libaddressinput/chromium/chrome_rule_test.cc const std::string expected_output(base::WideToUTF8(expectations[i].output)); WideToUTF8 254 tools/gn/filesystem_utils.cc return base::WideToUTF8(str); WideToUTF8 29 tools/gn/generate_test_gn_data.cc return base::WideToUTF8(path.value()); WideToUTF8 28 tools/gn/gn_main.cc out_args.push_back(base::WideToUTF8(in_args[i])); WideToUTF8 60 tools/gn/ninja_build_writer.cc return base::WideToUTF8(cmdline.GetCommandLineString()); WideToUTF8 141 ui/base/dragdrop/os_exchange_data_win_unittest.cc EXPECT_EQ(url.spec(), base::WideToUTF8(output)); WideToUTF8 168 ui/base/dragdrop/os_exchange_data_win_unittest.cc EXPECT_EQ(url.spec(), base::WideToUTF8(output_url)); WideToUTF8 176 ui/base/dragdrop/os_exchange_data_win_unittest.cc EXPECT_EQ(url_spec, base::WideToUTF8(output_text)); WideToUTF8 326 ui/base/dragdrop/os_exchange_data_win_unittest.cc expected_cf_html += base::WideToUTF8(html); WideToUTF8 64 ui/base/ime/remote_input_method_win.cc base::WideToUTF8(buffer, chars_written - 1, &result); WideToUTF8 488 ui/base/ime/win/imm32_manager.cc base::WideToUTF8(buffer, length - 1, &language); WideToUTF8 499 ui/base/ime/win/imm32_manager.cc base::WideToUTF8(buffer, length - 1, ®ion); WideToUTF8 28 ui/gfx/font_fallback_win.cc StringToLowerASCII(base::WideToUTF8(it.Value())); WideToUTF8 29 ui/gfx/font_fallback_win.cc (*map)[filename] = base::WideToUTF8(it.Name()); WideToUTF8 84 ui/gfx/font_fallback_win.cc base::WideToUTF8(values[i]), &filename, &font_name); WideToUTF8 29 ui/gfx/screen_win.cc base::Hash(base::WideToUTF8(monitor_info.szDevice)));