Home
last modified time | relevance | path

Searched refs:requestedLocale (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DULocaleCollationTest.java65 Object create(ULocale requestedLocale); in create() argument
151 void checkObject(String requestedLocale, Object obj, in checkObject() argument
161 checklocs(cls.getName(), requestedLocale, in checkObject() local
195 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
196 checkService(requestedLocale, svc, null, null); in checkService()
212 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
214 ULocale req = new ULocale(requestedLocale); in checkService()
216 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
219 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
225 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleCollationTest.java68 Object create(ULocale requestedLocale); in create() argument
154 void checkObject(String requestedLocale, Object obj, in checkObject() argument
164 checklocs(cls.getName(), requestedLocale, in checkObject() local
198 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
199 checkService(requestedLocale, svc, null, null); in checkService()
215 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
217 ULocale req = new ULocale(requestedLocale); in checkService()
219 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
222 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
228 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
DULocaleTest.java382 Object create(ULocale requestedLocale); in create() argument
407 void checkObject(String requestedLocale, Object obj, in checkObject() argument
417 checklocs(cls.getName(), requestedLocale, in checkObject() local
451 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
452 checkService(requestedLocale, svc, null, null); in checkService()
468 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
470 ULocale req = new ULocale(requestedLocale); in checkService()
472 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
475 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
481 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/external/icu/icu4c/source/test/intltest/
Drestest.cpp601 const char *requestedLocale; in TestGetLocaleByType() member
627 ResourceBundle rb(testdatapath, test[i].requestedLocale, status); in TestGetLocaleByType()
630 …err("Could not open resource bundle %s (error %s)\n", test[i].requestedLocale, u_errorName(status)… in TestGetLocaleByType()
645 … err("Expected requested locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
650 … err("Expected valid locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
654 … err("Expected actual locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
Dapicoll.cpp1652 const char* requestedLocale; in TestGetLocale() member
1686 coll = Collator::createInstance(testStruct[i].requestedLocale, status); in TestGetLocale()
1688 …errln("Failed to open collator for %s with %s", testStruct[i].requestedLocale, u_errorName(status)… in TestGetLocale()
1696 locale != testStruct[i].requestedLocale && locale != testStruct[i].validLocale) { in TestGetLocale()
1698 testStruct[i].requestedLocale, in TestGetLocale()
1699 testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName()); in TestGetLocale()
1705 testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName()); in TestGetLocale()
1710 testStruct[i].requestedLocale, testStruct[i].actualLocale, locale.getName()); in TestGetLocale()
2050 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
2241 void TestCollator::setLocales(const Locale& requestedLocale, const Locale& validLocale, const Local… in setLocales() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDecimalFormatSymbols.java1197 return requestedLocale; in getLocale()
1410 this.requestedLocale = locale.toLocale(); in initialize()
1561 requestedLocale = Locale.getDefault(); in readObject()
1565 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1880 private Locale requestedLocale; field in DecimalFormatSymbols
DDateFormatSymbols.java1475 return requestedLocale.toString().hashCode(); in hashCode()
1518 && requestedLocale.getDisplayName().equals(that.requestedLocale.getDisplayName()) in equals()
1701 this.requestedLocale = dfs.requestedLocale; in initializeData()
2136 requestedLocale = desiredLocale; in initializeData()
2249 private ULocale requestedLocale; field in DateFormatSymbols
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java1109 return requestedLocale; in getLocale()
1318 this.requestedLocale = locale.toLocale(); in initialize()
1469 requestedLocale = Locale.getDefault(); in readObject()
1473 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1782 private Locale requestedLocale; field in DecimalFormatSymbols
DDateFormatSymbols.java1434 return requestedLocale.toString().hashCode(); in hashCode()
1476 && requestedLocale.getDisplayName().equals(that.requestedLocale.getDisplayName()) in equals()
1659 this.requestedLocale = dfs.requestedLocale; in initializeData()
2094 requestedLocale = desiredLocale; in initializeData()
2207 private ULocale requestedLocale; field in DateFormatSymbols
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMisc.java552 String requestedLocale = "en"; in showEnglish() local
553 CLDRFile cldrFile = cldrFactory.make(requestedLocale, true); in showEnglish()
558 … if (!localeWhereFound.equals(requestedLocale) || !status.pathWhereFound.equals(requestedPath)) { in showEnglish()
561 + "\tsame?\t" + localeWhereFound.equals(requestedLocale) in showEnglish()
570 String requestedLocale = "en"; in checkPrivateUse() local
571 CLDRFile cldrFile = cldrFactory.make(requestedLocale, true); in checkPrivateUse()
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c1027 const char *requestedLocale; in TestGetLocaleByType() member
1055 rb = ures_open(testdatapath, test[i].requestedLocale, &status); in TestGetLocaleByType()
1058 …log_err("Could not open resource bundle %s (error %s)\n", test[i].requestedLocale, u_errorName(sta… in TestGetLocaleByType()
1079 log_err("Expected valid locale to be %s. Got %s\n", test[i].requestedLocale, locale); in TestGetLocaleByType()
1083 log_err("Expected actual locale to be %s. Got %s\n", test[i].requestedLocale, locale); in TestGetLocaleByType()
Dcapitst.c1412 const char* requestedLocale; in TestGetLocale() member
1425 coll = ucol_open(testStruct[i].requestedLocale, &status); in TestGetLocale()
1427 …us(status, "Failed to open collator for %s with %s\n", testStruct[i].requestedLocale, u_errorName(… in TestGetLocale()
1437 …strcmp(locale, testStruct[i].requestedLocale) != 0 && strcmp(locale, testStruct[i].validLocale) !=… in TestGetLocale()
1438 …uested locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].requestedLocal… in TestGetLocale()
1443 …ll %s]: Error in valid locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i… in TestGetLocale()
1447 …l %s]: Error in actual locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i… in TestGetLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DULocaleTest.java379 Object create(ULocale requestedLocale); in create() argument
404 void checkObject(String requestedLocale, Object obj, in checkObject() argument
414 checklocs(cls.getName(), requestedLocale, in checkObject() local
448 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
449 checkService(requestedLocale, svc, null, null); in checkService()
465 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
467 ULocale req = new ULocale(requestedLocale); in checkService()
469 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
472 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
478 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java1117 String requestedLocale = testStruct[i][0];
1121 coll = Collator.getInstance(new ULocale(requestedLocale));
1123 errln(String.format("Failed to open collator for %s with %s", requestedLocale, e));
1131 requestedLocale, validLocale, locale.getName()));
1136 requestedLocale, actualLocale, locale.getName()));
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java1120 String requestedLocale = testStruct[i][0];
1124 coll = Collator.getInstance(new ULocale(requestedLocale));
1126 errln(String.format("Failed to open collator for %s with %s", requestedLocale, e));
1134 requestedLocale, validLocale, locale.getName()));
1139 requestedLocale, actualLocale, locale.getName()));
/external/icu/icu4c/source/i18n/
Ducol_res.cpp239 Locale requestedLocale(locale); in loadFromLocale() local
246 if(locale != requestedLocale) { in loadFromLocale()
/external/icu/libicu/cts_headers/unicode/
Dtblcoll.h809 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
Dcoll.h1134 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
/external/icu/icu4c/source/i18n/unicode/
Dcoll.h1134 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
Dtblcoll.h809 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…