Home
last modified time | relevance | path

Searched refs:locStr (Results 1 – 15 of 15) 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.cpp2367 const UnicodeString *locStr; in checkRegisteredCollators() local
2369 while((locStr = newEnum->snext(status)) && U_SUCCESS(status)) { in checkRegisteredCollators()
2372 if(expectExtra != NULL && expectStr == *locStr) { in checkRegisteredCollators()
2378 if( oldHash.geti(*locStr) == 0 ) { in checkRegisteredCollators()
2379 if(expectExtra != NULL && expectStr==*locStr) { in checkRegisteredCollators()
2383 + *locStr); in checkRegisteredCollators()
2386 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.java785 String locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator() local
786 if (!locStr.equals("tr")) { in TestCollator()
787 errln("FAIL: Collator locale is " + locStr + " Expected: tr"); in TestCollator()
794 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
795 if (!locStr.equals("")) { in TestCollator()
796 errln("FAIL: Collator locale is \"" + locStr + "\" Expected: \"\"(empty)"); in TestCollator()
808 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
809 if (!locStr.equals("fr")) { in TestCollator()
810 errln("FAIL: Collator locale is " + locStr + " Expected: fr"); in TestCollator()
820 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DGlobalizationPreferencesTest.java788 String locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator() local
789 if (!locStr.equals("tr")) { in TestCollator()
790 errln("FAIL: Collator locale is " + locStr + " Expected: tr"); in TestCollator()
797 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
798 if (!locStr.equals("")) { in TestCollator()
799 errln("FAIL: Collator locale is \"" + locStr + "\" Expected: \"\"(empty)"); in TestCollator()
811 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
812 if (!locStr.equals("fr")) { in TestCollator()
813 errln("FAIL: Collator locale is " + locStr + " Expected: fr"); in TestCollator()
823 locStr = coll.getLocale(ULocale.VALID_LOCALE).toString(); in TestCollator()
[all …]
DNumberFormatTest.java870 …ParseCurrencyItem(String locStr, String desc, String curr, int doubExPos, int doubExVal, int curEx… in TestParseCurrency() argument
871 localeString = locStr; in TestParseCurrency()
/external/icu/icu4c/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()
/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/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/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DULocale.java3630 String locStr = loc.toString(); in toULocale6() local
3631 if (locStr.length() == 0) { in toULocale6()
3635 if (JAVA6_MAPDATA[i][0].equals(locStr)) { in toULocale6()
3638 locStr = p.getName(); in toULocale6()
3642 uloc = new ULocale(getName(locStr), loc); in toULocale6()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/llvm-c/
Decho.ll19 @locStr = private local_unnamed_addr constant [13 x i8] c"hello world\0A\00"
/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/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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java867 …ParseCurrencyItem(String locStr, String desc, String curr, int doubExPos, int doubExVal, int curEx… in TestParseCurrency() argument
868 localeString = locStr; in TestParseCurrency()