Home
last modified time | relevance | path

Searched refs:lkey (Results 1 – 25 of 36) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DICUServiceTest.java732 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en", null, 1234); in TestLocale() local
733 logln("lkey prefix: " + lkey.prefix()); in TestLocale()
734 logln("lkey descriptor: " + lkey.currentDescriptor()); in TestLocale()
735 logln("lkey current locale: " + lkey.currentLocale()); in TestLocale()
737 lkey.fallback(); in TestLocale()
738 logln("lkey descriptor 2: " + lkey.currentDescriptor()); in TestLocale()
740 lkey.fallback(); in TestLocale()
741 logln("lkey descriptor 3: " + lkey.currentDescriptor()); in TestLocale()
944 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en_US", "ja_JP"); in TestCoverage() local
945 logln("lkey: " + lkey); in TestCoverage()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceTest.java729 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en", null, 1234); in TestLocale() local
730 logln("lkey prefix: " + lkey.prefix()); in TestLocale()
731 logln("lkey descriptor: " + lkey.currentDescriptor()); in TestLocale()
732 logln("lkey current locale: " + lkey.currentLocale()); in TestLocale()
734 lkey.fallback(); in TestLocale()
735 logln("lkey descriptor 2: " + lkey.currentDescriptor()); in TestLocale()
737 lkey.fallback(); in TestLocale()
738 logln("lkey descriptor 3: " + lkey.currentDescriptor()); in TestLocale()
941 LocaleKey lkey = LocaleKey.createWithCanonicalFallback("en_US", "ja_JP"); in TestCoverage() local
942 logln("lkey: " + lkey); in TestCoverage()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dservslkf.cpp67 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
68 if (_kind == LocaleKey::KIND_ANY || _kind == lkey.kind()) { in create()
70 lkey.currentID(keyID); in create()
Dservlkf.cpp50 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
51 int32_t kind = lkey.kind(); in create()
53 lkey.currentLocale(loc); in create()
Dbrkiter.cpp261 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
262 int32_t kind = lkey.kind(); in handleDefault()
264 lkey.currentLocale(loc); in handleDefault()
/third_party/node/deps/icu-small/source/common/
Dservslkf.cpp67 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
68 if (_kind == LocaleKey::KIND_ANY || _kind == lkey.kind()) { in create()
70 lkey.currentID(keyID); in create()
Dservlkf.cpp50 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
51 int32_t kind = lkey.kind(); in create()
53 lkey.currentLocale(loc); in create()
Dbrkiter.cpp262 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
263 int32_t kind = lkey.kind(); in handleDefault()
265 lkey.currentLocale(loc); in handleDefault()
/third_party/icu/icu4c/source/common/
Dservslkf.cpp67 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
68 if (_kind == LocaleKey::KIND_ANY || _kind == lkey.kind()) { in create()
70 lkey.currentID(keyID); in create()
Dservlkf.cpp50 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
51 int32_t kind = lkey.kind(); in create()
53 lkey.currentLocale(loc); in create()
Dbrkiter.cpp262 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
263 int32_t kind = lkey.kind(); in handleDefault()
265 lkey.currentLocale(loc); in handleDefault()
/third_party/skia/third_party/externals/icu/source/common/
Dservslkf.cpp67 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
68 if (_kind == LocaleKey::KIND_ANY || _kind == lkey.kind()) { in create()
70 lkey.currentID(keyID); in create()
Dservlkf.cpp50 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
51 int32_t kind = lkey.kind(); in create()
53 lkey.currentLocale(loc); in create()
Dbrkiter.cpp262 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
263 int32_t kind = lkey.kind(); in handleDefault()
265 lkey.currentLocale(loc); in handleDefault()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICULocaleService.java380 LocaleKey lkey = (LocaleKey)key; in create() local
381 int kind = lkey.kind(); in create()
383 ULocale uloc = lkey.currentLocale(); in create()
505 LocaleKey lkey = (LocaleKey)key; in create() local
506 if (kind != LocaleKey.KIND_ANY && kind != lkey.kind()) { in create()
509 if (!id.equals(lkey.currentID())) { in create()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICULocaleService.java386 LocaleKey lkey = (LocaleKey)key; in create() local
387 int kind = lkey.kind(); in create()
389 ULocale uloc = lkey.currentLocale(); in create()
512 LocaleKey lkey = (LocaleKey)key; in create() local
513 if (kind != LocaleKey.KIND_ANY && kind != lkey.kind()) { in create()
516 if (!id.equals(lkey.currentID())) { in create()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormatServiceShim.java57 LocaleKey lkey = (LocaleKey)key; in create() local
58 Object result = delegate.createFormat(lkey.canonicalLocale(), lkey.kind()); in create()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DNumberFormatServiceShim.java58 LocaleKey lkey = (LocaleKey)key; in create() local
59 Object result = delegate.createFormat(lkey.canonicalLocale(), lkey.kind()); in create()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcoll.cpp140 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
145 lkey.canonicalLocale(loc); in create()
170 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
178 lkey.canonicalLocale(loc); in handleDefault()
751 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
753 lkey.currentLocale(validLoc); in create()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcoll.cpp140 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
145 lkey.canonicalLocale(loc); in create()
170 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
178 lkey.canonicalLocale(loc); in handleDefault()
749 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
751 lkey.currentLocale(validLoc); in create()
/third_party/node/deps/icu-small/source/i18n/
Dcoll.cpp140 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
145 lkey.canonicalLocale(loc); in create()
170 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
178 lkey.canonicalLocale(loc); in handleDefault()
749 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
751 lkey.currentLocale(validLoc); in create()
Dnumfmt.cpp890 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
892 lkey.canonicalLocale(loc); in create()
893 int32_t kind = lkey.kind(); in create()
951 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
952 int32_t kind = lkey.kind(); in handleDefault()
954 lkey.currentLocale(loc); in handleDefault()
/third_party/icu/icu4c/source/i18n/
Dcoll.cpp140 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
145 lkey.canonicalLocale(loc); in create()
170 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
178 lkey.canonicalLocale(loc); in handleDefault()
749 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
751 lkey.currentLocale(validLoc); in create()
Dnumfmt.cpp890 const LocaleKey& lkey = (const LocaleKey&)key; in create() local
892 lkey.canonicalLocale(loc); in create()
893 int32_t kind = lkey.kind(); in create()
951 LocaleKey& lkey = (LocaleKey&)key; in handleDefault() local
952 int32_t kind = lkey.kind(); in handleDefault()
954 lkey.currentLocale(loc); in handleDefault()
/third_party/icu/icu4c/source/test/intltest/
Dicusvtst.cpp1133 LocaleKey* lkey = LocaleKey::createWithCanonicalFallback(&english, NULL, 1234, status); in testLocale() local
1134 logln("lkey prefix: " + lkey->prefix(result)); in testLocale()
1136 logln("lkey descriptor: " + lkey->currentDescriptor(result)); in testLocale()
1138 logln(UnicodeString("lkey current locale: ") + lkey->currentLocale(localeResult).getName()); in testLocale()
1141 lkey->fallback(); in testLocale()
1142 logln("lkey descriptor 2: " + lkey->currentDescriptor(result)); in testLocale()
1145 lkey->fallback(); in testLocale()
1146 logln("lkey descriptor 3: " + lkey->currentDescriptor(result)); in testLocale()
1148 delete lkey; // tentatively weiv in testLocale()

12