Home
last modified time | relevance | path

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

/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.java1583 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
1588 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
1591 "locale: " + locales[locIndex] in TestGreek()
/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.java1580 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
1585 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
1588 "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.cpp1689 for (int32_t locIndex = 0; locIndex < UPRV_LENGTHOF(locales); ++locIndex ) { in TestGreek() local
1697 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c505 int32_t locIndex; in TestLocaleStructure() local
539 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
541 currLoc = uloc_getAvailable(locIndex); in TestLocaleStructure()
548 uloc_getAvailable(locIndex), u_errorName(errorCode)); in TestLocaleStructure()
552 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()
918 uloc_getAvailable(locIndex)); in VerifyTranslation()
922 uloc_getAvailable(locIndex)); in VerifyTranslation()