Home
last modified time | relevance | path

Searched refs:displayLocale (Results 1 – 25 of 43) sorted by relevance

12

/third_party/skia/third_party/externals/icu/source/common/
Dlocdispnames.cpp56 Locale::getDisplayLanguage(const Locale &displayLocale, in getDisplayLanguage() argument
68 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
80 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
96 Locale::getDisplayScript(const Locale &displayLocale, in getDisplayScript() argument
108 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
120 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
136 Locale::getDisplayCountry(const Locale &displayLocale, in getDisplayCountry() argument
148 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
160 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
176 Locale::getDisplayVariant(const Locale &displayLocale, in getDisplayVariant() argument
[all …]
Ducnvdisp.cpp37 const char *displayLocale, in ucnv_getDisplayName() argument
56 rb=ures_open(NULL, displayLocale, pErrorCode); in ucnv_getDisplayName()
/third_party/node/deps/icu-small/source/common/
Dlocdispnames.cpp56 Locale::getDisplayLanguage(const Locale &displayLocale, in getDisplayLanguage() argument
68 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
80 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
96 Locale::getDisplayScript(const Locale &displayLocale, in getDisplayScript() argument
108 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
120 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
136 Locale::getDisplayCountry(const Locale &displayLocale, in getDisplayCountry() argument
148 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
160 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
176 Locale::getDisplayVariant(const Locale &displayLocale, in getDisplayVariant() argument
[all …]
Ducnvdisp.cpp37 const char *displayLocale, in ucnv_getDisplayName() argument
56 rb=ures_open(nullptr, displayLocale, pErrorCode); in ucnv_getDisplayName()
/third_party/icu/icu4c/source/common/
Dlocdispnames.cpp56 Locale::getDisplayLanguage(const Locale &displayLocale, in getDisplayLanguage() argument
68 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
80 length=uloc_getDisplayLanguage(fullName, displayLocale.fullName, in getDisplayLanguage()
96 Locale::getDisplayScript(const Locale &displayLocale, in getDisplayScript() argument
108 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
120 length=uloc_getDisplayScript(fullName, displayLocale.fullName, in getDisplayScript()
136 Locale::getDisplayCountry(const Locale &displayLocale, in getDisplayCountry() argument
148 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
160 length=uloc_getDisplayCountry(fullName, displayLocale.fullName, in getDisplayCountry()
176 Locale::getDisplayVariant(const Locale &displayLocale, in getDisplayVariant() argument
[all …]
Ducnvdisp.cpp37 const char *displayLocale, in ucnv_getDisplayName() argument
56 rb=ures_open(NULL, displayLocale, pErrorCode); in ucnv_getDisplayName()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DULocale.java1479 public String getDisplayLanguage(ULocale displayLocale) { in getDisplayLanguage() argument
1480 return getDisplayLanguageInternal(this, displayLocale, false); in getDisplayLanguage()
1502 public static String getDisplayLanguage(String localeID, ULocale displayLocale) { in getDisplayLanguage() argument
1503 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, false); in getDisplayLanguage()
1521 public String getDisplayLanguageWithDialect(ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1522 return getDisplayLanguageInternal(this, displayLocale, true); in getDisplayLanguageWithDialect()
1546 public static String getDisplayLanguageWithDialect(String localeID, ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
1547 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, true); in getDisplayLanguageWithDialect()
1550 private static String getDisplayLanguageInternal(ULocale locale, ULocale displayLocale, in getDisplayLanguageInternal() argument
1553 return LocaleDisplayNames.getInstance(displayLocale).languageDisplayName(lang); in getDisplayLanguageInternal()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DTestLocaleNamePackaging.java90 for (ULocale displayLocale : locales) { in testRegionDisplayNames()
91 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testRegionDisplayNames()
94 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testRegionDisplayNames()
156 for (ULocale displayLocale : locales) { in testLanguageDisplayNames()
157 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLanguageDisplayNames()
160 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testLanguageDisplayNames()
204 for (ULocale displayLocale : locales) { in testLocaleDisplayNameWithKeywords()
205 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLocaleDisplayNameWithKeywords()
207 assertEquals(kl + " in " + displayLocale, expected[n++], result); in testLocaleDisplayNameWithKeywords()
/third_party/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
DTestLocaleNamePackaging.java87 for (ULocale displayLocale : locales) { in testRegionDisplayNames()
88 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testRegionDisplayNames()
91 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testRegionDisplayNames()
153 for (ULocale displayLocale : locales) { in testLanguageDisplayNames()
154 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLanguageDisplayNames()
157 assertEquals(targetLocale + " in " + displayLocale, expected[n++], result); in testLanguageDisplayNames()
201 for (ULocale displayLocale : locales) { in testLocaleDisplayNameWithKeywords()
202 LocaleDisplayNames dn = LocaleDisplayNames.getInstance(displayLocale); in testLocaleDisplayNameWithKeywords()
204 assertEquals(kl + " in " + displayLocale, expected[n++], result); in testLocaleDisplayNameWithKeywords()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java1980 public String getDisplayLanguage(ULocale displayLocale) { in getDisplayLanguage() argument
1981 return getDisplayLanguageInternal(this, displayLocale, false); in getDisplayLanguage()
2005 public static String getDisplayLanguage(String localeID, ULocale displayLocale) { in getDisplayLanguage() argument
2006 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, false); in getDisplayLanguage()
2026 public String getDisplayLanguageWithDialect(ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
2027 return getDisplayLanguageInternal(this, displayLocale, true); in getDisplayLanguageWithDialect()
2053 public static String getDisplayLanguageWithDialect(String localeID, ULocale displayLocale) { in getDisplayLanguageWithDialect() argument
2054 return getDisplayLanguageInternal(new ULocale(localeID), displayLocale, true); in getDisplayLanguageWithDialect()
2057 private static String getDisplayLanguageInternal(ULocale locale, ULocale displayLocale, in getDisplayLanguageInternal() argument
2060 return LocaleDisplayNames.getInstance(displayLocale).languageDisplayName(lang); in getDisplayLanguageInternal()
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dcloctst.c782 static const char *displayLocale="ja"; in TestDisplayNames() local
789 int32_t preflightLen=uloc_getDisplayName(locale, displayLocale, NULL, 0, &ec); in TestDisplayNames()
794 len=uloc_getDisplayName(locale, displayLocale, result, UPRV_LENGTHOF(result), &ec); in TestDisplayNames()
797 locale, displayLocale, u_errorName(ec)); in TestDisplayNames()
804 locale, displayLocale, len, expectedLen); in TestDisplayNames()
807 locale, displayLocale, preflightLen, expectedLen); in TestDisplayNames()
813 log_err("uloc_getDisplayName(%s, %s...) mismatch", locale, displayLocale); in TestDisplayNames()
816 locale, displayLocale, resultChars, expectedChars); in TestDisplayNames()
823 len=uloc_getDisplayName(locale, displayLocale, result, i, &ec); in TestDisplayNames()
1008 static void doTestDisplayNames(const char* displayLocale, int32_t compareIndex) in doTestDisplayNames() argument
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Duloc.h575 const char* displayLocale,
604 const char* displayLocale,
636 const char* displayLocale,
666 const char* displayLocale,
715 const char* displayLocale,
744 const char* displayLocale,
Dlocid.h836 UnicodeString& getDisplayLanguage( const Locale& displayLocale,
864 UnicodeString& getDisplayScript( const Locale& displayLocale,
892 UnicodeString& getDisplayCountry( const Locale& displayLocale,
912 UnicodeString& getDisplayVariant( const Locale& displayLocale,
940 UnicodeString& getDisplayName( const Locale& displayLocale,
/third_party/node/deps/icu-small/source/common/unicode/
Duloc.h575 const char* displayLocale,
604 const char* displayLocale,
636 const char* displayLocale,
666 const char* displayLocale,
715 const char* displayLocale,
744 const char* displayLocale,
Dlocid.h836 UnicodeString& getDisplayLanguage( const Locale& displayLocale,
864 UnicodeString& getDisplayScript( const Locale& displayLocale,
892 UnicodeString& getDisplayCountry( const Locale& displayLocale,
912 UnicodeString& getDisplayVariant( const Locale& displayLocale,
940 UnicodeString& getDisplayName( const Locale& displayLocale,
/third_party/icu/icu4c/source/common/unicode/
Duloc.h575 const char* displayLocale,
604 const char* displayLocale,
636 const char* displayLocale,
666 const char* displayLocale,
715 const char* displayLocale,
744 const char* displayLocale,
Dlocid.h836 UnicodeString& getDisplayLanguage( const Locale& displayLocale,
864 UnicodeString& getDisplayScript( const Locale& displayLocale,
892 UnicodeString& getDisplayCountry( const Locale& displayLocale,
912 UnicodeString& getDisplayVariant( const Locale& displayLocale,
940 UnicodeString& getDisplayName( const Locale& displayLocale,
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollatorServiceShim.java81 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() argument
83 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
126 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
128 return service.getDisplayName(id, displayLocale); in getDisplayName()
DCollator.java550 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
551 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
562 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
567 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
1102 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
1104 ULocale.forLocale(displayLocale)); in getDisplayName()
1115 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
1116 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollatorServiceShim.java82 public String getDisplayName(String id, ULocale displayLocale) { in registerFactory() argument
84 return delegate.getDisplayName(objectLocale, displayLocale); in registerFactory()
127 String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
129 return service.getDisplayName(id, displayLocale); in getDisplayName()
DCollator.java523 public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
524 … return getDisplayName(ULocale.forLocale(objectLocale), ULocale.forLocale(displayLocale)); in getDisplayName()
534 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
539 return objectLocale.getDisplayName(displayLocale); in getDisplayName()
1060 static public String getDisplayName(Locale objectLocale, Locale displayLocale) { in getDisplayName() argument
1062 ULocale.forLocale(displayLocale)); in getDisplayName()
1072 static public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in getDisplayName() argument
1073 return getShim().getDisplayName(objectLocale, displayLocale); in getDisplayName()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/number/
DCurrencyDemo.java36 Locale displayLocale, in getCurrencyFormat() argument
40 NumberFormat result = NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat()
46 DecimalFormat result = (DecimalFormat)NumberFormat.getCurrencyInstance(displayLocale); in getCurrencyFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java1168 public String displayLocale; in TestDisplayNames() field in ULocaleTest.Item
1176 displayLocale = dLoc; in TestDisplayNames()
1253 ULocale locale = new ULocale(item.displayLocale); in TestDisplayNames()
1263 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
1273 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
1281 errln("FAIL: displayLoc: " + item.displayLocale + in TestDisplayNames()
1289 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
1297 errln("FAIL: displayLoc: " + item.displayLocale + in TestDisplayNames()
5114 final ULocale displayLocale = ULocale.ENGLISH; in TestUnd() local
5117 Assert.assertEquals(displayName, empty_new.getDisplayName(displayLocale)); in TestUnd()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DULocaleTest.java1150 public String displayLocale; in TestDisplayNames() field in ULocaleTest.Item
1158 displayLocale = dLoc; in TestDisplayNames()
1215 ULocale locale = new ULocale(item.displayLocale); in TestDisplayNames()
1225 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
1231 … errln("FAIL: displayLoc: " + item.displayLocale + ", dialectNam?: " + item.dialectHandling + in TestDisplayNames()
4980 final ULocale displayLocale = ULocale.ENGLISH; in TestUnd() local
4983 Assert.assertEquals(displayName, empty_new.getDisplayName(displayLocale)); in TestUnd()
4984 Assert.assertEquals(displayName, root_new.getDisplayName(displayLocale)); in TestUnd()
4985 Assert.assertEquals(displayName, und_new.getDisplayName(displayLocale)); in TestUnd()
4987 Assert.assertEquals(displayName, empty_tag.getDisplayName(displayLocale)); in TestUnd()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationServiceTest.java142 String getDisplayName(ULocale displayLocale) { in TestRegisterFactory() argument
145 name = (String)displayNames.get(displayLocale); in TestRegisterFactory()
148 name = locale.getDisplayName(displayLocale); in TestRegisterFactory()
176 public String getDisplayName(ULocale objectLocale, ULocale displayLocale) { in TestRegisterFactory() argument
179 return ci.getDisplayName(displayLocale); in TestRegisterFactory()

12