HomeSort by relevance Sort by last modified time
    Searched refs:default_locale (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium_org/chrome/common/extensions/api/i18n/
default_locale_handler.cc 30 return info ? info->default_locale : base::EmptyString();
42 &info->default_locale) ||
43 !l10n_util::IsValidLocaleSyntax(info->default_locale)) {
55 // default_locale and _locales have to be both present or both missing.
58 std::string default_locale = local
62 if (default_locale.empty() && !path_exists)
65 if (default_locale.empty() && path_exists) {
69 } else if (!default_locale.empty() && !path_exists) {
79 const base::FilePath default_locale_path = path.AppendASCII(default_locale);
default_locale_handler.h 18 std::string default_locale; member in struct:extensions::LocaleInfo
23 // Parses the "default_locale" manifest key.
  /external/chromium_org/base/i18n/
string_search_unittest.cc 24 std::string default_locale(uloc_getDefault());
25 bool locale_is_posix = (default_locale == "en_US_POSIX");
62 SetICUDefaultLocale(default_locale.data());
85 std::string default_locale(uloc_getDefault());
86 bool locale_is_posix = (default_locale == "en_US_POSIX");
180 SetICUDefaultLocale(default_locale.data());
193 const char* default_locale = uloc_getDefault(); local
199 SetICUDefaultLocale(default_locale);
203 std::string default_locale(uloc_getDefault());
204 bool locale_is_posix = (default_locale == "en_US_POSIX")
    [all...]
  /external/chromium_org/chrome/browser/ui/search/
local_ntp_browsertest.cc 55 std::string default_locale = g_browser_process->GetApplicationLocale(); local
56 EXPECT_NE("fr", default_locale);
  /external/stlport/test/unit/
locale_test.h 46 CPPUNIT_TEST(default_locale);
73 void default_locale();
locale_test.cpp 224 void LocaleTest::default_locale() function in class:LocaleTest
  /ndk/tests/device/test-gnustl-full/unit/
locale_test.h 46 CPPUNIT_TEST(default_locale);
73 void default_locale();
locale_test.cpp 224 void LocaleTest::default_locale() function in class:LocaleTest
  /ndk/tests/device/test-stlport/unit/
locale_test.h 46 CPPUNIT_TEST(default_locale);
73 void default_locale();
  /external/chromium_org/chrome/common/extensions/
extension_l10n_util.cc 114 std::string default_locale; local
115 if (manifest.GetString(keys::kDefaultLocale, &default_locale))
116 return default_locale;
266 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); local
270 extension_path, default_locale, error));
332 const std::string& default_locale,
335 if (!application_locale.empty() && application_locale != default_locale)
337 all_fallback_locales->push_back(default_locale);
376 const std::string& default_locale,
381 GetAllFallbackLocales(application_locale, default_locale,
406 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); local
    [all...]
extension_l10n_util.h 32 // "default_locale" section was not defined in the manifest.json file.
72 // first_parent, ..., |default_locale|.
74 const std::string& default_locale,
95 const std::string& default_locale,
extension_file_util.h 111 const std::string& default_locale,
119 const std::string& default_locale);
extension_file_util.cc 405 const std::string& default_locale,
417 if (default_locale.empty() ||
418 locales.find(default_locale) == locales.end()) {
427 default_locale,
438 const std::string& default_locale) {
440 if (!default_locale.empty()) {
444 LoadMessageBundle(extension_path, default_locale, &error));
  /external/chromium/chrome/common/extensions/
extension_unpacker.h 69 bool ReadAllMessageCatalogs(const std::string& default_locale);
extension_l10n_util.cc 42 std::string default_locale; local
43 if (manifest.GetString(keys::kDefaultLocale, &default_locale))
44 return default_locale;
140 std::string default_locale = GetDefaultLocaleFromManifest(*manifest, error); local
144 extension_path, default_locale, error));
262 const std::string& default_locale,
266 // Order locales to load as current_locale, first_parent, ..., default_locale.
268 if (!application_locale.empty() && application_locale != default_locale)
270 all_fallback_locales.push_back(default_locale);
extension_file_util.h 66 const std::string& default_locale,
extension_l10n_util.h 31 // "default_locale" section was not defined in the manifest.json file.
87 const std::string& default_locale,
extension_file_util.cc 372 const std::string& default_locale,
384 if (default_locale.empty() ||
385 locales.find(default_locale) == locales.end()) {
394 default_locale,
403 // default_locale and _locales have to be both present or both missing.
406 std::string default_locale = extension.default_locale(); local
409 if (default_locale.empty() && !path_exists)
412 if (default_locale.empty() && path_exists) {
416 } else if (!default_locale.empty() && !path_exists)
    [all...]
extension_unpacker.cc 119 const std::string& default_locale) {
205 if (!extension->default_locale().empty()) {
206 if (!ReadAllMessageCatalogs(extension->default_locale()))
  /external/chromium/chrome/browser/renderer_host/
chrome_render_message_filter.cc 190 std::string default_locale = local
198 extension_path, extension_id, default_locale, reply_msg));
204 const std::string& default_locale,
209 if (!default_locale.empty()) {
214 extension_path, default_locale, &error));
chrome_render_message_filter.h 73 const std::string& default_locale,
  /external/chromium_org/chrome/utility/extensions/
unpacker.h 61 bool ReadAllMessageCatalogs(const std::string& default_locale);
  /external/chromium_org/chrome/browser/renderer_host/
chrome_render_message_filter.cc 360 std::string default_locale; local
363 default_locale = extensions::LocaleInfo::GetDefaultLocale(extension);
370 this, extension_path, extension_id, default_locale, reply_msg));
376 const std::string& default_locale,
382 extension_path, extension_id, default_locale));
chrome_render_message_filter.h 124 const std::string& default_locale,
  /external/chromium/chrome/browser/extensions/
extension_info_map.cc 98 result = iter->second->default_locale();

Completed in 1054 milliseconds

1 2