/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 381 getCDFInstance(ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestCharacterIterator() 405 checkLocale(ULocale.forLanguageTag("cs"), CompactStyle.SHORT, CsTestDataShort); in TestCsShort() 410 checkLocale(ULocale.forLanguageTag("sk"), CompactStyle.LONG, SkTestDataLong); in TestSkLong() 415 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.SHORT, SerbianTestDataShort); in TestSerbianShort() 420 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLong); in TestSerbianLong() 425 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLongNegative); in TestSerbianLongNegative() 440 checkLocale(ULocale.forLanguageTag("sw"), CompactStyle.SHORT, SwahiliTestData); in TestSwahiliShort() 445 checkLocale(ULocale.forLanguageTag("sw"), CompactStyle.SHORT, SwahiliTestDataNegative); in TestSwahiliShortNegative() 466 ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestFieldPosition() 478 ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestEquals() [all …]
|
D | IntlTestDateFormatAPI.java | 168 Locale.forLanguageTag("zh-Hans-CN"), in TestAPI() 169 Locale.forLanguageTag("zh-Hant-TW"), in TestAPI() 170 Locale.forLanguageTag("zh-Hant-HK"), in TestAPI() 171 Locale.forLanguageTag("sr-Cyrl-RS"), in TestAPI()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | CompactDecimalFormatTest.java | 378 getCDFInstance(ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestCharacterIterator() 402 checkLocale(ULocale.forLanguageTag("cs"), CompactStyle.SHORT, CsTestDataShort); in TestCsShort() 407 checkLocale(ULocale.forLanguageTag("sk"), CompactStyle.LONG, SkTestDataLong); in TestSkLong() 412 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.SHORT, SerbianTestDataShort); in TestSerbianShort() 417 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLong); in TestSerbianLong() 422 checkLocale(ULocale.forLanguageTag("sr"), CompactStyle.LONG, SerbianTestDataLongNegative); in TestSerbianLongNegative() 437 checkLocale(ULocale.forLanguageTag("sw"), CompactStyle.SHORT, SwahiliTestData); in TestSwahiliShort() 442 checkLocale(ULocale.forLanguageTag("sw"), CompactStyle.SHORT, SwahiliTestDataNegative); in TestSwahiliShortNegative() 463 ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestFieldPosition() 475 ULocale.forLanguageTag("sw"), CompactStyle.SHORT); in TestEquals() [all …]
|
D | IntlTestDateFormatAPI.java | 165 Locale.forLanguageTag("zh-Hans-CN"), in TestAPI() 166 Locale.forLanguageTag("zh-Hant-TW"), in TestAPI() 167 Locale.forLanguageTag("zh-Hant-HK"), in TestAPI() 168 Locale.forLanguageTag("sr-Cyrl-RS"), in TestAPI()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 315 ULocale.forLanguageTag("es"), in notationCompact() 323 ULocale.forLanguageTag("es"), in notationCompact() 482 ULocale.forLanguageTag("brx"), in unitMeasure() 491 ULocale.forLanguageTag("brx"), in unitMeasure() 501 ULocale.forLanguageTag("en-GB"), in unitMeasure() 511 ULocale.forLanguageTag("es-US"), in unitMeasure() 519 ULocale.forLanguageTag("es-US"), in unitMeasure() 527 ULocale.forLanguageTag("es-MX"), in unitMeasure() 538 ULocale.forLanguageTag("es-MX"), in unitMeasure() 686 ULocale.forLanguageTag("en-CA"), in unitCurrency() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberFormatterApiTest.java | 312 ULocale.forLanguageTag("es"), in notationCompact() 320 ULocale.forLanguageTag("es"), in notationCompact() 479 ULocale.forLanguageTag("brx"), in unitMeasure() 488 ULocale.forLanguageTag("brx"), in unitMeasure() 498 ULocale.forLanguageTag("en-GB"), in unitMeasure() 508 ULocale.forLanguageTag("es-US"), in unitMeasure() 516 ULocale.forLanguageTag("es-US"), in unitMeasure() 524 ULocale.forLanguageTag("es-MX"), in unitMeasure() 535 ULocale.forLanguageTag("es-MX"), in unitMeasure() 683 ULocale.forLanguageTag("en-CA"), in unitCurrency() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | BreakIteratorTest.java | 412 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("en-US-u-ss-standard")); in TestFilteredBreakIteratorBuilder() 421 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("af-u-ss-standard")); in TestFilteredBreakIteratorBuilder() 428 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("ja-u-ss-standard")); in TestFilteredBreakIteratorBuilder() 434 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("tfg-u-ss-standard")); in TestFilteredBreakIteratorBuilder()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | BreakIteratorTest.java | 409 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("en-US-u-ss-standard")); in TestFilteredBreakIteratorBuilder() 418 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("af-u-ss-standard")); in TestFilteredBreakIteratorBuilder() 425 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("ja-u-ss-standard")); in TestFilteredBreakIteratorBuilder() 431 … filteredBI = BreakIterator.getSentenceInstance(ULocale.forLanguageTag("tfg-u-ss-standard")); in TestFilteredBreakIteratorBuilder()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/ |
D | KeyboardTest.java | 59 KeyboardId testId = KeyboardId.of(ULocale.forLanguageTag("cs"), Platform.OSX, in testKeyboardId() 103 KeyboardId id = KeyboardId.of(ULocale.forLanguageTag("cs"), Platform.OSX, in testEqualsTrue() 139 KeyboardId id = KeyboardId.of(ULocale.forLanguageTag("cs"), Platform.OSX, in testEqualsFalse()
|
D | KeyboardIdTest.java | 16 assertEquals("", ULocale.forLanguageTag("de-CH"), id.locale()); in testKeyboardId()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CurrencyTest.java | 194 ULocale en_CA = ULocale.forLanguageTag("en-CA"); in TestNames() 195 ULocale en_US = ULocale.forLanguageTag("en-US"); in TestNames() 196 ULocale en_NZ = ULocale.forLanguageTag("en-NZ"); in TestNames() 280 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("en-US")); in TestCurrencyDisplayNames() 292 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("zz-Gggg-YY")); in TestCurrencyDisplayNames() 314 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("zz-Gggg-YY"), true); in TestCurrencyDisplayNames()
|
D | XLocaleMatcherTest.java | 180 …double d = lm.distance(ULocale.forLanguageTag("xx-Xxxx-"+x), ULocale.forLanguageTag("xx-Xxxx-"+y)); in testComputeDistance_monkeyTest()
|
D | LocaleBuilderTest.java | 195 ULocale loc1 = ULocale.forLanguageTag(langtag); in TestLocaleBuilder()
|
D | ULocaleTest.java | 1477 ULocale locale = ULocale.forLanguageTag("de-x-foobar"); in TestDisplayWithKeyword() 4090 Locale loc = Locale.forLanguageTag("ar-EG-u-nu-latn"); in TestForLanguageTagBug13776() 4173 ULocale loc = ULocale.forLanguageTag(tag); in TestForLanguageTag() 4273 ULocale loc = ULocale.forLanguageTag(testcase[0]); in TestExtension() 4298 ULocale l = ULocale.forLanguageTag("en-US-a-exta"); in TestExtension() 4320 ULocale loc = ULocale.forLanguageTag(testcase[0]); in TestUnicodeLocaleExtension() 4373 ULocale l = ULocale.forLanguageTag("en-US-u-ca-gregory"); in TestUnicodeLocaleExtension()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CurrencyTest.java | 191 ULocale en_CA = ULocale.forLanguageTag("en-CA"); in TestNames() 192 ULocale en_US = ULocale.forLanguageTag("en-US"); in TestNames() 193 ULocale en_NZ = ULocale.forLanguageTag("en-NZ"); in TestNames() 277 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("en-US")); in TestCurrencyDisplayNames() 289 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("zz-Gggg-YY")); in TestCurrencyDisplayNames() 311 cdn = CurrencyDisplayNames.getInstance(ULocale.forLanguageTag("zz-Gggg-YY"), true); in TestCurrencyDisplayNames()
|
D | XLocaleMatcherTest.java | 177 …double d = lm.distance(ULocale.forLanguageTag("xx-Xxxx-"+x), ULocale.forLanguageTag("xx-Xxxx-"+y)); in testComputeDistance_monkeyTest()
|
D | LocaleBuilderTest.java | 192 ULocale loc1 = ULocale.forLanguageTag(langtag); in TestLocaleBuilder()
|
D | ULocaleTest.java | 1474 ULocale locale = ULocale.forLanguageTag("de-x-foobar"); in TestDisplayWithKeyword() 4087 Locale loc = Locale.forLanguageTag("ar-EG-u-nu-latn"); in TestForLanguageTagBug13776() 4170 ULocale loc = ULocale.forLanguageTag(tag); in TestForLanguageTag() 4270 ULocale loc = ULocale.forLanguageTag(testcase[0]); in TestExtension() 4295 ULocale l = ULocale.forLanguageTag("en-US-a-exta"); in TestExtension() 4317 ULocale loc = ULocale.forLanguageTag(testcase[0]); in TestUnicodeLocaleExtension() 4370 ULocale l = ULocale.forLanguageTag("en-US-u-ca-gregory"); in TestUnicodeLocaleExtension()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | XLocaleMatcherTest.java | 168 …double d = lm.distance(ULocale.forLanguageTag("xx-Xxxx-" + x), ULocale.forLanguageTag("xx-Xxxx-" +… in testComputeDistance_monkeyTest()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | LocalizedNumberFormatterAsFormat.java | 146 .locale(ULocale.forLanguageTag(languageTag)) in readResolve()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | LocalizedNumberFormatterAsFormat.java | 144 .locale(ULocale.forLanguageTag(languageTag)) in readResolve()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | KeyboardIdMap.java | 55 ULocale locale = ULocale.forLanguageTag(components.get(1)); in fromCsv()
|
D | KeyboardId.java | 58 ULocale locale = ULocale.forLanguageTag(localeString); in fromString()
|
/external/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 1890 Locale l = Locale::forLanguageTag(tag, status); in TestGetKeywordValueStdString() 2966 Locale result_en = Locale::forLanguageTag(tag_en, status); in TestForLanguageTag() 2970 Locale result_oed = Locale::forLanguageTag(tag_oed, status); in TestForLanguageTag() 2974 Locale result_af = Locale::forLanguageTag(tag_af, status); in TestForLanguageTag() 2978 Locale result_ill = Locale::forLanguageTag(tag_ill, status); in TestForLanguageTag() 2982 Locale result_null = Locale::forLanguageTag(nullptr, status); in TestForLanguageTag() 2987 Locale result_substr = Locale::forLanguageTag(sp_substr, status); in TestForLanguageTag() 2993 Locale result_no_nul = Locale::forLanguageTag(sp_no_nul, status); in TestForLanguageTag() 3149 Locale l = Locale::forLanguageTag(tag, status); in TestBug13417VeryLongLanguageTag()
|
/external/icu/icu4c/source/common/unicode/ |
D | locid.h | 410 static Locale U_EXPORT2 forLanguageTag(StringPiece tag, UErrorCode& status);
|