Home
last modified time | relevance | path

Searched refs:default_locale (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/common/extensions/api/i18n/
Ddefault_locale_handler.cc30 return info ? info->default_locale : base::EmptyString(); in GetDefaultLocale()
42 &info->default_locale) || in Parse()
43 !l10n_util::IsValidLocaleSyntax(info->default_locale)) { in Parse()
58 std::string default_locale = in Validate() local
62 if (default_locale.empty() && !path_exists) in Validate()
65 if (default_locale.empty() && path_exists) { in Validate()
69 } else if (!default_locale.empty() && !path_exists) { in Validate()
79 const base::FilePath default_locale_path = path.AppendASCII(default_locale); in Validate()
Ddefault_locale_handler.h18 std::string default_locale; member
/external/chromium_org/base/i18n/
Dstring_search_unittest.cc24 std::string default_locale(uloc_getDefault()); in TEST() local
25 bool locale_is_posix = (default_locale == "en_US_POSIX"); in TEST()
62 SetICUDefaultLocale(default_locale.data()); in TEST()
85 std::string default_locale(uloc_getDefault()); in TEST() local
86 bool locale_is_posix = (default_locale == "en_US_POSIX"); in TEST()
180 SetICUDefaultLocale(default_locale.data()); in TEST()
193 const char* default_locale = uloc_getDefault(); in TEST() local
199 SetICUDefaultLocale(default_locale); in TEST()
203 std::string default_locale(uloc_getDefault()); in TEST() local
204 bool locale_is_posix = (default_locale == "en_US_POSIX"); in TEST()
[all …]
/external/chromium_org/extensions/common/
Dextension_l10n_util.cc113 std::string default_locale; in GetDefaultLocaleFromManifest() local
114 if (manifest.GetString(keys::kDefaultLocale, &default_locale)) in GetDefaultLocaleFromManifest()
115 return default_locale; in GetDefaultLocaleFromManifest()
263 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); in LocalizeExtension() local
267 extension_path, default_locale, error)); in LocalizeExtension()
328 const std::string& default_locale, in GetAllFallbackLocales() argument
331 if (!application_locale.empty() && application_locale != default_locale) in GetAllFallbackLocales()
333 all_fallback_locales->push_back(default_locale); in GetAllFallbackLocales()
368 const std::string& default_locale, in LoadMessageCatalogs() argument
374 application_locale, default_locale, &all_fallback_locales); in LoadMessageCatalogs()
[all …]
Dfile_util.cc394 const std::string& default_locale, in LoadMessageBundle() argument
406 if (default_locale.empty() || locales.find(default_locale) == locales.end()) { in LoadMessageBundle()
415 default_locale, in LoadMessageBundle()
426 const std::string& default_locale) { in LoadMessageBundleSubstitutionMap() argument
429 if (!default_locale.empty()) { in LoadMessageBundleSubstitutionMap()
433 LoadMessageBundle(extension_path, default_locale, &error)); in LoadMessageBundleSubstitutionMap()
Dextension_l10n_util.h74 const std::string& default_locale,
95 const std::string& default_locale,
Dfile_util.h121 const std::string& default_locale,
129 const std::string& default_locale);
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_extension_message_filter.cc243 std::string default_locale; in OnGetExtMessageBundle() local
246 default_locale = extensions::LocaleInfo::GetDefaultLocale(extension); in OnGetExtMessageBundle()
253 this, extension_path, extension_id, default_locale, reply_msg)); in OnGetExtMessageBundle()
259 const std::string& default_locale, in OnGetExtMessageBundleOnBlockingPool() argument
265 extension_path, extension_id, default_locale)); in OnGetExtMessageBundleOnBlockingPool()
Dchrome_extension_message_filter.h87 const std::string& default_locale,
/external/chromium_org/chrome/browser/ui/search/
Dlocal_ntp_browsertest.cc55 std::string default_locale = g_browser_process->GetApplicationLocale(); in IN_PROC_BROWSER_TEST_F() local
56 EXPECT_NE("fr", default_locale); in IN_PROC_BROWSER_TEST_F()
/external/stlport/test/unit/
Dlocale_test.h46 CPPUNIT_TEST(default_locale);
73 void default_locale();
Dlocale_test.cpp224 void LocaleTest::default_locale() in default_locale() function in LocaleTest
/external/chromium_org/chrome/browser/chromeos/login/screens/
Dchrome_user_selection_screen.cc166 const std::string default_locale = FindMostRelevantLocale( in SetPublicSessionLocales() local
180 default_locale, in SetPublicSessionLocales()
/external/chromium_org/chrome/utility/extensions/
Dunpacker.h61 bool ReadAllMessageCatalogs(const std::string& default_locale);
Dunpacker.cc139 bool Unpacker::ReadAllMessageCatalogs(const std::string& default_locale) { in ReadAllMessageCatalogs() argument
/external/chromium_org/chrome/browser/chromeos/login/users/
Dfake_user_manager.cc326 static const std::string default_locale("en-US"); in GetApplicationLocale() local
327 return default_locale; in GetApplicationLocale()
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/
Dmanifest.json.jinja286 "default_locale": "en"
/external/chromium_org/remoting/webapp/
Dmanifest.json.jinja27 "default_locale": "en",
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dsignin_screen_handler.h103 const std::string& default_locale,
321 const std::string& default_locale,
Dsignin_screen_handler.cc931 const std::string& default_locale, in SetPublicSessionLocales() argument
936 default_locale, in SetPublicSessionLocales()
/external/chromium_org/v8/src/
Druntime.cc13919 icu::Locale default_locale; in RUNTIME_FUNCTION() local
13925 default_locale.getName(), result, ULOC_FULLNAME_CAPACITY, FALSE, &status); in RUNTIME_FUNCTION()