Home
last modified time | relevance | path

Searched refs:defaultLocale (Results 1 – 25 of 33) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundle.java352 ULocale defaultLocale, UResourceBundle b) { in addToCache() argument
354 cacheKey.setKeyValues(cl, fullName, defaultLocale); in addToCache()
371 ULocale defaultLocale){ in loadFromCache() argument
373 cacheKey.setKeyValues(cl, fullName, defaultLocale); in loadFromCache()
391 private ULocale defaultLocale; field in UResourceBundle.ResourceCacheKey
412 if (defaultLocale == null) { in equals()
413 if (otherEntry.defaultLocale != null) { in equals()
417 if (!defaultLocale.equals(otherEntry.defaultLocale)) { in equals()
450 ULocale defaultLocale) { in setKeyValues() argument
453 this.defaultLocale = defaultLocale; in setKeyValues()
[all …]
DULocale.java559 private static Locale defaultLocale = Locale.getDefault(); field in ULocale
566 defaultULocale = forLocale(defaultLocale);
587 if (JDKLocaleHelper.isOriginalDefaultLocale(defaultLocale)) {
604 defaultCategoryLocales[idx] = defaultLocale;
647 if (!defaultLocale.equals(currentDefault)) { in getDefault()
648 defaultLocale = currentDefault; in getDefault()
684 defaultLocale = newLocale.toLocale(); in setDefault()
685 Locale.setDefault(defaultLocale); in setDefault()
729 if (!defaultLocale.equals(currentDefault)) { in getDefault()
730 defaultLocale = currentDefault; in getDefault()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DResourceBundleWrapper.java121 ULocale defaultLocale = ULocale.getDefault(); in instantiateBundle() local
126 ResourceBundleWrapper b = (ResourceBundleWrapper)loadFromCache(cl, name, defaultLocale); in instantiateBundle()
134 … parent = (ResourceBundleWrapper)loadFromCache(cl, baseName+"_"+locName,defaultLocale); in instantiateBundle()
139 parent = (ResourceBundleWrapper)loadFromCache(cl, baseName,defaultLocale); in instantiateBundle()
203 String defaultName = defaultLocale.toString(); in instantiateBundle()
205 … b = (ResourceBundleWrapper)loadFromCache(cl,baseName+"_"+defaultName, defaultLocale); in instantiateBundle()
222 b = (ResourceBundleWrapper)addToCache(cl, name, defaultLocale, b); in instantiateBundle()
DICUResourceBundle.java1122 ULocale defaultLocale = ULocale.getDefault();
1128 ICUResourceBundle b = (ICUResourceBundle)loadFromCache(root, fullName, defaultLocale);
1138 final String defaultID = defaultLocale.getBaseName();
1160 return addToCache(root, fullName, defaultLocale, b);
1174 !defaultLocale.getLanguage().equals(localeName)) {
1191 b = (ICUResourceBundle)addToCache(root, fullName, defaultLocale, b);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DListFormatterTest.java144 ULocale defaultLocale = ULocale.getDefault(ULocale.Category.FORMAT); in isDefaultLocaleEnglishLike() local
145 return defaultLocale.equals(ULocale.ENGLISH) || defaultLocale.equals(ULocale.US); in isDefaultLocaleEnglishLike()
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsDirectoryListingFormatterTest.groovy38 private defaultLocale
73 defaultLocale = Locale.default
78 Locale.setDefault(defaultLocale)
DUnixDirectoryListingFormatterTest.groovy43 private defaultLocale
99 defaultLocale = Locale.default
104 Locale.setDefault(defaultLocale)
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp157 const Locale& defaultLocale = Locale::getDefault(); in TestRegister() local
159 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister()
160 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
166 …((defaultLocale == Locale::getKorean() && defaultLocale == Locale::getJapanese()) && displayName =… in TestRegister()
167 ((defaultLocale == Locale::getChinese()) && displayName != zh_fuFU)) { in TestRegister()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSignature2Test.java236 Locale defaultLocale = Locale.getDefault(); in test_getInstance_withI18n() local
247 Locale.setDefault(defaultLocale); in test_getInstance_withI18n()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.metadata.generator_1.0.200.v20100503a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java978 ULocale defaultLocale = ULocale.getDefault(); in TestJavaULocaleBundleLoading() local
979 if(!defaultBundle.getULocale().equals(defaultLocale)){ in TestJavaULocaleBundleLoading()
990 ULocale.setDefault(defaultLocale); in TestJavaULocaleBundleLoading()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp771 const Locale *defaultLocale = &Locale::getDefault(); in computeLocales() local
773 localeRuns->add(defaultLocale, fCharCount); in computeLocales()
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java56 private final static Locale defaultLocale = Locale.US; field in TestFmwk
331 Locale.setDefault(defaultLocale); in run()

12