• Home
  • Raw
  • Download

Lines Matching refs:ldn

90   LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getGermany());  in TestCreate()  local
91 ldn->localeDisplayName("de_DE", temp); in TestCreate()
92 delete ldn; in TestCreate()
98 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS(), ULDN_DIALECT_NAMES); in TestCreateDialect() local
99 ldn->localeDisplayName("en_GB", temp); in TestCreateDialect()
100 delete ldn; in TestCreateDialect()
106 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestWithKeywordsAndEverything() local
110 ldn->localeDisplayName(locname, temp); in TestWithKeywordsAndEverything()
111 delete ldn; in TestWithKeywordsAndEverything()
117 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestKeywords() local
120 ldn->localeDisplayName(locname, temp); in TestKeywords()
121 delete ldn; in TestKeywords()
127 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestUntranslatedKeywords() local
130 ldn->localeDisplayName(locname, temp); in TestUntranslatedKeywords()
131 delete ldn; in TestUntranslatedKeywords()
137 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestPrivateUse() local
140 ldn->localeDisplayName(locname, temp); in TestPrivateUse()
141 delete ldn; in TestPrivateUse()
149 …ULocaleDisplayNames *ldn = uldn_open(Locale::getGermany().getName(), ULDN_STANDARD_NAMES, &status); in TestUldnOpen() local
150 int32_t len = uldn_localeDisplayName(ldn, "de_DE", result, kMaxResultSize, &status); in TestUldnOpen()
151 uldn_close(ldn); in TestUldnOpen()
158 ldn = uldn_open(NULL, ULDN_STANDARD_NAMES, &status); in TestUldnOpen()
159 const char *locale = uldn_getLocale(ldn); in TestUldnOpen()
163 uldn_close(ldn); in TestUldnOpen()
171 ULocaleDisplayNames *ldn = uldn_open(Locale::getUS().getName(), ULDN_DIALECT_NAMES, &status); in TestUldnOpenDialect() local
172 int32_t len = uldn_localeDisplayName(ldn, "en_GB", result, kMaxResultSize, &status); in TestUldnOpenDialect()
173 uldn_close(ldn); in TestUldnOpenDialect()
187 ULocaleDisplayNames *ldn = uldn_open(Locale::getUS().getName(), ULDN_STANDARD_NAMES, &status); in TestUldnWithKeywordsAndEverything() local
188 int32_t len = uldn_localeDisplayName(ldn, locname, result, kMaxResultSize, &status); in TestUldnWithKeywordsAndEverything()
189 uldn_close(ldn); in TestUldnWithKeywordsAndEverything()
201 …ULocaleDisplayNames *ldn = uldn_open(Locale::getGermany().getName(), ULDN_STANDARD_NAMES, &status); in TestUldnComponents() local
210 int32_t len = uldn_languageDisplayName(ldn, "en", result, kMaxResultSize, &status); in TestUldnComponents()
217 int32_t len = uldn_scriptDisplayName(ldn, "Hant", result, kMaxResultSize, &status); in TestUldnComponents()
223 int32_t len = uldn_scriptCodeDisplayName(ldn, USCRIPT_TRADITIONAL_HAN, result, kMaxResultSize, in TestUldnComponents()
230 int32_t len = uldn_regionDisplayName(ldn, "US", result, kMaxResultSize, &status); in TestUldnComponents()
236 int32_t len = uldn_variantDisplayName(ldn, "PRE_EURO", result, kMaxResultSize, &status); in TestUldnComponents()
242 int32_t len = uldn_keyDisplayName(ldn, "calendar", result, kMaxResultSize, &status); in TestUldnComponents()
248 int32_t len = uldn_keyValueDisplayName(ldn, "calendar", "gregorian", result, in TestUldnComponents()
254 uldn_close(ldn); in TestUldnComponents()
344 LocaleDisplayNames *ldn = LocaleDisplayNames::createInstance(Locale::getUS()); in TestRootEtc() local
347 ldn->localeDisplayName(locname, temp); in TestRootEtc()
350 ldn->languageDisplayName("root", temp); in TestRootEtc()
353 ldn->languageDisplayName("en_GB", temp); in TestRootEtc()
356 delete ldn; in TestRootEtc()