Home
last modified time | relevance | path

Searched refs:currentLocale (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
Dbraille_background.js99 var currentLocale = chrome.i18n.getMessage('@@ui_locale').split(/[_-]/);
100 var major = currentLocale[0];
101 var minor = currentLocale[1];
Dtts_background.js695 var currentLocale =
704 if (v1['lang'] == currentLocale && v2['lang'] != currentLocale) {
707 if (v1['lang'] != currentLocale && v2['lang'] == currentLocale) {
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/icu/
DCollatorICU.cpp65 RetainPtr<CFLocaleRef> currentLocale(AdoptCF, CFLocaleCopyCurrent()); in userDefault() local
66 …CFStringRef collationOrder = (CFStringRef)CFLocaleGetValue(currentLocale.get(), kCFLocaleCollatorI… in userDefault()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcldrtest.c499 UResourceBundle *root, *currentLocale; in TestLocaleStructure() local
538 currentLocale = ures_open(NULL, currLoc, &errorCode); in TestLocaleStructure()
550 ures_close(currentLocale); in TestLocaleStructure()
553 ures_getStringByKey(currentLocale, "Version", NULL, &errorCode); in TestLocaleStructure()
558 … else if (ures_getStringByKey(currentLocale, "Version", NULL, &errorCode)[0] == (UChar)(0x78)) { in TestLocaleStructure() local
562 resolvedLoc = ures_getLocaleByType(currentLocale, ULOC_ACTUAL_LOCALE, &errorCode); in TestLocaleStructure()
569 TestKeyInRootRecursive(root, "root", currentLocale, currLoc); in TestLocaleStructure()
571 testLCID(currentLocale, currLoc); in TestLocaleStructure()
573 ures_close(currentLocale); in TestLocaleStructure()
882 UResourceBundle *root, *currentLocale; in VerifyTranslation() local
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c499 UResourceBundle *root, *currentLocale; in TestLocaleStructure() local
538 currentLocale = ures_open(NULL, currLoc, &errorCode); in TestLocaleStructure()
550 ures_close(currentLocale); in TestLocaleStructure()
553 ures_getStringByKey(currentLocale, "Version", NULL, &errorCode); in TestLocaleStructure()
558 … else if (ures_getStringByKey(currentLocale, "Version", NULL, &errorCode)[0] == (UChar)(0x78)) { in TestLocaleStructure() local
562 resolvedLoc = ures_getLocaleByType(currentLocale, ULOC_ACTUAL_LOCALE, &errorCode); in TestLocaleStructure()
572 TestKeyInRootRecursive(root, "root", currentLocale, currLoc); in TestLocaleStructure()
574 testLCID(currentLocale, currLoc); in TestLocaleStructure()
576 ures_close(currentLocale); in TestLocaleStructure()
885 UResourceBundle *root, *currentLocale; in VerifyTranslation() local
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Dcoll.cpp189 Locale currentLocale(""); in getKey() local
191 LocaleUtility::initLocaleFromName(*actualReturn, currentLocale); in getKey()
192 result->setLocales(lkey.canonicalLocale(canonicalLocale), currentLocale, currentLocale); in getKey()
668 lkey.currentLocale(validLoc); in create()
Dcalendar.cpp423 lkey.currentLocale(curLoc); in create()
463 lkey.currentLocale(loc); in create()
513 lkey.currentLocale(loc2); in handleDefault()
Dnumfmt.cpp928 lkey.currentLocale(loc); in handleDefault()
/external/chromium_org/third_party/WebKit/Source/platform/text/
DLocaleMac.mm56 RetainPtr<NSLocale> currentLocale = [NSLocale currentLocale];
57 … String currentLocaleLanguage = languageFromLocale(String([currentLocale.get() localeIdentifier]));
60 return currentLocale;
/external/chromium_org/base/android/java/src/org/chromium/base/
DResourceExtractor.java69 String currentLocale = LocaleUtils.getDefaultLocale(); in doInBackground() local
70 String currentLanguage = currentLocale.split("-", 2)[0]; in doInBackground()
/external/icu/icu4c/source/common/
Dservlkf.cpp51 lkey.currentLocale(loc); in create()
Dservlk.cpp118 LocaleKey::currentLocale(Locale& result) const { in currentLocale() function in LocaleKey
Dservloc.h137 virtual Locale& currentLocale(Locale& result) const;
Dbrkiter.cpp255 lkey.currentLocale(loc); in handleDefault()
/external/chromium_org/third_party/icu/source/common/
Dservlkf.cpp51 lkey.currentLocale(loc); in create()
Dservlk.cpp118 LocaleKey::currentLocale(Locale& result) const { in currentLocale() function in LocaleKey
Dservloc.h137 virtual Locale& currentLocale(Locale& result) const;
Dbrkiter.cpp255 lkey.currentLocale(loc); in handleDefault()
/external/clang/test/ARCMT/
Dobjcmt-subscripting-literals.m.result222 + (id)currentLocale;
227 id o = [[NSLocale currentLocale] objectForKey:key];
Dobjcmt-subscripting-literals.m222 + (id)currentLocale; class
227 id o = [[NSLocale currentLocale] objectForKey:key];
/external/chromium_org/content/common/
Dplugin_list_mac.mm94 NSString* preferred_l10n = [[NSLocale currentLocale] localeIdentifier];
/external/chromium_org/third_party/icu/source/test/intltest/
Dicusvtst.cpp1135 logln(UnicodeString("lkey current locale: ") + lkey->currentLocale(localeResult).getName()); in testLocale()
1403 logln(UnicodeString("current locale: ") + key->currentLocale(loc).getName()); in testCoverage()
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp1135 logln(UnicodeString("lkey current locale: ") + lkey->currentLocale(localeResult).getName()); in testLocale()
1403 logln(UnicodeString("current locale: ") + key->currentLocale(loc).getName()); in testCoverage()
/external/icu/icu4c/source/i18n/
Dcoll.cpp741 lkey.currentLocale(validLoc); in create()
Dcalendar.cpp423 lkey.currentLocale(curLoc); in create()
463 lkey.currentLocale(loc); in create()
513 lkey.currentLocale(loc2); in handleDefault()

12