Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlocavailable.cpp75 for (int32_t locCount=availableLocaleListCount-1; locCount>=0; --locCount) { in locale_available_init() local
76 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.cpp493 int32_t locCount = uloc_countAvailable(); in TestExemplar() local
497 for(;locIndex<locCount;locIndex++){ in TestExemplar()
Dloctest.cpp701 int32_t locCount = 0; in TestGetAvailableLocales() local
702 const Locale* locList = Locale::getAvailableLocales(locCount); in TestGetAvailableLocales()
704 if (locCount == 0) in TestGetAvailableLocales()
707 logln(UnicodeString("Number of locales returned = ") + locCount); in TestGetAvailableLocales()
709 for(int32_t i = 0; i < locCount; ++i) in TestGetAvailableLocales()
Drbbitst.cpp224 int32_t locCount = 0; in TestGetAvailableLocales() local
225 const Locale* locList = BreakIterator::getAvailableLocales(locCount); in TestGetAvailableLocales()
227 if (locCount == 0) in TestGetAvailableLocales()
231 for (i = 0; i < locCount; ++i) { in TestGetAvailableLocales()
Dnumfmtst.cpp1861 int32_t i, locCount; in TestCurrencyPatterns() local
1862 const Locale* locs = NumberFormat::getAvailableLocales(locCount); in TestCurrencyPatterns()
1863 for (i=0; i<locCount; ++i) { in TestCurrencyPatterns()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c504 int32_t locCount = uloc_countAvailable(); in TestLocaleStructure() local
530 if (locCount <= 1) { in TestLocaleStructure()
539 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.c808 int32_t locCount,i; in TestGetAvailableLocales() local
811 locCount=uloc_countAvailable(); in TestGetAvailableLocales()
812 if (locCount == 0) in TestGetAvailableLocales()
816 else if(locCount < 0){ in TestGetAvailableLocales()
817 log_data_err("countAvailable() returned a wrong value!= %d\n", locCount); in TestGetAvailableLocales()
820 log_info("Number of locales returned = %d\n", locCount); in TestGetAvailableLocales()
822 for(i=0;i<locCount;i++){ in TestGetAvailableLocales()
Dcreststn.c1379 int locCount = uloc_countAvailable(); in TestGetVersion() local
1384 for(j = -1; j < locCount; j++) { in TestGetVersion()