Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLanguageTag.java491 String privateuse = null; in parseLocale() local
497 privateuse = ext.getValue(); in parseLocale()
513 if (privateuse == null) { in parseLocale()
514 privateuse = PRIVUSE_VARIANT_PREFIX + SEP + privuseVar; in parseLocale()
516privateuse = privateuse + SEP + PRIVUSE_VARIANT_PREFIX + SEP + privuseVar.replace(BaseLocale.SEP, … in parseLocale()
520 if (privateuse != null) { in parseLocale()
521 tag._privateuse = privateuse; in parseLocale()
524 if (tag._language.length() == 0 && (hasSubtag || privateuse == null)) { in parseLocale()
DInternalLocaleBuilder.java206 String privateuse = null; in setExtensions() local
263 privateuse = sb.toString(); in setExtensions()
272 return setExtensions(extensions, privateuse); in setExtensions()
279 private InternalLocaleBuilder setExtensions(List<String> bcpExtensions, String privateuse) { in setExtensions() argument
300 if (privateuse != null && privateuse.length() > 0) { in setExtensions()
305 _extensions.put(new CaseInsensitiveChar(privateuse.charAt(0)), privateuse.substring(2)); in setExtensions()
/external/icu/icu4c/source/common/
Duloc_tag.c48 const char *privateuse; member
624 langtag->privateuse = EMPTY; in _initializeULanguageTag()
2095 t->privateuse = T_CString_toLowerCase(pPrivuseVal); in ultag_parse()
2292 return langtag->privateuse; in ultag_getPrivateUse()