locale             25 base/i18n/rtl.cc std::string GetLocaleString(const icu::Locale& locale) {
locale             26 base/i18n/rtl.cc   const char* language = locale.getLanguage();
locale             27 base/i18n/rtl.cc   const char* country = locale.getCountry();
locale             28 base/i18n/rtl.cc   const char* variant = locale.getVariant();
locale             81 base/i18n/rtl.cc std::string GetCanonicalLocale(const char* locale) {
locale             82 base/i18n/rtl.cc   return GetLocaleString(icu::Locale::createCanonical(locale));
locale             97 base/i18n/rtl.cc     const icu::Locale& locale = icu::Locale::getDefault();
locale             98 base/i18n/rtl.cc     std::string language = locale.getLanguage();
locale             99 base/i18n/rtl.cc     const char* country = locale.getCountry();
locale            114 base/i18n/rtl.cc   icu::Locale locale(ICULocaleName(locale_string).c_str());
locale            116 base/i18n/rtl.cc   icu::Locale::setDefault(locale, error_code);
locale            136 base/i18n/rtl.cc     const icu::Locale& locale = icu::Locale::getDefault();
locale            137 base/i18n/rtl.cc     g_icu_text_direction = GetTextDirectionForLocale(locale.getName());
locale             43 base/i18n/rtl.h BASE_I18N_EXPORT std::string GetCanonicalLocale(const char* locale);
locale             78 base/strings/sys_string_conversions_unittest.cc   ScopedLocale locale("en_US.utf-8");
locale            108 base/strings/sys_string_conversions_unittest.cc   ScopedLocale locale("en_US.utf-8");
locale            162 base/strings/sys_string_conversions_unittest.cc   ScopedLocale locale("en_US.utf-8");
locale             13 base/test/scoped_locale.cc ScopedLocale::ScopedLocale(const std::string& locale) {
locale             15 base/test/scoped_locale.cc   EXPECT_TRUE(setlocale(LC_ALL, locale.c_str()) != NULL) <<
locale             16 base/test/scoped_locale.cc       "Failed to set locale: " << locale;
locale             18 base/test/scoped_locale.h   explicit ScopedLocale(const std::string& locale);
locale            706 chrome/app/chrome_main_delegate.cc     const std::string locale =
locale            730 chrome/app/chrome_main_delegate.cc     base::i18n::SetICUDefaultLocale(locale);
locale            731 chrome/app/chrome_main_delegate.cc     const std::string loaded_locale = locale;
locale            734 chrome/app/chrome_main_delegate.cc         ResourceBundle::InitSharedInstanceWithLocale(locale, NULL);
locale            742 chrome/app/chrome_main_delegate.cc         locale;
locale            121 chrome/browser/background/background_application_list_model.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale            122 chrome/browser/background/background_application_list_model.cc   icu::Locale loc(locale.c_str());
locale            170 chrome/browser/browser_process.h   virtual void SetApplicationLocale(const std::string& locale) = 0;
locale            599 chrome/browser/browser_process_impl.cc void BrowserProcessImpl::SetApplicationLocale(const std::string& locale) {
locale            600 chrome/browser/browser_process_impl.cc   locale_ = locale;
locale            601 chrome/browser/browser_process_impl.cc   extension_l10n_util::SetProcessLocale(locale);
locale            602 chrome/browser/browser_process_impl.cc   chrome::ChromeContentBrowserClient::SetApplicationLocale(locale);
locale            603 chrome/browser/browser_process_impl.cc   TranslateDownloadManager::GetInstance()->set_application_locale(locale);
locale            107 chrome/browser/browser_process_impl.h   virtual void SetApplicationLocale(const std::string& locale) OVERRIDE;
locale            414 chrome/browser/character_encoding.cc     const std::string& locale,
locale            489 chrome/browser/character_encoding.cc     l10n_util::SortVectorWithStringKey(locale,
locale             83 chrome/browser/character_encoding.h       const std::string& locale,
locale            884 chrome/browser/chrome_browser_main.cc   std::string locale =
locale            886 chrome/browser/chrome_browser_main.cc   browser_process_->SetApplicationLocale(locale);
locale            888 chrome/browser/chrome_browser_main.cc   const std::string locale =
locale            897 chrome/browser/chrome_browser_main.cc       ResourceBundle::InitSharedInstanceWithLocale(locale, NULL);
locale            906 chrome/browser/chrome_browser_main.cc   CHECK(!loaded_locale.empty()) << "Locale could not be found for " << locale;
locale            578 chrome/browser/chrome_content_browser_client.cc void SetApplicationLocaleOnIOThread(const std::string& locale) {
locale            580 chrome/browser/chrome_content_browser_client.cc   g_io_thread_application_locale.Get() = locale;
locale            671 chrome/browser/chrome_content_browser_client.cc     const std::string& locale) {
locale            683 chrome/browser/chrome_content_browser_client.cc           base::Bind(&SetApplicationLocaleOnIOThread, locale))) {
locale            684 chrome/browser/chrome_content_browser_client.cc     g_io_thread_application_locale.Get() = locale;
locale           2635 chrome/browser/chrome_content_browser_client.cc   const std::string locale = GetApplicationLocale();
locale           2637 chrome/browser/chrome_content_browser_client.cc       GetLocaleFilePath(locale, false);
locale             49 chrome/browser/chrome_content_browser_client.h   static void SetApplicationLocale(const std::string& locale);
locale             21 chrome/browser/chromeos/base/locale_util.cc   SwitchLanguageData(const std::string& locale,
locale             26 chrome/browser/chromeos/base/locale_util.cc         locale(locale),
locale             33 chrome/browser/chromeos/base/locale_util.cc   const std::string locale;
locale             46 chrome/browser/chromeos/base/locale_util.cc       ResourceBundle::GetSharedInstance().ReloadLocaleResources(data->locale);
locale             67 chrome/browser/chromeos/base/locale_util.cc           data->locale,
locale             75 chrome/browser/chromeos/base/locale_util.cc             data->locale, input_method::kKeyboardLayoutsOnly, &candidates);
locale             85 chrome/browser/chromeos/base/locale_util.cc     data->callback->Run(data->locale, data->loaded_locale, data->success);
locale             92 chrome/browser/chromeos/base/locale_util.cc void SwitchLanguage(const std::string& locale,
locale             98 chrome/browser/chromeos/base/locale_util.cc       new SwitchLanguageData(locale,
locale             41 chrome/browser/chromeos/base/locale_util.h void SwitchLanguage(const std::string& locale,
locale            548 chrome/browser/chromeos/chrome_browser_main_chromeos.cc                        const std::string& locale,
locale            558 chrome/browser/chromeos/chrome_browser_main_chromeos.cc     const std::string& locale,
locale            105 chrome/browser/chromeos/customization_document.cc     const std::string& locale,
locale            113 chrome/browser/chromeos/customization_document.cc   if (dictionary_content->GetDictionary(locale, &locale_dictionary)) {
locale            222 chrome/browser/chromeos/customization_document.cc     const std::string& locale,
locale            226 chrome/browser/chromeos/customization_document.cc       root_.get(), locale, dictionary_name, entry_name);
locale            324 chrome/browser/chromeos/customization_document.cc     const std::string& locale) const {
locale            325 chrome/browser/chromeos/customization_document.cc   return GetLocaleSpecificString(locale, kSetupContentAttr, kEulaPageAttr);
locale            562 chrome/browser/chromeos/customization_document.cc     const std::string& locale) const {
locale            566 chrome/browser/chromeos/customization_document.cc   return GetOemAppsFolderNameImpl(locale, *root_);
locale            633 chrome/browser/chromeos/customization_document.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale            634 chrome/browser/chromeos/customization_document.cc   std::string name = GetOemAppsFolderNameImpl(locale, root);
locale            648 chrome/browser/chromeos/customization_document.cc     const std::string& locale,
locale            651 chrome/browser/chromeos/customization_document.cc       &root, locale, kLocalizedContent, kDefaultAppsFolderName);
locale             65 chrome/browser/chromeos/customization_document.h   std::string GetLocaleSpecificString(const std::string& locale,
locale             87 chrome/browser/chromeos/customization_document.h   std::string GetEULAPage(const std::string& locale) const;
locale            173 chrome/browser/chromeos/customization_document.h   std::string GetOemAppsFolderName(const std::string& locale) const;
locale            237 chrome/browser/chromeos/customization_document.h       const std::string& locale,
locale            572 chrome/browser/chromeos/input_method/input_method_manager_impl.cc     const std::string locale = g_browser_process->GetApplicationLocale();
locale            584 chrome/browser/chromeos/input_method/input_method_manager_impl.cc     EnableLoginLayouts(locale, input_methods_to_be_enabled);
locale            116 chrome/browser/chromeos/input_method/input_method_util.cc   const char* locale;
locale            623 chrome/browser/chromeos/input_method/input_method_util.cc     if (kDefaultInputMethodRecommendation[i].locale == language_code &&
locale             68 chrome/browser/chromeos/login/language_list.cc int LanguageList::GetIndexFromLocale(const std::string& locale) const {
locale             73 chrome/browser/chromeos/login/language_list.cc     if (locale_data->second.locale_code == locale)
locale             34 chrome/browser/chromeos/login/language_list.h   int GetIndexFromLocale(const std::string& locale) const;
locale            131 chrome/browser/chromeos/login/login_display_host_impl.cc void DetermineAndSaveHardwareKeyboard(const std::string& locale,
locale            143 chrome/browser/chromeos/login/login_display_host_impl.cc             locale,
locale            234 chrome/browser/chromeos/login/login_display_host_impl.cc     const std::string& locale,
locale            238 chrome/browser/chromeos/login/login_display_host_impl.cc     LOG(WARNING) << "Locale could not be found for '" << locale << "'";
locale           1201 chrome/browser/chromeos/login/login_display_host_impl.cc       std::string locale = chromeos::StartupUtils::GetInitialLocale();
locale           1202 chrome/browser/chromeos/login/login_display_host_impl.cc       prefs->SetString(prefs::kApplicationLocale, locale);
locale           1204 chrome/browser/chromeos/login/login_display_host_impl.cc           locale,
locale           1208 chrome/browser/chromeos/login/login_display_host_impl.cc           ResourceBundle::GetSharedInstance().ReloadLocaleResources(locale);
locale           1227 chrome/browser/chromeos/login/login_display_host_impl.cc   std::string locale = startup_manifest->initial_locale_default();
locale           1230 chrome/browser/chromeos/login/login_display_host_impl.cc   VLOG(1) << "Initial locale: " << locale << "keyboard layout " << layout;
locale           1234 chrome/browser/chromeos/login/login_display_host_impl.cc   DetermineAndSaveHardwareKeyboard(locale, layout);
locale           1236 chrome/browser/chromeos/login/login_display_host_impl.cc   if (!current_locale.empty() || locale.empty()) {
locale           1245 chrome/browser/chromeos/login/login_display_host_impl.cc   prefs->SetString(prefs::kApplicationLocale, locale);
locale           1246 chrome/browser/chromeos/login/login_display_host_impl.cc   chromeos::StartupUtils::SetInitialLocale(locale);
locale           1258 chrome/browser/chromeos/login/login_display_host_impl.cc       locale, true, true /* login_layouts_only */, callback.Pass());
locale            166 chrome/browser/chromeos/login/login_utils.cc       const std::string& locale,
locale            727 chrome/browser/chromeos/login/login_utils.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale            734 chrome/browser/chromeos/login/login_utils.cc       locale, manager->GetCurrentInputMethod(), &input_method_ids);
locale            745 chrome/browser/chromeos/login/login_utils.cc   language_codes.push_back(locale);
locale             50 chrome/browser/chromeos/login/oobe_localization_browsertest.cc   void set_locale(const std::string& locale) {
locale             51 chrome/browser/chromeos/login/oobe_localization_browsertest.cc     initial_locale_ = locale;
locale             58 chrome/browser/chromeos/login/screens/eula_screen.cc     std::string locale = g_browser_process->GetApplicationLocale();
locale             59 chrome/browser/chromeos/login/screens/eula_screen.cc     std::string eula_page = customization->GetEULAPage(locale);
locale             63 chrome/browser/chromeos/login/screens/eula_screen.cc     VLOG(1) << "No eula found for locale: " << locale;
locale            141 chrome/browser/chromeos/login/startup_utils.cc   std::string locale =
locale            143 chrome/browser/chromeos/login/startup_utils.cc   if (!l10n_util::IsValidLocaleSyntax(locale))
locale            144 chrome/browser/chromeos/login/startup_utils.cc     locale = "en-US";
locale            145 chrome/browser/chromeos/login/startup_utils.cc   return locale;
locale            149 chrome/browser/chromeos/login/startup_utils.cc void StartupUtils::SetInitialLocale(const std::string& locale) {
locale            150 chrome/browser/chromeos/login/startup_utils.cc   if (l10n_util::IsValidLocaleSyntax(locale))
locale            151 chrome/browser/chromeos/login/startup_utils.cc     SaveStringPreferenceForced(prefs::kInitialLocale, locale);
locale             40 chrome/browser/chromeos/login/startup_utils.h   static void SetInitialLocale(const std::string& locale);
locale             63 chrome/browser/chromeos/login/user_manager.cc                                               const std::string& locale)
locale             66 chrome/browser/chromeos/login/user_manager.cc       locale_(locale) {
locale             65 chrome/browser/chromeos/login/user_manager.h                     const std::string& locale);
locale             69 chrome/browser/chromeos/login/user_manager.h     const std::string& locale() const { return locale_; }
locale            838 chrome/browser/chromeos/login/user_manager_impl.cc   UpdateUserAccountLocale(user_id, account_data.locale());
locale           2047 chrome/browser/chromeos/login/user_manager_impl.cc                                               const std::string& locale) {
locale           2048 chrome/browser/chromeos/login/user_manager_impl.cc   if (!locale.empty() &&
locale           2049 chrome/browser/chromeos/login/user_manager_impl.cc       locale != g_browser_process->GetApplicationLocale()) {
locale           2052 chrome/browser/chromeos/login/user_manager_impl.cc         base::Bind(ResolveLocale, locale,
locale           2057 chrome/browser/chromeos/login/user_manager_impl.cc     DoUpdateAccountLocale(user_id, locale);
locale            355 chrome/browser/chromeos/login/user_manager_impl.h                                        const std::string& locale);
locale            101 chrome/browser/chromeos/login/wizard_controller_browsertest.cc                       const std::string& locale,
locale            104 chrome/browser/chromeos/login/wizard_controller_browsertest.cc   self->requested_locale = locale;
locale            110 chrome/browser/chromeos/login/wizard_controller_browsertest.cc void RunSwitchLanguageTest(const std::string& locale,
locale            117 chrome/browser/chromeos/login/wizard_controller_browsertest.cc   locale_util::SwitchLanguage(locale, true, false, callback.Pass());
locale            125 chrome/browser/chromeos/login/wizard_controller_browsertest.cc   EXPECT_EQ(data.requested_locale, locale);
locale             75 chrome/browser/chromeos/mobile_config.cc       std::string locale;
locale             76 chrome/browser/chromeos/mobile_config.cc       if (locale_list->GetString(i, &locale))
locale             77 chrome/browser/chromeos/mobile_config.cc         locales_.push_back(locale);
locale             95 chrome/browser/chromeos/mobile_config.cc     const std::string& locale, const std::string& id) const {
locale             99 chrome/browser/chromeos/mobile_config.cc     if (localized_strings_->GetDictionary(locale, &locale_dict) &&
locale             48 chrome/browser/chromeos/mobile_config.h     std::string GetLocalizedString(const std::string& locale,
locale             95 chrome/browser/chromeos/offline/offline_load_page.cc     const std::string locale = g_browser_process->GetApplicationLocale();
locale             99 chrome/browser/chromeos/offline/offline_load_page.cc                                net::kErrorDomain, url_, false, false, locale,
locale            112 chrome/browser/chromeos/status/data_promo_notification.cc     const std::string locale = g_browser_process->GetApplicationLocale();
locale            113 chrome/browser/chromeos/status/data_promo_notification.cc     std::string deal_text = deal->GetLocalizedString(locale,
locale            194 chrome/browser/chromeos/status/data_promo_notification.cc     const std::string locale = g_browser_process->GetApplicationLocale();
locale            196 chrome/browser/chromeos/status/data_promo_notification.cc         deal->GetLocalizedString(locale, "notification_text");
locale             25 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc                                  const std::string& locale)
locale             53 chrome/browser/extensions/api/identity/gaia_web_auth_flow.cc                          locale.c_str()));
locale             65 chrome/browser/extensions/api/identity/gaia_web_auth_flow.h                   const std::string& locale);
locale            631 chrome/browser/extensions/api/identity/identity_api.cc   const std::string locale = g_browser_process->local_state()->GetString(
locale            635 chrome/browser/extensions/api/identity/identity_api.cc       this, GetProfile(), GetExtension()->id(), oauth2_info, locale));
locale             78 chrome/browser/extensions/api/spellcheck/spellcheck_api.cc             spellcheck_info->locale,
locale             40 chrome/browser/extensions/default_apps.cc   const std::string& locale = g_browser_process->GetApplicationLocale();
locale             43 chrome/browser/extensions/default_apps.cc     if (EndsWith(locale, unsupported_locales[i], false)) {
locale             80 chrome/browser/google/google_util.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale             83 chrome/browser/google/google_util.cc   if (locale == "nb")
locale             85 chrome/browser/google/google_util.cc   return locale;
locale            260 chrome/browser/importer/firefox_importer_browsertest.cc     source_profile.locale = "en-US";
locale             60 chrome/browser/importer/importer_list.cc void DetectFirefoxProfiles(const std::string locale,
locale             94 chrome/browser/importer/importer_list.cc   firefox->locale = locale;
locale            108 chrome/browser/importer/importer_list.cc     const std::string& locale,
locale            122 chrome/browser/importer/importer_list.cc                                      locale,
locale            126 chrome/browser/importer/importer_list.cc void ImporterList::DetectSourceProfilesHack(const std::string& locale,
locale            128 chrome/browser/importer/importer_list.cc   DetectSourceProfilesWorker(locale, include_interactive_profiles);
locale            154 chrome/browser/importer/importer_list.cc     const std::string& locale,
locale            167 chrome/browser/importer/importer_list.cc     DetectFirefoxProfiles(locale, &profiles);
locale            171 chrome/browser/importer/importer_list.cc     DetectFirefoxProfiles(locale, &profiles);
locale            175 chrome/browser/importer/importer_list.cc     DetectFirefoxProfiles(locale, &profiles);
locale            179 chrome/browser/importer/importer_list.cc     DetectFirefoxProfiles(locale, &profiles);
locale            182 chrome/browser/importer/importer_list.cc   DetectFirefoxProfiles(locale, &profiles);
locale             31 chrome/browser/importer/importer_list.h   void DetectSourceProfiles(const std::string& locale,
locale             45 chrome/browser/importer/importer_list.h   void DetectSourceProfilesHack(const std::string& locale,
locale             72 chrome/browser/importer/importer_list.h   void DetectSourceProfilesWorker(const std::string& locale,
locale             20 chrome/browser/locale_tests_browsertest.cc   explicit ScopedLocale(const char* locale) : locale_(locale) {
locale             34 chrome/browser/locale_tests_browsertest.cc       if (kLocales[i].chrome_locale == locale) {
locale             69 chrome/browser/locale_tests_browsertest.cc   explicit LocaleTestBase(const char* locale) : locale_(locale) {
locale             73 chrome/browser/locale_tests_browsertest.cc     command_line->AppendSwitchASCII(switches::kLang, locale_.locale());
locale            150 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc   const icu::Locale locale = icu::Locale::getDefault();
locale            151 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc   const char* language = locale.getLanguage();
locale            152 chrome/browser/media_galleries/fileapi/itunes_data_provider.cc   const char* country = locale.getCountry();
locale             62 chrome/browser/net/client_hints.cc   std::locale locale;
locale             65 chrome/browser/net/client_hints.cc     if (!std::isdigit(*it, locale))
locale             35 chrome/browser/net/client_hints_unittest.cc   base::ScopedLocale locale("fr_FR.UTF-8");
locale            473 chrome/browser/profiles/off_the_record_profile_impl.cc void OffTheRecordProfileImpl::ChangeAppLocale(const std::string& locale,
locale             73 chrome/browser/profiles/off_the_record_profile_impl.h   virtual void ChangeAppLocale(const std::string& locale,
locale            300 chrome/browser/profiles/profile.h       const std::string& locale, AppLocaleChangedVia via) = 0;
locale             15 chrome/browser/profiles/profile_downloader_unittest.cc                         const std::string& locale) {
locale             34 chrome/browser/profiles/profile_downloader_unittest.cc   if (!locale.empty())
locale             35 chrome/browser/profiles/profile_downloader_unittest.cc     stream << (started ? ", " : "") << "\"locale\": \"" << locale << "\"";
locale             55 chrome/browser/profiles/profile_downloader_unittest.cc                              const std::string& locale,
locale             62 chrome/browser/profiles/profile_downloader_unittest.cc         GetJSonData(full_name, given_name, url, locale),
locale             75 chrome/browser/profiles/profile_downloader_unittest.cc     EXPECT_EQ(locale, parsed_locale);
locale            149 chrome/browser/profiles/profile_impl.h   virtual void ChangeAppLocale(const std::string& locale,
locale            908 chrome/browser/renderer_context_menu/render_view_context_menu.cc     std::string locale = g_browser_process->GetApplicationLocale();
locale            909 chrome/browser/renderer_context_menu/render_view_context_menu.cc     locale = TranslateDownloadManager::GetLanguageCode(locale);
locale            911 chrome/browser/renderer_context_menu/render_view_context_menu.cc         l10n_util::GetDisplayNameForLocale(locale, locale, true);
locale            109 chrome/browser/search/hotword_service.cc   std::string locale =
locale            116 chrome/browser/search/hotword_service.cc   std::string normalized_locale = l10n_util::NormalizeLocale(locale);
locale            624 chrome/browser/search_engines/template_url_prepopulate_data.cc   base::ScopedCFTypeRef<CFLocaleRef> locale(CFLocaleCopyCurrent());
locale            625 chrome/browser/search_engines/template_url_prepopulate_data.cc   CFStringRef country = (CFStringRef)CFLocaleGetValue(locale.get(),
locale            650 chrome/browser/search_engines/template_url_prepopulate_data.cc   const char* locale = setlocale(LC_MESSAGES, NULL);
locale            652 chrome/browser/search_engines/template_url_prepopulate_data.cc   if (!locale)
locale            658 chrome/browser/search_engines/template_url_prepopulate_data.cc   std::string locale_str(locale);
locale            172 chrome/browser/signin/signin_promo.cc   const std::string& locale = g_browser_process->GetApplicationLocale();
locale            173 chrome/browser/signin/signin_promo.cc   std::string url = base::StringPrintf(kSignInLandingUrlPrefix, locale.c_str());
locale            300 chrome/browser/signin/signin_promo.cc   const std::string& locale = g_browser_process->GetApplicationLocale();
locale            302 chrome/browser/signin/signin_promo.cc       GURL(base::StringPrintf(kSignInLandingUrlPrefix, locale.c_str()));
locale            201 chrome/browser/spellchecker/spellcheck_service.cc                                                std::string locale,
locale            103 chrome/browser/spellchecker/spellcheck_service.h                               std::string locale,
locale            119 chrome/browser/spellchecker/spelling_service_client.cc   std::string locale = pref->GetString(prefs::kSpellCheckDictionary);
locale            120 chrome/browser/spellchecker/spelling_service_client.cc   if (locale.empty())
locale            134 chrome/browser/spellchecker/spelling_service_client.cc   bool language_available = !locale.compare(0, 2, "en");
locale            241 chrome/browser/translate/translate_manager.cc     const std::string& locale =
locale            243 chrome/browser/translate/translate_manager.cc     TranslateBrowserMetrics::ReportLocalesOnDisabledByPrefs(locale);
locale            288 chrome/browser/translate/translate_manager_render_view_host_unittest.cc   void SetApplicationLocale(const std::string& locale) {
locale            289 chrome/browser/translate/translate_manager_render_view_host_unittest.cc     g_browser_process->SetApplicationLocale(locale);
locale             51 chrome/browser/translate/translate_ui_delegate.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale             52 chrome/browser/translate/translate_ui_delegate.cc   icu::Locale loc(locale.c_str());
locale            195 chrome/browser/ui/app_list/test/fake_profile.cc     const std::string& locale, AppLocaleChangedVia via) {}
locale            105 chrome/browser/ui/app_list/test/fake_profile.h       const std::string& locale, AppLocaleChangedVia via) OVERRIDE;
locale           3434 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc     const std::string& locale = g_browser_process->GetApplicationLocale();
locale           3441 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc                 AutofillType(CREDIT_CARD_EXP_4_DIGIT_YEAR), locale) &&
locale            344 chrome/browser/ui/browser_browsertest.cc     std::string locale = g_browser_process->GetApplicationLocale();
locale            345 chrome/browser/ui/browser_browsertest.cc     if (base::i18n::GetTextDirectionForLocale(locale.c_str()) ==
locale            241 chrome/browser/ui/prefs/prefs_tab_helper.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale            246 chrome/browser/ui/prefs/prefs_tab_helper.cc   if (locale == "zh-CN")
locale            248 chrome/browser/ui/prefs/prefs_tab_helper.cc   if (locale == "zh-TW")
locale            253 chrome/browser/ui/prefs/prefs_tab_helper.cc   uscript_getCode(locale.c_str(), &code, 1, &err);
locale            102 chrome/browser/ui/startup/bad_flags_prompt.cc     std::string locale = l10n_util::GetApplicationLocale(std::string());
locale            104 chrome/browser/ui/startup/bad_flags_prompt.cc     if (locale.empty())
locale            105 chrome/browser/ui/startup/bad_flags_prompt.cc       locale = kUserDataDirDialogFallbackLocale;
locale            106 chrome/browser/ui/startup/bad_flags_prompt.cc     ResourceBundle::InitSharedInstanceWithLocale(locale, NULL);
locale            110 chrome/browser/ui/views/omnibox/omnibox_view_views.cc   const std::string& locale = g_browser_process->GetApplicationLocale();
locale            111 chrome/browser/ui/views/omnibox/omnibox_view_views.cc   const std::string& language = locale.substr(0, 2);
locale            153 chrome/browser/ui/webui/about_ui.cc                                       const std::string& locale)
locale            156 chrome/browser/ui/webui/about_ui.cc                                               locale.c_str());
locale             60 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc   std::string locale;
locale             63 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc     locale.assign(
locale             66 chrome/browser/ui/webui/bidi_checker_web_ui_test.cc   ASSERT_FALSE(locale.empty());
locale            254 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc void NetworkScreenHandler::HandleOnLanguageChanged(const std::string& locale) {
locale            256 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc   if (app_locale == locale)
locale            267 chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc   locale_util::SwitchLanguage(locale,
locale             71 chrome/browser/ui/webui/chromeos/login/network_screen_handler.h   void HandleOnLanguageChanged(const std::string& locale);
locale           1029 chrome/browser/ui/webui/print_preview/print_preview_handler.cc   const char* locale = g_browser_process->GetApplicationLocale().c_str();
locale           1030 chrome/browser/ui/webui/print_preview/print_preview_handler.cc   UMeasurementSystem system = ulocdata_getMeasurementSystem(locale, &errorCode);
locale             49 chrome/browser/ui/webui/welcome_ui_android.cc   std::string locale = g_browser_process->GetApplicationLocale();
locale             51 chrome/browser/ui/webui/welcome_ui_android.cc       kProductTourBaseURL, locale.c_str());
locale             65 chrome/browser/ui/webui/welcome_ui_android.cc         base::StringPrintf(kPrivacyNoticeBaseURL, locale.c_str());
locale             44 chrome/common/extensions/api/spellcheck/spellcheck_handler.cc                                   &spellcheck_info->locale)) {
locale             20 chrome/common/extensions/api/spellcheck/spellcheck_handler.h   std::string locale;
locale             38 chrome/common/extensions/extension_l10n_util.cc                                        const std::string& locale,
locale             40 chrome/common/extensions/extension_l10n_util.cc   base::FilePath file = locale_path.AppendASCII(locale)
locale             49 chrome/common/extensions/extension_l10n_util.cc                                   locale.c_str());
locale            100 chrome/common/extensions/extension_l10n_util.cc   CR_DEFINE_STATIC_LOCAL(std::string, locale, ());
locale            101 chrome/common/extensions/extension_l10n_util.cc   return locale;
locale            108 chrome/common/extensions/extension_l10n_util.cc void SetProcessLocale(const std::string& locale) {
locale            109 chrome/common/extensions/extension_l10n_util.cc   GetProcessLocale() = locale;
locale            431 chrome/common/extensions/extension_l10n_util.cc   for (std::set<std::string>::const_iterator locale = valid_locales.begin();
locale            432 chrome/common/extensions/extension_l10n_util.cc        locale != valid_locales.end(); ++locale) {
locale            435 chrome/common/extensions/extension_l10n_util.cc         LoadMessageFile(locale_path, *locale, &locale_error));
locale            474 chrome/common/extensions/extension_l10n_util.cc ScopedLocaleForTest::ScopedLocaleForTest(const std::string& locale)
locale            476 chrome/common/extensions/extension_l10n_util.cc   extension_l10n_util::SetProcessLocale(locale);
locale             29 chrome/common/extensions/extension_l10n_util.h void SetProcessLocale(const std::string& locale);
locale            123 chrome/common/extensions/extension_l10n_util.h   explicit ScopedLocaleForTest(const std::string& locale);
locale             37 chrome/common/extensions/extension_l10n_util_unittest.cc   base::FilePath locale = src_path.AppendASCII("ms");
locale             38 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::CreateDirectory(locale));
locale             40 chrome/common/extensions/extension_l10n_util_unittest.cc   base::FilePath messages_file = locale.Append(kMessagesFilename);
locale            185 chrome/common/extensions/extension_l10n_util_unittest.cc   base::FilePath locale = src_path.AppendASCII("sr");
locale            186 chrome/common/extensions/extension_l10n_util_unittest.cc   ASSERT_TRUE(base::CreateDirectory(locale));
locale            189 chrome/common/extensions/extension_l10n_util_unittest.cc   base::FilePath messages_file = locale.Append(kMessagesFilename);
locale            148 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale            171 chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale             46 chrome/common/importer/importer_data_types.h   std::string locale;
locale             38 chrome/common/importer/profile_import_process_messages.h     WriteParam(m, p.locale);
locale             59 chrome/common/importer/profile_import_process_messages.h     if (!ReadParam(m, iter, &p->locale))
locale             76 chrome/common/importer/profile_import_process_messages.h     LogParam(p.locale, l);
locale            503 chrome/common/localized_error.cc                                 const std::string& locale,
locale            793 chrome/common/localized_error.cc       std::string query = learn_more_url.query() + "&hl=" + locale;
locale             57 chrome/common/localized_error.h                          const std::string& locale,
locale            154 chrome/common/spellcheck_common.cc void GetISOLanguageCountryCodeFromLocale(const std::string& locale,
locale            161 chrome/common/spellcheck_common.cc   if (!locale.empty()) {
locale            164 chrome/common/spellcheck_common.cc     uloc_addLikelySubtags(locale.c_str(), id, arraysize(id), &error);
locale             58 chrome/common/spellcheck_common.h void GetISOLanguageCountryCodeFromLocale(const std::string& locale,
locale            302 chrome/installer/util/user_experiment.cc     const wchar_t* locale;  // Locale to show this experiment for (* for all).
locale            333 chrome/installer/util/user_experiment.cc   base::string16 locale;
locale            334 chrome/installer/util/user_experiment.cc   GoogleUpdateSettings::GetLanguage(&locale);
locale            335 chrome/installer/util/user_experiment.cc   if (locale.empty() || (locale == base::ASCIIToWide("en")))
locale            336 chrome/installer/util/user_experiment.cc     locale = base::ASCIIToWide("en-US");
locale            343 chrome/installer/util/user_experiment.cc     if (kExperiments[i].locale != locale &&
locale            344 chrome/installer/util/user_experiment.cc         kExperiments[i].locale != base::ASCIIToWide("*"))
locale           1231 chrome/renderer/spellchecker/spellcheck_unittest.cc     const char* locale;
locale           1251 chrome/renderer/spellchecker/spellcheck_unittest.cc     ReinitializeSpellCheck(kTestCases[i].locale);
locale           1268 chrome/renderer/spellchecker/spellcheck_unittest.cc         " in " << kTestCases[i].locale;
locale           1285 chrome/renderer/spellchecker/spellcheck_unittest.cc                          << kTestCases[i].locale;
locale           1292 chrome/renderer/spellchecker/spellcheck_unittest.cc             " in " << kTestCases[i].locale;
locale            186 chrome/service/service_process.cc   std::string locale = command_line.GetSwitchValueASCII(switches::kLang);
locale            187 chrome/service/service_process.cc   if (!locale.empty()) {
locale            188 chrome/service/service_process.cc     service_prefs_->SetString(prefs::kApplicationLocale, locale);
locale            193 chrome/service/service_process.cc     locale =
locale            196 chrome/service/service_process.cc     if (locale.empty())
locale            197 chrome/service/service_process.cc       locale = kDefaultServiceProcessLocale;
locale            199 chrome/service/service_process.cc   ResourceBundle::InitSharedInstanceWithLocale(locale, NULL);
locale            107 chrome/utility/importer/firefox_importer.cc   locale_ = source_profile.locale;
locale            847 components/autofill/core/browser/autofill_country.cc                                    const std::string& locale);
locale            856 components/autofill/core/browser/autofill_country.cc   void AddLocalizedNamesForLocale(const std::string& locale);
locale            863 components/autofill/core/browser/autofill_country.cc       const std::string& locale);
locale            867 components/autofill/core/browser/autofill_country.cc   icu::Collator* GetCollatorForLocale(const std::string& locale);
locale            929 components/autofill/core/browser/autofill_country.cc                                                const std::string& locale) {
locale            938 components/autofill/core/browser/autofill_country.cc   std::string country_code = GetCountryCodeForLocalizedName(country, locale);
locale            946 components/autofill/core/browser/autofill_country.cc void CountryNames::AddLocalizedNamesForLocale(const std::string& locale) {
locale            949 components/autofill/core/browser/autofill_country.cc   if (locales_to_localized_names_.count(locale))
locale            953 components/autofill/core/browser/autofill_country.cc   const icu::Collator* collator = GetCollatorForLocale(locale);
locale            962 components/autofill/core/browser/autofill_country.cc         country_code, locale);
locale            971 components/autofill/core/browser/autofill_country.cc   locales_to_localized_names_.insert(std::make_pair(locale, localized_names));
locale            976 components/autofill/core/browser/autofill_country.cc     const std::string& locale) {
locale            977 components/autofill/core/browser/autofill_country.cc   AddLocalizedNamesForLocale(locale);
locale            979 components/autofill/core/browser/autofill_country.cc   icu::Collator* collator = GetCollatorForLocale(locale);
locale            992 components/autofill/core/browser/autofill_country.cc       locales_to_localized_names_[locale];
locale           1002 components/autofill/core/browser/autofill_country.cc icu::Collator* CountryNames::GetCollatorForLocale(const std::string& locale) {
locale           1003 components/autofill/core/browser/autofill_country.cc   if (!collators_.count(locale)) {
locale           1004 components/autofill/core/browser/autofill_country.cc     icu::Locale icu_locale(locale.c_str());
locale           1014 components/autofill/core/browser/autofill_country.cc     collators_.insert(std::make_pair(locale, collator));
locale           1017 components/autofill/core/browser/autofill_country.cc   return collators_[locale];
locale           1046 components/autofill/core/browser/autofill_country.cc                                  const std::string& locale) {
locale           1052 components/autofill/core/browser/autofill_country.cc   name_ = l10n_util::GetDisplayNameForCountry(country_code, locale);
locale           1075 components/autofill/core/browser/autofill_country.cc     const std::string& locale) {
locale           1080 components/autofill/core/browser/autofill_country.cc   uloc_addLikelySubtags(locale.c_str(),
locale           1097 components/autofill/core/browser/autofill_country.cc                                                   const std::string& locale) {
locale           1098 components/autofill/core/browser/autofill_country.cc   return CountryNames::GetInstance()->GetCountryCode(country, locale);
locale             47 components/autofill/core/browser/autofill_country.h   AutofillCountry(const std::string& country_code, const std::string& locale);
locale             56 components/autofill/core/browser/autofill_country.h   static const std::string CountryCodeForLocale(const std::string& locale);
locale             62 components/autofill/core/browser/autofill_country.h                                           const std::string& locale);
locale             81 components/autofill/core/browser/credit_card.cc   icu::Locale locale(app_locale.c_str());
locale             82 components/autofill/core/browser/credit_card.cc   icu::DateFormatSymbols date_format_symbols(locale, status);
locale             40 components/language_usage_metrics/language_usage_metrics.cc int LanguageUsageMetrics::ToLanguageCode(const std::string& locale) {
locale             41 components/language_usage_metrics/language_usage_metrics.cc   base::StringTokenizer parts(locale, "-_");
locale             38 components/language_usage_metrics/language_usage_metrics.h   static int ToLanguageCode(const std::string &locale);
locale             39 components/translate/core/browser/translate_accept_languages.cc   const std::string locale =
locale             42 components/translate/core/browser/translate_accept_languages.cc   l10n_util::GetAcceptLanguagesForLocale(locale, &accept_language_codes);
locale             65 components/translate/core/browser/translate_browser_metrics.cc void ReportLocalesOnDisabledByPrefs(const std::string& locale) {
locale             68 components/translate/core/browser/translate_browser_metrics.cc       language_usage_metrics::LanguageUsageMetrics::ToLanguageCode(locale));
locale             51 components/translate/core/browser/translate_browser_metrics.h void ReportLocalesOnDisabledByPrefs(const std::string& locale);
locale             37 components/translate/core/browser/translate_download_manager.h   void set_application_locale(const std::string& locale) {
locale             38 components/translate/core/browser/translate_download_manager.h     application_locale_ = locale;
locale            298 components/translate/core/browser/translate_language_list.cc   const std::string& locale =
locale            309 components/translate/core/browser/translate_language_list.cc     if (!l10n_util::IsLocaleNameTranslated(lang.c_str(), locale)) {
locale            335 components/translate/core/browser/translate_language_list.cc     if (!l10n_util::IsLocaleNameTranslated(lang.c_str(), locale))
locale             91 components/variations/variations_seed_processor.cc     const std::string& locale,
locale             97 components/variations/variations_seed_processor.cc   FilterAndValidateStudies(seed, locale, reference_date, version, channel,
locale            106 components/variations/variations_seed_processor.cc     const std::string& locale,
locale            123 components/variations/variations_seed_processor.cc     if (!ShouldAddStudy(study, locale, reference_date,
locale            172 components/variations/variations_seed_processor.cc     const std::string& locale) {
locale            178 components/variations/variations_seed_processor.cc     if (filter.locale(i) == locale)
locale            306 components/variations/variations_seed_processor.cc     const std::string& locale,
locale            323 components/variations/variations_seed_processor.cc     if (!CheckStudyLocale(study.filter(), locale)) {
locale             32 components/variations/variations_seed_processor.h                             const std::string& locale,
locale             75 components/variations/variations_seed_processor.h                                 const std::string& locale,
locale             97 components/variations/variations_seed_processor.h   bool CheckStudyLocale(const Study_Filter& filter, const std::string& locale);
locale            122 components/variations/variations_seed_processor.h                       const std::string& locale,
locale            257 content/browser/accessibility/browser_accessibility_win.h   CONTENT_EXPORT STDMETHODIMP get_locale(IA2Locale* locale) {
locale            236 content/browser/plugin_process_host.cc   std::string locale = GetContentClient()->browser()->GetApplicationLocale();
locale            237 content/browser/plugin_process_host.cc   if (!locale.empty()) {
locale            240 content/browser/plugin_process_host.cc     cmd_line->AppendSwitchASCII(switches::kLang, locale);
locale            344 content/browser/ppapi_plugin_process_host.cc   std::string locale = GetContentClient()->browser()->GetApplicationLocale();
locale            345 content/browser/ppapi_plugin_process_host.cc   if (!locale.empty()) {
locale            347 content/browser/ppapi_plugin_process_host.cc     cmd_line->AppendSwitchASCII(switches::kLang, locale);
locale            991 content/browser/renderer_host/render_process_host_impl.cc   const std::string locale =
locale            993 content/browser/renderer_host/render_process_host_impl.cc   command_line->AppendSwitchASCII(switches::kLang, locale);
locale           1736 content/browser/renderer_host/render_process_host_impl.cc       const std::string locale =
locale           1738 content/browser/renderer_host/render_process_host_impl.cc       command_line->AppendSwitchASCII(switches::kLang, locale);
locale            223 content/browser/utility_process_host_impl.cc     std::string locale = GetContentClient()->browser()->GetApplicationLocale();
locale            224 content/browser/utility_process_host_impl.cc     cmd_line->AppendSwitchASCII(switches::kLang, locale);
locale            194 content/browser/worker_host/worker_process_host.cc   std::string locale = GetContentClient()->browser()->GetApplicationLocale();
locale            195 content/browser/worker_host/worker_process_host.cc   cmd_line->AppendSwitchASCII(switches::kLang, locale);
locale             83 content/ppapi_plugin/ppapi_plugin_main.cc     std::string locale = command_line.GetSwitchValueASCII(switches::kLang);
locale             84 content/ppapi_plugin/ppapi_plugin_main.cc     base::i18n::SetICUDefaultLocale(locale);
locale             94 content/ppapi_plugin/ppapi_plugin_main.cc     std::replace(locale.begin(), locale.end(), '-', '_');
locale             95 content/ppapi_plugin/ppapi_plugin_main.cc     locale.append(".UTF-8");
locale             96 content/ppapi_plugin/ppapi_plugin_main.cc     setlocale(LC_ALL, locale.c_str());
locale             97 content/ppapi_plugin/ppapi_plugin_main.cc     setenv("LANG", locale.c_str(), 0);
locale            135 content/renderer/renderer_main.cc     const std::string locale =
locale            137 content/renderer/renderer_main.cc     base::i18n::SetICUDefaultLocale(locale);
locale            236 content/shell/renderer/test_runner/test_runner.cc   void SetPOSIXLocale(const std::string& locale);
locale           1164 content/shell/renderer/test_runner/test_runner.cc void TestRunnerBindings::SetPOSIXLocale(const std::string& locale) {
locale           1166 content/shell/renderer/test_runner/test_runner.cc     runner_->SetPOSIXLocale(locale);
locale           2517 content/shell/renderer/test_runner/test_runner.cc void TestRunner::SetPOSIXLocale(const std::string& locale) {
locale           2518 content/shell/renderer/test_runner/test_runner.cc   delegate_->setLocale(locale);
locale            480 content/shell/renderer/test_runner/test_runner.h   void SetPOSIXLocale(const std::string& locale);
locale            489 content/shell/renderer/webkit_test_runner.cc void WebKitTestRunner::setLocale(const std::string& locale) {
locale            490 content/shell/renderer/webkit_test_runner.cc   setlocale(LC_ALL, locale.c_str());
locale            102 content/shell/renderer/webkit_test_runner.h   virtual void setLocale(const std::string& locale) OVERRIDE;
locale            981 net/base/net_util_unittest.cc   std::string locale = setlocale(LC_CTYPE, NULL);
locale            982 net/base/net_util_unittest.cc   StringToLowerASCII(&locale);
locale            983 net/base/net_util_unittest.cc   EXPECT_TRUE(locale.find("utf-8") != std::string::npos ||
locale            984 net/base/net_util_unittest.cc               locale.find("utf8") != std::string::npos)
locale            985 net/base/net_util_unittest.cc       << "Your locale (" << locale << ") must be set to UTF-8 "
locale            161 net/ftp/ftp_util.cc     for (int32_t locale = 0; locale < locales_count; locale++) {
locale            164 net/ftp/ftp_util.cc       icu::DateFormatSymbols format_symbols(locales[locale], status);
locale             31 ppapi/proxy/pdf_resource.h   void SetLocaleForTest(const std::string& locale) {
locale             32 ppapi/proxy/pdf_resource.h     locale_ = locale;
locale           1312 third_party/libusb/src/libusb/libusb.h int LIBUSB_CALL libusb_setlocale(const char *locale);
locale            140 third_party/libusb/src/libusb/strerror.c int API_EXPORTED libusb_setlocale(const char *locale)
locale            144 third_party/libusb/src/libusb/strerror.c 	if ( (locale == NULL) || (strlen(locale) < 2)
locale            145 third_party/libusb/src/libusb/strerror.c 	  || ((strlen(locale) > 2) && (locale[2] != '-') && (locale[2] != '_') && (locale[2] != '.')) )
locale            149 third_party/libusb/src/libusb/strerror.c 		if (strncasecmp(usbi_locale_supported[i], locale, 2) == 0)
locale            394 third_party/libxslt/libxslt/preproc.c 		if (item->locale != (xsltLocale)0)
locale            395 third_party/libxslt/libxslt/preproc.c 		    xsltFreeLocale(item->locale);
locale            492 third_party/libxslt/libxslt/preproc.c     if (comp->locale != (xsltLocale)0)
locale            493 third_party/libxslt/libxslt/preproc.c 	xsltFreeLocale(comp->locale);
locale            736 third_party/libxslt/libxslt/preproc.c 	comp->locale = xsltNewLocale(comp->lang);
locale            739 third_party/libxslt/libxslt/preproc.c         comp->locale = (xsltLocale)0;
locale           1049 third_party/libxslt/libxslt/xsltInternals.h     xsltLocale locale;		/* sort */
locale           1382 third_party/libxslt/libxslt/xsltInternals.h     xsltLocale locale;		/* sort */
locale             81 third_party/libxslt/libxslt/xsltlocale.c     xsltLocale locale;
locale            113 third_party/libxslt/libxslt/xsltlocale.c         locale = newlocale(LC_COLLATE_MASK, localeName, NULL);
locale            114 third_party/libxslt/libxslt/xsltlocale.c         if (locale != NULL)
locale            115 third_party/libxslt/libxslt/xsltlocale.c             return(locale);
locale            125 third_party/libxslt/libxslt/xsltlocale.c     locale = newlocale(LC_COLLATE_MASK, localeName, NULL);
locale            126 third_party/libxslt/libxslt/xsltlocale.c     if (locale != NULL)
locale            127 third_party/libxslt/libxslt/xsltlocale.c         return(locale);
locale            142 third_party/libxslt/libxslt/xsltlocale.c     locale = newlocale(LC_COLLATE_MASK, localeName, NULL);
locale            144 third_party/libxslt/libxslt/xsltlocale.c     return(locale);
locale            149 third_party/libxslt/libxslt/xsltlocale.c     xsltLocale    locale = (xsltLocale)0;
locale            174 third_party/libxslt/libxslt/xsltlocale.c 	locale = xslt_locale_WINAPI(localeName);
locale            175 third_party/libxslt/libxslt/xsltlocale.c 	if (locale != (xsltLocale)0) goto end;
locale            182 third_party/libxslt/libxslt/xsltlocale.c     locale = xslt_locale_WINAPI(localeName);
locale            184 third_party/libxslt/libxslt/xsltlocale.c     return(locale);
locale            338 third_party/libxslt/libxslt/xsltlocale.c xsltFreeLocale(xsltLocale locale) {
locale            340 third_party/libxslt/libxslt/xsltlocale.c     freelocale(locale);
locale            355 third_party/libxslt/libxslt/xsltlocale.c xsltStrxfrm(xsltLocale locale, const xmlChar *string)
locale            364 third_party/libxslt/libxslt/xsltlocale.c     xstrlen = strxfrm_l(NULL, (const char *)string, 0, locale) + 1;
locale            372 third_party/libxslt/libxslt/xsltlocale.c     r = strxfrm_l((char *)xstr, (const char *)string, xstrlen, locale);
locale            418 third_party/libxslt/libxslt/xsltlocale.c xsltLocaleStrcmp(xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2) {
locale            419 third_party/libxslt/libxslt/xsltlocale.c     (void)locale;
locale            426 third_party/libxslt/libxslt/xsltlocale.c     ret = CompareStringW(locale, 0, str1, -1, str2, -1);
locale             53 third_party/libxslt/libxslt/xsltlocale.h void xsltFreeLocale(xsltLocale locale);
locale             54 third_party/libxslt/libxslt/xsltlocale.h xsltLocaleChar *xsltStrxfrm(xsltLocale locale, const xmlChar *string);
locale             55 third_party/libxslt/libxslt/xsltlocale.h int xsltLocaleStrcmp(xsltLocale locale, const xsltLocaleChar *str1, const xsltLocaleChar *str2);
locale           1042 third_party/libxslt/libxslt/xsltutils.c 		    if (comp->locale != (xsltLocale)0) {
locale           1044 third_party/libxslt/libxslt/xsltutils.c 			res->stringval = (xmlChar *) xsltStrxfrm(comp->locale, str);
locale           1200 third_party/libxslt/libxslt/xsltutils.c 		    } else if(comp->locale != (xsltLocale)0) {
locale           1202 third_party/libxslt/libxslt/xsltutils.c 			    comp->locale,
locale           1259 third_party/libxslt/libxslt/xsltutils.c 			    } else if(comp->locale != (xsltLocale)0) {
locale           1261 third_party/libxslt/libxslt/xsltutils.c 				    comp->locale,
locale             38 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java         Locale locale = Locale.getDefault();
locale             39 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java         String language = locale.getLanguage();
locale             40 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java         String country = locale.getCountry();
locale             62 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java     private static String getDisplayNameForLocale(Locale locale, Locale displayLocale) {
locale             63 ui/android/java/src/org/chromium/ui/base/LocalizationUtils.java         return locale.getDisplayName(displayLocale);
locale            225 ui/base/l10n/l10n_util.cc bool IsLocaleAvailable(const std::string& locale) {
locale            228 ui/base/l10n/l10n_util.cc   if (!file_util::IsFilenameLegal(base::ASCIIToUTF16(locale)))
locale            236 ui/base/l10n/l10n_util.cc   if (!l10n_util::IsLocaleSupportedByOS(locale))
locale            247 ui/base/l10n/l10n_util.cc   return ResourceBundle::GetSharedInstance().LocaleDataPakExists(locale);
locale            267 ui/base/l10n/l10n_util.cc std::string GetCanonicalLocale(const std::string& locale) {
locale            268 ui/base/l10n/l10n_util.cc   return base::i18n::GetCanonicalLocale(locale.c_str());
locale            316 ui/base/l10n/l10n_util.cc bool CheckAndResolveLocale(const std::string& locale,
locale            322 ui/base/l10n/l10n_util.cc   if (IsLocaleAvailable(locale)) {
locale            323 ui/base/l10n/l10n_util.cc     *resolved_locale = locale;
locale            330 ui/base/l10n/l10n_util.cc   std::string::size_type variant_pos = locale.find('@');
locale            339 ui/base/l10n/l10n_util.cc   std::string::size_type hyphen_pos = locale.find('-');
locale            340 ui/base/l10n/l10n_util.cc   std::string lang(locale, 0, hyphen_pos);
locale            342 ui/base/l10n/l10n_util.cc     std::string region(locale, hyphen_pos + 1);
locale            500 ui/base/l10n/l10n_util.cc bool IsLocaleNameTranslated(const char* locale,
locale            503 ui/base/l10n/l10n_util.cc       l10n_util::GetDisplayNameForLocale(locale, display_locale, false);
locale            511 ui/base/l10n/l10n_util.cc       base::UTF16ToASCII(display_name) != locale;
locale            514 ui/base/l10n/l10n_util.cc base::string16 GetDisplayNameForLocale(const std::string& locale,
locale            517 ui/base/l10n/l10n_util.cc   std::string locale_code = locale;
locale            572 ui/base/l10n/l10n_util.cc std::string NormalizeLocale(const std::string& locale) {
locale            573 ui/base/l10n/l10n_util.cc   std::string normalized_locale(locale);
locale            581 ui/base/l10n/l10n_util.cc   std::string locale(NormalizeLocale(current_locale));
locale            585 ui/base/l10n/l10n_util.cc   base::strlcpy(parent, locale.c_str(), kNameCapacity);
locale            595 ui/base/l10n/l10n_util.cc bool IsValidLocaleSyntax(const std::string& locale) {
locale            597 ui/base/l10n/l10n_util.cc   if (locale.size() < 2 || locale.size() >= ULOC_FULLNAME_CAPACITY)
locale            605 ui/base/l10n/l10n_util.cc   std::string prefix = NormalizeLocale(locale);
locale            606 ui/base/l10n/l10n_util.cc   size_t split_point = locale.find("@");
locale            608 ui/base/l10n/l10n_util.cc     std::string keywords = locale.substr(split_point + 1);
locale            609 ui/base/l10n/l10n_util.cc     prefix = locale.substr(0, split_point);
locale            863 ui/base/l10n/l10n_util.cc void SortStrings16(const std::string& locale,
locale            865 ui/base/l10n/l10n_util.cc   SortVectorWithStringKey(locale, strings, false);
locale             26 ui/base/l10n/l10n_util.h UI_BASE_EXPORT bool CheckAndResolveLocale(const std::string& locale,
locale             42 ui/base/l10n/l10n_util.h UI_BASE_EXPORT bool IsLocaleNameTranslated(const char* locale,
locale             48 ui/base/l10n/l10n_util.h bool IsLocaleSupportedByOS(const std::string& locale);
locale             60 ui/base/l10n/l10n_util.h     const std::string& locale,
locale             70 ui/base/l10n/l10n_util.h UI_BASE_EXPORT std::string NormalizeLocale(const std::string& locale);
locale             86 ui/base/l10n/l10n_util.h UI_BASE_EXPORT bool IsValidLocaleSyntax(const std::string& locale);
locale            169 ui/base/l10n/l10n_util.h UI_BASE_EXPORT void SortStrings16(const std::string& locale,
locale             28 ui/base/l10n/l10n_util_android.cc   ScopedJavaLocalRef<jstring> locale = Java_LocalizationUtils_getDefaultLocale(
locale             30 ui/base/l10n/l10n_util_android.cc   return ConvertJavaStringToUTF8(locale);
locale             53 ui/base/l10n/l10n_util_android.cc std::string GetLocaleComponent(const std::string& locale,
locale             58 ui/base/l10n/l10n_util_android.cc   int32_t actual_length = uloc_func(locale.c_str(),
locale             70 ui/base/l10n/l10n_util_android.cc     const std::string& locale) {
locale             73 ui/base/l10n/l10n_util_android.cc       locale, uloc_getLanguage, ULOC_LANG_CAPACITY);
locale             75 ui/base/l10n/l10n_util_android.cc       locale, uloc_getCountry, ULOC_COUNTRY_CAPACITY);
locale             77 ui/base/l10n/l10n_util_android.cc       locale, uloc_getVariant, ULOC_FULLNAME_CAPACITY);
locale             86 ui/base/l10n/l10n_util_android.cc base::string16 GetDisplayNameForLocale(const std::string& locale,
locale             90 ui/base/l10n/l10n_util_android.cc       NewJavaLocale(env, locale);
locale             21 ui/base/l10n/l10n_util_android.h     const std::string& locale,
locale             66 ui/base/l10n/l10n_util_collator.h void SortStringsUsingMethod(const std::string& locale,
locale             70 ui/base/l10n/l10n_util_collator.h   icu::Locale loc(locale.c_str());
locale            119 ui/base/l10n/l10n_util_collator.h void SortVectorWithStringKey(const std::string& locale,
locale            127 ui/base/l10n/l10n_util_collator.h   icu::Locale loc(locale.c_str());
locale            142 ui/base/l10n/l10n_util_collator.h void SortVectorWithStringKey(const std::string& locale,
locale            145 ui/base/l10n/l10n_util_collator.h   SortVectorWithStringKey<Element>(locale, elements, 0, elements->size(),
locale             15 ui/base/l10n/l10n_util_posix.cc bool IsLocaleSupportedByOS(const std::string& locale) {
locale             24 ui/base/l10n/l10n_util_posix.cc     if (LowerCaseEqualsASCII(locale, kUnsupportedLocales[i]))
locale            328 ui/base/l10n/l10n_util_unittest.cc void CheckUiDisplayNameForLocale(const std::string& locale,
locale            332 ui/base/l10n/l10n_util_unittest.cc   base::string16 result = l10n_util::GetDisplayNameForLocale(locale,
locale            108 ui/base/l10n/l10n_util_win.cc bool IsLocaleSupportedByOS(const std::string& locale) {
locale            114 ui/base/l10n/l10n_util_win.cc       !LowerCaseEqualsASCII(locale, "am") || IsFontPresent(L"Abyssinica SIL"));
locale            211 ui/base/resource/resource_bundle.cc bool ResourceBundle::LocaleDataPakExists(const std::string& locale) {
locale            212 ui/base/resource/resource_bundle.cc   return !GetLocaleFilePath(locale, true).empty();
locale             83 ui/base/resource/resource_bundle.h         const std::string& locale) = 0;
locale            153 ui/base/resource/resource_bundle.h   bool LocaleDataPakExists(const std::string& locale);
locale             63 ui/base/resource/resource_bundle_unittest.cc       const base::FilePath& pack_path, const std::string& locale));
locale            201 ui/base/resource/resource_bundle_unittest.cc   std::string locale = "en-US";
locale            204 ui/base/resource/resource_bundle_unittest.cc   EXPECT_CALL(delegate, GetPathForLocalePack(_, locale))
locale            209 ui/base/resource/resource_bundle_unittest.cc   EXPECT_FALSE(resource_bundle->LocaleDataPakExists(locale));
locale            210 ui/base/resource/resource_bundle_unittest.cc   EXPECT_EQ("", resource_bundle->LoadLocaleResources(locale));
locale            213 ui/base/resource/resource_bundle_unittest.cc   EXPECT_CALL(delegate, GetPathForLocalePack(_, locale))
locale            217 ui/base/resource/resource_bundle_unittest.cc   EXPECT_TRUE(resource_bundle->LocaleDataPakExists(locale));
locale            218 ui/base/resource/resource_bundle_unittest.cc   EXPECT_EQ(locale, resource_bundle->LoadLocaleResources(locale));
locale            205 ui/views/accessibility/native_view_accessibility_win.h   STDMETHODIMP get_locale(IA2Locale* locale) {
locale            643 ui/views/controls/label_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale            770 ui/views/controls/label_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale            781 ui/views/controls/label_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale            921 ui/views/controls/label_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale             57 ui/views/controls/slider_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale             72 ui/views/controls/slider_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale           1382 ui/views/controls/textfield/textfield_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale           1436 ui/views/controls/textfield/textfield_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale           1527 ui/views/controls/textfield/textfield_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale           1559 ui/views/controls/textfield/textfield_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale           1589 ui/views/controls/textfield/textfield_unittest.cc   std::string locale = l10n_util::GetApplicationLocale("");
locale           1616 ui/views/controls/textfield/textfield_unittest.cc   base::i18n::SetICUDefaultLocale(locale);
locale            163 ui/views/ime/mock_input_method.cc void MockInputMethod::SetInputLocale(const std::string& locale) {
locale            164 ui/views/ime/mock_input_method.cc   if (locale_ != locale) {
locale            165 ui/views/ime/mock_input_method.cc     locale_ = locale;
locale             57 ui/views/ime/mock_input_method.h   void SetInputLocale(const std::string& locale);
locale           3050 ui/views/view_unittest.cc   std::string locale = l10n_util::GetApplicationLocale(std::string());
locale           3104 ui/views/view_unittest.cc   base::i18n::SetICUDefaultLocale(locale);