| /external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
| D | TestFallbackIterator.java | 16 … "zh-TW-foobar-variant, zh-Hant-TW-foobar-variant, zh-Hant-TW-foobar, zh-Hant-TW, zh-Hant, zh", in TestSimpleFallbacks() 17 … "zh-HK-foobar-variant, zh-Hant-HK-foobar-variant, zh-Hant-HK-foobar, zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks() 18 "zh-HK, zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks() 19 "zh-Hant-HK, zh-Hant, zh", in TestSimpleFallbacks() 20 "zh-Hans-HK, zh-Hans, zh", in TestSimpleFallbacks() 21 "zh-Hant-SG, zh-Hant, zh", in TestSimpleFallbacks() 22 "zh-Hans-SG, zh-Hans, zh", in TestSimpleFallbacks() 23 "zh-SG, zh-Hans-SG, zh-Hans, zh", in TestSimpleFallbacks() 24 "zh-US, zh-Hans-US, zh-Hans, zh", in TestSimpleFallbacks() 25 "zh-US-foobar, zh-Hans-US-foobar, zh-Hans-US, zh-Hans, zh", in TestSimpleFallbacks() [all …]
|
| /external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/data/cldr/localeIdentifiers/ |
| D | localeDisplayName.txt | 2 # Copyright © 1991-2024 Unicode, Inc. 4 # SPDX-License-Identifier: Unicode-3.0 9 # standard - always display additional subtags like region in parentheses 10 # dialect - form compounds like "Flemish" for nl_BE 19 en-MM; English (Myanmar [Burma]) 21 es-419; Spanish (Latin America) 22 es-Cyrl-MX; Spanish (Cyrillic, Mexico) 23 hi-Latn; Hindi (Latin) 24 nl-BE; Dutch (Belgium) 25 nl-Latn-BE; Dutch (Latin, Belgium) [all …]
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/data/cldr/localeIdentifiers/ |
| D | localeDisplayName.txt | 2 # Copyright © 1991-2024 Unicode, Inc. 4 # SPDX-License-Identifier: Unicode-3.0 9 # standard - always display additional subtags like region in parentheses 10 # dialect - form compounds like "Flemish" for nl_BE 19 en-MM; English (Myanmar [Burma]) 21 es-419; Spanish (Latin America) 22 es-Cyrl-MX; Spanish (Cyrillic, Mexico) 23 hi-Latn; Hindi (Latin) 24 nl-BE; Dutch (Belgium) 25 nl-Latn-BE; Dutch (Latin, Belgium) [all …]
|
| /external/cldr/common/testData/localeIdentifiers/ |
| D | localeDisplayName.txt | 2 # Copyright © 1991-2024 Unicode, Inc. 4 # SPDX-License-Identifier: Unicode-3.0 9 # standard - always display additional subtags like region in parentheses 10 # dialect - form compounds like "Flemish" for nl_BE 19 en-MM; English (Myanmar [Burma]) 21 es-419; Spanish (Latin America) 22 es-Cyrl-MX; Spanish (Cyrillic, Mexico) 23 hi-Latn; Hindi (Latin) 24 nl-BE; Dutch (Belgium) 25 nl-Latn-BE; Dutch (Latin, Belgium) [all …]
|
| /external/icu/icu4c/source/test/testdata/cldr/localeIdentifiers/ |
| D | localeDisplayName.txt | 2 # Copyright © 1991-2024 Unicode, Inc. 4 # SPDX-License-Identifier: Unicode-3.0 9 # standard - always display additional subtags like region in parentheses 10 # dialect - form compounds like "Flemish" for nl_BE 19 en-MM; English (Myanmar [Burma]) 21 es-419; Spanish (Latin America) 22 es-Cyrl-MX; Spanish (Cyrillic, Mexico) 23 hi-Latn; Hindi (Latin) 24 nl-BE; Dutch (Belgium) 25 nl-Latn-BE; Dutch (Latin, Belgium) [all …]
|
| /external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/ |
| D | FallbackIterator.java | 80 "art-lojban;jbo", 81 "cel-gaulish;xcg", // Special replacement: cel-gaulish 82 "en-GB-oed;en-GB-x-oed", // Special replacement: en-GB-oed 83 "i-ami;ami", 84 "i-bnn;bnn", 85 "i-default;und", // Special replacement: i-default 86 "i-enochian;x-enochian", // Special replacement: i-enochian 87 "i-hak;zh-hakka", 88 "i-klingon;tlh", 89 "i-lux;lb", [all …]
|
| D | SimpleLocaleParser.java | 23 // mechanically generated regex -- don't worry about trying to read it! 24 // if we want to allow multiple --, change [-_] into [-_]+ 28 + " (?: ( [a-z]{2,8} )" 30 " (?: [-_] ( [a-z]{4} ) )?" 32 " (?: [-_] ( [a-z]{2} | [0-9]{3} ) )?" 34 …" (?: [-_] ( (?: [a-z 0-9]{5,8} | [0-9] [a-z 0-9]{3} ) (?: [-_] (?: [a-z 0-9]{5,8} | [0-9] [a-z … 36 …" (?: [-_] ( [a-w y-z] (?: [-_] [a-z 0-9]{2,8} )+ (?: [-_] [a-w y-z] (?: [-_] [a-z 0-9]{2,8} )+ … 38 " (?: [-_] ( x (?: [-_] [a-z 0-9]{1,8} )+ ) )? )" 40 " | ( x (?: [-_] [a-z 0-9]{1,8} )+ )" 42 " | ( en [-_] GB [-_] oed" [all …]
|
| /external/rust/android-crates-io/crates/icu_locale/tests/fixtures/ |
| D | maximize.json | 3 "input": "en-US", 4 "output": "en-Latn-US" 7 "input": "en-GB", 8 "output": "en-Latn-GB" 11 "input": "es-AR", 12 "output": "es-Latn-AR" 16 "output": "it-Latn-IT" 19 "input": "zh-Hans-CN", 20 "output": "zh-Hans-CN" 23 "input": "de-AT", [all …]
|
| /external/icu/icu4c/source/test/testdata/ |
| D | localeMatcherTest.txt | 4 # 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/cronet/stable/third_party/icu/source/test/testdata/ |
| D | localeMatcherTest.txt | 4 # 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/core/src/test/resources/com/ibm/icu/dev/test/util/data/ |
| D | localeMatcherTest.txt | 4 # 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 …]
|
| D | localeDistanceTest.txt | 4 # 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/android_icu4j/src/main/tests/android/icu/dev/test/util/data/ |
| D | localeMatcherTest.txt | 4 # 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 …]
|
| D | localeDistanceTest.txt | 4 # 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/tot/third_party/icu/source/test/testdata/ |
| D | localeMatcherTest.txt | 4 # 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/ |
| D | localeMatcherTest.txt | 1 # 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 …]
|
| D | localeDistanceTest.txt | 1 # 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/libtextclassifier/native/utils/ |
| D | resources_test.cc | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 test_resources.locale.back()->language = "en"; in BuildTestResources() 37 test_resources.locale.back()->region = "US"; in BuildTestResources() 39 test_resources.locale.back()->language = "en"; in BuildTestResources() 40 test_resources.locale.back()->region = "GB"; in BuildTestResources() 42 test_resources.locale.back()->language = "de"; in BuildTestResources() 43 test_resources.locale.back()->region = "DE"; in BuildTestResources() 45 test_resources.locale.back()->language = "fr"; in BuildTestResources() 46 test_resources.locale.back()->region = "FR"; in BuildTestResources() 48 test_resources.locale.back()->language = "pt"; in BuildTestResources() [all …]
|
| /external/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/ |
| D | langtagTest.txt | 1 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/libphonenumber/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/ |
| D | MappingFileProviderTest.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 48 mapping.put(86, newHashSet("zh", "en", "zh_Hant")); in MappingFileProviderTest() 84 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "", "")); in testGetFileName() 85 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "Hans", "")); in testGetFileName() 86 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "", "CN")); in testGetFileName() 88 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "Hans", "CN")); in testGetFileName() 89 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "Hans", "SG")); in testGetFileName() 90 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "", "SG")); in testGetFileName() 91 assertEquals("86_zh_Hant", mappingProvider.getFileName(86, "zh", "", "TW")); in testGetFileName() 92 assertEquals("86_zh_Hant", mappingProvider.getFileName(86, "zh", "", "HK")); in testGetFileName() [all …]
|
| /external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
| D | MappingFileProviderTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 46 mapping.put(86, newHashSet("zh", "en", "zh_Hant")); in MappingFileProviderTest() 82 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "", "")); in testGetFileName() 83 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "Hans", "")); in testGetFileName() 84 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "", "CN")); in testGetFileName() 86 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "Hans", "CN")); in testGetFileName() 87 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "Hans", "SG")); in testGetFileName() 88 assertEquals("86_zh", mappingProvider.getFileName(86, "zh", "", "SG")); in testGetFileName() 89 assertEquals("86_zh_Hant", mappingProvider.getFileName(86, "zh", "", "TW")); in testGetFileName() 90 assertEquals("86_zh_Hant", mappingProvider.getFileName(86, "zh", "", "HK")); in testGetFileName() [all …]
|
| /external/noto-fonts/notoserifcjk/ |
| D | font_config.json | 3 "lang": "zh-Hans", 6 "file": "NotoSerifCJK-Regular.ttc", 7 "postScriptName": "NotoSerifCJKjp-Regular", 14 "target": "NotoSansCJK_zh-Hans" 17 "lang": "zh-Hant,zh-Bopo", 20 "file": "NotoSerifCJK-Regular.ttc", 21 "postScriptName": "NotoSerifCJKjp-Regular", 28 "target": "NotoSansCJK_zh-Hant,zh-Bopo" 34 "file": "NotoSerifCJK-Regular.ttc", 35 "postScriptName": "NotoSerifCJKjp-Regular", [all …]
|
| /external/noto-fonts/notosanscjk/ |
| D | font_config.json | 3 "lang": "zh-Hans", 6 "file": "NotoSansCJK-Regular.ttc", 7 "postScriptName": "NotoSansCJKJP-Regular", 14 "id": "NotoSansCJK_zh-Hans" 17 "lang": "zh-Hant,zh-Bopo", 20 "file": "NotoSansCJK-Regular.ttc", 21 "postScriptName": "NotoSansCJKJP-Regular", 28 "id": "NotoSansCJK_zh-Hant,zh-Bopo" 34 "file": "NotoSansCJK-Regular.ttc", 35 "postScriptName": "NotoSansCJKJP-Regular", [all …]
|
| /external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
| D | LocaleDistanceMapperTest.java | 54 // 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 …]
|
| /external/rust/android-crates-io/crates/icu_locale/ |
| D | README.md | 3 <!-- cargo-rdme start --> 30 let mut locale: Locale = "ja-Latn-fonipa-hepburn-heploc" 34 assert_eq!(locale, "ja-Latn-alalc97-fonipa".parse::<Locale>().unwrap()); 42 let mut locale = locale!("zh-CN"); 44 assert_eq!(locale, locale!("zh-Hans-CN")); 46 let mut locale = locale!("zh-Hant-TW"); 48 assert_eq!(locale, locale!("zh-Hant-TW")); 57 let mut locale = locale!("zh-Hans-CN"); 59 assert_eq!(locale, locale!("zh")); 61 let mut locale = locale!("zh"); [all …]
|