Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DInternalLocaleBuilder.java24 …private static final CaseInsensitiveChar PRIVUSE_KEY = new CaseInsensitiveChar(LanguageTag.PRIVATE…
38 if (!LanguageTag.isLanguage(language)) { in setLanguage()
50 if (!LanguageTag.isScript(script)) { in setScript()
62 if (!LanguageTag.isRegion(region)) { in setRegion()
75 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); in setVariant()
121 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setUnicodeLocaleKeyword()
123 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); in setUnicodeLocaleKeyword()
142 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); in setExtension()
143 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { in setExtension()
166 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP); in setExtension()
[all …]
DLocaleExtensions.java74 if (LanguageTag.isPrivateusePrefixChar(key)) { in LocaleExtensions()
168 return LanguageTag.isExtensionSingletonChar(c) || LanguageTag.isPrivateusePrefixChar(c); in isValidKey()
181 if (LanguageTag.isPrivateusePrefixChar(singleton)) { in toID()
185 buf.append(LanguageTag.SEP); in toID()
192 buf.append(LanguageTag.SEP); in toID()
DUnicodeLocaleExtension.java57 sb.append(LanguageTag.SEP).append(attribute); in UnicodeLocaleExtension()
63 sb.append(LanguageTag.SEP).append(key); in UnicodeLocaleExtension()
65 sb.append(LanguageTag.SEP).append(value); in UnicodeLocaleExtension()
108 int idx = s.indexOf(LanguageTag.SEP, startIdx); in isType()
DLanguageTag.java16 public class LanguageTag { class
110 private LanguageTag() { in LanguageTag() method in LanguageTag
158 public static LanguageTag parse(String languageTag, ParseStatus sts) { in parse()
178 LanguageTag tag = new LanguageTag(); in parse()
401 … public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) { in parseLocale()
402 LanguageTag tag = new LanguageTag(); in parseLocale()
DExtension.java32 return _key + LanguageTag.SEP + _value; in getID()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java39 import com.ibm.icu.impl.locale.LanguageTag;
590 if (userScript != null && LanguageTag.isScript(userScript)) {
3237 LanguageTag tag = LanguageTag.parseLocale(base, exts); in toLanguageTag()
3242 buf.append(LanguageTag.canonicalizeLanguage(subtag)); in toLanguageTag()
3247 buf.append(LanguageTag.SEP); in toLanguageTag()
3248 buf.append(LanguageTag.canonicalizeScript(subtag)); in toLanguageTag()
3253 buf.append(LanguageTag.SEP); in toLanguageTag()
3254 buf.append(LanguageTag.canonicalizeRegion(subtag)); in toLanguageTag()
3259 buf.append(LanguageTag.SEP); in toLanguageTag()
3260 buf.append(LanguageTag.canonicalizeVariant(s)); in toLanguageTag()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...