Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Dlocnmtst.cpp108 const char *locname = "en_Hant_US_VALLEY@calendar=gregorian;collation=phonebook"; in TestWithKeywordsAndEverything() local
111 ldn->localeDisplayName(locname, temp); in TestWithKeywordsAndEverything()
119 const char *locname = "ja@currency=JPY"; in TestCurrencyKeyword() local
121 ldn->localeDisplayName(locname, temp); in TestCurrencyKeyword()
129 const char *locname = "de@currency=XYZ"; in TestUnknownCurrencyKeyword() local
131 ldn->localeDisplayName(locname, temp); in TestUnknownCurrencyKeyword()
139 const char *locname = "de@foo=bar"; in TestUntranslatedKeywords() local
141 ldn->localeDisplayName(locname, temp); in TestUntranslatedKeywords()
149 const char *locname = "de@x=foobar"; in TestPrivateUse() local
151 ldn->localeDisplayName(locname, temp); in TestPrivateUse()
[all …]
/external/icu/icu4c/source/i18n/
Dtzgnames.cpp497 const UChar *locname = NULL; in getGenericLocationName() local
501 locname = nonConstThis->getGenericLocationName(tzCanonicalID); in getGenericLocationName()
505 if (locname == NULL) { in getGenericLocationName()
508 name.setTo(locname, u_strlen(locname)); in getGenericLocationName()
530 const UChar *locname = (const UChar *)uhash_get(fLocationNamesMap, tzIDKey); in getGenericLocationName() local
532 if (locname != NULL) { in getGenericLocationName()
534 if (locname == gEmpty) { in getGenericLocationName()
537 return locname; in getGenericLocationName()
586 locname = name.isEmpty() ? NULL : fStringPool.get(name, status); in getGenericLocationName()
591 if (locname == NULL) { in getGenericLocationName()
[all …]