Home
last modified time | relevance | path

Searched refs:locIndex (Results 1 – 8 of 8) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeUnitTest.java65 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestBasic()
68 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
69 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
245 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
251 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
255 "locale: " + locales[locIndex] in TestGreek()
DMeasureUnitTest.java2217 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
2222 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
2225 "locale: " + locales[locIndex] in TestGreek()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java68 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestBasic()
71 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
72 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
248 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
254 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
258 "locale: " + locales[locIndex] in TestGreek()
DMeasureUnitTest.java2220 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
2225 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
2228 "locale: " + locales[locIndex] in TestGreek()
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp105 for ( unsigned int locIndex = 0; in testBasic() local
106 locIndex < UPRV_LENGTHOF(locales); in testBasic()
107 ++locIndex ) { in testBasic()
109 Locale loc(locales[locIndex]); in testBasic()
116 std::cout << "locale: " << locales[locIndex] << "\n"; in testBasic()
371 for ( unsigned int locIndex = 0; in testGreekWithFallback() local
372 locIndex < UPRV_LENGTHOF(locales); in testGreekWithFallback()
373 ++locIndex ) { in testGreekWithFallback()
375 Locale l = Locale::createFromName(locales[locIndex]); in testGreekWithFallback()
402 … std::cout << "Failed to get TimeUnitFormat for " << locales[locIndex] << "\n"; in testGreekWithFallback()
[all …]
Drestest.cpp518 int32_t locIndex=0; in TestExemplar() local
521 for(;locIndex<locCount;locIndex++){ in TestExemplar()
522 const char* locale = uloc_getAvailable(locIndex); in TestExemplar()
Dmeasfmttest.cpp2887 for (int32_t locIndex = 0; locIndex < UPRV_LENGTHOF(locales); ++locIndex ) { in TestGreek() local
2895 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c506 int32_t locIndex; in TestLocaleStructure() local
540 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
542 currLoc = uloc_getAvailable(locIndex); in TestLocaleStructure()
549 uloc_getAvailable(locIndex), u_errorName(errorCode)); in TestLocaleStructure()
553 uloc_getAvailable(locIndex)); in TestLocaleStructure()
890 int32_t locIndex; in VerifyTranslation() local
908 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
911 currLoc = uloc_getAvailable(locIndex); in VerifyTranslation()
923 uloc_getAvailable(locIndex)); in VerifyTranslation()
927 uloc_getAvailable(locIndex)); in VerifyTranslation()