Home
last modified time | relevance | path

Searched refs:canonicalPrimaryID (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICULocaleService.java190 String canonicalPrimaryID = ULocale.getName(primaryID); in createWithCanonicalFallback() local
191 return new LocaleKey(primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
201 String canonicalPrimaryID = locale.getName(); in createWithCanonical() local
202 return new LocaleKey(canonicalPrimaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonical()
211 …protected LocaleKey(String primaryID, String canonicalPrimaryID, String canonicalFallbackID, int k… in LocaleKey() argument
215 if (canonicalPrimaryID == null || canonicalPrimaryID.equalsIgnoreCase("root")) { in LocaleKey()
219 int idx = canonicalPrimaryID.indexOf('@'); in LocaleKey()
220 if (idx == 4 && canonicalPrimaryID.regionMatches(true, 0, "root", 0, 4)) { in LocaleKey()
221 this.primaryID = canonicalPrimaryID.substring(4); in LocaleKey()
225 this.primaryID = canonicalPrimaryID; in LocaleKey()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICULocaleService.java185 String canonicalPrimaryID = ULocale.getName(primaryID); in createWithCanonicalFallback() local
186 return new LocaleKey(primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
196 String canonicalPrimaryID = locale.getName(); in createWithCanonical() local
197 return new LocaleKey(canonicalPrimaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonical()
206 …protected LocaleKey(String primaryID, String canonicalPrimaryID, String canonicalFallbackID, int k… in LocaleKey() argument
210 if (canonicalPrimaryID == null || canonicalPrimaryID.equalsIgnoreCase("root")) { in LocaleKey()
214 int idx = canonicalPrimaryID.indexOf('@'); in LocaleKey()
215 if (idx == 4 && canonicalPrimaryID.regionMatches(true, 0, "root", 0, 4)) { in LocaleKey()
216 this.primaryID = canonicalPrimaryID.substring(4); in LocaleKey()
220 this.primaryID = canonicalPrimaryID; in LocaleKey()
/external/icu/icu4c/source/common/
Dservlk.cpp47 UnicodeString canonicalPrimaryID; in createWithCanonicalFallback() local
48 LocaleUtility::canonicalLocaleString(primaryID, canonicalPrimaryID); in createWithCanonicalFallback()
49 return new LocaleKey(*primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
53 const UnicodeString& canonicalPrimaryID, in LocaleKey() argument
58 , _primaryID(canonicalPrimaryID) in LocaleKey()
Dservloc.h101 const UnicodeString& canonicalPrimaryID,