Home
last modified time | relevance | path

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

/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/
DLanguageTag.java483 String privateuse = null; in parseLocale() local
489 privateuse = ext.getValue(); in parseLocale()
505 if (privateuse == null) { in parseLocale()
506 privateuse = PRIVUSE_VARIANT_PREFIX + SEP + privuseVar; in parseLocale()
508privateuse = privateuse + SEP + PRIVUSE_VARIANT_PREFIX + SEP + privuseVar.replace(BaseLocale.SEP, … in parseLocale()
512 if (privateuse != null) { in parseLocale()
513 tag._privateuse = privateuse; in parseLocale()
516 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/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/android_icu4j/src/main/java/android/icu/impl/locale/
DLanguageTag.java495 String privateuse = null; in parseLocale() local
501 privateuse = ext.getValue(); in parseLocale()
517 if (privateuse == null) { in parseLocale()
518 privateuse = PRIVUSE_VARIANT_PREFIX + SEP + privuseVar; in parseLocale()
520privateuse = privateuse + SEP + PRIVUSE_VARIANT_PREFIX + SEP + privuseVar.replace(BaseLocale.SEP, … in parseLocale()
524 if (privateuse != null) { in parseLocale()
525 tag._privateuse = privateuse; in parseLocale()
528 if (tag._language.length() == 0 && (hasSubtag || privateuse == null)) { in parseLocale()
DInternalLocaleBuilder.java210 String privateuse = null; in setExtensions() local
267 privateuse = sb.toString(); in setExtensions()
276 return setExtensions(extensions, privateuse); in setExtensions()
283 private InternalLocaleBuilder setExtensions(List<String> bcpExtensions, String privateuse) { in setExtensions() argument
304 if (privateuse != null && privateuse.length() > 0) { in setExtensions()
309 _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()
2096 t->privateuse = T_CString_toLowerCase(pPrivuseVal); in ultag_parse()
2293 return langtag->privateuse; in ultag_getPrivateUse()