Home
last modified time | relevance | path

Searched refs:requestedLocale (Results 1 – 19 of 19) 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.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/v8/src/js/
Dintl.js325 function attemptSingleLookup(availableLocales, requestedLocale) { argument
328 GetAnyExtensionRE(), requestedLocale, '');
330 availableLocales, requestedLocale);
334 GetUnicodeExtensionRE(), requestedLocale);
771 var requestedLocale = locale.locale + extension;
780 requestedLocale: {value: requestedLocale, writable: true}, property
790 var numberFormat = %CreateNumberFormat(requestedLocale, internalOptions,
1121 var requestedLocale = locale.locale + extension;
1133 requestedLocale: {value: requestedLocale, writable: true}, property
1143 requestedLocale,
[all …]
/external/icu/icu4c/source/test/intltest/
Drestest.cpp577 const char *requestedLocale; in TestGetLocaleByType() member
603 ResourceBundle rb(testdatapath, test[i].requestedLocale, status); in TestGetLocaleByType()
606 …err("Could not open resource bundle %s (error %s)\n", test[i].requestedLocale, u_errorName(status)… in TestGetLocaleByType()
621 … err("Expected requested locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
626 … err("Expected valid locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
630 … 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.java893 currencySymbol = currency.getSymbol(requestedLocale); in setCurrency()
1173 return requestedLocale; in getLocale()
1366 this.requestedLocale = locale.toLocale(); in initialize()
1540 requestedLocale = Locale.getDefault(); in readObject()
1544 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1859 private Locale requestedLocale; field in DecimalFormatSymbols
DDateFormatSymbols.java1459 return requestedLocale.toString().hashCode(); in hashCode()
1501 && requestedLocale.getDisplayName().equals(that.requestedLocale.getDisplayName()) in equals()
1598 this.requestedLocale = dfs.requestedLocale; in initializeData()
2010 requestedLocale = desiredLocale; in initializeData()
2123 private ULocale requestedLocale; field in DateFormatSymbols
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java826 currencySymbol = currency.getSymbol(requestedLocale); in setCurrency()
1084 return requestedLocale; in getLocale()
1273 this.requestedLocale = locale.toLocale(); in initialize()
1447 requestedLocale = Locale.getDefault(); in readObject()
1451 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1760 private Locale requestedLocale; field in DecimalFormatSymbols
DDateFormatSymbols.java1419 return requestedLocale.toString().hashCode(); in hashCode()
1460 && requestedLocale.getDisplayName().equals(that.requestedLocale.getDisplayName()) in equals()
1556 this.requestedLocale = dfs.requestedLocale; in initializeData()
1968 requestedLocale = desiredLocale; in initializeData()
2081 private ULocale requestedLocale; field in DateFormatSymbols
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMisc.java546 String requestedLocale = "en"; in showEnglish() local
547 CLDRFile cldrFile = cldrFactory.make(requestedLocale, true); in showEnglish()
552 … if (!localeWhereFound.equals(requestedLocale) || !status.pathWhereFound.equals(requestedPath)) { in showEnglish()
555 + "\tsame?\t" + localeWhereFound.equals(requestedLocale) in showEnglish()
564 String requestedLocale = "en"; in checkPrivateUse() local
565 CLDRFile cldrFile = cldrFactory.make(requestedLocale, true); in checkPrivateUse()
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c957 const char *requestedLocale; in TestGetLocaleByType() member
985 rb = ures_open(testdatapath, test[i].requestedLocale, &status); in TestGetLocaleByType()
988 …log_err("Could not open resource bundle %s (error %s)\n", test[i].requestedLocale, u_errorName(sta… in TestGetLocaleByType()
1009 log_err("Expected valid locale to be %s. Got %s\n", test[i].requestedLocale, locale); in TestGetLocaleByType()
1013 log_err("Expected actual locale to be %s. Got %s\n", test[i].requestedLocale, locale); in TestGetLocaleByType()
Dcapitst.c1411 const char* requestedLocale; in TestGetLocale() member
1424 coll = ucol_open(testStruct[i].requestedLocale, &status); in TestGetLocale()
1426 …us(status, "Failed to open collator for %s with %s\n", testStruct[i].requestedLocale, u_errorName(… in TestGetLocale()
1436 …strcmp(locale, testStruct[i].requestedLocale) != 0 && strcmp(locale, testStruct[i].validLocale) !=… in TestGetLocale()
1437 …uested locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].requestedLocal… in TestGetLocale()
1442 …ll %s]: Error in valid locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i… in TestGetLocale()
1446 …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.java376 Object create(ULocale requestedLocale); in create() argument
401 void checkObject(String requestedLocale, Object obj, in checkObject() argument
411 checklocs(cls.getName(), requestedLocale, in checkObject() local
445 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
446 checkService(requestedLocale, svc, null, null); in checkService()
462 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
464 ULocale req = new ULocale(requestedLocale); in checkService()
466 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
469 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
475 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/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/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/icu4c/source/i18n/
Ducol_res.cpp239 Locale requestedLocale(locale); in loadFromLocale() local
246 if(locale != requestedLocale) { in loadFromLocale()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h803 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
Dcoll.h1116 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…