Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Dcldrtest.c195 … const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); in TestKeyInRootRecursive() local
196 if (rootStr && localeStr && U_SUCCESS(errorCode)) { in TestKeyInRootRecursive()
197 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive()
225 localeStr = ures_getStringByIndex(arr,0,&localeStrLen,&errorCode); in TestKeyInRootRecursive()
244 if (localeStr[0] == (UChar)0x20) { in TestKeyInRootRecursive()
251 …else if ((localeStr[localeStrLen - 1] == (UChar)0x20) && (strcmp(subBundleKey,"separator") != 0)) { in TestKeyInRootRecursive()
262 const UChar *localeStrItr = localeStr; in TestKeyInRootRecursive()
306 && 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()