Searched refs:locale (Results 76 - 100 of 1068) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/chromeos/login/
H A Dlanguage_switch_menu.cc38 // locale has changed.
63 // Update LanguageList to contain entries in current locale.
96 const std::string locale = g_browser_process->GetApplicationLocale(); local
97 int index = language_list_->GetIndexFromLocale(locale);
98 CHECK_NE(-1, index) << "Unknown locale: " << locale;
109 bool LanguageSwitchMenu::SwitchLanguage(const std::string& locale) { argument
111 if (g_browser_process->GetApplicationLocale() == locale) {
123 // Switch the locale.
125 ResourceBundle::GetSharedInstance().ReloadLocaleResources(locale);
151 SwitchLanguageAndEnableKeyboardLayouts( const std::string& locale) argument
195 const std::string locale = language_list_->GetLocaleFromIndex(command_id); local
[all...]
/external/chromium_org/third_party/icu/source/i18n/unicode/
H A Ducurr.h26 * <ul><li>A display symbol, for a specific locale
38 * Finds a currency code for the given locale.
39 * @param locale the locale for which to retrieve a currency code.
53 ucurr_forLocale(const char* locale,
87 * Register an (existing) ISO 4217 currency code for the given locale.
91 * @param locale the locale for which to register this currency code
99 const char* locale,
118 * given locale
[all...]
H A Dlocdspnm.h42 * {@link #createInstance(const Locale& locale, UDialectHandling dialectHandling)}
44 * @param locale the display locale
48 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale);
52 * formatted for the provided locale, using the provided
55 * @param locale the display locale
60 static LocaleDisplayNames* U_EXPORT2 createInstance(const Locale& locale,
65 * Returns the locale used to determine the display names. This is
66 * not necessarily the same locale passe
180 createInstance(const Locale& locale) argument
[all...]
/external/icu4c/i18n/unicode/
H A Ducurr.h26 * <ul><li>A display symbol, for a specific locale
38 * Finds a currency code for the given locale.
39 * @param locale the locale for which to retrieve a currency code.
53 ucurr_forLocale(const char* locale,
87 * Register an (existing) ISO 4217 currency code for the given locale.
91 * @param locale the locale for which to register this currency code
99 const char* locale,
118 * given locale
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DLocaleICUTest.cpp92 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
93 return locale->monthFormat();
98 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
99 return locale->timeFormat();
104 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
105 return locale->shortTimeFormat();
110 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
111 return locale->shortMonthLabels()[index];
116 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
117 return locale
122 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
128 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
134 OwnPtr<LocaleICU> locale = LocaleICU::create(localeString); local
229 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local
242 OwnPtr<Locale> locale = Locale::create(localeIdentifier); local
[all...]
H A DLocaleMacTest.cpp74 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));
105 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
106 return locale
111 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
117 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
123 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
131 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
137 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
143 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
149 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
155 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
161 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
167 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
173 OwnPtr<LocaleMac> locale = LocaleMac::create(localeString); local
362 OwnPtr<Locale> locale = Locale::create(localeString); local
[all...]
H A DLocaleWinTest.cpp89 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
90 return locale->formatDateTime(dateComponents(year, month, day));
96 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
97 return locale->firstDayOfWeek();
102 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
103 return locale->monthLabels()[index];
108 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
109 return locale->weekDayShortLabels()[index];
114 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
115 return locale
122 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
128 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
134 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
140 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
146 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
152 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
272 OwnPtr<LocaleWin> locale = LocaleWin::create(lcid); local
[all...]
/external/stlport/src/
H A Ddll_main.cpp52 #include <locale>
137 template class _STLP_CLASS_DECLSPEC allocator<locale::facet*>;
140 template class _STLP_CLASS_DECLSPEC _STLP_alloc_proxy<locale::facet**, locale::facet*, allocator<locale::facet*> >;
141 template class _STLP_CLASS_DECLSPEC _Vector_base<locale::facet*, allocator<locale::facet*> >;
148 template class _STLP_CLASS_DECLSPEC __construct_checker<_STLP_PRIV _STLP_NON_DBG_VECTOR<locale::facet*, allocator<locale::facet*> > >;
149 template class _STLP_CLASS_DECLSPEC _STLP_NON_DBG_VECTOR<locale
[all...]
/external/chromium_org/third_party/icu/source/test/perf/ubrkperf/
H A Dubrkperf.h23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
32 m_brkIt_ = BreakIterator::createCharacterInstance(locale, m_status_);
35 m_brkIt_ = BreakIterator::createWordInstance(locale, m_status_);
38 m_brkIt_ = BreakIterator::createLineInstance(locale, m_status_);
41 m_brkIt_ = BreakIterator::createSentenceInstance(locale, m_status_);
59 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
60 ICUBreakFunction(locale, mode, file, file_len)
86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
87 ICUBreakFunction(locale, mode, file, file_len)
/external/icu4c/test/perf/ubrkperf/
H A Dubrkperf.h23 ICUBreakFunction(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
32 m_brkIt_ = BreakIterator::createCharacterInstance(locale, m_status_);
35 m_brkIt_ = BreakIterator::createWordInstance(locale, m_status_);
38 m_brkIt_ = BreakIterator::createLineInstance(locale, m_status_);
41 m_brkIt_ = BreakIterator::createSentenceInstance(locale, m_status_);
59 ICUIsBound(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
60 ICUBreakFunction(locale, mode, file, file_len)
86 ICUForward(const char *locale, const char *mode, const UChar *file, int32_t file_len) : argument
87 ICUBreakFunction(locale, mode, file, file_len)
/external/chromium_org/ui/android/java/src/org/chromium/ui/
H A DLocalizationUtils.java17 * This class provides the locale related methods for the native library.
30 * @return the default locale, translating Android deprecated
35 Locale locale = Locale.getDefault();
36 String language = locale.getLanguage();
37 String country = locale.getCountry();
59 private static String getDisplayNameForLocale(Locale locale, Locale displayLocale) { argument
60 return locale.getDisplayName(displayLocale);
78 * @return true if the current locale is right to left.
/external/srec/srec/Vocabulary/include/
H A DSR_Vocabulary.h63 * Returns vocabulary locale.
66 * @param locale [out] Vocabulary locale
68 ESR_ReturnCode(*getLanguage)(struct SR_Vocabulary_t* self, ESR_Locale* locale);
94 * @param locale
97 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyCreate(ESR_Locale locale, SR_Vocabulary** self);
131 * Returns vocabulary locale.
134 * @param locale [out] Vocabulary locale
136 SREC_VOCABULARY_API ESR_ReturnCode SR_VocabularyGetLanguage(SR_Vocabulary* self, ESR_Locale* locale);
[all...]
/external/chromium/chrome/browser/autofill/
H A Dautofill_country.h16 // locale.
21 AutofillCountry(const std::string& country_code, const std::string& locale);
28 // Returns the likely country code for |locale|, or "US" as a fallback if no
29 // mapping from the locale is available.
30 static const std::string CountryCodeForLocale(const std::string& locale);
33 // country code or country name localized to |locale|. This function can
36 const std::string& locale);
38 // Returns the application locale.
55 // The country's name, localized to the app locale.
/external/chromium_org/chrome/browser/importer/
H A Dimporter_list.h30 // |locale|: As in DetectSourceProfilesWorker().
31 void DetectSourceProfiles(const std::string& locale,
43 // |locale|: As in DetectSourceProfilesWorker().
44 void DetectSourceProfilesHack(const std::string& locale);
67 // thread. |locale|:The application locale (it must be taken as an argument
70 void DetectSourceProfilesWorker(const std::string& locale);
/external/chromium_org/third_party/icu/source/common/
H A Dunistr_case.cpp94 const char *locale,
141 locale, &errorCode);
145 locale, &errorCode);
152 (UBreakIterator *)titleIter, locale, options, &errorCode);
178 UnicodeString::toLower(const Locale &locale) { argument
179 return caseMap(0, locale.getName(), 0, TO_LOWER);
188 UnicodeString::toUpper(const Locale &locale) { argument
189 return caseMap(0, locale.getName(), 0, TO_UPPER);
200 UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) { argument
201 return caseMap(titleIter, locale
93 caseMap(BreakIterator *titleIter, const char *locale, uint32_t options, int32_t toWhichCase) argument
205 toTitle(BreakIterator *titleIter, const Locale &locale, uint32_t options) argument
[all...]
/external/chromium_org/v8/src/extensions/i18n/
H A Dlocale.js108 function isValidLanguageTag(locale) {
110 if (LANGUAGE_TAG_RE.test(locale) === false) {
115 if (locale.indexOf('x-') === 0) {
122 locale = locale.split(/-x-/)[0];
129 var parts = locale.split(/-/);
/external/icu4c/test/cintltst/
H A Dcpluralrulestest.c30 const char * locale; member in struct:__anon18439
66 for ( testItemPtr = testItems; testItemPtr->locale != NULL; ++testItemPtr ) {
68 UPluralRules* uplrules = uplrules_open(testItemPtr->locale, &status);
80 log_data_err("ERROR: uplrules_select for locale %s, number %.1f: expect %s, get %s\n",
81 testItemPtr->locale, testItemPtr->number, testItemPtr->keywordExpected, u_austrcpy(bcharBuf,keyword) );
84 log_err("FAIL: uplrules_select for locale %s, number %.1f: %s\n",
85 testItemPtr->locale, testItemPtr->number, myErrorName(status) );
89 log_err("FAIL: uplrules_open for locale %s: %s\n", testItemPtr->locale, myErrorName(status) );
/external/stlport/test/unit/
H A Dcollate_facets_test.cpp4 # include <locale>
19 CPPUNIT_ASSERT( has_facet<collate<char> >(locale::classic()) );
20 collate<char> const& col = use_facet<collate<char> >(locale::classic());
37 locale loc("fr_FR");
136 CPPUNIT_MESSAGE("No french locale to check collate facet");
144 * Check of the 22.1.1.2.7 standard point. Construction of a locale
151 locale loc(locale::classic(), new collate_byname<char>(static_cast<char const*>(0)));
163 locale loc(locale
[all...]
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/
H A DLanguageCallbackTest.java43 Locale locale = Locale.US;
44 lc.setLocale(locale);
49 * locale is null
/external/apache-http/src/org/apache/http/message/
H A DBasicHttpResponse.java59 private Locale locale; field in class:BasicHttpResponse
70 * @param locale the locale for looking up reason phrases, or
71 * <code>null</code> for the system locale
75 final Locale locale) {
82 this.locale = (locale != null) ? locale : Locale.getDefault();
88 * use the system default locale.
99 * use the system default locale
73 BasicHttpResponse(final StatusLine statusline, final ReasonPhraseCatalog catalog, final Locale locale) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
H A DInputMethodContext.idl35 readonly attribute DOMString locale;
/external/chromium_org/third_party/icu/source/i18n/
H A Dmeasfmt.cpp22 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, argument
26 fmt = new CurrencyFormat(locale, ec);
/external/chromium_org/v8/test/intl/date-format/
H A Dproperty-override.js30 // Object.defineProperty(Array.prototype, 'locale', {
38 // would throw in case of (JS) x.locale = 'us' or (C++) x->Set('locale', 'us').
57 'calendar', 'day', 'era', 'hour12', 'hour', 'locale',
70 var locale = Intl.DateTimeFormat().resolvedOptions().locale; variable
/external/chromium_org/v8/test/intl/number-format/
H A Dproperty-override.js30 // Object.defineProperty(Array.prototype, 'locale', {
38 // would throw in case of (JS) x.locale = 'us' or (C++) x->Set('locale', 'us').
59 'style', 'locale', 'numberingSystem',
74 var locale = Intl.NumberFormat(undefined, variable
78 resolvedOptions().locale;
/external/icu4c/i18n/
H A Dmeasfmt.cpp24 MeasureFormat* U_EXPORT2 MeasureFormat::createCurrencyFormat(const Locale& locale, argument
28 fmt = new CurrencyFormat(locale, ec);

Completed in 1127 milliseconds

1234567891011>>