Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp113 const char *locname = "en_Hant_US_VALLEY@calendar=gregorian;collation=phonebook"; in TestWithKeywordsAndEverything() local
116 ldn->localeDisplayName(locname, temp); in TestWithKeywordsAndEverything()
124 const char *locname = "ja@currency=JPY"; in TestCurrencyKeyword() local
126 ldn->localeDisplayName(locname, temp); in TestCurrencyKeyword()
134 const char *locname = "de@currency=XYZ"; in TestUnknownCurrencyKeyword() local
136 ldn->localeDisplayName(locname, temp); in TestUnknownCurrencyKeyword()
144 const char *locname = "de@foo=bar"; in TestUntranslatedKeywords() local
146 ldn->localeDisplayName(locname, temp); in TestUntranslatedKeywords()
154 const char *locname = "de@x=foobar"; in TestPrivateUse() local
156 ldn->localeDisplayName(locname, temp); in TestPrivateUse()
[all …]
/external/icu/icu4c/source/i18n/
Dtzgnames.cpp492 const UChar *locname = NULL; in getGenericLocationName() local
496 locname = nonConstThis->getGenericLocationName(tzCanonicalID); in getGenericLocationName()
500 if (locname == NULL) { in getGenericLocationName()
503 name.setTo(locname, u_strlen(locname)); in getGenericLocationName()
525 const UChar *locname = (const UChar *)uhash_get(fLocationNamesMap, tzIDKey); in getGenericLocationName() local
527 if (locname != NULL) { in getGenericLocationName()
529 if (locname == gEmpty) { in getGenericLocationName()
532 return locname; in getGenericLocationName()
569 locname = name.isEmpty() ? NULL : fStringPool.get(name, status); in getGenericLocationName()
574 if (locname == NULL) { in getGenericLocationName()
[all …]