Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp624 int32_t localeIndex=0; in testAPI() local
628 while (localeIndex < MAX_LOCALE ) in testAPI()
633 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
634 …le: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][… in testAPI()
637 …RROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex); in testAPI()
649 …ERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + in testAPI()
656 localeIndex++; in testAPI()
663 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.cpp390 int32_t localeIndex; member
400 LocaleData() : localeIndex(0), patternIndex(0), testCounts(0), locales(NULL), in LocaleData()
408 localeIndex = -1; in resetTestIteration()
416 if (localeIndex >= nLocales - 1) { in nextTest()
420 ++localeIndex; in nextTest()
423 rLocaleIndex = localeIndex; in nextTest()
Dloctest.cpp2692 for (int localeIndex = 0; localeIndex < numLocales; localeIndex++) { in TestBug11421() local
2693 const Locale &loc = localeList[localeIndex]; in TestBug11421()
/external/icu/icu4c/source/common/
Dlocmap.c1016 uint32_t localeIndex; in uprv_convertToPosix() local
1061 for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) { in uprv_convertToPosix()
1062 if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) { in uprv_convertToPosix()
1063 pCandidate = getPosixID(&gPosixIDmap[localeIndex], hostid); in uprv_convertToPosix()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java978 int localeIndex; in TestStress() local
979 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
980 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
981 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
982 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java977 int localeIndex; in TestStress() local
978 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
979 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
980 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
981 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/icu/icu4c/source/i18n/
Drbnf.cpp105 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
274 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
646 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName() argument
647 if (localeIndex >= 0 && localeIndex < getNumberOfDisplayLocales() && in getDisplayName()
649 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java1095 AlphabeticIndex<?> localeIndex = new AlphabeticIndex<String>(Locale.CANADA); in testAddLabels_Locale() local
1097 localeIndex.addLabels(Locale.SIMPLIFIED_CHINESE); in testAddLabels_Locale()
1099 ulocaleIndex.getBucketLabels(), localeIndex.getBucketLabels()); in testAddLabels_Locale()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java1096 AlphabeticIndex<?> localeIndex = new AlphabeticIndex<String>(Locale.CANADA); in testAddLabels_Locale() local
1098 localeIndex.addLabels(Locale.SIMPLIFIED_CHINESE); in testAddLabels_Locale()
1100 ulocaleIndex.getBucketLabels(), localeIndex.getBucketLabels()); in testAddLabels_Locale()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h860 unum_getAvailable(int32_t localeIndex);
Dudat.h1295 udat_getAvailable(int32_t localeIndex);
Ducal.h973 ucal_getAvailable(int32_t localeIndex);
Ducol.h814 ucol_getAvailable(int32_t localeIndex);
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c1318 int32_t localeIndex = 0; in TestSimpleDisplayNames() local
1325 localeIndex = 1; /* Use the second locale for the rest of the test. */ in TestSimpleDisplayNames()
1328 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1332 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()