/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/personname/ |
D | PersonNameFormatterImpl.java | 219 String localeStr = getNameLocale(name).toString(); in nameIsGnFirst() local 221 if (gnFirstLocales.contains(localeStr)) { in nameIsGnFirst() 223 } else if (snFirstLocales.contains(localeStr)) { in nameIsGnFirst() 227 int lastUnderbarPos = localeStr.lastIndexOf("_"); in nameIsGnFirst() 229 localeStr = localeStr.substring(0, lastUnderbarPos); in nameIsGnFirst() 231 localeStr = "root"; in nameIsGnFirst() 233 } while (!localeStr.equals("root")); in nameIsGnFirst()
|
/third_party/typescript/src/tsserver/ |
D | webServer.ts | 94 const localeStr = findArgument("--locale"); constant 95 if (localeStr) { 96 validateLocaleAndSetLanguage(localeStr, sys);
|
D | nodeServer.ts | 280 const localeStr = findArgument("--locale"); constant 281 if (localeStr) { 282 validateLocaleAndSetLanguage(localeStr, sys);
|
/third_party/musl/libc-test/src/functionalext/supplement/multibyte/multibyte_gtest/ |
D | multibyte_mbrtowc_test.cpp | 24 const char* localeStr = setlocale(LC_CTYPE, "C.UTF-8"); variable 25 EXPECT_EQ(std::string("C.UTF-8"), std::string(localeStr));
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cldrtest.c | 205 … const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); in TestKeyInRootRecursive() local 206 if (rootStr && localeStr && U_SUCCESS(errorCode)) { in TestKeyInRootRecursive() 207 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive() 235 localeStr = ures_getStringByIndex(arr,0,&localeStrLen,&errorCode); in TestKeyInRootRecursive() 254 if (localeStr[0] == (UChar)0x20) { in TestKeyInRootRecursive() 261 …else if ((localeStr[localeStrLen - 1] == (UChar)0x20) && (strcmp(subBundleKey,"separator") != 0)) { in TestKeyInRootRecursive() 272 const UChar *localeStrItr = localeStr; in TestKeyInRootRecursive() 316 && u_charDigitValue(localeStr[0]) != 0) in TestKeyInRootRecursive()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | numberformattesttuple.cpp | 121 CharString localeStr; in strToLocale() local 122 localeStr.appendInvariantChars(str, status); in strToLocale() 123 *static_cast<Locale *>(localePtr) = Locale(localeStr.data()); in strToLocale()
|
D | dtfmttst.cpp | 3907 const char * localeStr; member 3943 for (itemPtr = items; itemPtr->localeStr != NULL; itemPtr++ ) { in TestNumberAsStringParsing() 3944 Locale locale = Locale::createFromName(itemPtr->localeStr); in TestNumberAsStringParsing() 3957 …n("FAIL, err when expected success: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing() 3961 …n("FAIL, expected err but got none: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing() 3967 …L, mismatch formatting parsed date: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()
|
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
D | RBManager.java | 53 String localeStr = Preferences.getPreference("locale"); in RBManager() local 54 String language = Resources.getLanguage(localeStr); in RBManager() 55 String country = Resources.getCountry(localeStr); in RBManager() 56 String variant = Resources.getVariant(localeStr); in RBManager()
|
D | RBReporter.java | 83 String localeStr = Preferences.getPreference("locale"); in RBReporter() local 84 String language = Resources.getLanguage(localeStr); in RBReporter() 85 String country = Resources.getCountry(localeStr); in RBReporter() 86 String variant = Resources.getVariant(localeStr); in RBReporter()
|
/third_party/icu/icu4c/source/i18n/ |
D | rbnf.cpp | 1071 UChar* localeStr = localeName.getBuffer(len + 1); in getRuleSetDisplayName() local 1073 localeStr[len] = 0; in getRuleSetDisplayName() 1074 int32_t ix = localizations->indexForLocale(localeStr); in getRuleSetDisplayName() 1081 do { --len;} while (len > 0 && localeStr[len] != 0x005f); // underscore in getRuleSetDisplayName() 1082 while (len > 0 && localeStr[len-1] == 0x005F) --len; in getRuleSetDisplayName()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | rbnf.cpp | 1071 UChar* localeStr = localeName.getBuffer(len + 1); in getRuleSetDisplayName() local 1073 localeStr[len] = 0; in getRuleSetDisplayName() 1074 int32_t ix = localizations->indexForLocale(localeStr); in getRuleSetDisplayName() 1081 do { --len;} while (len > 0 && localeStr[len] != 0x005f); // underscore in getRuleSetDisplayName() 1082 while (len > 0 && localeStr[len-1] == 0x005F) --len; in getRuleSetDisplayName()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | rbnf.cpp | 1071 char16_t* localeStr = localeName.getBuffer(len + 1); in getRuleSetDisplayName() local 1073 localeStr[len] = 0; in getRuleSetDisplayName() 1074 int32_t ix = localizations->indexForLocale(localeStr); in getRuleSetDisplayName() 1081 do { --len;} while (len > 0 && localeStr[len] != 0x005f); // underscore in getRuleSetDisplayName() 1082 while (len > 0 && localeStr[len-1] == 0x005F) --len; in getRuleSetDisplayName()
|