Home
last modified time | relevance | path

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

12

/external/cronet/third_party/icu/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/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/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/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/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.cpp1360 int32_t locCount; in testJjMapping() local
1361 const Locale* localePtr = DateFormat::getAvailableLocales(locCount); in testJjMapping()
1362 for (; locCount-- > 0; localePtr++) { in testJjMapping()
Dloctest.cpp739 int32_t locCount = 0; in TestGetAvailableLocales() local
740 const Locale* locList = Locale::getAvailableLocales(locCount); in TestGetAvailableLocales()
742 if (locCount == 0) in TestGetAvailableLocales()
745 logln(UnicodeString("Number of locales returned = ") + locCount); in TestGetAvailableLocales()
747 for(int32_t i = 0; i < locCount; ++i) in TestGetAvailableLocales()
Drbbitst.cpp268 int32_t locCount = 0; in TestGetAvailableLocales() local
269 const Locale* locList = BreakIterator::getAvailableLocales(locCount); in TestGetAvailableLocales()
271 if (locCount == 0) in TestGetAvailableLocales()
275 for (i = 0; i < locCount; ++i) { in TestGetAvailableLocales()
Dnumfmtst.cpp1914 int32_t i, locCount; in TestCurrencyPatterns() local
1915 const Locale* locs = NumberFormat::getAvailableLocales(locCount); in TestCurrencyPatterns()
1916 for (i=0; i<locCount; ++i) { in TestCurrencyPatterns()
/external/cronet/third_party/icu/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.cpp1360 int32_t locCount; in testJjMapping() local
1361 const Locale* localePtr = DateFormat::getAvailableLocales(locCount); in testJjMapping()
1362 for (; locCount-- > 0; localePtr++) { in testJjMapping()
Dloctest.cpp739 int32_t locCount = 0; in TestGetAvailableLocales() local
740 const Locale* locList = Locale::getAvailableLocales(locCount); in TestGetAvailableLocales()
742 if (locCount == 0) in TestGetAvailableLocales()
745 logln(UnicodeString("Number of locales returned = ") + locCount); in TestGetAvailableLocales()
747 for(int32_t i = 0; i < locCount; ++i) in TestGetAvailableLocales()
Drbbitst.cpp267 int32_t locCount = 0; in TestGetAvailableLocales() local
268 const Locale* locList = BreakIterator::getAvailableLocales(locCount); in TestGetAvailableLocales()
270 if (locCount == 0) in TestGetAvailableLocales()
274 for (i = 0; i < locCount; ++i) { in TestGetAvailableLocales()
/external/cronet/third_party/icu/source/test/cintltst/
Dcldrtest.c511 int32_t locCount = uloc_countAvailable(); in TestLocaleStructure() local
537 if (locCount <= 1) { in TestLocaleStructure()
546 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
693 int32_t locCount = uloc_countAvailable(); in TestConsistentCountryInfo() local
704 for (fromLocIndex = 0; fromLocIndex < locCount; fromLocIndex++) { in TestConsistentCountryInfo()
721 for (toLocIndex = fromLocIndex + 1; toLocIndex < locCount; toLocIndex++) { in TestConsistentCountryInfo()
895 int32_t locCount = uloc_countAvailable(); in VerifyTranslation() local
905 if (locCount <= 1) { in VerifyTranslation()
914 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
Dcloctst.c871 int32_t locCount,i; in TestGetAvailableLocales() local
874 locCount=uloc_countAvailable(); in TestGetAvailableLocales()
875 if (locCount == 0) in TestGetAvailableLocales()
879 else if(locCount < 0){ in TestGetAvailableLocales()
880 log_data_err("countAvailable() returned a wrong value!= %d\n", locCount); in TestGetAvailableLocales()
883 log_info("Number of locales returned = %d\n", locCount); in TestGetAvailableLocales()
885 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()
/external/icu/icu4c/source/test/cintltst/
Dcldrtest.c511 int32_t locCount = uloc_countAvailable(); in TestLocaleStructure() local
537 if (locCount <= 1) { in TestLocaleStructure()
546 for (locIndex = 0; locIndex < locCount; locIndex++) { in TestLocaleStructure()
693 int32_t locCount = uloc_countAvailable(); in TestConsistentCountryInfo() local
704 for (fromLocIndex = 0; fromLocIndex < locCount; fromLocIndex++) { in TestConsistentCountryInfo()
721 for (toLocIndex = fromLocIndex + 1; toLocIndex < locCount; toLocIndex++) { in TestConsistentCountryInfo()
895 int32_t locCount = uloc_countAvailable(); in VerifyTranslation() local
905 if (locCount <= 1) { in VerifyTranslation()
914 for (locIndex = 0; locIndex < locCount; locIndex++) { in VerifyTranslation()
Dcloctst.c871 int32_t locCount,i; in TestGetAvailableLocales() local
874 locCount=uloc_countAvailable(); in TestGetAvailableLocales()
875 if (locCount == 0) in TestGetAvailableLocales()
879 else if(locCount < 0){ in TestGetAvailableLocales()
880 log_data_err("countAvailable() returned a wrong value!= %d\n", locCount); in TestGetAvailableLocales()
883 log_info("Number of locales returned = %d\n", locCount); in TestGetAvailableLocales()
885 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()

12