Home
last modified time | relevance | path

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

/external/chromium/third_party/icu/source/test/intltest/
Ddtptngts.cpp505 int32_t localeIndex=0; in testAPI() local
509 while (localeIndex < MAX_LOCALE ) in testAPI()
514 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
515 …le: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][… in testAPI()
518 …RROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex); in testAPI()
530 …ERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + in testAPI()
537 localeIndex++; in testAPI()
544 localeIndex=0; in testAPI()
Ddtifmtts.cpp1072 uint32_t localeIndex; in testStress() local
1073 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) { in testStress()
1075 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
1076 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress()
1077 …(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale… in testStress()
/external/icu4c/test/intltest/
Ddtptngts.cpp506 int32_t localeIndex=0; in testAPI() local
510 while (localeIndex < MAX_LOCALE ) in testAPI()
515 …Locale loc(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][2], tes… in testAPI()
516 …le: %s_%s_%s@%s", testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale[localeIndex][… in testAPI()
519 …RROR: Could not create DateTimePatternGenerator with locale index:%d . - exitting\n", localeIndex); in testAPI()
531 …ERROR: Test various skeletons[") + (dataIndex-1) + UnicodeString("], localeIndex ") + localeIndex + in testAPI()
538 localeIndex++; in testAPI()
545 localeIndex=0; in testAPI()
Ddtifmtts.cpp1163 uint32_t localeIndex; in testStress() local
1164 for ( localeIndex = 0; localeIndex < ARRAY_SIZE(testLocale); ++localeIndex ) { in testStress()
1166 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
1167 uprv_strcat(locName, testLocale[localeIndex][1]); in testStress()
1168 …(DATA, ARRAY_SIZE(DATA), Locale(testLocale[localeIndex][0], testLocale[localeIndex][1], testLocale… in testStress()
/external/icu4c/common/
Dlocmap.c883 uint32_t localeIndex; in uprv_convertToPosix() local
891 FIX_LOCALE_ID_TAG_SEPARATOR(gPosixFromLCID, ret, localeIndex) in uprv_convertToPosix()
899 for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) in uprv_convertToPosix()
901 if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) in uprv_convertToPosix()
903 return getPosixID(&gPosixIDmap[localeIndex], hostid); in uprv_convertToPosix()
/external/chromium/third_party/icu/source/common/
Dlocmap.c801 uint32_t localeIndex; in uprv_convertToPosix() local
803 for (localeIndex = 0; localeIndex < gLocaleCount; localeIndex++) in uprv_convertToPosix()
805 if (langID == gPosixIDmap[localeIndex].regionMaps->hostID) in uprv_convertToPosix()
807 return getPosixID(&gPosixIDmap[localeIndex], hostid); in uprv_convertToPosix()
/external/icu4c/i18n/
Drbnf.cpp101 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
268 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
638 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName() argument
639 if (localeIndex >= 0 && localeIndex < getNumberOfDisplayLocales() && in getDisplayName()
641 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/external/chromium/third_party/icu/source/i18n/
Drbnf.cpp101 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const = 0;
268 virtual const UChar* getDisplayName(int32_t localeIndex, int32_t ruleIndex) const;
638 StringLocalizationInfo::getDisplayName(int32_t localeIndex, int32_t ruleIndex) const { in getDisplayName() argument
639 if (localeIndex >= 0 && localeIndex < getNumberOfDisplayLocales() && in getDisplayName()
641 return data[localeIndex+1][ruleIndex+1]; in getDisplayName()
/external/chromium/third_party/icu/public/i18n/unicode/
Dudat.h702 udat_getAvailable(int32_t localeIndex);
Dunum.h521 unum_getAvailable(int32_t localeIndex);
Ducal.h828 ucal_getAvailable(int32_t localeIndex);
Ducol.h529 ucol_getAvailable(int32_t localeIndex);
/external/icu4c/i18n/unicode/
Dudat.h736 udat_getAvailable(int32_t localeIndex);
Dunum.h610 unum_getAvailable(int32_t localeIndex);
Ducal.h848 ucal_getAvailable(int32_t localeIndex);
Ducol.h553 ucol_getAvailable(int32_t localeIndex);
/external/chromium/third_party/icu/source/test/cintltst/
Dcloctst.c1069 int32_t localeIndex = 0; in TestSimpleDisplayNames() local
1076 localeIndex = 1; /* Use the second locale for the rest of the test. */ in TestSimpleDisplayNames()
1079 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1083 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()
/external/icu4c/test/cintltst/
Dcloctst.c1074 int32_t localeIndex = 0; in TestSimpleDisplayNames() local
1081 localeIndex = 1; /* Use the second locale for the rest of the test. */ in TestSimpleDisplayNames()
1084 size=uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], NULL, size, &status); in TestSimpleDisplayNames()
1088 … uloc_getDisplayLanguage(languageCodes[i], inLocale[localeIndex], testLang, size + 1, &status); in TestSimpleDisplayNames()