/libcore/ojluni/src/main/java/sun/util/locale/ |
InternalLocaleBuilder.java | 44 = new CaseInsensitiveChar(LanguageTag.PRIVATEUSE); 63 if (!LanguageTag.isLanguage(language)) { 75 if (!LanguageTag.isScript(script)) { 87 if (!LanguageTag.isRegion(region)) { 100 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); 146 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); 148 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); 169 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); 170 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { 193 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP) [all...] |
Extension.java | 50 this.id = key + LanguageTag.SEP + value;
|
UnicodeLocaleExtension.java | 75 sb.append(LanguageTag.SEP).append(attribute); 81 sb.append(LanguageTag.SEP).append(key); 83 sb.append(LanguageTag.SEP).append(value);
|
LocaleExtensions.java | 90 if (LanguageTag.isPrivateusePrefixChar(key)) { 187 return LanguageTag.isExtensionSingletonChar(c) || LanguageTag.isPrivateusePrefixChar(c); 200 if (LanguageTag.isPrivateusePrefixChar(singleton)) { 204 buf.append(LanguageTag.SEP); 211 buf.append(LanguageTag.SEP);
|
LanguageTag.java | 41 public class LanguageTag { 133 private LanguageTag() { 181 public static LanguageTag parse(String languageTag, ParseStatus sts) { 191 String[] gfmap = GRANDFATHERED.get(LocaleUtils.toLowerString(languageTag)); 196 itr = new StringTokenIterator(languageTag, SEP); 199 LanguageTag tag = new LanguageTag(); 416 public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) { 417 LanguageTag tag = new LanguageTag() [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
InternalLocaleBuilder.java | 30 private static final CaseInsensitiveChar PRIVUSE_KEY = new CaseInsensitiveChar(LanguageTag.PRIVATEUSE.charAt(0)); 44 if (!LanguageTag.isLanguage(language)) { 56 if (!LanguageTag.isScript(script)) { 68 if (!LanguageTag.isRegion(region)) { 81 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); 127 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); 129 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); 148 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); 149 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { 172 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP) [all...] |
Extension.java | 38 return _key + LanguageTag.SEP + _value;
|
UnicodeLocaleExtension.java | 63 sb.append(LanguageTag.SEP).append(attribute); 69 sb.append(LanguageTag.SEP).append(key); 71 sb.append(LanguageTag.SEP).append(value); 114 int idx = s.indexOf(LanguageTag.SEP, startIdx);
|
LocaleExtensions.java | 80 if (LanguageTag.isPrivateusePrefixChar(key)) { 174 return LanguageTag.isExtensionSingletonChar(c) || LanguageTag.isPrivateusePrefixChar(c); 187 if (LanguageTag.isPrivateusePrefixChar(singleton)) { 191 buf.append(LanguageTag.SEP); 198 buf.append(LanguageTag.SEP);
|
LanguageTag.java | 22 public class LanguageTag { 116 private LanguageTag() { 164 public static LanguageTag parse(String languageTag, ParseStatus sts) { 175 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); 181 itr = new StringTokenIterator(languageTag, SEP); 184 LanguageTag tag = new LanguageTag(); 201 sts._parseLength = languageTag.length(); 407 public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/locale/ |
InternalLocaleBuilder.java | 26 private static final CaseInsensitiveChar PRIVUSE_KEY = new CaseInsensitiveChar(LanguageTag.PRIVATEUSE.charAt(0)); 40 if (!LanguageTag.isLanguage(language)) { 52 if (!LanguageTag.isScript(script)) { 64 if (!LanguageTag.isRegion(region)) { 77 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); 123 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); 125 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); 144 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); 145 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { 168 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP) [all...] |
Extension.java | 34 return _key + LanguageTag.SEP + _value;
|
UnicodeLocaleExtension.java | 59 sb.append(LanguageTag.SEP).append(attribute); 65 sb.append(LanguageTag.SEP).append(key); 67 sb.append(LanguageTag.SEP).append(value);
|
LocaleExtensions.java | 76 if (LanguageTag.isPrivateusePrefixChar(key)) { 170 return LanguageTag.isExtensionSingletonChar(c) || LanguageTag.isPrivateusePrefixChar(c); 183 if (LanguageTag.isPrivateusePrefixChar(singleton)) { 187 buf.append(LanguageTag.SEP); 194 buf.append(LanguageTag.SEP);
|
LanguageTag.java | 18 public class LanguageTag { 112 private LanguageTag() { 160 public static LanguageTag parse(String languageTag, ParseStatus sts) { 170 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); 175 itr = new StringTokenIterator(languageTag, SEP); 178 LanguageTag tag = new LanguageTag(); 395 public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) { 396 LanguageTag tag = new LanguageTag() [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
InternalLocaleBuilder.java | 26 private static final CaseInsensitiveChar PRIVUSE_KEY = new CaseInsensitiveChar(LanguageTag.PRIVATEUSE.charAt(0)); 40 if (!LanguageTag.isLanguage(language)) { 52 if (!LanguageTag.isScript(script)) { 64 if (!LanguageTag.isRegion(region)) { 77 String var = variant.replaceAll(LanguageTag.SEP, BaseLocale.SEP); 123 String tp = type.replaceAll(BaseLocale.SEP, LanguageTag.SEP); 125 StringTokenIterator itr = new StringTokenIterator(tp, LanguageTag.SEP); 144 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton); 145 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) { 168 String val = value.replaceAll(BaseLocale.SEP, LanguageTag.SEP) [all...] |
Extension.java | 34 return _key + LanguageTag.SEP + _value;
|
UnicodeLocaleExtension.java | 59 sb.append(LanguageTag.SEP).append(attribute); 65 sb.append(LanguageTag.SEP).append(key); 67 sb.append(LanguageTag.SEP).append(value); 110 int idx = s.indexOf(LanguageTag.SEP, startIdx);
|
LocaleExtensions.java | 76 if (LanguageTag.isPrivateusePrefixChar(key)) { 170 return LanguageTag.isExtensionSingletonChar(c) || LanguageTag.isPrivateusePrefixChar(c); 183 if (LanguageTag.isPrivateusePrefixChar(singleton)) { 187 buf.append(LanguageTag.SEP); 194 buf.append(LanguageTag.SEP);
|
LanguageTag.java | 18 public class LanguageTag { 112 private LanguageTag() { 160 public static LanguageTag parse(String languageTag, ParseStatus sts) { 171 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); 177 itr = new StringTokenIterator(languageTag, SEP); 180 LanguageTag tag = new LanguageTag(); 197 sts._parseLength = languageTag.length(); 403 public static LanguageTag parseLocale(BaseLocale baseLocale, LocaleExtensions localeExtensions) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Locale.java | 54 import sun.util.locale.LanguageTag; [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
ULocale.java | 35 import com.ibm.icu.impl.locale.LanguageTag; [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
ULocale.java | 43 import android.icu.impl.locale.LanguageTag; 555 if (userScript != null && LanguageTag.isScript(userScript)) { [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ULocale.java | 42 import com.ibm.icu.impl.locale.LanguageTag; 599 if (userScript != null && LanguageTag.isScript(userScript)) { [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecController.java | 39 import sun.util.locale.LanguageTag; 349 if (!LanguageTag.isLanguage(language)) {
|