Searched defs:locale (Results 26 - 50 of 549) sorted by relevance

1234567891011>>

/external/icu/icu4c/source/common/
H A Ducnv_imp.h47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon21765
67 * @param locale locale parameter, or ""
76 const char *locale, uint32_t options,
H A Dunistr_titlecase_brkiter.cpp43 setTempCaseMap(UCaseMap *csm, const char *locale) { argument
47 if(locale!=NULL && locale[0]==0) {
48 csm->locale[0]=0;
50 ustrcase_setTempCaseMapLocale(csm, locale);
62 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) { argument
63 return toTitle(titleIter, locale, 0);
67 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options) { argument
70 setTempCaseMap(&csm, locale.getName());
74 bi=BreakIterator::createWordInstance(locale, errorCod
[all...]
H A Dustr_imp.h93 char locale[32]; member in struct:UCaseMap
109 ustrcase_setTempCaseMapLocale(UCaseMap *csm, const char *locale);
117 * The UCaseMap must be fully initialized, with locale and/or iter set as needed.
175 * The UCaseMap must be fully initialized, with locale and/or iter set as needed.
/external/icu/icu4c/source/i18n/unicode/
H A Dplurfmt.h78 * the constructors that takes a <code>locale</code> object. To
88 * specified locale. Syntax:
119 * <code>NumberFormat</code> for the <code>PluralFormat</code>'s locale. If you
131 * <code>PluralFormat</code>'s constructor. If you also specify a locale in this
132 * constructor, this locale will be used to format the number in the message
147 * Creates a new cardinal-number <code>PluralFormat</code> for the default locale.
148 * This locale will be used to get the set of plural rules and for standard
157 * Creates a new cardinal-number <code>PluralFormat</code> for a given locale.
158 * @param locale the <code>PluralFormat</code> will be configured with
159 * rules for this locale
568 Locale locale; member in class:PluralFormat
[all...]
/external/srec/srec/Recognizer/include/
H A DSR_RecognizerResultImpl.h56 ESR_Locale locale; member in struct:SR_RecognizerResultImpl_t
114 ESR_Locale* locale);
/external/srec/srec/Vocabulary/include/
H A DSR_VocabularyImpl.h50 * Vocabulary locale.
52 ESR_Locale locale; member in struct:SR_VocabularyImpl_t
54 * String to identify TTP language associated with locale.
99 ESR_ReturnCode SR_VocabularyGetLanguageImpl(SR_Vocabulary* self, ESR_Locale* locale);
114 #define TTP_LANG(locale) locale == ESR_LOCALE_EN_US ? L("enu") : \
115 locale == ESR_LOCALE_FR_FR ? L("fra") : \
116 locale == ESR_LOCALE_DE_DE ? L("deu") : \
117 locale == ESR_LOCALE_EN_GB ? L("eng") : \
118 locale
[all...]
/external/chromium_org/chrome/browser/chromeos/base/
H A Dlocale_util.cc21 SwitchLanguageData(const std::string& locale, argument
26 locale(locale),
33 const std::string locale; member in struct:chromeos::__anon3034::SwitchLanguageData
46 ResourceBundle::GetSharedInstance().ReloadLocaleResources(data->locale);
65 // Enable the hardware keyboard layouts and locale-specific layouts
68 // use may not be supported by the new locale.
78 // Enable all locale-specific layouts.
93 data->callback->Run(data->locale, data->loaded_locale, data->success);
100 void SwitchLanguage(const std::string& locale, argument
[all...]
/external/chromium_org/chrome/browser/chromeos/
H A Dlocale_change_guard_unittest.cc15 // These languages require user notification when locale is automatically
147 // en <-> non-latin locale
153 // latin <-> non-latin locale
192 const char* const locale = l10n_util::GetAcceptLanguageListForTesting()[i]; local
193 const char* const dash = strchr(locale, '-');
195 (dash ? std::string(locale, dash - locale) : std::string(locale));
212 << "Language '" << language << "' (from locale '" << locale
[all...]
/external/chromium_org/chrome/browser/
H A Dlocale_tests_browsertest.cc13 // A class that over-writes the system locale only in a scope. To emulate the
20 explicit ScopedLocale(const char* locale) : locale_(locale) { argument
34 if (kLocales[i].chrome_locale == locale) {
54 const std::string& locale() { return locale_; } function in class:__anon4196::ScopedLocale
64 // locale and run Chrome with a '--lang' option. To add a new LocaleTest, add a
65 // class derived from this class and call the constructor with the locale name
69 explicit LocaleTestBase(const char* locale) : locale_(locale) { argument
73 command_line->AppendSwitchASCII(switches::kLang, locale_.locale());
[all...]
/external/chromium_org/chrome/browser/net/
H A Dclient_hints.cc7 #include <locale>
61 // according to the machine's locale
62 std::locale locale; local
65 if (!std::isdigit(*it, locale))
/external/chromium_org/chrome/browser/ui/startup/
H A Dbad_flags_prompt.cc105 std::string locale = l10n_util::GetApplicationLocale(std::string()); local
107 if (locale.empty())
108 locale = kUserDataDirDialogFallbackLocale;
110 locale, NULL, ui::ResourceBundle::LOAD_COMMON_RESOURCES);
/external/chromium_org/chrome/browser/ui/webui/
H A Dwelcome_ui_android.cc49 std::string locale = g_browser_process->GetApplicationLocale(); local
51 kProductTourBaseURL, locale.c_str());
65 base::StringPrintf(kPrivacyNoticeBaseURL, locale.c_str());
/external/chromium_org/components/language_usage_metrics/
H A Dlanguage_usage_metrics.cc40 int LanguageUsageMetrics::ToLanguageCode(const std::string& locale) { argument
41 base::StringTokenizer parts(locale, "-_");
/external/chromium_org/components/translate/core/browser/
H A Dtranslate_download_manager.h38 // The application locale.
41 void set_application_locale(const std::string& locale) { argument
42 application_locale_ = locale;
/external/chromium_org/components/user_manager/
H A Duser_manager.h63 const std::string& locale);
67 const std::string& locale() const { return locale_; } function in class:user_manager::UserManager::UserAccountData
/external/chromium_org/content/ppapi_plugin/
H A Dppapi_plugin_main.cc82 // Set the default locale to be the current UI language. WebKit uses ICU's
83 // default locale for some font settings (especially switching between
86 std::string locale = command_line.GetSwitchValueASCII(switches::kLang); local
87 base::i18n::SetICUDefaultLocale(locale);
90 // TODO(shess): Flash appears to have a POSIX locale dependency
97 std::replace(locale.begin(), locale.end(), '-', '_');
98 locale.append(".UTF-8");
99 setlocale(LC_ALL, locale.c_str());
100 setenv("LANG", locale
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/text/
H A DLocaleToScriptMapping.cpp173 UScriptCode localeToScriptCodeForFontSelection(const String& locale) argument
176 const char* locale; member in struct:blink::LocaleScript
385 localeScriptMap.set(localeScriptList[i].locale, localeScriptList[i].script);
388 String canonicalLocale = locale.lower().replace('-', '_');
/external/chromium_org/third_party/icu/source/common/
H A Dunistr_titlecase_brkiter.cpp43 setTempCaseMap(UCaseMap *csm, const char *locale) { argument
47 if(locale!=NULL && locale[0]==0) {
48 csm->locale[0]=0;
50 ustrcase_setTempCaseMapLocale(csm, locale);
62 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) { argument
63 return toTitle(titleIter, locale, 0);
67 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options) { argument
70 setTempCaseMap(&csm, locale.getName());
74 bi=BreakIterator::createWordInstance(locale, errorCod
[all...]
H A Dustr_imp.h93 char locale[32]; member in struct:UCaseMap
109 ustrcase_setTempCaseMapLocale(UCaseMap *csm, const char *locale);
117 * The UCaseMap must be fully initialized, with locale and/or iter set as needed.
175 * The UCaseMap must be fully initialized, with locale and/or iter set as needed.
H A Dustr_titlecase_brkiter.cpp37 setTempCaseMap(UCaseMap *csm, const char *locale) { argument
41 if(locale!=NULL && locale[0]==0) {
42 csm->locale[0]=0;
44 ustrcase_setTempCaseMapLocale(csm, locale);
54 const char *locale,
57 setTempCaseMap(&csm, locale);
61 csm.iter=ubrk_open(UBRK_WORD, csm.locale, src, srcLength, pErrorCode);
82 csm->iter=ubrk_open(UBRK_WORD, csm->locale, src, srcLength, pErrorCode);
51 u_strToTitle(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, UBreakIterator *titleIter, const char *locale, UErrorCode *pErrorCode) argument
H A Dustrcase_locale.cpp26 ustrcase_setTempCaseMapLocale(UCaseMap *csm, const char *locale) { argument
42 /* the internal functions require locale!=NULL */
43 if(locale==NULL) {
45 // changes to the default locale via uloc_setDefault().
47 // does not cache the locale ID.
51 // and we do not need the locale ID to be canonicalized.
53 // Best is to not call case mapping functions with a NULL locale ID.
54 locale=uloc_getDefault();
56 for(i=0; i<4 && (c=locale[i])!=0 && c!='-' && c!='_'; ++i) {
57 csm->locale[
71 setTempCaseMap(UCaseMap *csm, const char *locale) argument
85 u_strToLower(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
99 u_strToUpper(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode) argument
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dunumsys.cpp20 unumsys_open(const char *locale, UErrorCode *status) argument
23 return (UNumberingSystem*)NumberingSystem::createInstance(Locale(locale), *status);
H A Dupluralrules.cpp21 uplrules_open(const char *locale, UErrorCode *status) argument
23 return uplrules_openForType(locale, UPLURAL_TYPE_CARDINAL, status);
27 uplrules_openForType(const char *locale, UPluralType type, UErrorCode *status) argument
29 return (UPluralRules*)PluralRules::forLocale(Locale(locale), type, *status);
/external/chromium_org/v8/test/intl/overrides/
H A Ddate.js45 // Specify locale, default options for toLocaleXXXString
46 var locale = ['sr']; variable
47 dtfDate = new Intl.DateTimeFormat(locale);
49 locale, {hour: 'numeric', minute: 'numeric', second: 'numeric'});
51 locale, {year: 'numeric', month: 'numeric', day: 'numeric',
53 assertEquals(dtfAll.format(date), date.toLocaleString(locale));
54 assertEquals(dtfDate.format(date), date.toLocaleDateString(locale));
55 assertEquals(dtfTime.format(date), date.toLocaleTimeString(locale));
58 // Specify locale and options for toLocaleXXXString
59 locale
[all...]
H A Dnumber.js40 // Specify locale, default options for toLocaleString method.
41 var locale = ['sr']; variable
42 nf = new Intl.NumberFormat(locale);
43 assertEquals(nf.format(integer), integer.toLocaleString(locale));
44 assertEquals(nf.format(float), float.toLocaleString(locale));
47 // Specify locale and options for toLocaleString method.
48 locale = ['ko'];
51 nf = new Intl.NumberFormat(locale, options);
52 assertEquals(nf.format(integer), integer.toLocaleString(locale, options));
53 assertEquals(nf.format(float), float.toLocaleString(locale, option
[all...]

Completed in 1664 milliseconds

1234567891011>>