/external/icu/icu4c/source/common/ |
H A D | ucnv_imp.h | 47 char locale[ULOC_FULLNAME_CAPACITY]; member in struct:__anon21765 67 * @param locale locale parameter, or "" 76 const char *locale, uint32_t options,
|
H A D | unistr_titlecase_brkiter.cpp | 43 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 D | ustr_imp.h | 93 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 D | plurfmt.h | 78 * 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 D | SR_RecognizerResultImpl.h | 56 ESR_Locale locale; member in struct:SR_RecognizerResultImpl_t 114 ESR_Locale* locale);
|
/external/srec/srec/Vocabulary/include/ |
H A D | SR_VocabularyImpl.h | 50 * 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 D | locale_util.cc | 21 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 D | locale_change_guard_unittest.cc | 15 // 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 D | locale_tests_browsertest.cc | 13 // 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 D | client_hints.cc | 7 #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 D | bad_flags_prompt.cc | 105 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 D | welcome_ui_android.cc | 49 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 D | language_usage_metrics.cc | 40 int LanguageUsageMetrics::ToLanguageCode(const std::string& locale) { argument 41 base::StringTokenizer parts(locale, "-_");
|
/external/chromium_org/components/translate/core/browser/ |
H A D | translate_download_manager.h | 38 // 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 D | user_manager.h | 63 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 D | ppapi_plugin_main.cc | 82 // 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 D | LocaleToScriptMapping.cpp | 173 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 D | unistr_titlecase_brkiter.cpp | 43 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 D | ustr_imp.h | 93 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 D | ustr_titlecase_brkiter.cpp | 37 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 D | ustrcase_locale.cpp | 26 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 D | unumsys.cpp | 20 unumsys_open(const char *locale, UErrorCode *status) argument 23 return (UNumberingSystem*)NumberingSystem::createInstance(Locale(locale), *status);
|
H A D | upluralrules.cpp | 21 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 D | date.js | 45 // 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 D | number.js | 40 // 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...] |