Searched refs:AsciiUtil (Results 1 – 12 of 12) sorted by relevance
29 _language = AsciiUtil.toLowerString(language).intern(); in BaseLocale()32 _script = AsciiUtil.toTitleString(script).intern(); in BaseLocale()35 _region = AsciiUtil.toUpperString(region).intern(); in BaseLocale()42 _variant = AsciiUtil.toUpperString(variant).intern(); in BaseLocale()50 if (AsciiUtil.caseIgnoreMatch(language, "he")) { in getInstance()52 } else if (AsciiUtil.caseIgnoreMatch(language, "yi")) { in getInstance()54 } else if (AsciiUtil.caseIgnoreMatch(language, "id")) { in getInstance()172 && AsciiUtil.caseIgnoreMatch(((Key)obj)._lang, this._lang) in equals()173 && AsciiUtil.caseIgnoreMatch(((Key)obj)._scrt, this._scrt) in equals()174 && AsciiUtil.caseIgnoreMatch(((Key)obj)._regn, this._regn) in equals()[all …]
41 private static final Map<AsciiUtil.CaseInsensitiveKey, String[]> GRANDFATHERED =42 new HashMap<AsciiUtil.CaseInsensitiveKey, String[]>();106 GRANDFATHERED.put(new AsciiUtil.CaseInsensitiveKey(e[0]), e); in GRANDFATHERED.put()169 String[] gfmap = GRANDFATHERED.get(new AsciiUtil.CaseInsensitiveKey(languageTag)); in parse()479 prvv = AsciiUtil.toLowerString(prvv); in parseLocale()576 return (s.length() >= 2) && (s.length() <= 8) && AsciiUtil.isAlphaString(s); in isLanguage()582 return (s.length() == 3) && AsciiUtil.isAlphaString(s); in isExtlang()587 return (s.length() == 4) && AsciiUtil.isAlphaString(s); in isScript()593 return ((s.length() == 2) && AsciiUtil.isAlphaString(s)) in isRegion()594 || ((s.length() == 3) && AsciiUtil.isNumericString(s)); in isRegion()[all …]
29 return AsciiUtil.toLowerString(value); in canonicalize()83 key = AsciiUtil.toLowerString(key); in toBcpKey()92 key = AsciiUtil.toLowerString(key); in toLegacyKey()110 key = AsciiUtil.toLowerString(key); in toBcpType()111 type = AsciiUtil.toLowerString(type); in toBcpType()147 key = AsciiUtil.toLowerString(key); in toLegacyType()148 type = AsciiUtil.toLowerString(type); in toLegacyType()322 typeDataMap.put(AsciiUtil.toLowerString(legacyTypeId), t); in initFromResourceBundle()324 typeDataMap.put(AsciiUtil.toLowerString(bcpTypeId), t); in initFromResourceBundle()332 typeDataMap.put(AsciiUtil.toLowerString(alias), t); in initFromResourceBundle()[all …]
71 char key = AsciiUtil.toLower(ext.getKey().value()); in LocaleExtensions()82 Extension e = new Extension(key, AsciiUtil.toLowerString(value)); in LocaleExtensions()94 uaset.add(AsciiUtil.toLowerString(cis.value())); in LocaleExtensions()101 String key = AsciiUtil.toLowerString(kwd.getKey().value()); in LocaleExtensions()102 String type = AsciiUtil.toLowerString(kwd.getValue()); in LocaleExtensions()125 return _map.get(Character.valueOf(AsciiUtil.toLower(key.charValue()))); in getExtension()129 Extension ext = _map.get(Character.valueOf(AsciiUtil.toLower(key.charValue()))); in getExtensionValue()160 …return ((UnicodeLocaleExtension)ext).getUnicodeLocaleType(AsciiUtil.toLowerString(unicodeLocaleKey… in getUnicodeLocaleType()
9 public final class AsciiUtil { class34 return AsciiUtil.toLowerString(s1).compareTo(AsciiUtil.toLowerString(s2)); in caseIgnoreCompare()166 _hash = AsciiUtil.toLowerString(key).hashCode(); in CaseInsensitiveKey()174 return AsciiUtil.caseIgnoreMatch(_key, ((CaseInsensitiveKey)o)._key); in equals()
85 return (SINGLETON == AsciiUtil.toLower(c)); in isSingletonChar()90 return (s.length() >= 3) && (s.length() <= 8) && AsciiUtil.isAlphaNumericString(s); in isAttribute()95 return (s.length() == 2) && AsciiUtil.isAlphaNumericString(s); in isKey()100 return (s.length() >= 3) && (s.length() <= 8) && AsciiUtil.isAlphaNumericString(s); in isTypeSubtag()
474 … if (AsciiUtil.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { in getBaseLocale()522 if (AsciiUtil.caseIgnoreMatch(itr.current(), LanguageTag.PRIVUSE_VARIANT_PREFIX)) { in removePrivateuseVariant()644 return AsciiUtil.toLowerString(_s).hashCode(); in hashCode()654 return AsciiUtil.caseIgnoreMatch(_s, ((CaseInsensitiveString)obj).value()); in equals()670 return AsciiUtil.toLower(_c); in hashCode()680 return _c == AsciiUtil.toLower(((CaseInsensitiveChar)obj).value()); in equals()
13 import com.ibm.icu.impl.locale.AsciiUtil;20 countryCode = AsciiUtil.toUpperString(countryCode); in getDisplayCountry()31 languageCode = AsciiUtil.toLowerString(languageCode); in getDisplayLanguage()42 scriptCode = AsciiUtil.toTitleString(scriptCode); in getDisplayScript()53 variant = AsciiUtil.toUpperString(variant); in getDisplayVariant()
16 import com.ibm.icu.impl.locale.AsciiUtil;197 append(AsciiUtil.toLower(id[0])); in parseLanguage()204 append(AsciiUtil.toLower(c)); in parseLanguage()246 while(!isTerminatorOrIDSeparator(c = next()) && AsciiUtil.isAlpha(c)) { in parseScript()249 append(AsciiUtil.toUpper(c)); in parseScript()252 append(AsciiUtil.toLower(c)); in parseScript()283 while (!isTerminatorOrIDSeparator(c = next()) && AsciiUtil.isAlpha(c)); in skipScript()312 append(AsciiUtil.toUpper(c)); in parseCountry()428 c = AsciiUtil.toUpper(c); in parseVariant()579 return AsciiUtil.toLowerString(new String(id, start, index-start).trim()); in getKeyword()[all …]
23 import com.ibm.icu.impl.locale.AsciiUtil;475 keyValueName = currencyDisplayInfo.getName(AsciiUtil.toUpperString(value)); in keyValueDisplayName()
34 import com.ibm.icu.impl.locale.AsciiUtil;1813 keyword = AsciiUtil.toLowerString(keyword.trim()); in getDisplayKeywordValueInternal()3418 bcpKey = AsciiUtil.toLowerString(keyword); in toUnicodeLocaleKey()3455 bcpType = AsciiUtil.toLowerString(value); in toUnicodeLocaleType()3485 legacyKey = AsciiUtil.toLowerString(keyword); in toLegacyKey()3531 legacyType = AsciiUtil.toLowerString(value); in toLegacyType()4307 tag = AsciiUtil.toUpperString(tag); in toLocale7()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...