Home
last modified time | relevance | path

Searched refs:toLanguageTag (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
Dlocid.h425 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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DXLocaleMatcherTest.java303 …tring expectedLanguageTag = expected.equals("null") ? null : new ULocale(expected).toLanguageTag(); in handle()
307 : new ULocale(expectedUi).toLanguageTag(); in handle()
321 …uals(commentBase + " (UI)", expectedUiLanguageTag, bestUI == null ? null : bestUI.toLanguageTag()); in handle()
325 … String bestMatchLanguageTag = bestSupported == null ? null : bestSupported.toLanguageTag(); in handle()
DXLocaleDistanceTest.java195 String desiredTag = args.desired.toLanguageTag(); in handle()
196 String supportedTag = args.supported.toLanguageTag(); in handle()
DLocaleBuilderTest.java190 String langtag = loc.toLanguageTag(); in TestLocaleBuilder()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DXLocaleMatcherTest.java300 …tring expectedLanguageTag = expected.equals("null") ? null : new ULocale(expected).toLanguageTag(); in handle()
304 : new ULocale(expectedUi).toLanguageTag(); in handle()
318 …uals(commentBase + " (UI)", expectedUiLanguageTag, bestUI == null ? null : bestUI.toLanguageTag()); in handle()
322 … String bestMatchLanguageTag = bestSupported == null ? null : bestSupported.toLanguageTag(); in handle()
DXLocaleDistanceTest.java192 String desiredTag = args.desired.toLanguageTag(); in handle()
193 String supportedTag = args.supported.toLanguageTag(); in handle()
DLocaleBuilderTest.java187 String langtag = loc.toLanguageTag(); in TestLocaleBuilder()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DXLocaleMatcherTest.java287 …tring expectedLanguageTag = expected.equals("null") ? null : new ULocale(expected).toLanguageTag(); in handle()
291 : new ULocale(expectedUi).toLanguageTag(); in handle()
304 …uals(commentBase + " (UI)", expectedUiLanguageTag, bestUI == null ? null : bestUI.toLanguageTag()); in handle()
308 … String bestMatchLanguageTag = bestSupported == null ? null : bestSupported.toLanguageTag(); in handle()
DTestCLDRUtils.java59 checkNames(english, new ULocale("en_US_POSIX").toLanguageTag(), in TestVariantName()
74 checkNames(english, new ULocale("el__POLYTON").toLanguageTag(), in TestVariantName()
256 assertEquals(test, test, CLDRLocale.getInstance(test).toLanguageTag()); in TestCLDRLocaleEquivalence()
DXLocaleDistanceTest.java177 String desiredTag = args.desired.toLanguageTag(); in handle()
178 String supportedTag = args.supported.toLanguageTag(); in handle()
DTestLanguageGroup.java86 String childString = child.toLanguageTag(); in TestOldLangaugeGroup()
DTestBcp47Transforms.java214 return ulocale.toLanguageTag(); in getStandard()
DTestTransforms.java198 String expected = ULocale.forLanguageTag(id).toLanguageTag(); in checkTransformID()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRLocale.java249 return toLanguageTag(); in toDisplayLanguageTag()
257 public String toLanguageTag() { in toLanguageTag() method in CLDRLocale
258 return ulocale.toLanguageTag(); in toLanguageTag()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java115 proxy.languageTag = locale.toLanguageTag(); in writeReplace()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLocalizedNumberFormatterAsFormat.java113 proxy.languageTag = locale.toLanguageTag(); in writeReplace()
/external/libphonenumber/demo/src/com/google/phonenumbers/
DPhoneNumberParserServlet.java208 URLEncoder.encode(geocodingLocale.toLanguageTag(), UTF_8.name())); in getPermaLinkURL()
254 + StringEscapeUtils.escapeHtml(geocodingLocale.toLanguageTag()) + "<BR>"); in getOutputForSingleNumber()
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLikelySubtags.java570 final String maxOldS = maxOld.toLanguageTag(); in main()
574 final String minOldSS = minOldS.toLanguageTag(); in main()
578 final String minOldRS = minOldS.toLanguageTag(); in main()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp3015 loc_c.toLanguageTag(sink, status); in TestToLanguageTag()
3019 std::string result_c = loc_c.toLanguageTag<std::string>(status); in TestToLanguageTag()
3023 std::string result_en = loc_en.toLanguageTag<std::string>(status); in TestToLanguageTag()
3027 std::string result_af = loc_af.toLanguageTag<std::string>(status); in TestToLanguageTag()
3031 std::string result_empty = loc_empty.toLanguageTag<std::string>(status); in TestToLanguageTag()
3035 std::string result_ill = loc_ill.toLanguageTag<std::string>(status); in TestToLanguageTag()
3041 std::string result_bogus = loc_bogus.toLanguageTag<std::string>(status); in TestToLanguageTag()
3153 std::string result = l.toLanguageTag<std::string>(status); in TestBug13417VeryLongLanguageTag()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DULocaleTest.java777 String result = test_ulocales[i].toLanguageTag(); in testToLanguageTag()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DMeasureFormat.java1013 out.writeUTF(locale.toLanguageTag()); in writeExternal()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DMeasureFormat.java972 out.writeUTF(locale.toLanguageTag()); in writeExternal()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java3066 public String toLanguageTag() { in toLanguageTag() method in ULocale
4032 String tag = uloc.toLanguageTag(); in toLocale()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java2563 public String toLanguageTag() { in toLanguageTag() method in ULocale
3657 String tag = uloc.toLanguageTag(); in toLocale7()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java3199 public String toLanguageTag() { in toLanguageTag() method in ULocale
4201 String tag = uloc.toLanguageTag(); in toLocale()

12