/third_party/flutter/engine/flutter/testing/dart/ |
D | locale_test.dart | 12 expect(const Locale('en').toLanguageTag(), 'en'); 17 expect(const Locale('en', 'US').toLanguageTag(), 'en-US'); 19 expect(const Locale('iw').toLanguageTag(), 'he'); 20 expect(const Locale('iw', 'DD').toLanguageTag(), 'he-DE'); 30 expect(const Locale.fromSubtags(languageCode: 'en').toLanguageTag(), 'en'); 32 expect(const Locale.fromSubtags(scriptCode: 'Latn').toLanguageTag(), 'und-Latn'); 35 expect(const Locale.fromSubtags(countryCode: 'US').toLanguageTag(), 'und-US'); 39 …expect(const Locale.fromSubtags(languageCode: 'es', countryCode: '419').toLanguageTag(), 'es-419'); 45 …romSubtags(languageCode: 'zh', scriptCode: 'Hans', countryCode: 'CN').toLanguageTag(), 'zh-Hans-CN…
|
/third_party/icu/icu4c/source/test/intltest/ |
D | localebuildertest.cpp | 73 std::string tag = loc.toLanguageTag<std::string>(status); in Verify() 282 std::string langtag = loc.toLanguageTag<std::string>(status); in TestLocaleBuilder() 956 std::string actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 968 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 979 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 991 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 1002 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 1014 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 1026 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() 1038 actual = loc.toLanguageTag<std::string>(status); in TestAddRemoveUnicodeLocaleAttribute() [all …]
|
D | loctest.cpp | 4996 std::string tag = loc.toLanguageTag<std::string>(status); in TestCanonicalize() 5436 std::string result = loc.toLanguageTag<std::string>(status); in TestBug20900() 5485 std::string result = loc.toLanguageTag<std::string>(status); in TestLocaleCanonicalizationFromFile() 5655 loc_c.toLanguageTag(sink, status); in TestToLanguageTag() 5659 std::string result_c = loc_c.toLanguageTag<std::string>(status); in TestToLanguageTag() 5663 std::string result_en = loc_en.toLanguageTag<std::string>(status); in TestToLanguageTag() 5667 std::string result_af = loc_af.toLanguageTag<std::string>(status); in TestToLanguageTag() 5671 std::string result_ext = loc_ext.toLanguageTag<std::string>(status); in TestToLanguageTag() 5675 std::string result_empty = loc_empty.toLanguageTag<std::string>(status); in TestToLanguageTag() 5679 std::string result_ill = loc_ill.toLanguageTag<std::string>(status); in TestToLanguageTag() [all …]
|
/third_party/flutter/txt/src/minikin/ |
D | FontLanguageListCache.cpp | 35 static size_t toLanguageTag(char* output, in toLanguageTag() function 100 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList() 113 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList()
|
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | FontLanguageListCache.cpp | 34 static size_t toLanguageTag(char* output, in toLanguageTag() function 98 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList() 111 size_t length = toLanguageTag(langTag, ULOC_FULLNAME_CAPACITY, locale); in parseLanguageList()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/ |
D | locid.h | 425 void toLanguageTag(ByteSink& sink, UErrorCode& status) const; 438 inline StringClass toLanguageTag(UErrorCode& status) const; 1079 Locale::toLanguageTag(UErrorCode& status) const in toLanguageTag() function 1083 toLanguageTag(sink, status); in toLanguageTag()
|
/third_party/icu/icu4c/source/common/unicode/ |
D | locid.h | 427 void toLanguageTag(ByteSink& sink, UErrorCode& status) const; 440 inline StringClass toLanguageTag(UErrorCode& status) const; 1173 Locale::toLanguageTag(UErrorCode& status) const in toLanguageTag() function 1177 toLanguageTag(sink, status); in toLanguageTag()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | locid.h | 427 void toLanguageTag(ByteSink& sink, UErrorCode& status) const; 440 inline StringClass toLanguageTag(UErrorCode& status) const; 1173 Locale::toLanguageTag(UErrorCode& status) const in toLanguageTag() function 1177 toLanguageTag(sink, status); in toLanguageTag()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | locid.h | 427 void toLanguageTag(ByteSink& sink, UErrorCode& status) const; 440 inline StringClass toLanguageTag(UErrorCode& status) const; 1173 Locale::toLanguageTag(UErrorCode& status) const in toLanguageTag() function 1177 toLanguageTag(sink, status); in toLanguageTag()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | ULocaleTest.java | 4072 String langtag = loc.toLanguageTag(); in TestToLanguageTag() 4949 Assert.assertEquals(und, empty_new.toLanguageTag()); in TestUnd() 4950 Assert.assertEquals(und, root_new.toLanguageTag()); in TestUnd() 4951 Assert.assertEquals(und, und_new.toLanguageTag()); in TestUnd() 4953 Assert.assertEquals(und, empty_tag.toLanguageTag()); in TestUnd() 4954 Assert.assertEquals(und, root_tag.toLanguageTag()); in TestUnd() 4955 Assert.assertEquals(und, und_tag.toLanguageTag()); in TestUnd() 4957 Assert.assertEquals(und, root_build.toLanguageTag()); in TestUnd() 4958 Assert.assertEquals(und, und_build.toLanguageTag()); in TestUnd() 5011 Assert.assertEquals(tag, locale_new.toLanguageTag()); in TestUndScript() [all …]
|
D | LocaleDataTest.java | 210 if ("ms-ID".equals(locale.toLanguageTag()) || "sat".equals(locale.toLanguageTag())) { in TestExemplarSet() 285 if ("ms-ID".equals(locale.toLanguageTag()) || "sat".equals(locale.toLanguageTag())) { in TestExemplarSet2()
|
D | LocaleDistanceTest.java | 150 String desiredTag = args.desired.toLanguageTag(); in handle() 151 String supportedTag = args.supported.toLanguageTag(); in handle()
|
D | LocaleBuilderTest.java | 190 String langtag = loc.toLanguageTag(); in TestLocaleBuilder()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 4135 String langtag = loc.toLanguageTag(); in TestToLanguageTag() 5018 Assert.assertEquals(und, empty_new.toLanguageTag()); in TestUnd() 5019 Assert.assertEquals(und, root_new.toLanguageTag()); in TestUnd() 5020 Assert.assertEquals(und, und_new.toLanguageTag()); in TestUnd() 5022 Assert.assertEquals(und, empty_tag.toLanguageTag()); in TestUnd() 5023 Assert.assertEquals(und, root_tag.toLanguageTag()); in TestUnd() 5024 Assert.assertEquals(und, und_tag.toLanguageTag()); in TestUnd() 5026 Assert.assertEquals(und, root_build.toLanguageTag()); in TestUnd() 5027 Assert.assertEquals(und, und_build.toLanguageTag()); in TestUnd() 5080 Assert.assertEquals(tag, locale_new.toLanguageTag()); in TestUndScript() [all …]
|
D | LocaleDistanceTest.java | 147 String desiredTag = args.desired.toLanguageTag(); in handle() 148 String supportedTag = args.supported.toLanguageTag(); in handle()
|
D | LocaleBuilderTest.java | 187 String langtag = loc.toLanguageTag(); in TestLocaleBuilder()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | LocalizedNumberFormatterAsFormat.java | 119 proxy.languageTag = locale.toLanguageTag(); in writeReplace()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
D | NumberPermutationTest.java | 134 resultLines.add(" " + locale.toLanguageTag()); in testPermutations()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | NumberPermutationTest.java | 131 resultLines.add(" " + locale.toLanguageTag()); in testPermutations()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | LocalizedNumberFormatterAsFormat.java | 117 proxy.languageTag = locale.toLanguageTag(); in writeReplace()
|
/third_party/libphonenumber/java/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 213 "&geocodingLocale=" + URLEncoder.encode(geocodingLocale.toLanguageTag(), UTF_8.name())); in getPermaLinkURL() 259 + StringEscapeUtils.escapeHtml(geocodingLocale.toLanguageTag()) in getOutputForSingleNumber()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
D | XLikelySubtags.java | 191 String tag = locale.toLanguageTag(); in makeMaximizedLsrFrom() 202 String tag = locale.toLanguageTag(); in makeMaximizedLsrFrom()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
D | XLikelySubtags.java | 198 String tag = locale.toLanguageTag(); in makeMaximizedLsrFrom() 208 String tag = locale.toLanguageTag(); in makeMaximizedLsrFrom()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ULocale.java | 1678 ULocale.forLanguageTag(extensions)).toLanguageTag(); in replaceTransformedExtensions() 3485 public String toLanguageTag() { in toLanguageTag() method in ULocale 4449 String tag = uloc.toLanguageTag(); in toLocale()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | MeasureFormat.java | 951 out.writeUTF(locale.toLanguageTag()); in writeExternal()
|