Searched refs:BaseLocale (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 37 public final class BaseLocale { class 51 private BaseLocale(String language, String region) { in BaseLocale() method in BaseLocale 58 private BaseLocale(String language, String script, String region, String variant) { in BaseLocale() method in BaseLocale 67 public static BaseLocale createInstance(String language, String region) { in createInstance() 68 BaseLocale base = new BaseLocale(language, region); in createInstance() 73 public static BaseLocale getInstance(String language, String script, in getInstance() 87 BaseLocale baseLocale = CACHE.get(key); in getInstance() 112 if (!(obj instanceof BaseLocale)) { in equals() 115 BaseLocale other = (BaseLocale)obj; in equals() 294 private static class Cache extends LocaleObjectCache<Key, BaseLocale> { [all …]
|
D | InternalLocaleBuilder.java | 100 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant() 101 int errIdx = checkVariants(var, BaseLocale.SEP); in setVariant() 146 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword() 193 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension() 230 subtags = subtags.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtensions() 366 var.append(BaseLocale.SEP).append(bcpVariants.get(i)); in setLanguageTag() 376 …public InternalLocaleBuilder setLocale(BaseLocale base, LocaleExtensions localeExtensions) throws … in setLocale() 423 variant = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setLocale() 425 int errIdx = checkVariants(variant, BaseLocale.SEP); in setLocale() 491 public BaseLocale getBaseLocale() { in getBaseLocale() [all …]
|
D | LanguageTag.java | 416 … public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) { in parseLocale() 458 StringTokenIterator varitr = new StringTokenIterator(variant, BaseLocale.SEP); in parseLocale() 524 + SEP + privuseVar.replace(BaseLocale.SEP, SEP); in parseLocale()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 53 import sun.util.locale.BaseLocale; 705 private Locale(BaseLocale baseLocale, LocaleExtensions extensions) { in Locale() 740 baseLocale = BaseLocale.getInstance(convertOldISOCodes(language), "", country, variant); in Locale() 799 BaseLocale base = BaseLocale.createInstance(lang, country); in createConstant() 831 BaseLocale baseloc = BaseLocale.getInstance(language, script, country, variant); in getInstance() 835 static Locale getInstance(BaseLocale baseloc, LocaleExtensions extensions) { in getInstance() 851 private final BaseLocale base; 855 private LocaleKey(BaseLocale baseLocale, LocaleExtensions extensions) { in LocaleKey() 1363 BaseLocale getBaseLocale() { in getBaseLocale() 1701 BaseLocale base = bldr.getBaseLocale(); in forLanguageTag() [all …]
|
D | ResourceBundle.java | 64 import sun.util.locale.BaseLocale; 2369 … private static class CandidateListCache extends LocaleObjectCache<BaseLocale, List<Locale>> { 2370 protected List<Locale> createObject(BaseLocale base) { in createObject()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 50 sun.util.locale.BaseLocale baseLocale, sun.util.locale.LocaleExtensions extensions) { in Locale() 88 sun.util.locale.BaseLocale baseloc, sun.util.locale.LocaleExtensions extensions) { in getInstance() 173 sun.util.locale.BaseLocale getBaseLocale() { in getBaseLocale() 519 private transient sun.util.locale.BaseLocale baseLocale; 734 sun.util.locale.BaseLocale baseLocale, in LocaleKey() 747 private final sun.util.locale.BaseLocale base;
|
/libcore/ojluni/annotations/mmodule/sun/util/locale/ |
D | LanguageTag.annotated.java | 44 public static sun.util.locale.LanguageTag parseLocale(sun.util.locale.BaseLocale baseLocale, sun.ut… in parseLocale()
|
/libcore/ |
D | openjdk_java_files.bp | 1792 "ojluni/src/main/java/sun/util/locale/BaseLocale.java",
|