Home
last modified time | relevance | path

Searched refs:privateuse (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java56 private String privateuse = ""; // privateuse field in LanguageTag
408 privateuse = sb.toString(); in parsePrivateuse()
496 String privateuse = null; in parseLocale() local
503 privateuse = ext.getValue(); in parseLocale()
520 if (privateuse == null) { in parseLocale()
521 privateuse = PRIVUSE_VARIANT_PREFIX + SEP + privuseVar; in parseLocale()
523 privateuse = privateuse + SEP + PRIVUSE_VARIANT_PREFIX in parseLocale()
528 if (privateuse != null) { in parseLocale()
529 tag.privateuse = privateuse; in parseLocale()
532 if (tag.language.length() == 0 && (hasSubtag || privateuse == null)) { in parseLocale()
[all …]
DInternalLocaleBuilder.java234 String privateuse = null; in setExtensions() local
294 privateuse = sb.toString(); in setExtensions()
305 return setExtensions(extensions, privateuse); in setExtensions()
312 private InternalLocaleBuilder setExtensions(List<String> bcpExtensions, String privateuse) { in setExtensions() argument
334 if (privateuse != null && privateuse.length() > 0) { in setExtensions()
339 extensions.put(new CaseInsensitiveChar(privateuse), privateuse.substring(2)); in setExtensions()