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.java59 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestBasic()
62 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.FULL_NAME), in TestBasic()
63 new TimeUnitFormat(new ULocale(locales[locIndex]), TimeUnitFormat.ABBREVIATED_NAME), in TestBasic()
234 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
240 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
244 "locale: " + locales[locIndex] in TestGreek()
DMeasureUnitTest.java970 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
975 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
978 "locale: " + locales[locIndex] in TestGreek()
/external/icu/android_icu4j/src/main/tests/android/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()
238 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
244 … timeUnitFormat = new TimeUnitFormat(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
248 "locale: " + locales[locIndex] in TestGreek()
DMeasureUnitTest.java974 for ( int locIndex = 0; locIndex < locales.length; ++locIndex ) { in TestGreek()
979 … MeasureFormat fmt = MeasureFormat.getInstance(new ULocale(locales[locIndex]), styles[styleIndex]); in TestGreek()
982 "locale: " + locales[locIndex] in TestGreek()
/external/icu/icu4c/source/test/intltest/
Dtufmtts.cpp103 for ( unsigned int locIndex = 0; in testBasic() local
104 locIndex < sizeof(locales)/sizeof(locales[0]); in testBasic()
105 ++locIndex ) { in testBasic()
107 Locale loc(locales[locIndex]); in testBasic()
114 std::cout << "locale: " << locales[locIndex] << "\n"; in testBasic()
369 for ( unsigned int locIndex = 0; in testGreekWithFallback() local
370 locIndex < sizeof(locales)/sizeof(locales[0]); in testGreekWithFallback()
371 ++locIndex ) { in testGreekWithFallback()
373 Locale l = Locale::createFromName(locales[locIndex]); in testGreekWithFallback()
400 … std::cout << "Failed to get TimeUnitFormat for " << locales[locIndex] << "\n"; in testGreekWithFallback()
[all …]
Drestest.cpp491 int32_t locIndex=0; in TestExemplar() local
494 for(;locIndex<locCount;locIndex++){ in TestExemplar()
495 const char* locale = uloc_getAvailable(locIndex); in TestExemplar()
Dmeasfmttest.cpp1088 for (int32_t locIndex = 0; locIndex < UPRV_LENGTHOF(locales); ++locIndex ) { in TestGreek() local
1096 MeasureFormat fmt(locales[locIndex], styles[styleIndex], status); in TestGreek()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c501 int32_t locIndex; in TestLocaleStructure() local
535 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
537 currLoc = uloc_getAvailable(locIndex); in TestLocaleStructure()
544 uloc_getAvailable(locIndex), u_errorName(errorCode)); in TestLocaleStructure()
548 uloc_getAvailable(locIndex)); in TestLocaleStructure()
884 int32_t locIndex; in VerifyTranslation() local
902 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
905 currLoc = uloc_getAvailable(locIndex); in VerifyTranslation()
912 uloc_getAvailable(locIndex)); in VerifyTranslation()
916 uloc_getAvailable(locIndex)); in VerifyTranslation()