| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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/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/doclava/res/assets/templates-sdk/components/ |
| D | masthead.cs | 3 <!-- Header --> 4 <div id="header-wrapper"> 5 <div class="dac-header <?cs if:ndk ?>dac-ndk<?cs /if ?>" id="header"> 6 <div class="dac-header-inner"> 7 <a class="dac-nav-toggle" data-dac-toggle-nav href="javascript:;" title="Open navigation"> 8 <span class="dac-nav-hamburger"> 9 <span class="dac-nav-hamburger-top"></span> 10 <span class="dac-nav-hamburger-mid"></span> 11 <span class="dac-nav-hamburger-bot"></span> 14 <?cs if:ndk ?><a class="dac-header-logo" style="width:144px;" href="<?cs var:toroot [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 …]
|
| /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/rust/android-crates-io/crates/icu_locale_data/data/ |
| D | locale_likely_subtags_language_v1.rs.data | 22 …vec::ZeroVec::from_bytes_unchecked(b"IR\0GB\0GN\0CN\0IQ\0GE\0CN\0TR\0CN\0PK\0IN\0IN\0IN\0PK\0KZ\0A… 26 …CN\0kk\0IR\0kk\0MN\0ku\0LB\0ky\0CN\0ky\0TR\0mn\0CN\0ms\0CC\0pa\0PK\0sd\0IN\0sr\0ME\0sr\0RO\0sr\0RU… 30 …ti\0tk\0tn\0to\0tr\0tt\0ug\0uk\0ur\0uz\0vecvi\0vmwwo\0xh\0xnryo\0yrlyueza\0zh\0zu\0") }, unsafe { … 37 …fn load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponse<icu::locale::p… 50 …fn iter_ids(&self) -> Result<std::collections::BtreeSet<icu_provider::DataIdentifierCow<'static>>,… 59 …fn dry_load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponseMetadata, i… 72 …fn dry_load(&self, req: icu_provider::DataRequest) -> Result<icu_provider::DataResponseMetadata, i… 82 …fn iter_ids(&self) -> Result<std::collections::BtreeSet<icu_provider::DataIdentifierCow<'static>>,…
|
| /external/json-schema-validator/src/test/java/com/networknt/schema/i18n/ |
| D | LocalesTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 28 Locale result = Locales.findSupported("en-US;q=0.9,en-GB;q=1.0"); in unsupportedShouldReturnLocaleRoot() 34 Locale result = Locales.findSupported("zh-CN;q=0.9,zh-TW;q=1.0"); in shouldReturnHigherPriority() 35 assertEquals("zh-TW", result.toLanguageTag()); in shouldReturnHigherPriority() 40 Locale result = Locales.findSupported("zh-CN;q=1.0,zh-TW;q=0.9"); in shouldReturnHigherPriorityToo() 41 assertEquals("zh-CN", result.toLanguageTag()); in shouldReturnHigherPriorityToo() 46 Locale result = Locales.findSupported("zh-SG;q=1.0,zh-TW;q=0.9"); in shouldReturnFound() 47 assertEquals("zh-TW", result.toLanguageTag()); in shouldReturnFound() 52 Locale result = Locales.findSupported("zh;q=1.0"); in shouldReturnFounds() 53 assertEquals("zh", result.getLanguage()); in shouldReturnFounds()
|
| /external/google-cloud-java/java-translate/proto-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/ |
| D | ListGlossariesRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 108 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 109 * here, which means using 'en-US' and 'en' can lead to different results, 115 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional 116 * glossaries which exactly match the source language code as "en-US" and the 117 * target language code "zh-CN", but all equivalent term set glossaries which 118 * contain "en-US" and "zh-CN" in their language set will be picked. 135 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 136 * here, which means using 'en-US' and 'en' can lead to different results, 142 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional [all …]
|
| D | ListGlossariesRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 215 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 216 * here, which means using 'en-US' and 'en' can lead to different results, 222 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional 223 * glossaries which exactly match the source language code as "en-US" and the 224 * target language code "zh-CN", but all equivalent term set glossaries which 225 * contain "en-US" and "zh-CN" in their language set will be picked. 253 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 254 * here, which means using 'en-US' and 'en' can lead to different results, 260 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional [all …]
|
| /external/google-cloud-java/java-translate/proto-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/ |
| D | ListGlossariesRequestOrBuilder.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 108 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 109 * here, which means using 'en-US' and 'en' can lead to different results, 115 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional 116 * glossaries which exactly match the source language code as "en-US" and the 117 * target language code "zh-CN", but all equivalent term set glossaries which 118 * contain "en-US" and "zh-CN" in their language set will be picked. 135 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 136 * here, which means using 'en-US' and 'en' can lead to different results, 142 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional [all …]
|
| D | ListGlossariesRequest.java | 8 * https://www.apache.org/licenses/LICENSE-2.0 215 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 216 * here, which means using 'en-US' and 'en' can lead to different results, 222 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional 223 * glossaries which exactly match the source language code as "en-US" and the 224 * target language code "zh-CN", but all equivalent term set glossaries which 225 * contain "en-US" and "zh-CN" in their language set will be picked. 253 * such as: "src=en-US AND tgt=zh-CN". Notice that the exact match is used 254 * here, which means using 'en-US' and 'en' can lead to different results, 260 * For example: "src=en-US AND tgt=zh-CN" will only pick the unidirectional [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/doclava/res/assets/templates-sdk/ |
| D | docpage.cs | 6 if:!devsite ?> class="gc-documentation<?cs 50 <div class="content-header <?cs if:header.justLinks ?>just-links<?cs /if ?>"> 53 <ul class="dac-header-crumbs"> 57 <!-- Breadcrumb Setup --> 58 <script>$('.dac-nav-list').dacCurrentPage().dacCrumbs();</script> in dacCrumbs() 64 <div class="training-nav-top" itemscope itemtype="http://schema.org/SiteNavigationElement"> 65 <a href="#" class="prev-page-link hide" 66 zh-tw-lang="上一堂課" 67 zh-cn-lang="上一课" 68 ru-lang="Предыдущий" [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 …]
|
| /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() 87 assertEquals("", mappingProvider.getFileName(86, "", "", "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() [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() 85 assertEquals("", mappingProvider.getFileName(86, "", "", "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() [all …]
|
| /external/rust/android-crates-io/crates/icu_locale/src/fallback/ |
| D | algorithms.rs | 3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). 130 // TODO(#4413): -u-rg is not yet supported in step_region() 145 // Don't produce und-variant in step_region() 213 // Don't produce und-variant in step_script() 225 // https://github.com/unicode-cldr/cldr-core/blob/master/supplemental/languageData.json in step_script() 236 ) -> Option<(Language, Option<Script>, Option<Region>)> { in get_explicit_parent() 260 input: "en-fonipa", 262 expected_language_chain: &["en-fonipa", "en"], 263 expected_script_chain: &["en-fonipa", "en"], 264 expected_region_chain: &["en-fonipa", "en"], [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() 122 territoryGroup("030", "CN", "HK", "MO", "TW"), // Eastern Asia 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() [all …]
|
| /external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/data/cldr/localeIdentifiers/ |
| D | likelySubtags.txt | 2 # Copyright © 1991-2024 Unicode, Inc. 4 # SPDX-License-Identifier: Unicode-3.0 22 af ; af-Latn-ZA ; af ; 23 af-AQ ; af-Latn-AQ ; af-AQ ; 24 af-Egyp ; af-Egyp-ZA ; af-Egyp ; 25 af-Latn ; af-Latn-ZA ; af ; 26 af-NA ; af-Latn-NA ; af-NA ; 27 af-ZA ; af-Latn-ZA ; af ; 28 ak ; ak-Latn-GH ; ak ; 29 ak-AQ ; ak-Latn-AQ ; ak-AQ ; [all …]
|
| /external/cldr/common/testData/localeIdentifiers/ |
| D | likelySubtags.txt | 2 # Copyright © 1991-2024 Unicode, Inc. 4 # SPDX-License-Identifier: Unicode-3.0 22 af ; af-Latn-ZA ; af ; 23 af-AQ ; af-Latn-AQ ; af-AQ ; 24 af-Egyp ; af-Egyp-ZA ; af-Egyp ; 25 af-Latn ; af-Latn-ZA ; af ; 26 af-NA ; af-Latn-NA ; af-NA ; 27 af-ZA ; af-Latn-ZA ; af ; 28 ak ; ak-Latn-GH ; ak ; 29 ak-AQ ; ak-Latn-AQ ; ak-AQ ; [all …]
|