Home
last modified time | relevance | path

Searched refs:locStr (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp115 const UnicodeString* locStr, *ls2; in TestRegister() local
116 for (locStr = localeEnum->snext(status); in TestRegister()
117 !found && locStr != NULL; in TestRegister()
118 locStr = localeEnum->snext(status)) { in TestRegister()
120 if (locName == *locStr) { in TestRegister()
138 locStr = localeEnum->snext(status); in TestRegister()
140 if(*locStr != *ls2) { in TestRegister()
433 const UnicodeString* locStr; in TestRegisterFactory() local
434 for (locStr = localeEnum->snext(status); in TestRegisterFactory()
435 !found && locStr != NULL; in TestRegisterFactory()
[all …]
Dloctest.cpp4695 const UnicodeString *locStr; in checkRegisteredCollators() local
4697 while((locStr = newEnum->snext(status)) && U_SUCCESS(status)) { in checkRegisteredCollators()
4700 if(expectExtra != NULL && expectStr == *locStr) { in checkRegisteredCollators()
4706 if( oldHash.geti(*locStr) == 0 ) { in checkRegisteredCollators()
4707 if(expectExtra != NULL && expectStr==*locStr) { in checkRegisteredCollators()
4711 + *locStr); in checkRegisteredCollators()
4714 newHash.puti(*locStr, 1, status); in checkRegisteredCollators()
Dapicoll.cpp1039 const UnicodeString* locStr; in TestGetAll() local
1048 while ((locStr = localeEnum->snext(status)) != NULL) in TestGetAll()
1050 logln(UnicodeString("Locale name is: ") + *locStr); in TestGetAll()
/external/cronet/third_party/icu/source/test/intltest/
Dsvccoll.cpp115 const UnicodeString* locStr, *ls2; in TestRegister() local
116 for (locStr = localeEnum->snext(status); in TestRegister()
117 !found && locStr != NULL; in TestRegister()
118 locStr = localeEnum->snext(status)) { in TestRegister()
120 if (locName == *locStr) { in TestRegister()
138 locStr = localeEnum->snext(status); in TestRegister()
140 if(*locStr != *ls2) { in TestRegister()
433 const UnicodeString* locStr; in TestRegisterFactory() local
434 for (locStr = localeEnum->snext(status); in TestRegisterFactory()
435 !found && locStr != NULL; in TestRegisterFactory()
[all …]
Dloctest.cpp4694 const UnicodeString *locStr; in checkRegisteredCollators() local
4696 while((locStr = newEnum->snext(status)) && U_SUCCESS(status)) { in checkRegisteredCollators()
4699 if(expectExtra != NULL && expectStr == *locStr) { in checkRegisteredCollators()
4705 if( oldHash.geti(*locStr) == 0 ) { in checkRegisteredCollators()
4706 if(expectExtra != NULL && expectStr==*locStr) { in checkRegisteredCollators()
4710 + *locStr); in checkRegisteredCollators()
4713 newHash.puti(*locStr, 1, status); in checkRegisteredCollators()
Dapicoll.cpp1039 const UnicodeString* locStr; in TestGetAll() local
1048 while ((locStr = localeEnum->snext(status)) != NULL) in TestGetAll()
1050 logln(UnicodeString("Locale name is: ") + *locStr); in TestGetAll()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java795 String locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator() local
796 if (!locStr.equals("tr")) { in TestCollator()
797 errln("FAIL: Collator locale is " + locStr + " Expected: tr"); in TestCollator()
804 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
805 if (!locStr.equals("")) { in TestCollator()
806 errln("FAIL: Collator locale is \"" + locStr + "\" Expected: \"\"(empty)"); in TestCollator()
818 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
819 if (!locStr.equals("fr")) { in TestCollator()
820 errln("FAIL: Collator locale is " + locStr + " Expected: fr"); in TestCollator()
830 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java798 String locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator() local
799 if (!locStr.equals("tr")) { in TestCollator()
800 errln("FAIL: Collator locale is " + locStr + " Expected: tr"); in TestCollator()
807 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
808 if (!locStr.equals("")) { in TestCollator()
809 errln("FAIL: Collator locale is \"" + locStr + "\" Expected: \"\"(empty)"); in TestCollator()
821 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
822 if (!locStr.equals("fr")) { in TestCollator()
823 errln("FAIL: Collator locale is " + locStr + " Expected: fr"); in TestCollator()
833 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
[all …]
DNumberFormatTest.java891 …ParseCurrencyItem(String locStr, String desc, String curr, int doubExPos, int doubExVal, int curEx… in TestParseCurrency() argument
892 localeString = locStr; in TestParseCurrency()
/external/icu/icu4c/source/i18n/
Ddcfmtsym.cpp386 const char* locStr = loc.getName(); in initialize() local
387 LocalUResourceBundlePointer resource(ures_open(NULL, locStr, &status)); in initialize()
462 … int32_t currisoLength = ucurr_forLocale(locStr, curriso, UPRV_LENGTHOF(curriso), &internalStatus); in initialize()
470 LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &status)); in initialize()
Dtransreg.cpp285 UnicodeString locStr; in TransliteratorSpec() local
286 LocaleUtility::initNameFromLocale(topLoc, locStr); in TransliteratorSpec()
287 if (!locStr.isBogus()) { in TransliteratorSpec()
288 top = locStr; in TransliteratorSpec()
/external/cronet/third_party/icu/source/i18n/
Ddcfmtsym.cpp388 const char* locStr = loc.getName(); in initialize() local
389 LocalUResourceBundlePointer resource(ures_open(NULL, locStr, &status)); in initialize()
464 … int32_t currisoLength = ucurr_forLocale(locStr, curriso, UPRV_LENGTHOF(curriso), &internalStatus); in initialize()
472 LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &status)); in initialize()
Dtransreg.cpp285 UnicodeString locStr; in TransliteratorSpec() local
286 LocaleUtility::initNameFromLocale(topLoc, locStr); in TransliteratorSpec()
287 if (!locStr.isBogus()) { in TransliteratorSpec()
288 top = locStr; in TransliteratorSpec()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationIteratorTest.java726 TSCEItem(String locStr, int[] offs) { in TestSearchCollatorElements() argument
727 localeString = locStr; in TestSearchCollatorElements()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java723 TSCEItem(String locStr, int[] offs) { in TestSearchCollatorElements() argument
724 localeString = locStr; in TestSearchCollatorElements()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java2141 TUSCItem(String locStr, String txt, PatternAndOffsets[] patsAndOffs) { in TestUsingSearchCollator() argument
2142 localeString = locStr; in TestUsingSearchCollator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/search/
DSearchTest.java2144 TUSCItem(String locStr, String txt, PatternAndOffsets[] patsAndOffs) { in TestUsingSearchCollator() argument
2145 localeString = locStr; in TestUsingSearchCollator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java888 …ParseCurrencyItem(String locStr, String desc, String curr, int doubExPos, int doubExVal, int curEx… in TestParseCurrency() argument
889 localeString = locStr; in TestParseCurrency()