Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Dcldrtest.c201 … const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); in TestKeyInRootRecursive() local
202 if (rootStr && localeStr && U_SUCCESS(errorCode)) { in TestKeyInRootRecursive()
203 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive()
215 if (localeStr[0] == (UChar)0x20) { in TestKeyInRootRecursive()
222 else if (localeStr[localeStrLen - 1] == (UChar)0x20) { in TestKeyInRootRecursive()
233 const UChar *localeStrItr = localeStr; in TestKeyInRootRecursive()
277 && u_charDigitValue(localeStr[0]) != 0) in TestKeyInRootRecursive()
/external/icu4c/i18n/
Drbnf.cpp944 UChar* localeStr = localeName.getBuffer(len + 1); in getRuleSetDisplayName() local
946 localeStr[len] = 0; in getRuleSetDisplayName()
947 int32_t ix = localizations->indexForLocale(localeStr); in getRuleSetDisplayName()
954 do { --len;} while (len > 0 && localeStr[len] != 0x005f); // underscore in getRuleSetDisplayName()
955 while (len > 0 && localeStr[len-1] == 0x005F) --len; in getRuleSetDisplayName()