Home
last modified time | relevance | path

Searched +full:zh +full:- +full:hant (Results 1 – 25 of 712) sorted by relevance

12345678910>>...29

/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestFallbackIterator.java18 … "zh-TW-foobar-variant, zh-Hant-TW-foobar-variant, zh-Hant-TW-foobar, zh-Hant-TW, zh-Hant, zh", in TestSimpleFallbacks()
19 … "zh-HK-foobar-variant, zh-Hant-HK-foobar-variant, zh-Hant-HK-foobar, zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks()
20 "zh-HK, zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks()
21 "zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks()
22 "zh-Hans-HK, zh-Hans, zh", in TestSimpleFallbacks()
23 "zh-Hant-SG, zh-Hant, zh", in TestSimpleFallbacks()
24 "zh-Hans-SG, zh-Hans, zh", in TestSimpleFallbacks()
25 "zh-SG, zh-Hans-SG, zh-Hans, zh", in TestSimpleFallbacks()
26 "zh-US, zh-Hans-US, zh-Hans, zh", in TestSimpleFallbacks()
27 "zh-US-foobar, zh-Hans-US-foobar, zh-Hans-US, zh-Hans, zh", in TestSimpleFallbacks()
[all …]
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DDistanceTableTest.java21 assertThat(getTrieTable(table)).containsExactly("en-en", 23); in testSimpleMapping()
33 "nb-no", 1, in testReverseMapping()
34 "no-nb", 1) in testReverseMapping()
42 builder.addDistance(2, true, "zh", "zh", "Hant", "Hant", "1", "1"); in testMinRegionDistance()
43 builder.addDistance(4, true, "zh", "zh", "Hant", "Hant", "2", "2"); in testMinRegionDistance()
44 builder.addDistance(6, true, "zh", "zh", "Hant", "Hant", "*", "*"); in testMinRegionDistance()
49 "zh-zh", 0, // Equal locales have zero distance. in testMinRegionDistance()
50 "zh-zh-*-*", 50, // Default unknown script distance in testMinRegionDistance()
51 "zh-zh-Hant-Hant", 0, in testMinRegionDistance()
53 "zh-zh-Hant-Hant-*-*", 6, in testMinRegionDistance()
[all …]
DLocaleDistanceMapperTest.java54 // 1: American vs non-American and British English in testEndToEnd()
65 // otherwise equal). DTD ordering will not re-order this data. in testEndToEnd()
66 languageMatch("yue", "zh", 10, true, ++idx), in testEndToEnd()
96 likelySubtag("zh", "zh_Hans_CN"), in testEndToEnd()
106 alias(LANGUAGE, MACRO, "cmn", "zh"), in testEndToEnd()
123 territoryGroup("035", "PH", "SG", "TH", "VN"), // South-Eastern Asia in testEndToEnd()
132 assertThat(icuData).hasValuesFor("likely/languageAliases", "cmn", "zh"); in testEndToEnd()
135 // LSR values come in (language, script, region) tuples. They are the mapped-to in testEndToEnd()
141 "zh", "Hans", "CN", in testEndToEnd()
142 "zh", "Hant", "TW", in testEndToEnd()
[all …]
DLikelySubtagsBuilderTest.java38 // Non-simple languages with script, region or other extensions are ignored. in testLanguageAliases()
40 alias(LANGUAGE, LEGACY, "i-default", "en-x-i-default"))); in testLanguageAliases()
68 likelySubtag("zh", "zh_Hans_CN"), in testLikelySubtags()
76 lsr("skip-script"), in testLikelySubtags()
78 lsr("en-Latn-US"), in testLikelySubtags()
79 lsr("pt-Latn-BR"), in testLikelySubtags()
80 lsr("zh-Hans-CN"), in testLikelySubtags()
81 lsr("zh-Hant-TW")) in testLikelySubtags()
84 // Order is by "subtag" (left-to-right) with lexicographical order of tags (other in testLikelySubtags()
89 "*-*-*", lsr("en-Latn-US"), in testLikelySubtags()
[all …]
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DFallbackIterator.java81 "art-lojban;jbo",
82 "cel-gaulish;xcg", // Special replacement: cel-gaulish
83 "en-GB-oed;en-GB-x-oed", // Special replacement: en-GB-oed
84 "i-ami;ami",
85 "i-bnn;bnn",
86 "i-default;und", // Special replacement: i-default
87 "i-enochian;x-enochian", // Special replacement: i-enochian
88 "i-hak;zh-hakka",
89 "i-klingon;tlh",
90 "i-lux;lb",
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/data/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
DlocaleDistanceTest.txt4 # Data-driven test for XLocaleDistance.
12 en-CA ; en-CA ; 0
13 ar-MK ; en-CA ; 100
16 zh ; cmn ; 0
22 no ; no-DE ; 4
24 no-DE ; nn ; 24
27 da ; zh-Hant ; 100
28 zh-Hant ; zh-Hans ; 100 ; 100
29 zh-Hans ; en ; 100
31 en-US ; en-AU ; 5 # across clusters
[all …]
/external/cronet/third_party/icu/source/test/testdata/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/data/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
DlocaleDistanceTest.txt4 # Data-driven test for XLocaleDistance.
12 en-CA ; en-CA ; 0
13 ar-MK ; en-CA ; 100
16 zh ; cmn ; 0
22 no ; no-DE ; 4
24 no-DE ; nn ; 24
27 da ; zh-Hant ; 100
28 zh-Hant ; zh-Hans ; 100 ; 100
29 zh-Hans ; en ; 100
31 en-US ; en-AU ; 5 # across clusters
[all …]
/external/icu/icu4c/source/test/testdata/
DlocaleMatcherTest.txt4 # Data-driven test for the language/locale matcher.
11 # @supported=<comma-separated supported languages>
17 # <comma-separated desired languages> >> match | desired | combined
18 # - match is the expected best supported language
19 # - desired is the expected best desired language
20 # - combined is the expected result of combine(match, desired)
30 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
32 @supported=es-419, es-ES
33 es-AR >> es-419
34 @supported=es-ES, es-419
[all …]
/external/cldr/tools/cldr-code/src/test/resources/org/unicode/cldr/unittest/data/
DlocaleMatcherTest.txt1 # Data-driven test for the XLocaleMatcher.
15 # es-419, es-AR, and es-MX are in a cluster; es is in a different one
17 es-419, es-ES ; es-AR ; es-419
18 es-ES, es-419 ; es-AR ; es-419
20 es-419, es ; es-AR ; es-419
21 es, es-419 ; es-AR ; es-419
23 es-MX, es ; es-AR ; es-MX
24 es, es-MX ; es-AR ; es-MX
26 # en-GB, en-AU, and en-NZ are in a cluster; en in a different one
28 en-GB, en-US ; en-AU ; en-GB
[all …]
DlocaleDistanceTest.txt1 # Data-driven test for XLocaleDistance.
9 en-CA ; en-CA ; 0
10 ar-MK ; en-CA ; 100
13 zh ; cmn ; 0
19 no ; no-DE ; 4
21 no-DE ; nn ; 14
24 da ; zh-Hant ; 100
25 zh-Hant ; zh-Hans ; 23 ; 19
26 zh-Hans ; en ; 100
28 en-US ; en-AU ; 5 # across clusters
[all …]
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/external/
Dalternate_language_names.txt28 el ; Modern Greek (1453-)
31 en-GB ; English (GB)
32 en-GB ; English (UK)
33 en-GB ; English_(U.S.)-GB
118 pt-PT ; Iberian Portuguese
119 pt-PT ; Portuguese (Portugal)
120 pt-PT ; Portuguese (PT)
125 ro-MD ; Moldavian
126 ro-MD ; Moldovan
131 sh ; Serbo-Croatian
[all …]
/external/harfbuzz_ng/test/shape/data/in-house/tests/
Dlanguage-tags.tests1 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=fa;U+004A;[gid2=0+1000]
2 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=ja;U+004A;[gid2=0+1000]
3 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh;U+004A;[gid4=0+1000]
4 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-cn;U+004A;[gid4=0+1000]
5 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-sg;U+004A;[gid4=0+1000]
6 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-tw;U+004A;[gid5=0+1000]
7 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-hans;U+004A;[gid4=0+1000]
8 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-hant;U+004A;[gid5=0+1000]
9 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-hant-hk;U+004A;[gid6=0+1000]
10 ../fonts/6991b13ce889466be6de3f66e891de2bc0f117ee.ttf;--language=zh-HK;U+004A;[gid6=0+1000]
[all …]
/external/libtextclassifier/native/utils/i18n/
Dlocale_test.cc8 * http://www.apache.org/licenses/LICENSE-2.0
30 Locale locale = Locale::FromBCP47("en-CH"); in TEST()
38 Locale locale = Locale::FromBCP47("zh-CN"); in TEST()
40 EXPECT_EQ(locale.Language(), "zh"); in TEST()
46 Locale locale = Locale::FromBCP47("zh-Hant-TW"); in TEST()
48 EXPECT_EQ(locale.Language(), "zh"); in TEST()
49 EXPECT_EQ(locale.Script(), "Hant"); in TEST()
62 Locale locale = Locale::FromBCP47("zh-Hant"); in TEST()
64 EXPECT_EQ(locale.Language(), "zh"); in TEST()
65 EXPECT_EQ(locale.Script(), "Hant"); in TEST()
[all …]
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/
DTextClassifierSettingsTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
57 settings -> assertThat(settings.isTemplateIntentFactoryEnabled()).isFalse()); in booleanSetting()
65 settings -> assertThat(settings.getSuggestSelectionMaxRangeLength()).isEqualTo(8)); in intSetting()
73 settings -> assertThat(settings.getLangIdThresholdOverride()).isWithin(EPSILON).of(3.14f)); in floatSetting()
81 settings -> in stringListSetting()
90 settings -> in floatListSetting()
101 "manifest_url_annotator_en", "https://annotator-en", in getLanguageTagsForManifestAndUrlMap()
102 "manifest_url_annotator_en-us", "https://annotator-en-us", in getLanguageTagsForManifestAndUrlMap()
103 "manifest_url_annotator_zh-hant-hk", "https://annotator-zh", in getLanguageTagsForManifestAndUrlMap()
105 settings -> in getLanguageTagsForManifestAndUrlMap()
[all …]
/external/fonttools/Tests/ttLib/tables/
D_l_t_a_g_test.py11 DATA_ = struct.pack(b">LLLHHHHHH", 1, 0, 3, 24 + 0, 2, 24 + 2, 7, 24 + 2, 2) + b"enzh-Hant"
12 TAGS_ = ["en", "zh-Hant", "zh"]
16 self.assertEqual(table.addTag("de-CH"), 0)
17 self.assertEqual(table.addTag("gsw-LI"), 1)
18 self.assertEqual(table.addTag("de-CH"), 0)
19 self.assertEqual(table.tags, ["de-CH", "gsw-LI"])
36 '<LanguageTag tag="sr-Latn"/>'
41 self.assertEqual(["sr-Latn", "fa"], table.tags)
49 '<?xml version="1.0" encoding="UTF-8"?>',
53 '<LanguageTag tag="zh-Hant"/>',
[all …]
/external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/
DlangtagTest.txt1 WELL-FORMED
2 en-GB-oed
3 zh-cmn-Hans
4 no-bok
5 #zh-Hans-HK-SCOUSE-a-foobar-b-x-a-en@collation=phonebook;calendar=islamic
6 #i-default@abc=def
7 #x-foobar@abc=def
8 #zh-Hans-HK-SCOUSE-a-foobar-x-a-en@collation=phonebook;calendar=islamic
9 #zh@collation=phonebook
10 #zh@collation=phonebook;calendar=islamic
[all …]
/external/cronet/third_party/icu/source/data/misc/
DlangInfo.txt3 // Generated using tools/cldr/cldr-to-icu/build-icu-data.xml
39 "chi","zh",
44 "cmn","zh",
479 "zh","Hans","CN",
480 "zh","Hant","AU",
481 "zh","Hant","BN",
482 "zh","Hant","GF",
483 "zh","Hant","HK",
484 "zh","Hant","ID",
485 "zh","Hant","MO",
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestLocaleValidity.java6 * Copyright (C) 2015-2016, International Business Machines Corporation and *
44 {"OK", "eng-us"}, in testBasic()
45 {"OK", "en-u-ca-chinese"}, in testBasic()
46 {"OK", "en-x-abcdefg"}, in testBasic()
47 {"OK", "x-abcdefg"}, in testBasic()
48 {"OK", "en-u-sd-usca"}, in testBasic()
49 {"OK", "en-US-u-sd-usca"}, in testBasic()
50 {"OK", "en-t-it"}, in testBasic()
51 {"OK", "und-Cyrl-t-und-latn"}, in testBasic()
54 {"OK", "en-Hant"}, in testBasic()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTestLocaleValidity.java5 * Copyright (C) 2015-2016, International Business Machines Corporation and *
41 {"OK", "eng-us"}, in testBasic()
42 {"OK", "en-u-ca-chinese"}, in testBasic()
43 {"OK", "en-x-abcdefg"}, in testBasic()
44 {"OK", "x-abcdefg"}, in testBasic()
45 {"OK", "en-u-sd-usca"}, in testBasic()
46 {"OK", "en-US-u-sd-usca"}, in testBasic()
47 {"OK", "en-t-it"}, in testBasic()
48 {"OK", "und-Cyrl-t-und-latn"}, in testBasic()
51 {"OK", "en-Hant"}, in testBasic()
[all …]
/external/cronet/third_party/icu/source/python/icutools/databuilder/test/
Dfiltration_test.py68 "zh"
84 ), "r", encoding="utf-8-sig") as f:
159 r"^zh$"
165 "zh"
173 expected_matches.remove("zh")
178 r"^zh$"
189 # zh => Hans
193 "vai_Latn", # Language with non-default script
219 # zh: include Hans but NOT Hant.
220 "zh",
[all …]
/external/icu/icu4c/source/python/icutools/databuilder/test/
Dfiltration_test.py68 "zh"
84 ), "r", encoding="utf-8-sig") as f:
159 r"^zh$"
165 "zh"
173 expected_matches.remove("zh")
178 r"^zh$"
189 # zh => Hans
193 "vai_Latn", # Language with non-default script
219 # zh: include Hans but NOT Hant.
220 "zh",
[all …]
/external/cronet/base/win/embedded_i18n/
Dlanguage_selector_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
20 L"el", L"en-gb", L"en-us", L"es", L"es-419", L"et", L"fa", L"fi",
23 L"nl", L"no", L"pl", L"pt-br", L"pt-pt", L"ro", L"ru", L"sk",
25 L"uk", L"vi", L"zh-cn", L"zh-tw"};
28 L"he", L"nb", L"tl", L"zh-chs", L"zh-cht",
29 L"zh-hans", L"zh-hant", L"zh-hk", L"zh-mo"};
31 constexpr const wchar_t* kWildcardMatchCandidates[] = {L"en-AU", L"es-CO",
32 L"pt-AB", L"zh-SG"};
66 std::vector<std::wstring> candidates = {L"fr-BE", L"fr", L"en"}; in TEST()
72 std::vector<std::wstring> candidates = {L"xx-YY", L"cc-Ssss-RR"}; in TEST()
[all …]

12345678910>>...29