/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
H A D | XString.java | 458 * Note that this method does <em>not</em> take locale into account, 461 * locale-sensitive ordering. 920 * @param locale use the case transformation rules for this locale 925 public XMLString toLowerCase(Locale locale) argument 927 return new XString(str().toLowerCase(locale)); 932 * case using the rules of the default locale, which is returned 947 * case using the rules of the given locale. 948 * @param locale use the case transformation rules for this locale 953 toUpperCase(Locale locale) argument [all...] |
/external/chromium_org/base/i18n/ |
H A D | rtl.cc | 21 std::string GetLocaleString(const icu::Locale& locale) { argument 22 const char* language = locale.getLanguage(); 23 const char* country = locale.getCountry(); 24 const char* variant = locale.getVariant(); 68 // Represents the locale-specific ICU text direction. 71 // Convert the ICU default locale to a string. 76 // Convert the ICU canonicalized locale to a string. 77 std::string GetCanonicalLocale(const char* locale) { argument 78 return GetLocaleString(icu::Locale::createCanonical(locale)); 81 // Convert Chrome locale nam 93 const icu::Locale& locale = icu::Locale::getDefault(); local 127 const icu::Locale& locale = icu::Locale::getDefault(); local [all...] |
/external/chromium_org/chrome/browser/chromeos/ |
H A D | chrome_browser_main_chromeos.cc | 455 const std::string& locale, 465 const std::string& locale, 473 // The previous one must be "locale default layout". 480 // Second, enable locale based input methods. 550 // Guest user profile is never initialized with locale settings, 463 Callback( const scoped_ptr<GuestLanguageSetCallbackData>& self, const std::string& locale, const std::string& loaded_locale, bool success) argument
|
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | oobe_localization_browsertest.cc | 50 void set_locale(const std::string& locale) { argument 51 initial_locale_ = locale; 111 // Runs the test for the given locale and keyboard layout. 292 // Note, that sort order is locale-specific, but is unlikely to change. 300 // Clear the locale pref so the statistics provider is pinged next time. 324 // We don't use the Icelandic locale but the Icelandic keyboard layout
|
/external/chromium_org/chrome/browser/chromeos/status/ |
H A D | data_promo_notification.cc | 111 const std::string locale = g_browser_process->GetApplicationLocale(); local 112 std::string deal_text = deal->GetLocalizedString(locale, 194 const std::string locale = g_browser_process->GetApplicationLocale(); local 196 deal->GetLocalizedString(locale, "notification_text");
|
/external/chromium_org/chrome/browser/media_galleries/fileapi/ |
H A D | itunes_data_provider.cc | 119 // Test user locale. Localized directory names encoded in UTF-8. 149 const icu::Locale locale = icu::Locale::getDefault(); local 150 const char* language = locale.getLanguage(); 151 const char* country = locale.getCountry();
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | spellcheck_service.cc | 200 std::string locale, 199 LoadExternalDictionary(std::string language, std::string locale, std::string path, DictionaryFormat format) argument
|
/external/chromium_org/chrome/browser/ui/app_list/test/ |
H A D | fake_profile.cc | 169 const std::string& locale, AppLocaleChangedVia via) {} 168 ChangeAppLocale( const std::string& locale, AppLocaleChangedVia via) argument
|
/external/chromium_org/chrome/browser/ui/prefs/ |
H A D | prefs_tab_helper.cc | 263 // Returns the primary script used by the browser's UI locale. For example, if 264 // the locale is "ru", the function returns USCRIPT_CYRILLIC, and if the locale 267 std::string locale = g_browser_process->GetApplicationLocale(); local 272 if (locale == "zh-CN") 274 if (locale == "zh-TW") 279 uscript_getCode(locale.c_str(), &code, 1, &err); 489 // the browser's UI locale. For example, if the pref is for the sans-serif 490 // font for the Cyrillic script, and the browser locale is "ru" (Russian),
|
/external/chromium_org/chrome/browser/ui/webui/ |
H A D | bidi_checker_web_ui_test.cc | 46 // locale resources on the IO thread. 56 std::string locale; local 59 locale.assign( 62 ASSERT_FALSE(locale.empty()); 66 // locale resources on the IO thread.
|
H A D | voicesearch_ui.cc | 221 std::string locale = local 223 // On ChromeOS locale is per-profile. 228 AddPair(list, ASCIIToUTF16("Current Language"), ASCIIToUTF16(locale));
|
/external/chromium_org/chrome/renderer/spellchecker/ |
H A D | spellcheck_unittest.cc | 1229 const char* locale; member in struct:__anon5858 1249 ReinitializeSpellCheck(kTestCases[i].locale); 1266 " in " << kTestCases[i].locale; 1283 << kTestCases[i].locale; 1290 " in " << kTestCases[i].locale;
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | autofill_country.cc | 31 // The maximum capacity needed to store a locale up to the country code. 848 // country code or country name localized to |locale|. 850 const std::string& locale); 858 // localized to |locale| to their corresponding country codes. 859 void AddLocalizedNamesForLocale(const std::string& locale); 862 // |locale| and returns the corresponding country code stored in 866 const std::string& locale); 869 // given |locale|. 870 icu::Collator* GetCollatorForLocale(const std::string& locale); 886 // The outer map keys are ICU locale identifier 934 GetCountryCode(const base::string16& country, const std::string& locale) argument 952 AddLocalizedNamesForLocale(const std::string& locale) argument 980 GetCountryCodeForLocalizedName( const base::string16& country_name, const std::string& locale) argument 1008 GetCollatorForLocale(const std::string& locale) argument 1051 AutofillCountry(const std::string& country_code, const std::string& locale) argument 1080 CountryCodeForLocale( const std::string& locale) argument 1102 GetCountryCode(const base::string16& country, const std::string& locale) argument [all...] |
/external/chromium_org/components/translate/core/browser/ |
H A D | translate_language_list.cc | 300 const std::string& locale = local 311 if (!l10n_util::IsLocaleNameTranslated(lang.c_str(), locale)) { 337 if (!l10n_util::IsLocaleNameTranslated(lang.c_str(), locale))
|
H A D | translate_manager.cc | 101 const std::string& locale = local 103 TranslateBrowserMetrics::ReportLocalesOnDisabledByPrefs(locale);
|
H A D | translate_ui_delegate.cc | 52 // Preparing for the alphabetical order in the locale. 54 std::string locale = local 56 icu::Locale loc(locale.c_str()); 67 l10n_util::GetDisplayNameForLocale(language_code, locale, true);
|
/external/chromium_org/content/browser/ |
H A D | plugin_process_host.cc | 245 std::string locale = GetContentClient()->browser()->GetApplicationLocale(); local 246 if (!locale.empty()) { 247 // Pass on the locale so the null plugin will use the right language in the 249 cmd_line->AppendSwitchASCII(switches::kLang, locale);
|
H A D | utility_process_host_impl.cc | 224 std::string locale = GetContentClient()->browser()->GetApplicationLocale(); local 225 cmd_line->AppendSwitchASCII(switches::kLang, locale);
|
/external/chromium_org/extensions/common/ |
H A D | extension_l10n_util.cc | 33 // Loads contents of the messages file for given locale. If file is not found, 37 const std::string& locale, 40 locale_path.AppendASCII(locale).Append(extensions::kMessagesFilename); 47 *error = base::StringPrintf("Catalog file is missing for locale %s.", 48 locale.c_str()); 99 CR_DEFINE_STATIC_LOCAL(std::string, locale, ()); 100 return locale; 107 void SetProcessLocale(const std::string& locale) { argument 108 GetProcessLocale() = locale; 252 // Add current locale ke 36 LoadMessageFile(const base::FilePath& locale_path, const std::string& locale, std::string* error) argument 453 ScopedLocaleForTest(const std::string& locale) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
H A D | DateTimeNumericFieldElement.cpp | 107 Locale& locale = localeForOwner(); local 109 return locale.convertToLocalizedNumber(String::format("%04d", value)); 111 return locale.convertToLocalizedNumber(String::format("%03d", value)); 112 return locale.convertToLocalizedNumber(String::format("%02d", value));
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderEmbeddedObject.cpp | 80 Locale& locale = node ? toElement(node)->locale() : Locale::defaultLocale(); local 83 return locale.queryString(WebLocalizedString::MissingPluginText); 85 return locale.queryString(WebLocalizedString::BlockedPluginText);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleRareInheritedData.h | 143 AtomicString locale; member in class:blink::StyleRareInheritedData
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/linux/ |
H A D | WebFontInfo.cpp | 126 static PassOwnPtr<CachedFontSet> createForLocale(const char* locale) argument 128 FcFontSet* fontSet = createFcFontSetForLocale(locale); 152 static FcFontSet* createFcFontSetForLocale(const char* locale) argument 156 if (locale) { 158 FcPatternAddString(pattern, FC_LANG, reinterpret_cast<const FcChar8*>(locale)); 169 if (!locale) 233 WebFallbackFont fallbackFontForCharInLocale(WebUChar32 c, const char* locale) argument 237 if (locale && strlen(locale)) { 238 localeKey = AtomicString(locale); 262 fallbackFontForChar(WebUChar32 c, const char* locale, WebFallbackFont* fallbackFont) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | LocaleICU.cpp | 46 PassOwnPtr<Locale> Locale::create(const String& locale) argument 48 return LocaleICU::create(locale.utf8().data()); 51 LocaleICU::LocaleICU(const char* locale) argument 52 : m_locale(locale) 312 static String getFormatForSkeleton(const char* locale, const String& skeleton) argument 316 UDateTimePatternGenerator* patternGenerator = udatpg_open(locale, &status);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | LocaleMacTest.cpp | 74 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 78 return locale->formatDateTime(date); 83 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 87 return locale->formatDateTime(date, (useShortFormat ? Locale::FormatTypeShort : Locale::FormatTypeMedium)); 92 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 93 return locale->formatDateTime(dateComponents(year, month, day)); 98 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 99 return locale->formatDateTime(timeComponents(hour, minute, second, millisecond), (useShortFormat ? Locale::FormatTypeShort : Locale::FormatTypeMedium)); 104 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 105 return locale 110 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 116 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 122 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 129 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 135 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 141 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 147 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 153 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 159 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 165 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 171 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local 358 OwnPtr<Locale> locale = Locale::create(localeString); local [all...] |