Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dlocavailable.cpp73 for (int32_t locCount=availableLocaleListCount-1; locCount>=0; --locCount) { in locale_available_init() local
74 availableLocaleList[locCount].setFromPOSIXID(uloc_getAvailable(locCount)); in locale_available_init()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRoundTripTest.java50 int locCount = avail.length; in TestDateFormatRoundTrip() local
51 logln("DateFormat available locales: " + locCount); in TestDateFormatRoundTrip()
53 if (locCount > 5) in TestDateFormatRoundTrip()
54 locCount = 5; in TestDateFormatRoundTrip()
69 for (int i = 0; i < locCount; ++i) { in TestDateFormatRoundTrip()
DNumberFormatRoundTripTest.java58 int locCount = 0; in TestNumberFormatRoundTrip() local
61 if(locCount > 5) in TestNumberFormatRoundTrip()
62 locCount = 5; in TestNumberFormatRoundTrip()
65 for(int i = 0; i < locCount; ++i) { in TestNumberFormatRoundTrip()
/external/icu/icu4c/source/test/intltest/
Dnmfmtrt.cpp115 int32_t locCount = 0; in start() local
116 const Locale *loc = NumberFormat::getAvailableLocales(locCount); in start()
118 if(locCount > 5) in start()
119 locCount = 5; in start()
122 for(int i = 0; i < locCount; ++i) { in start()
Ddtfmtrtts.cpp139 int32_t locCount = 0; in TestDateFormatRoundTrip() local
140 const Locale *avail = DateFormat::getAvailableLocales(locCount); in TestDateFormatRoundTrip()
141 logln("DateFormat available locales: %d", locCount); in TestDateFormatRoundTrip()
172 for (int i=0; i < locCount; ++i) { in TestDateFormatRoundTrip()
Drestest.cpp490 int32_t locCount = uloc_countAvailable(); in TestExemplar() local
494 for(;locIndex<locCount;locIndex++){ in TestExemplar()
Dloctest.cpp673 int32_t locCount = 0; in TestGetAvailableLocales() local
674 const Locale* locList = Locale::getAvailableLocales(locCount); in TestGetAvailableLocales()
676 if (locCount == 0) in TestGetAvailableLocales()
679 logln(UnicodeString("Number of locales returned = ") + locCount); in TestGetAvailableLocales()
681 for(int32_t i = 0; i < locCount; ++i) in TestGetAvailableLocales()
Drbbitst.cpp711 int32_t locCount = 0; in TestGetAvailableLocales() local
712 const Locale* locList = BreakIterator::getAvailableLocales(locCount); in TestGetAvailableLocales()
714 if (locCount == 0) in TestGetAvailableLocales()
718 for (i = 0; i < locCount; ++i) { in TestGetAvailableLocales()
Dnumfmtst.cpp1704 int32_t i, locCount; in TestCurrencyPatterns() local
1705 const Locale* locs = NumberFormat::getAvailableLocales(locCount); in TestCurrencyPatterns()
1706 for (i=0; i<locCount; ++i) { in TestCurrencyPatterns()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c500 int32_t locCount = uloc_countAvailable(); in TestLocaleStructure() local
526 if (locCount <= 1) { in TestLocaleStructure()
535 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
683 int32_t locCount = uloc_countAvailable(); in TestConsistentCountryInfo() local
694 for (fromLocIndex = 0; fromLocIndex < locCount; fromLocIndex++) { in TestConsistentCountryInfo()
711 for (toLocIndex = fromLocIndex + 1; toLocIndex < locCount; toLocIndex++) { in TestConsistentCountryInfo()
883 int32_t locCount = uloc_countAvailable(); in VerifyTranslation() local
893 if (locCount <= 1) { in VerifyTranslation()
902 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
Dcloctst.c798 int32_t locCount,i; in TestGetAvailableLocales() local
801 locCount=uloc_countAvailable(); in TestGetAvailableLocales()
802 if (locCount == 0) in TestGetAvailableLocales()
806 else if(locCount < 0){ in TestGetAvailableLocales()
807 log_data_err("countAvailable() returned a wrong value!= %d\n", locCount); in TestGetAvailableLocales()
810 log_info("Number of locales returned = %d\n", locCount); in TestGetAvailableLocales()
812 for(i=0;i<locCount;i++){ in TestGetAvailableLocales()
Dcreststn.c1374 int locCount = uloc_countAvailable(); in TestGetVersion() local
1379 for(j = -1; j < locCount; j++) { in TestGetVersion()