Home
last modified time | relevance | path

Searched refs:localeStr (Results 1 – 3 of 3) sorted by relevance

/external/icu4c/test/cintltst/
Dcldrtest.c197 … const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); in TestKeyInRootRecursive() local
198 if (rootStr && localeStr && U_SUCCESS(errorCode)) { in TestKeyInRootRecursive()
199 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive()
227 localeStr = ures_getStringByIndex(arr,0,&localeStrLen,&errorCode); in TestKeyInRootRecursive()
246 if (localeStr[0] == (UChar)0x20) { in TestKeyInRootRecursive()
253 …else if ((localeStr[localeStrLen - 1] == (UChar)0x20) && (strcmp(subBundleKey,"separator") != 0)) { in TestKeyInRootRecursive()
264 const UChar *localeStrItr = localeStr; in TestKeyInRootRecursive()
308 && u_charDigitValue(localeStr[0]) != 0) in TestKeyInRootRecursive()
/external/icu4c/i18n/
Drbnf.cpp997 UChar* localeStr = localeName.getBuffer(len + 1); in getRuleSetDisplayName() local
999 localeStr[len] = 0; in getRuleSetDisplayName()
1000 int32_t ix = localizations->indexForLocale(localeStr); in getRuleSetDisplayName()
1007 do { --len;} while (len > 0 && localeStr[len] != 0x005f); // underscore in getRuleSetDisplayName()
1008 while (len > 0 && localeStr[len-1] == 0x005F) --len; in getRuleSetDisplayName()
/external/icu4c/test/intltest/
Ddtfmttst.cpp3478 const char * localeStr; member
3514 for (itemPtr = items; itemPtr->localeStr != NULL; itemPtr++ ) { in TestNumberAsStringParsing()
3515 Locale locale = Locale::createFromName(itemPtr->localeStr); in TestNumberAsStringParsing()
3527 …n("FAIL, err when expected success: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()
3531 …n("FAIL, expected err but got none: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()
3537 …L, mismatch formatting parsed date: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()