/aosp_15_r20/external/icu/icu4c/source/test/testdata/ |
H A 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 …]
|
H A D | numberformattestspecification.txt | 3 // Copyright (C) 2015-2016, International Business Machines 9 // per-test field names, and finally the test specific field values, 1 test 16 // P = Properties-based ICU4J (bypasses DecimalFormat wrapper) 20 // https://docs.google.com/document/d/1T2P0p953_Lh1pRwo-5CuPVrHlIBa_wcXElG-Hhg_WHM/edit?usp=sharing 23 set locale ar-EG 24 set pattern +0;-# 28 -6 \u061C-\u0666 K 49 set locale en 60 -1002003004005 -4005.000 95 set locale en [all …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/testdata/ |
H A 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 …]
|
H A D | numberformattestspecification.txt | 3 // Copyright (C) 2015-2016, International Business Machines 9 // per-test field names, and finally the test specific field values, 1 test 16 // P = Properties-based ICU4J (bypasses DecimalFormat wrapper) 20 // https://docs.google.com/document/d/1T2P0p953_Lh1pRwo-5CuPVrHlIBa_wcXElG-Hhg_WHM/edit?usp=sharing 23 set locale ar-EG 24 set pattern +0;-# 28 -6 \u061C-\u0666 K 49 set locale en 60 -1002003004005 -4005.000 95 set locale en [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/data/ |
H A 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 …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/test/util/data/ |
H A 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 …]
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/ |
H A D | LocaleTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 49 Locale locale = Locale.forLanguageTag("en-US"); in test_extension_absent() 57 b.setExtension('g', "FO_ba-BR_bg"); in test_extension_builder() 65 Locale lA = Locale.forLanguageTag("en-Latn-US-x-foo"); in test_extension_languageTag() 66 Locale lB = Locale.forLanguageTag("en-Latn-US"); in test_extension_languageTag() 126 Locale.forLanguageTag("zh-Hant-CN").getDisplayName(Locale.US)); in test_getDisplayName_withScriptsAndVariants() 129 Locale.forLanguageTag("zh-Hant-VARIANT").getDisplayName(Locale.US)); in test_getDisplayName_withScriptsAndVariants() 132 Locale.forLanguageTag("zh-CN-VARIANT").getDisplayName(Locale.US)); in test_getDisplayName_withScriptsAndVariants() 135 Locale.forLanguageTag("zh-Hant-CN-VARIANT").getDisplayName(Locale.US)); in test_getDisplayName_withScriptsAndVariants() 139 assertThrowsNpe(() -> { in testGetDisplayCountry_locale_null() [all …]
|
H A D | LocaleLanguageRangeTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 46 assertEquals(MAX_WEIGHT, new LanguageRange("de-DE").getWeight()); in testConstructor_defaultsToMaxWeight() 51 new LanguageRange("de-DE", -0.00000001); in testConstructor_invalidWeight() 57 new LanguageRange("de-DE", 1.00000001); in testConstructor_invalidWeight() 62 new LanguageRange("de-DE", 0); in testConstructor_invalidWeight() 63 new LanguageRange("de-DE", 1); in testConstructor_invalidWeight() 77 new LanguageRange("de-DE", MAX_WEIGHT); // works in testConstructor_nullRange() 87 new LanguageRange("-"); in testConstructor_checksForAtLeastOneSubtag() 92 new LanguageRange("--"); in testConstructor_checksForAtLeastOneSubtag() 100 assertRangeMalformed("012-xx"); in testConstructor_checksForWellFormedSubtags() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/combine/benches/ |
D | http-requests.txt | 3 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1 5 Accept-Language: en-us,en;q=0.5 6 Accept-Encoding: gzip, deflate 7 Connection: keep-alive 9 GET /reddit.v_EZwRzV-Ns.css HTTP/1.1 11 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20100101 Firefox/15.0.1 13 Accept-Language: en-us,en;q=0.5 14 Accept-Encoding: gzip, deflate 15 Connection: keep-alive 18 GET /reddit-init.en-us.O1zuMqOOQvY.js HTTP/1.1 [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/ |
H A D | numberformattestspecification.txt | 3 // Copyright (C) 2015-2016, International Business Machines 9 // per-test field names, and finally the test specific field values, 1 test 16 // P = Properties-based ICU4J (bypasses DecimalFormat wrapper) 20 // https://docs.google.com/document/d/1T2P0p953_Lh1pRwo-5CuPVrHlIBa_wcXElG-Hhg_WHM/edit?usp=sharing 23 set locale ar-EG 24 set pattern +0;-# 28 -6 \u061C-\u0666 K 49 set locale en 60 -1002003004005 -4005.000 95 set locale en [all …]
|
/aosp_15_r20/external/icu/icu4j/main/core/src/test/resources/com/ibm/icu/dev/data/ |
H A D | numberformattestspecification.txt | 3 // Copyright (C) 2015-2016, International Business Machines 9 // per-test field names, and finally the test specific field values, 1 test 16 // P = Properties-based ICU4J (bypasses DecimalFormat wrapper) 20 // https://docs.google.com/document/d/1T2P0p953_Lh1pRwo-5CuPVrHlIBa_wcXElG-Hhg_WHM/edit?usp=sharing 23 set locale ar-EG 24 set pattern +0;-# 28 -6 \u061C-\u0666 K 49 set locale en 60 -1002003004005 -4005.000 95 set locale en [all …]
|
/aosp_15_r20/frameworks/minikin/tests/unittest/ |
H A D | FontFamilyTest.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 48 Locale english = createLocale("en"); in TEST() 51 Locale undZsye = createLocale("und-Zsye"); in TEST() 67 EXPECT_TRUE(createLocale("de-1901") != createLocale("de-1996")); in TEST() 79 EXPECT_EQ("en-Latn-US", createLocale("en").getString()); in TEST() 80 EXPECT_EQ("en-Latn-US", createLocale("en-Latn").getString()); in TEST() 83 EXPECT_EQ("en-Latn-US", createLocale("EN-LATN").getString()); in TEST() 84 EXPECT_EQ("en-Latn-US", createLocale("EN-latn").getString()); in TEST() 85 EXPECT_EQ("en-Latn-US", createLocale("en-latn").getString()); in TEST() 88 EXPECT_EQ("en-Xyzt-US", createLocale("en-xyzt").getString()); in TEST() [all …]
|
H A D | OptimalLineBreakerTest.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 44 constexpr float ASCENT = -80.0f; 48 constexpr float CUSTOM_ASCENT = -160.0f; 52 // The expected line break of phrase and non-phrase cases are: 54 // Non-Phrase: | \u672C | \u65E5 | \u306F | \u6674 | \u5929 | \u306A | \u308A\u3002 | 64 mHyphenationPattern = readWholeFile("/system/usr/hyphen-data/hyph-en-us.hyb"); in SetUp() 67 2 /* min prefix */, 2 /* min suffix */, "en-US"); in SetUp() 68 HyphenatorMap::add("en-US", hyphenator); in SetUp() 121 paint.localeListId = LocaleListCache::getId("en-US"); in doLineBreakWithNoHyphenSpan() 127 paint.localeListId = LocaleListCache::getId("en-US"); in doLineBreakWithNoHyphenSpan() [all …]
|
/aosp_15_r20/frameworks/base/tests/Internal/src/com/android/internal/app/ |
H A D | LocaleStoreTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 51 new InputMethodSubtypeBuilder().setLanguageTag("en-US").build(), in testTransformImeLanguageTagToLocaleInfo() 52 new InputMethodSubtypeBuilder().setLanguageTag("zh-TW").build(), in testTransformImeLanguageTagToLocaleInfo() 53 new InputMethodSubtypeBuilder().setLanguageTag("ja-JP").build()); in testTransformImeLanguageTagToLocaleInfo() 57 Set<String> expectedLanguageTag = Set.of("en-US", "zh-TW", "ja-JP"); in testTransformImeLanguageTagToLocaleInfo() 68 new InputMethodSubtypeBuilder().setLanguageTag("en-US").build(), in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter() 69 new InputMethodSubtypeBuilder().setLanguageTag("en-US").build(), in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter() 70 new InputMethodSubtypeBuilder().setLanguageTag("en-US").build(), in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter() 71 new InputMethodSubtypeBuilder().setLanguageTag("zh-TW").build(), in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter() 72 new InputMethodSubtypeBuilder().setLanguageTag("ja-JP").build()); in testTransformImeLanguageTagToLocaleInfo_duplicateTagFilter() [all …]
|
/aosp_15_r20/cts/tests/tests/os/src/android/os/cts/ |
H A D | LocaleListTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 67 final LocaleList ll = new LocaleList(Locale.US); in testOneMemberLocaleList() 71 assertEquals(Locale.US, ll.get(0)); in testOneMemberLocaleList() 77 final Locale enPH = Locale.forLanguageTag("en-PH"); in testTwoMemberLocaleList() 78 final Locale[] la = {enPH, Locale.US}; in testTwoMemberLocaleList() 84 assertEquals(Locale.US, ll.get(1)); in testTwoMemberLocaleList() 106 final Locale[] la = {Locale.US, null}; in testNullArguments() 118 final Locale[] la = {Locale.US, Locale.US}; in testRepeatedArguments() 121 assertEquals(Locale.US, ll.get(0)); in testRepeatedArguments() 127 assertEquals(-1, empty.indexOf(Locale.US)); in testIndexOf() [all …]
|
/aosp_15_r20/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | SettingsHelperTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 179 mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)).isEqualTo(5); in testRestoreValue_lppForAssistantEnabled_updatesValue() 181 mContentResolver, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, -1)).isEqualTo(2); in testRestoreValue_lppForAssistantEnabled_updatesValue() 201 mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)).isEqualTo(1); in testRestoreValue_lppForAssistantNotEnabled_updatesValueToDefaultConfig() 203 mContentResolver, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, -1)).isEqualTo(1); in testRestoreValue_lppForAssistantNotEnabled_updatesValueToDefaultConfig() 223 mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)).isEqualTo(1); in testRestoreValue_lppForAssistantNotEnabledDefaultConfig_updatesValue() 225 mContentResolver, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, -1)).isEqualTo(1); in testRestoreValue_lppForAssistantNotEnabledDefaultConfig_updatesValue() 237 mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, -1))).isEqualTo(-1); in testRestoreValue_lppForAssistantNotAvailable_doesNotRestore() 251 mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, -1))).isEqualTo(-1); in testRestoreValue_lppForAssistantInvalid_doesNotRestore() 257 assertEquals(LocaleList.forLanguageTags("en-US"), in testResolveLocales() [all …]
|
/aosp_15_r20/external/cldr/tools/cldr-code/src/test/resources/org/unicode/cldr/unittest/data/ |
H A D | localeMatcherTest.txt | 1 # Data-driven test for the XLocaleMatcher. 8 # • The supported may have the threshold distance reset as a first item, eg 50, en, fr 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 [all …]
|
/aosp_15_r20/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/populator/ |
H A D | LocaleOverriderTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 39 Supplier<Locale> localeSupplier = () -> Locale.forLanguageTag("en-US"); in override_equalStrategy_hasMatch() 42 .addEntry(createEntryWithLocaleAndIdentifier("en", "en-resource")) in override_equalStrategy_hasMatch() 43 .addEntry(createEntryWithLocaleAndIdentifier("en-US", "en-US-resource")) in override_equalStrategy_hasMatch() 51 assertThat(dataFileGroup.getLocale(0)).isEqualTo("en-US"); in override_equalStrategy_hasMatch() 52 assertThat(dataFileGroup.toString()).contains("en-US-resource"); in override_equalStrategy_hasMatch() 59 () -> Futures.immediateFuture(Locale.forLanguageTag("en-US")); in override_equalStrategy_hasMatch_localeLF() 62 .addEntry(createEntryWithLocaleAndIdentifier("en", "en-resource")) in override_equalStrategy_hasMatch_localeLF() 63 .addEntry(createEntryWithLocaleAndIdentifier("en-US", "en-US-resource")) in override_equalStrategy_hasMatch_localeLF() 71 assertThat(dataFileGroup.getLocale(0)).isEqualTo("en-US"); in override_equalStrategy_hasMatch_localeLF() [all …]
|
/aosp_15_r20/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
H A D | LocaleUtilsTest.java | 8 * http://www.apache.org/licenses/LICENSE-2.0 32 private static final LocaleUtils.LocaleExtractor<Locale> sIdentityMapper = source -> source; 37 availableLocales.add(Locale.forLanguageTag("en-US")); in testFilterByLanguageEmptyLanguageList() 38 availableLocales.add(Locale.forLanguageTag("fr-CA")); in testFilterByLanguageEmptyLanguageList() 53 availableLocales.add(Locale.forLanguageTag("en-US")); in testFilterDoesNotMatchAnything() 54 availableLocales.add(Locale.forLanguageTag("fr-CA")); in testFilterDoesNotMatchAnything() 59 final LocaleList preferredLocales = LocaleList.forLanguageTags("zh-Hans-TW"); in testFilterDoesNotMatchAnything() 70 final LocaleList preferredLocales = LocaleList.forLanguageTags("fr,en-US,ja-JP"); in testFilterByLanguageEmptySource() 81 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN"); in testFilterByLanguageNullAvailableLocales() 90 LocaleList.forLanguageTags("en-AU,en-GB,en-US,en,en-IN"); in testFilterByLanguageNullAvailableLocales() [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | msilib.rst | 1 :mod:`msilib` --- Read and write Microsoft Installer files 16 .. deprecated-removed:: 3.11 3.13 20 -------------- 28 therefore, it is a fairly low-level API. One primary application of this 32 The package contents can be roughly split into four parts: low-level CAB 33 routines, low-level MSI routines, higher-level MSI routines, and standard table 131 `FCICreate <https://msdn.microsoft.com/en-us/library/bb432265.aspx>`_ 132 `UuidCreate <https://msdn.microsoft.com/en-us/library/windows/desktop/aa379205.aspx>`_ 133 `UuidToString <https://msdn.microsoft.com/en-us/library/windows/desktop/aa379352.aspx>`_ 135 .. _database-objects: [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/x86/ |
H A D | sse2.rs | 12 /// Provides a hint to the processor that the code sequence is a spin-wait loop. 14 /// This can help improve the performance and power consumption of spin-wait 17 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 23 // the SSE2 target-feature - therefore it does not require any target features in _mm_pause() 30 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 39 /// Performs a serializing operation on all load-from-memory instructions 46 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 55 /// Performs a serializing operation on all load-from-memory and store-to-memory 62 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 71 /// Adds packed 8-bit integers in `a` and `b`. [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/x86/ |
H A D | sse2.rs | 12 /// Provides a hint to the processor that the code sequence is a spin-wait loop. 14 /// This can help improve the performance and power consumption of spin-wait 17 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 23 // the SSE2 target-feature - therefore it does not require any target features in _mm_pause() 30 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 39 /// Performs a serializing operation on all load-from-memory instructions 46 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 55 /// Performs a serializing operation on all load-from-memory and store-to-memory 62 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 71 /// Adds packed 8-bit integers in `a` and `b`. [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/x86/ |
H A D | sse2.rs | 12 /// Provides a hint to the processor that the code sequence is a spin-wait loop. 14 /// This can help improve the performance and power consumption of spin-wait 17 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 23 // the SSE2 target-feature - therefore it does not require any target features in _mm_pause() 30 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 39 /// Performs a serializing operation on all load-from-memory instructions 46 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 55 /// Performs a serializing operation on all load-from-memory and store-to-memory 62 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 71 /// Adds packed 8-bit integers in `a` and `b`. [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/x86/ |
H A D | sse2.rs | 12 /// Provides a hint to the processor that the code sequence is a spin-wait loop. 14 /// This can help improve the performance and power consumption of spin-wait 17 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 23 // the SSE2 target-feature - therefore it does not require any target features in _mm_pause() 30 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 39 /// Performs a serializing operation on all load-from-memory instructions 46 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 55 /// Performs a serializing operation on all load-from-memory and store-to-memory 62 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 71 /// Adds packed 8-bit integers in `a` and `b`. [all …]
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/x86/ |
H A D | sse2.rs | 12 /// Provides a hint to the processor that the code sequence is a spin-wait loop. 14 /// This can help improve the performance and power consumption of spin-wait 17 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 23 // the SSE2 target-feature - therefore it does not require any target features in _mm_pause() 30 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 39 /// Performs a serializing operation on all load-from-memory instructions 46 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 55 /// Performs a serializing operation on all load-from-memory and store-to-memory 62 /// [Intel's documentation](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.htm… 71 /// Adds packed 8-bit integers in `a` and `b`. [all …]
|