Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/icu/
DLDMLComparator.java127 private String localeStr; field in LDMLComparator
226 localeStr = goldFileName.substring(goldFileName.lastIndexOf(File.separatorChar) + 1, in processArgs()
229 String fileName = destFolder + File.separator + localeStr + ".html"; in processArgs()
255 printHTML(writer, localeStr); in processArgs()
257 ULocale ourLocale = new ULocale(localeStr); in processArgs()
259 + ourLocale.getDisplayCountry() + "_" + localeStr + ".idx"; in processArgs()
264 localeStr + in processArgs()
266 indexwriter.println(" <td><a href=\"" + localeStr + ".html" + "\">" + in processArgs()
272 … indexwriter.println(" <td>" + LDMLUtilities.getCVSLink(localeStr, ourCvsVersion) in processArgs()
382 int index = localeStr.indexOf("_"); in printTableHeader()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c203 … const UChar *localeStr = ures_getStringByIndex(subBundle,idx,&localeStrLen,&errorCode); in TestKeyInRootRecursive() local
204 if (rootStr && localeStr && U_SUCCESS(errorCode)) { in TestKeyInRootRecursive()
205 if (u_strcmp(rootStr, localeStr) != 0) { in TestKeyInRootRecursive()
233 localeStr = ures_getStringByIndex(arr,0,&localeStrLen,&errorCode); in TestKeyInRootRecursive()
252 if (localeStr[0] == (UChar)0x20) { in TestKeyInRootRecursive()
259 …else if ((localeStr[localeStrLen - 1] == (UChar)0x20) && (strcmp(subBundleKey,"separator") != 0)) { in TestKeyInRootRecursive()
270 const UChar *localeStrItr = localeStr; in TestKeyInRootRecursive()
314 && u_charDigitValue(localeStr[0]) != 0) in TestKeyInRootRecursive()
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.cpp118 CharString localeStr; in strToLocale() local
119 localeStr.appendInvariantChars(str, status); in strToLocale()
120 *static_cast<Locale *>(localePtr) = Locale(localeStr.data()); in strToLocale()
Ddtfmttst.cpp3821 const char * localeStr; member
3857 for (itemPtr = items; itemPtr->localeStr != NULL; itemPtr++ ) { in TestNumberAsStringParsing()
3858 Locale locale = Locale::createFromName(itemPtr->localeStr); in TestNumberAsStringParsing()
3871 …n("FAIL, err when expected success: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()
3875 …n("FAIL, expected err but got none: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()
3881 …L, mismatch formatting parsed date: Locale \"" + UnicodeString(itemPtr->localeStr) + "\", lenient … in TestNumberAsStringParsing()
/external/icu/icu4c/source/i18n/
Drbnf.cpp1065 UChar* localeStr = localeName.getBuffer(len + 1); in getRuleSetDisplayName() local
1067 localeStr[len] = 0; in getRuleSetDisplayName()
1068 int32_t ix = localizations->indexForLocale(localeStr); in getRuleSetDisplayName()
1075 do { --len;} while (len > 0 && localeStr[len] != 0x005f); // underscore in getRuleSetDisplayName()
1076 while (len > 0 && localeStr[len-1] == 0x005F) --len; in getRuleSetDisplayName()