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.java63 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestBasic()
66 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
67 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
243 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
249 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
253 "locale: " + locales[locIndex] in TestGreek()
DMeasureUnitTest.java1309 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
1314 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
1317 "locale: " + locales[locIndex] in TestGreek()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeUnitTest.java64 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestBasic()
67 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
68 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
244 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
250 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
254 "locale: " + locales[locIndex] in TestGreek()
DMeasureUnitTest.java1310 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
1315 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
1318 "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.cpp494 int32_t locIndex=0; in TestExemplar() local
497 for(;locIndex<locCount;locIndex++){ in TestExemplar()
498 const char* locale = uloc_getAvailable(locIndex); in TestExemplar()
Dmeasfmttest.cpp1394 for (int32_t locIndex = 0; locIndex < UPRV_LENGTHOF(locales); ++locIndex ) { in TestGreek() local
1402 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c504 int32_t locIndex; in TestLocaleStructure() local
538 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
540 currLoc = uloc_getAvailable(locIndex); in TestLocaleStructure()
547 uloc_getAvailable(locIndex), u_errorName(errorCode)); in TestLocaleStructure()
551 uloc_getAvailable(locIndex)); in TestLocaleStructure()
887 int32_t locIndex; in VerifyTranslation() local
905 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
908 currLoc = uloc_getAvailable(locIndex); in VerifyTranslation()
915 uloc_getAvailable(locIndex)); in VerifyTranslation()
919 uloc_getAvailable(locIndex)); in VerifyTranslation()