Home
last modified time | relevance | path

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

/third_party/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.cpp4644 const UnicodeString *locStr; in checkRegisteredCollators() local
4646 while((locStr = newEnum->snext(status)) && U_SUCCESS(status)) { in checkRegisteredCollators()
4649 if(expectExtra != NULL && expectStr == *locStr) { in checkRegisteredCollators()
4655 if( oldHash.geti(*locStr) == 0 ) { in checkRegisteredCollators()
4656 if(expectExtra != NULL && expectStr==*locStr) { in checkRegisteredCollators()
4660 + *locStr); in checkRegisteredCollators()
4663 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ddcfmtsym.cpp384 const char* locStr = loc.getName(); in initialize() local
385 LocalUResourceBundlePointer resource(ures_open(NULL, locStr, &status)); in initialize()
462 … int32_t currisoLength = ucurr_forLocale(locStr, curriso, UPRV_LENGTHOF(curriso), &internalStatus); in initialize()
464 uprv_getStaticCurrencyName(curriso, locStr, tempStr, internalStatus); in initialize()
484 … LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &localStatus)); in initialize()
510 LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &status)); in initialize()
Dtransreg.cpp291 UnicodeString locStr; in TransliteratorSpec() local
292 LocaleUtility::initNameFromLocale(topLoc, locStr); in TransliteratorSpec()
293 if (!locStr.isBogus()) { in TransliteratorSpec()
294 top = locStr; in TransliteratorSpec()
/third_party/skia/third_party/externals/icu/source/i18n/
Ddcfmtsym.cpp385 const char* locStr = loc.getName(); in initialize() local
386 LocalUResourceBundlePointer resource(ures_open(NULL, locStr, &status)); in initialize()
461 … int32_t currisoLength = ucurr_forLocale(locStr, curriso, UPRV_LENGTHOF(curriso), &internalStatus); in initialize()
469 LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &status)); in initialize()
Dtransreg.cpp290 UnicodeString locStr; in TransliteratorSpec() local
291 LocaleUtility::initNameFromLocale(topLoc, locStr); in TransliteratorSpec()
292 if (!locStr.isBogus()) { in TransliteratorSpec()
293 top = locStr; in TransliteratorSpec()
/third_party/icu/icu4c/source/i18n/
Ddcfmtsym.cpp385 const char* locStr = loc.getName(); in initialize() local
386 LocalUResourceBundlePointer resource(ures_open(NULL, locStr, &status)); in initialize()
461 … int32_t currisoLength = ucurr_forLocale(locStr, curriso, UPRV_LENGTHOF(curriso), &internalStatus); in initialize()
469 LocalUResourceBundlePointer currencyResource(ures_open(U_ICUDATA_CURR, locStr, &status)); in initialize()
Dtransreg.cpp290 UnicodeString locStr; in TransliteratorSpec() local
291 LocaleUtility::initNameFromLocale(topLoc, locStr); in TransliteratorSpec()
292 if (!locStr.isBogus()) { in TransliteratorSpec()
293 top = locStr; in TransliteratorSpec()
/third_party/node/deps/icu-small/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.cpp291 UnicodeString locStr; in TransliteratorSpec() local
292 LocaleUtility::initNameFromLocale(topLoc, locStr); in TransliteratorSpec()
293 if (!locStr.isBogus()) { in TransliteratorSpec()
294 top = locStr; in TransliteratorSpec()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationIteratorTest.java726 TSCEItem(String locStr, int[] offs) { in TestSearchCollatorElements() argument
727 localeString = locStr; in TestSearchCollatorElements()
/third_party/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()
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/search/
DSearchTest.java2144 TUSCItem(String locStr, String txt, PatternAndOffsets[] patsAndOffs) { in TestUsingSearchCollator() argument
2145 localeString = locStr; in TestUsingSearchCollator()
/third_party/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()