Home
last modified time | relevance | path

Searched refs:locCount (Results 1 – 15 of 15) sorted by relevance

/external/icu/icu4c/source/common/
Dlocavailable.cpp77 for (int32_t locCount=availableLocaleListCount-1; locCount>=0; --locCount) { in locale_available_init() local
78 availableLocaleList[locCount].setFromPOSIXID(uloc_getAvailable(locCount)); in locale_available_init()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRoundTripTest.java59 int locCount = avail.length; in TestDateFormatRoundTrip() local
60 logln("DateFormat available locales: " + locCount); in TestDateFormatRoundTrip()
62 if (locCount > 5) in TestDateFormatRoundTrip()
63 locCount = 5; in TestDateFormatRoundTrip()
78 for (int i = 0; i < locCount; ++i) { in TestDateFormatRoundTrip()
DNumberFormatRoundTripTest.java66 int locCount = 0; in TestNumberFormatRoundTrip() local
69 if(locCount > 5) in TestNumberFormatRoundTrip()
70 locCount = 5; in TestNumberFormatRoundTrip()
73 for(int i = 0; i < locCount; ++i) { in TestNumberFormatRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRoundTripTest.java56 int locCount = avail.length; in TestDateFormatRoundTrip() local
57 logln("DateFormat available locales: " + locCount); in TestDateFormatRoundTrip()
59 if (locCount > 5) in TestDateFormatRoundTrip()
60 locCount = 5; in TestDateFormatRoundTrip()
75 for (int i = 0; i < locCount; ++i) { in TestDateFormatRoundTrip()
DNumberFormatRoundTripTest.java63 int locCount = 0; in TestNumberFormatRoundTrip() local
66 if(locCount > 5) in TestNumberFormatRoundTrip()
67 locCount = 5; in TestNumberFormatRoundTrip()
70 for(int i = 0; i < locCount; ++i) { in TestNumberFormatRoundTrip()
/external/icu/icu4c/source/test/intltest/
Dnmfmtrt.cpp118 int32_t locCount = 0; in start() local
119 const Locale *loc = NumberFormat::getAvailableLocales(locCount); in start()
121 if(locCount > 5) in start()
122 locCount = 5; in start()
125 for(int i = 0; i < locCount; ++i) { in start()
Ddtfmtrtts.cpp141 int32_t locCount = 0; in TestDateFormatRoundTrip() local
142 const Locale *avail = DateFormat::getAvailableLocales(locCount); in TestDateFormatRoundTrip()
143 logln("DateFormat available locales: %d", locCount); in TestDateFormatRoundTrip()
174 for (int i=0; i < locCount; ++i) { in TestDateFormatRoundTrip()
Drestest.cpp517 int32_t locCount = uloc_countAvailable(); in TestExemplar() local
521 for(;locIndex<locCount;locIndex++){ in TestExemplar()
Ddtptngts.cpp1357 int32_t locCount; in testJjMapping() local
1358 const Locale* localePtr = DateFormat::getAvailableLocales(locCount); in testJjMapping()
1359 for (; locCount-- > 0; localePtr++) { in testJjMapping()
Dloctest.cpp730 int32_t locCount = 0; in TestGetAvailableLocales() local
731 const Locale* locList = Locale::getAvailableLocales(locCount); in TestGetAvailableLocales()
733 if (locCount == 0) in TestGetAvailableLocales()
736 logln(UnicodeString("Number of locales returned = ") + locCount); in TestGetAvailableLocales()
738 for(int32_t i = 0; i < locCount; ++i) in TestGetAvailableLocales()
Drbbitst.cpp257 int32_t locCount = 0; in TestGetAvailableLocales() local
258 const Locale* locList = BreakIterator::getAvailableLocales(locCount); in TestGetAvailableLocales()
260 if (locCount == 0) in TestGetAvailableLocales()
264 for (i = 0; i < locCount; ++i) { in TestGetAvailableLocales()
Dnumfmtst.cpp1909 int32_t i, locCount; in TestCurrencyPatterns() local
1910 const Locale* locs = NumberFormat::getAvailableLocales(locCount); in TestCurrencyPatterns()
1911 for (i=0; i<locCount; ++i) { in TestCurrencyPatterns()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c505 int32_t locCount = uloc_countAvailable(); in TestLocaleStructure() local
531 if (locCount <= 1) { in TestLocaleStructure()
540 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
687 int32_t locCount = uloc_countAvailable(); in TestConsistentCountryInfo() local
698 for (fromLocIndex = 0; fromLocIndex < locCount; fromLocIndex++) { in TestConsistentCountryInfo()
715 for (toLocIndex = fromLocIndex + 1; toLocIndex < locCount; toLocIndex++) { in TestConsistentCountryInfo()
889 int32_t locCount = uloc_countAvailable(); in VerifyTranslation() local
899 if (locCount <= 1) { in VerifyTranslation()
908 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
Dcloctst.c860 int32_t locCount,i; in TestGetAvailableLocales() local
863 locCount=uloc_countAvailable(); in TestGetAvailableLocales()
864 if (locCount == 0) in TestGetAvailableLocales()
868 else if(locCount < 0){ in TestGetAvailableLocales()
869 log_data_err("countAvailable() returned a wrong value!= %d\n", locCount); in TestGetAvailableLocales()
872 log_info("Number of locales returned = %d\n", locCount); in TestGetAvailableLocales()
874 for(i=0;i<locCount;i++){ in TestGetAvailableLocales()
Dcreststn.c1415 int locCount = uloc_countAvailable(); in TestGetVersion() local
1420 for(j = -1; j < locCount; j++) { in TestGetVersion()