Home
last modified time | relevance | path

Searched refs:ldn (Results 1 – 17 of 17) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp96 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany()); in TestCreate() local
97 ldn->localeDisplayName("de_DE", temp); in TestCreate()
98 delete ldn; in TestCreate()
104 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES); in TestCreateDialect() local
105 ldn->localeDisplayName("en_GB", temp); in TestCreateDialect()
106 delete ldn; in TestCreateDialect()
112 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestWithKeywordsAndEverything() local
116 ldn->localeDisplayName(locname, temp); in TestWithKeywordsAndEverything()
117 delete ldn; in TestWithKeywordsAndEverything()
123 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestCurrencyKeyword() local
[all …]
Dlocnmtst.h43 void VerifySubstitute(LocaleDisplayNames* ldn);
44 void VerifyNoSubstitute(LocaleDisplayNames* ldn);
Ditutil.cpp624 LocalULocaleDisplayNamesPointer ldn(uldn_open("de-CH", ULDN_STANDARD_NAMES, errorCode)); in TestLocalXyzPointer() local
628 if(ldn.isNull()) { in TestLocalXyzPointer()
/third_party/icu/icu4c/source/common/unicode/
Duldnames.h82 uldn_close(ULocaleDisplayNames *ldn);
113 uldn_getLocale(const ULocaleDisplayNames *ldn);
122 uldn_getDialectHandling(const ULocaleDisplayNames *ldn);
138 uldn_localeDisplayName(const ULocaleDisplayNames *ldn,
158 uldn_languageDisplayName(const ULocaleDisplayNames *ldn,
176 uldn_scriptDisplayName(const ULocaleDisplayNames *ldn,
194 uldn_scriptCodeDisplayName(const ULocaleDisplayNames *ldn,
212 uldn_regionDisplayName(const ULocaleDisplayNames *ldn,
230 uldn_variantDisplayName(const ULocaleDisplayNames *ldn,
248 uldn_keyDisplayName(const ULocaleDisplayNames *ldn,
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Duldnames.h82 uldn_close(ULocaleDisplayNames *ldn);
113 uldn_getLocale(const ULocaleDisplayNames *ldn);
122 uldn_getDialectHandling(const ULocaleDisplayNames *ldn);
138 uldn_localeDisplayName(const ULocaleDisplayNames *ldn,
158 uldn_languageDisplayName(const ULocaleDisplayNames *ldn,
176 uldn_scriptDisplayName(const ULocaleDisplayNames *ldn,
194 uldn_scriptCodeDisplayName(const ULocaleDisplayNames *ldn,
212 uldn_regionDisplayName(const ULocaleDisplayNames *ldn,
230 uldn_variantDisplayName(const ULocaleDisplayNames *ldn,
248 uldn_keyDisplayName(const ULocaleDisplayNames *ldn,
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Duldnames.h82 uldn_close(ULocaleDisplayNames *ldn);
113 uldn_getLocale(const ULocaleDisplayNames *ldn);
122 uldn_getDialectHandling(const ULocaleDisplayNames *ldn);
138 uldn_localeDisplayName(const ULocaleDisplayNames *ldn,
158 uldn_languageDisplayName(const ULocaleDisplayNames *ldn,
176 uldn_scriptDisplayName(const ULocaleDisplayNames *ldn,
194 uldn_scriptCodeDisplayName(const ULocaleDisplayNames *ldn,
212 uldn_regionDisplayName(const ULocaleDisplayNames *ldn,
230 uldn_variantDisplayName(const ULocaleDisplayNames *ldn,
248 uldn_keyDisplayName(const ULocaleDisplayNames *ldn,
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Duldnames.h79 uldn_close(ULocaleDisplayNames *ldn);
110 uldn_getLocale(const ULocaleDisplayNames *ldn);
119 uldn_getDialectHandling(const ULocaleDisplayNames *ldn);
135 uldn_localeDisplayName(const ULocaleDisplayNames *ldn,
155 uldn_languageDisplayName(const ULocaleDisplayNames *ldn,
173 uldn_scriptDisplayName(const ULocaleDisplayNames *ldn,
191 uldn_scriptCodeDisplayName(const ULocaleDisplayNames *ldn,
209 uldn_regionDisplayName(const ULocaleDisplayNames *ldn,
227 uldn_variantDisplayName(const ULocaleDisplayNames *ldn,
245 uldn_keyDisplayName(const ULocaleDisplayNames *ldn,
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dlocdspnm.cpp887 uldn_close(ULocaleDisplayNames *ldn) { in uldn_close() argument
888 delete (LocaleDisplayNames *)ldn; in uldn_close()
892 uldn_getLocale(const ULocaleDisplayNames *ldn) { in uldn_getLocale() argument
893 if (ldn) { in uldn_getLocale()
894 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
900 uldn_getDialectHandling(const ULocaleDisplayNames *ldn) { in uldn_getDialectHandling() argument
901 if (ldn) { in uldn_getDialectHandling()
902 return ((const LocaleDisplayNames *)ldn)->getDialectHandling(); in uldn_getDialectHandling()
908 uldn_getContext(const ULocaleDisplayNames *ldn, in uldn_getContext() argument
914 return ((const LocaleDisplayNames *)ldn)->getContext(type); in uldn_getContext()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dlocdspnm.cpp939 uldn_close(ULocaleDisplayNames *ldn) { in uldn_close() argument
940 delete (LocaleDisplayNames *)ldn; in uldn_close()
944 uldn_getLocale(const ULocaleDisplayNames *ldn) { in uldn_getLocale() argument
945 if (ldn) { in uldn_getLocale()
946 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
952 uldn_getDialectHandling(const ULocaleDisplayNames *ldn) { in uldn_getDialectHandling() argument
953 if (ldn) { in uldn_getDialectHandling()
954 return ((const LocaleDisplayNames *)ldn)->getDialectHandling(); in uldn_getDialectHandling()
960 uldn_getContext(const ULocaleDisplayNames *ldn, in uldn_getContext() argument
966 return ((const LocaleDisplayNames *)ldn)->getContext(type); in uldn_getContext()
[all …]
/third_party/icu/icu4c/source/common/
Dlocdspnm.cpp939 uldn_close(ULocaleDisplayNames *ldn) { in uldn_close() argument
940 delete (LocaleDisplayNames *)ldn; in uldn_close()
944 uldn_getLocale(const ULocaleDisplayNames *ldn) { in uldn_getLocale() argument
945 if (ldn) { in uldn_getLocale()
946 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
952 uldn_getDialectHandling(const ULocaleDisplayNames *ldn) { in uldn_getDialectHandling() argument
953 if (ldn) { in uldn_getDialectHandling()
954 return ((const LocaleDisplayNames *)ldn)->getDialectHandling(); in uldn_getDialectHandling()
960 uldn_getContext(const ULocaleDisplayNames *ldn, in uldn_getContext() argument
966 return ((const LocaleDisplayNames *)ldn)->getContext(type); in uldn_getContext()
[all …]
/third_party/node/deps/icu-small/source/common/
Dlocdspnm.cpp965 uldn_close(ULocaleDisplayNames *ldn) { in uldn_close() argument
966 delete (LocaleDisplayNames *)ldn; in uldn_close()
970 uldn_getLocale(const ULocaleDisplayNames *ldn) { in uldn_getLocale() argument
971 if (ldn) { in uldn_getLocale()
972 return ((const LocaleDisplayNames *)ldn)->getLocale().getName(); in uldn_getLocale()
978 uldn_getDialectHandling(const ULocaleDisplayNames *ldn) { in uldn_getDialectHandling() argument
979 if (ldn) { in uldn_getDialectHandling()
980 return ((const LocaleDisplayNames *)ldn)->getDialectHandling(); in uldn_getDialectHandling()
986 uldn_getContext(const ULocaleDisplayNames *ldn, in uldn_getContext() argument
992 return ((const LocaleDisplayNames *)ldn)->getContext(type); in uldn_getContext()
[all …]
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
DSample40_PopMsg.java32 LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(ULocale.forLocale(defaultLocaleID), in main() local
34 String defaultLocaleName = ldn.localeDisplayName(defaultLocaleID); in main()
DSample50_PopSort.java36 LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(ULocale.forLocale(defaultLocaleID), in main() local
38 String defaultLocaleName = ldn.localeDisplayName(defaultLocaleID); in main()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DULocaleTest.java785 … LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(Locale.US, DisplayContext.DIALECT_NAMES); in TestUldnWithGarbage() local
788 String result = ldn.localeDisplayName(badLocaleID); in TestUldnWithGarbage()
793 result = ldn.localeDisplayName(badLocale); in TestUldnWithGarbage()
1216 …LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capital… in TestDisplayNames() local
1217 … DisplayContext dialectHandling = ldn.getContext(DisplayContext.Type.DIALECT_HANDLING); in TestDisplayNames()
1220ldn.getDialectHandling() == LocaleDisplayNames.DialectHandling.DIALECT_NAMES); in TestDisplayNames()
1221 DisplayContext capitalization = ldn.getContext(DisplayContext.Type.CAPITALIZATION); in TestDisplayNames()
1222 DisplayContext nameLength = ldn.getContext(DisplayContext.Type.DISPLAY_LENGTH); in TestDisplayNames()
1223 … DisplayContext substituteHandling = ldn.getContext(DisplayContext.Type.SUBSTITUTE_HANDLING); in TestDisplayNames()
1229 String result = ldn.localeDisplayName(item.localeToBeNamed); in TestDisplayNames()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java784 … LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(Locale.US, DisplayContext.DIALECT_NAMES); in TestUldnWithGarbage() local
787 String result = ldn.localeDisplayName(badLocaleID); in TestUldnWithGarbage()
792 result = ldn.localeDisplayName(badLocale); in TestUldnWithGarbage()
1220 …LocaleDisplayNames ldn = LocaleDisplayNames.getInstance(locale, item.dialectHandling, item.capital… in TestDisplayNames() local
1221 … DisplayContext dialectHandling = ldn.getContext(DisplayContext.Type.DIALECT_HANDLING); in TestDisplayNames()
1224ldn.getDialectHandling() == LocaleDisplayNames.DialectHandling.DIALECT_NAMES); in TestDisplayNames()
1225 DisplayContext capitalization = ldn.getContext(DisplayContext.Type.CAPITALIZATION); in TestDisplayNames()
1226 DisplayContext nameLength = ldn.getContext(DisplayContext.Type.DISPLAY_LENGTH); in TestDisplayNames()
1227 … DisplayContext substituteHandling = ldn.getContext(DisplayContext.Type.SUBSTITUTE_HANDLING); in TestDisplayNames()
1233 String result = ldn.localeDisplayName(item.localeToBeNamed); in TestDisplayNames()
/third_party/icu/icu4c/source/test/cintltst/
Dcloctst.c1253 ULocaleDisplayNames* ldn = uldn_openForContext("en", contexts, 1, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute() local
1255 uldn_localeDisplayName(ldn, "efg", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1262 uldn_languageDisplayName(ldn, "zz", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1269 uldn_scriptDisplayName(ldn, "Aaaa", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1276 uldn_regionDisplayName(ldn, "KK", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1283 uldn_variantDisplayName(ldn, "ZZ", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1290 uldn_keyDisplayName(ldn, "zz", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1297 uldn_keyValueDisplayName(ldn, "ca", "zz", getName, kDisplayNameBracketsMax, &status); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
1303 uldn_close(ldn); in TestIllegalArgumentWhenNoDataWithNoSubstitute()
/third_party/rust/crates/regex/bench/src/data/
D1MB.txt17231 ldn