Home
last modified time | relevance | path

Searched refs:locname (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp112 const char *locname = "en_Hant_US_VALLEY@calendar=gregorian;collation=phonebook"; in TestWithKeywordsAndEverything() local
115 ldn->localeDisplayName(locname, temp); in TestWithKeywordsAndEverything()
123 const char *locname = "ja@currency=JPY"; in TestCurrencyKeyword() local
125 ldn->localeDisplayName(locname, temp); in TestCurrencyKeyword()
133 const char *locname = "de@currency=XYZ"; in TestUnknownCurrencyKeyword() local
135 ldn->localeDisplayName(locname, temp); in TestUnknownCurrencyKeyword()
143 const char *locname = "de@foo=bar"; in TestUntranslatedKeywords() local
145 ldn->localeDisplayName(locname, temp); in TestUntranslatedKeywords()
153 const char *locname = "de@x=foobar"; in TestPrivateUse() local
155 ldn->localeDisplayName(locname, temp); in TestPrivateUse()
[all …]
/external/icu/icu4c/source/i18n/
Dtzgnames.cpp486 const UChar *locname = NULL; in getGenericLocationName() local
490 locname = nonConstThis->getGenericLocationName(tzCanonicalID); in getGenericLocationName()
494 if (locname == NULL) { in getGenericLocationName()
497 name.setTo(locname, u_strlen(locname)); in getGenericLocationName()
519 const UChar *locname = (const UChar *)uhash_get(fLocationNamesMap, tzIDKey); in getGenericLocationName() local
521 if (locname != NULL) { in getGenericLocationName()
523 if (locname == gEmpty) { in getGenericLocationName()
526 return locname; in getGenericLocationName()
563 locname = name.isEmpty() ? NULL : fStringPool.get(name, status); in getGenericLocationName()
568 if (locname == NULL) { in getGenericLocationName()
[all …]