Home
last modified time | relevance | path

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

/third_party/musl/src/locale/
Ddcngettext.c162 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local
168 locname = lm->name; in dcngettext()
172 loclen = strlen(locname); in dcngettext()
176 modname = memchr(locname, '@', loclen); in dcngettext()
177 if (!modname) modname = locname + loclen; in dcngettext()
178 alt_modlen = modlen = loclen - (modname-locname); in dcngettext()
179 loclen = modname-locname; in dcngettext()
182 const char *csp = memchr(locname, '.', loclen); in dcngettext()
183 if (csp) loclen = csp-locname; in dcngettext()
190 dirname, (int)loclen, locname, in dcngettext()
[all …]
/third_party/musl/porting/linux/user/src/locale/
Ddcngettext.c207 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local
213 locname = lm->name; in dcngettext()
217 loclen = strlen(locname); in dcngettext()
221 modname = memchr(locname, '@', loclen); in dcngettext()
223 modname = locname + loclen; in dcngettext()
225 alt_modlen = modlen = loclen - (modname-locname); in dcngettext()
226 loclen = modname-locname; in dcngettext()
229 const char *csp = memchr(locname, '.', loclen); in dcngettext()
231 loclen = csp-locname; in dcngettext()
239 dirname, (int)loclen, locname, in dcngettext()
[all …]
/third_party/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 …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/flutter/skia/third_party/externals/icu/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 …]
/third_party/node/deps/icu-small/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 …]
/third_party/icu/tools/unicodetools/com/ibm/rbm/gui/
DPreferencesDialog.java123 String locname = Resources.getLocale().toString(); in initComponents() local
127 if (machineCombo.getItemAt(i).toString().equalsIgnoreCase(locname)) { in initComponents()
133 if (definedCombo.getItemAt(i).toString().equalsIgnoreCase(locname)) { in initComponents()
/third_party/libsnd/tests/
Dlocale_test.c129 locname = filename = NULL ; in locale_test()