Home
last modified time | relevance | path

Searched refs:LocaleKey (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/common/
Dservlk.cpp30 LocaleKey*
31 LocaleKey::createWithCanonicalFallback(const UnicodeString* primaryID, in createWithCanonicalFallback()
35 return LocaleKey::createWithCanonicalFallback(primaryID, canonicalFallbackID, KIND_ANY, status); in createWithCanonicalFallback()
38 LocaleKey*
39 LocaleKey::createWithCanonicalFallback(const UnicodeString* primaryID, in createWithCanonicalFallback()
49 return new LocaleKey(*primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
52 LocaleKey::LocaleKey(const UnicodeString& primaryID, in LocaleKey() function in LocaleKey
72 LocaleKey::~LocaleKey() {} in ~LocaleKey()
75 LocaleKey::prefix(UnicodeString& result) const { in prefix()
86 LocaleKey::kind() const { in kind()
[all …]
Dservls.cpp48 return get(locale, LocaleKey::KIND_ANY, NULL, status); in get()
60 return get(locale, LocaleKey::KIND_ANY, actualReturn, status); in get()
101 return registerInstance(objToAdopt, loc, LocaleKey::KIND_ANY, in registerInstance()
108 …return registerInstance(objToAdopt, locale, LocaleKey::KIND_ANY, LocaleKeyFactory::VISIBLE, status… in registerInstance()
132 …return registerInstance(objToAdopt, locale, LocaleKey::KIND_ANY, LocaleKeyFactory::VISIBLE, status…
138 return registerInstance(objToAdopt, locale, LocaleKey::KIND_ANY,
281 return LocaleKey::createWithCanonicalFallback(id, &validateFallbackLocale(), status); in createKey()
287 return LocaleKey::createWithCanonicalFallback(id, &validateFallbackLocale(), kind, status); in createKey()
Dservloc.h44 class LocaleKey;
66 class U_COMMON_API LocaleKey : public ICUServiceKey {
81 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID,
88 static LocaleKey* createWithCanonicalFallback(const UnicodeString* primaryID,
100 LocaleKey(const UnicodeString& primaryID,
169 virtual ~LocaleKey();
Dservslkf.cpp67 const LocaleKey& lkey = (const LocaleKey&)key; in create()
68 if (_kind == LocaleKey::KIND_ANY || _kind == lkey.kind()) { in create()
Dservlkf.cpp50 const LocaleKey& lkey = (const LocaleKey&)key; in create()
Dbrkiter.cpp261 LocaleKey& lkey = (LocaleKey&)key; in handleDefault()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICULocaleService.java45 return get(locale, LocaleKey.KIND_ANY, null); in get()
61 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get()
94 return registerObject(obj, locale, LocaleKey.KIND_ANY, true); in registerObject()
103 return registerObject(obj, locale, LocaleKey.KIND_ANY, visible); in registerObject()
167 public static class LocaleKey extends ICUService.Key { class in ICULocaleService
179 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID) { in createWithCanonicalFallback()
186 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID, … in createWithCanonicalFallback()
191 return new LocaleKey(primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
197 …public static LocaleKey createWithCanonical(ULocale locale, String canonicalFallbackID, int kind) { in createWithCanonical()
202 return new LocaleKey(canonicalPrimaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonical()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICULocaleService.java41 return get(locale, LocaleKey.KIND_ANY, null); in get()
57 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get()
90 return registerObject(obj, locale, LocaleKey.KIND_ANY, true); in registerObject()
99 return registerObject(obj, locale, LocaleKey.KIND_ANY, visible); in registerObject()
162 public static class LocaleKey extends ICUService.Key { class in ICULocaleService
174 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID) { in createWithCanonicalFallback()
181 …public static LocaleKey createWithCanonicalFallback(String primaryID, String canonicalFallbackID, … in createWithCanonicalFallback()
186 return new LocaleKey(primaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonicalFallback()
192 …public static LocaleKey createWithCanonical(ULocale locale, String canonicalFallbackID, int kind) { in createWithCanonical()
197 return new LocaleKey(canonicalPrimaryID, canonicalPrimaryID, canonicalFallbackID, kind); in createWithCanonical()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormatServiceShim.java18 import android.icu.impl.ICULocaleService.LocaleKey;
54 if (!handlesKey(key) || !(key instanceof LocaleKey)) { in create()
58 LocaleKey lkey = (LocaleKey)key; in create()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormatServiceShim.java17 import com.ibm.icu.impl.ICULocaleService.LocaleKey;
53 if (!handlesKey(key) || !(key instanceof LocaleKey)) { in create()
57 LocaleKey lkey = (LocaleKey)key; in create()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java32 import com.ibm.icu.impl.ICULocaleService.LocaleKey;
107 return LocaleKey.createWithCanonicalFallback(id, null); // no fallback locale in createKey()
697 target = service.get(de_US, LocaleKey.KIND_ANY); in TestLocale()
709 target = service.get(de_US, LocaleKey.KIND_ANY, actualReturn); in TestLocale()
729 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en", null, 1234); in TestLocale()
941 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en_US", "ja_JP"); in TestCoverage()
944 lkey = LocaleKey.createWithCanonicalFallback(null, null); in TestCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceTest.java33 import android.icu.impl.ICULocaleService.LocaleKey;
110 return LocaleKey.createWithCanonicalFallback(id, null); // no fallback locale in createKey()
700 target = service.get(de_US, LocaleKey.KIND_ANY); in TestLocale()
712 target = service.get(de_US, LocaleKey.KIND_ANY, actualReturn); in TestLocale()
732 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en", null, 1234); in TestLocale()
944 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en_US", "ja_JP"); in TestCoverage()
947 lkey = LocaleKey.createWithCanonicalFallback(null, null); in TestCoverage()
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp117 return LocaleKey::createWithCanonicalFallback(id, NULL, status); // no fallback locale in createKey()
501 return LocaleKey::createWithCanonicalFallback(id, NULL, status); // no fallback locale in createKey()
1063 UnicodeString* target = (UnicodeString*)service.get("de_US", LocaleKey::KIND_ANY, status); in testLocale()
1087 …UnicodeString* target = (UnicodeString*)service.get("de_US", LocaleKey::KIND_ANY, &actualReturn, s… in testLocale()
1133 LocaleKey* lkey = LocaleKey::createWithCanonicalFallback(&english, NULL, 1234, status); in testLocale()
1388 LocaleKey* key = LocaleKey::createWithCanonicalFallback(&primary, &fallback, status); in testCoverage()
1390 if (key->getDynamicClassID() != LocaleKey::getStaticClassID()) { in testCoverage()
1413 key = LocaleKey::createWithCanonicalFallback(&primary, &fallback, status); in testCoverage()
1439 key = LocaleKey::createWithCanonicalFallback(&primary, &fallback, 123, status); in testCoverage()
1460 key = LocaleKey::createWithCanonicalFallback(&primary, &fallback, status); in testCoverage()
Duobjtest.cpp486 …TESTCLASSID_FACTORY(LocaleKey, LocaleKey::createWithCanonicalFallback(&baz, &bat, LocaleKey::KIND_… in testIDs()
/external/icu/icu4c/source/i18n/
Dcoll.cpp140 const LocaleKey& lkey = (const LocaleKey&)key; in create()
170 LocaleKey& lkey = (LocaleKey&)key; in handleDefault()
751 const LocaleKey& lkey = (const LocaleKey&)key; in create()
Dcalendar.cpp437 if(dynamic_cast<const LocaleKey*>(&key) == NULL) { in create()
441 const LocaleKey& lkey = (LocaleKey&)key; in create()
483 LocaleKey &lkey = (LocaleKey&)key; in create()
527 LocaleKey& lkey = (LocaleKey&)key; in handleDefault()
879 u = getCalendarService(success)->get(aLocale, LocaleKey::KIND_ANY, &actualLoc, success); in makeInstance()
914 … c = (Calendar*)getCalendarService(success)->get(l, LocaleKey::KIND_ANY, &actualLoc2, success); in makeInstance()
Dnumfmt.cpp891 const LocaleKey& lkey = (const LocaleKey&)key; in create()
952 LocaleKey& lkey = (LocaleKey&)key; in handleDefault()
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...