Home
last modified time | relevance | path

Searched refs:localeIndex (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp628 int32_t localeIndex=0; in testAPI() local
632 while (localeIndex < MAX_LOCALE ) in testAPI()
637 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
638 …le: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][… in testAPI()
641 …RROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex); in testAPI()
653 …ERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + in testAPI()
660 localeIndex++; in testAPI()
667 localeIndex=0; in testAPI()
Ddtifmtts.cpp1360 uint32_t localeIndex; in testStress() local
1361 for ( localeIndex = 0; localeIndex < UPRV_LENGTHOF(testLocale); ++localeIndex ) { in testStress()
1363 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
1364 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress()
1365 …TA, UPRV_LENGTHOF(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale… in testStress()
Dtzfmttst.cpp397 int32_t localeIndex; member
407 LocaleData() : localeIndex(0), patternIndex(0), testCounts(0), locales(NULL), in LocaleData()
415 localeIndex = -1; in resetTestIteration()
423 if (localeIndex >= nLocales - 1) { in nextTest()
427 ++localeIndex; in nextTest()
430 rLocaleIndex = localeIndex; in nextTest()
Dloctest.cpp2910 for (int localeIndex = 0; localeIndex < numLocales; localeIndex++) { in TestBug11421() local
2911 const Locale &loc = localeList[localeIndex]; in TestBug11421()
/external/icu/icu4c/source/common/
Dlocmap.cpp1060 uint32_t localeIndex; in uprv_convertToPosix() local
1119 for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) { in uprv_convertToPosix()
1120 if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) { in uprv_convertToPosix()
1121 pCandidate = getPosixID(&gPosixIDmap[localeIndex], hostid); in uprv_convertToPosix()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java980 int localeIndex; in TestStress() local
981 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
982 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
983 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
984 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java983 int localeIndex; in TestStress() local
984 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
985 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
986 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
987 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/icu/icu4c/source/i18n/
Drbnf.cpp109 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
278 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
670 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName() argument
671 if (localeIndex >= 0 && localeIndex < getNumberOfDisplayLocales() && in getDisplayName()
673 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java1101 AlphabeticIndex<?> localeIndex = new AlphabeticIndex<String>(Locale.CANADA); in testAddLabels_Locale() local
1103 localeIndex.addLabels(Locale.SIMPLIFIED_CHINESE); in testAddLabels_Locale()
1105 ulocaleIndex.getBucketLabels(), localeIndex.getBucketLabels()); in testAddLabels_Locale()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java1098 AlphabeticIndex<?> localeIndex = new AlphabeticIndex<String>(Locale.CANADA); in testAddLabels_Locale() local
1100 localeIndex.addLabels(Locale.SIMPLIFIED_CHINESE); in testAddLabels_Locale()
1102 ulocaleIndex.getBucketLabels(), localeIndex.getBucketLabels()); in testAddLabels_Locale()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h986 ucal_getAvailable(int32_t localeIndex);
Dudat.h1293 udat_getAvailable(int32_t localeIndex);
Dunum.h925 unum_getAvailable(int32_t localeIndex);
Ducol.h814 ucol_getAvailable(int32_t localeIndex);
/external/icu/libandroidicu/include/unicode/
Dunum.h925 unum_getAvailable(int32_t localeIndex);
Dudat.h1293 udat_getAvailable(int32_t localeIndex);
Ducal.h986 ucal_getAvailable(int32_t localeIndex);
Ducol.h814 ucol_getAvailable(int32_t localeIndex);
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowKeyboards.java209 Map<String, String> localeIndex = new TreeMap<String, String>(); in showHtml() local
223 localeIndex.put(localeName, baseLocale); in showHtml()
240 for (Entry<String, String> entry : localeIndex.entrySet()) { in showHtml()
/external/icu/libandroidicu/static_shim/
Dshim.cpp757 const char * ucal_getAvailable_android(int32_t localeIndex) { in ucal_getAvailable_android() argument
758 return ucal_getAvailable(localeIndex); in ucal_getAvailable_android()
1132 const char * ucol_getAvailable_android(int32_t localeIndex) { in ucol_getAvailable_android() argument
1133 return ucol_getAvailable(localeIndex); in ucol_getAvailable_android()
1396 const char * udat_getAvailable_android(int32_t localeIndex) { in udat_getAvailable_android() argument
1397 return udat_getAvailable(localeIndex); in udat_getAvailable_android()
2040 const char * unum_getAvailable_android(int32_t localeIndex) { in unum_getAvailable_android() argument
2041 return unum_getAvailable(localeIndex); in unum_getAvailable_android()
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c1323 int32_t localeIndex = 0; in TestSimpleDisplayNames() local
1330 localeIndex = 1; /* Use the second locale for the rest of the test. */ in TestSimpleDisplayNames()
1333 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1337 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()