Home
last modified time | relevance | path

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

/external/icu4c/test/intltest/
Ddtptngts.cpp557 int32_t localeIndex=0; in testAPI() local
561 while (localeIndex < MAX_LOCALE ) in testAPI()
566 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
567 …le: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][… in testAPI()
570 …RROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex); in testAPI()
582 …ERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + in testAPI()
589 localeIndex++; in testAPI()
596 localeIndex=0; in testAPI()
Ddtifmtts.cpp1214 uint32_t localeIndex; in testStress() local
1215 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) { in testStress()
1217 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
1218 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress()
1219 …(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale… in testStress()
/external/icu4c/common/
Dlocmap.c952 uint32_t localeIndex; in uprv_convertToPosix() local
960 FIX_LOCALE_ID_TAG_SEPARATOR(gPosixFromLCID, (uint32_t)ret, localeIndex) in uprv_convertToPosix()
968 for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) in uprv_convertToPosix()
970 if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) in uprv_convertToPosix()
972 return getPosixID(&gPosixIDmap[localeIndex], hostid); in uprv_convertToPosix()
/external/icu4c/i18n/
Drbnf.cpp103 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
270 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
640 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName() argument
641 if (localeIndex >= 0 && localeIndex < getNumberOfDisplayLocales() && in getDisplayName()
643 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/external/icu4c/i18n/unicode/
Dudat.h736 udat_getAvailable(int32_t localeIndex);
Dunum.h664 unum_getAvailable(int32_t localeIndex);
Ducal.h902 ucal_getAvailable(int32_t localeIndex);
Ducol.h696 ucol_getAvailable(int32_t localeIndex);
/external/icu4c/test/cintltst/
Dcloctst.c1222 int32_t localeIndex = 0; in TestSimpleDisplayNames() local
1229 localeIndex = 1; /* Use the second locale for the rest of the test. */ in TestSimpleDisplayNames()
1232 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1236 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()