Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp619 int32_t localeIndex=0; in testAPI() local
623 while (localeIndex < MAX_LOCALE ) in testAPI()
628 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
629 …le: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][… in testAPI()
632 …RROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex); in testAPI()
644 …ERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + in testAPI()
651 localeIndex++; in testAPI()
658 localeIndex=0; in testAPI()
Ddtifmtts.cpp1373 uint32_t localeIndex; in testStress() local
1374 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) { in testStress()
1376 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
1377 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress()
1378 …(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale… in testStress()
Dloctest.cpp2689 for (int localeIndex = 0; localeIndex < numLocales; localeIndex++) { in TestBug11421() local
2690 const Locale &loc = localeList[localeIndex]; in TestBug11421()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java967 int localeIndex; in TestStress() local
968 for ( localeIndex = 0; localeIndex < testLocale.length; ++localeIndex) { in TestStress()
969 stress(DATA, DATA.length, new Locale(testLocale[localeIndex][0], in TestStress()
970 testLocale[localeIndex][1], testLocale[localeIndex][2]), in TestStress()
971 testLocale[localeIndex][0]+testLocale[localeIndex][1]); in TestStress()
/external/icu/icu4c/source/common/
Dlocmap.c983 uint32_t localeIndex; in uprv_convertToPosix() local
1021 for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) { in uprv_convertToPosix()
1022 if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) { in uprv_convertToPosix()
1023 pCandidate = getPosixID(&gPosixIDmap[localeIndex], hostid); in uprv_convertToPosix()
/external/icu/icu4c/source/i18n/
Drbnf.cpp103 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
272 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
644 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName() argument
645 if (localeIndex >= 0 && localeIndex < getNumberOfDisplayLocales() && in getDisplayName()
647 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/external/icu/icu4c/source/i18n/unicode/
Dunum.h811 unum_getAvailable(int32_t localeIndex);
Ducal.h969 ucal_getAvailable(int32_t localeIndex);
Dudat.h1274 udat_getAvailable(int32_t localeIndex);
Ducol.h803 ucol_getAvailable(int32_t localeIndex);
/external/icu/icu4c/source/test/cintltst/
Dcloctst.c1313 int32_t localeIndex = 0; in TestSimpleDisplayNames() local
1320 localeIndex = 1; /* Use the second locale for the rest of the test. */ in TestSimpleDisplayNames()
1323 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1327 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()