| /external/cronet/tot/third_party/icu/source/test/testdata/ |
| D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 5 es-MX 8 -0.22% 9 zh-TW 12 -0.22% 13 bn-BD 16 -০.২২% 18 compact-short percent unit-width-full-name 19 es-MX 22 -0.22 por ciento [all …]
|
| 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/data/ |
| D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 5 es-MX 8 -0.22% 9 zh-TW 12 -0.22% 13 bn-BD 16 -০.২২% 18 compact-short percent unit-width-full-name 19 es-MX 22 -0.22 por ciento [all …]
|
| /external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
| D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 5 es-MX 8 -0.22% 9 zh-TW 12 -0.22% 13 bn-BD 16 -০.২২% 18 compact-short percent unit-width-full-name 19 es-MX 22 -0.22 por ciento [all …]
|
| /external/icu/icu4c/source/test/testdata/ |
| D | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 5 es-MX 8 -0.22% 9 zh-TW 12 -0.22% 13 bn-BD 16 -০.২২% 18 compact-short percent unit-width-full-name 19 es-MX 22 -0.22 por ciento [all …]
|
| 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 | numberpermutationtest.txt | 4 compact-short percent unit-width-narrow 5 es-MX 8 -0.22% 9 zh-TW 12 -0.22% 13 bn-BD 16 -০.২২% 18 compact-short percent unit-width-full-name 19 es-MX 22 -0.22 por ciento [all …]
|
| 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/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/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/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/cldr/common/testData/datetime/ |
| D | datetime.json | 6 "locale": "en-US", 7 "input": "2024-03-16T17:00-07:00[America/Los_Angeles]", 14 "locale": "en-US", 15 "input": "2001-07-02T06:14:15-07:00[America/Los_Angeles]", 22 "locale": "en-US", 23 "input": "1984-05-29T00:53-07:00[America/Los_Angeles]", 30 "locale": "en-US", 31 "input": "2050-05-29T09:47-07:00[America/Los_Angeles]", 38 "locale": "en-US", 39 "input": "1969-07-15T17:00-07:00[America/Los_Angeles]", [all …]
|
| /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/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/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 …]
|
| D | minimize.json | 3 "input": "zh-Hant", 4 "output": "zh-TW" 7 "input": "en-Latn-US", 19 "input": "es-ES-preeuro", 20 "output": "es-preeuro" 23 "input": "zh-Hant-TW-u-hc-h24-nu-chinese", 24 "output": "zh-TW-u-hc-h24-nu-chinese"
|
| /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/libtextclassifier/native/utils/i18n/ |
| D | locale_test.cc | 8 * 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() 50 EXPECT_EQ(locale.Region(), "TW"); in TEST() 62 Locale locale = Locale::FromBCP47("zh-Hant"); in TEST() 64 EXPECT_EQ(locale.Language(), "zh"); in TEST() 70 std::vector<Locale> locales = {Locale::FromBCP47("zh-HK"), in TEST() [all …]
|
| /external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/base/ |
| D | LocaleCompatTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 40 assertThat(languageTags).isEqualTo("zh-TW"); in toLanguageTag_minApi24() 50 assertThat(languageTags).isEqualTo("zh"); in toLanguageTag_base() 59 .setLocales(LocaleList.forLanguageTags("zh-TW")); in getResourceLanguageTags_minApi24() 64 assertThat(resourceLanguageTags).isEqualTo("zh-TW"); in getResourceLanguageTags_minApi24() 78 assertThat(resourceLanguageTags).isEqualTo("zh-TW"); in getResourceLanguageTags_minApi21() 90 assertThat(resourceLanguageTags).isEqualTo("zh"); in getResourceLanguageTags_base()
|
| /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 …]
|
| D | LikelySubtagsBuilderTest.java | 38 // 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/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_data/data/ |
| D | locale_likely_subtags_language_v1.rs.data | 22 …s_unchecked(b"IR\0GB\0GN\0CN\0IQ\0GE\0CN\0TR\0CN\0PK\0IN\0IN\0IN\0PK\0KZ\0AF\0CN\0TW\0TW\0TW\0") }) 26 …AF\0uz\0CN\0yueCN\0zh\0AU\0zh\0BN\0zh\0GB\0zh\0GF\0zh\0HK\0zh\0ID\0zh\0MO\0zh\0PA\0zh\0PF\0zh\0PH\… 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/rust/android-crates-io/crates/icu_locale_core/src/ |
| D | zerovec.rs | 3 // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). 5 //! Documentation on zero-copy deserialization of locale types. 8 //! stored in a zero-copy data structure, such as those provided by the [`zerovec`](crate::zerovec)… 13 //! 1. **Lookup:** You need to locate a locale in a zero-copy vector, such as when querying a map. 14 //! 2. **Obtain:** You have a locale stored in a zero-copy vector, and you need to obtain a proper 19 //! To perform lookup, store the stringified locale in a canonical BCP-47 form as a byte array, 20 //! and then use [`Locale::strict_cmp()`] to perform an efficient, zero-allocation lookup. 22 //! To produce more human-readable serialized output, you can use `PotentialUtf8`. 31 //! ("de-DE-u-hc-h12".into(), 5), 32 //! ("en-US-u-ca-buddhist".into(), 10), [all …]
|