Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DULocaleCollationTest.java63 Object create(ULocale requestedLocale); in create() argument
149 void checkObject(String requestedLocale, Object obj, in checkObject() argument
159 checklocs(cls.getName(), requestedLocale, in checkObject() local
193 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
194 checkService(requestedLocale, svc, null, null); in checkService()
210 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
212 ULocale req = new ULocale(requestedLocale); in checkService()
214 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
217 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
223 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
DULocaleTest.java362 Object create(ULocale requestedLocale); in create() argument
387 void checkObject(String requestedLocale, Object obj, in checkObject() argument
397 checklocs(cls.getName(), requestedLocale, in checkObject() local
431 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
432 checkService(requestedLocale, svc, null, null); in checkService()
448 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
450 ULocale req = new ULocale(requestedLocale); in checkService()
452 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
455 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
461 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DULocaleCollationTest.java59 Object create(ULocale requestedLocale); in create() argument
145 void checkObject(String requestedLocale, Object obj, in checkObject() argument
155 checklocs(cls.getName(), requestedLocale, in checkObject() local
189 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
190 checkService(requestedLocale, svc, null, null); in checkService()
206 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
208 ULocale req = new ULocale(requestedLocale); in checkService()
210 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
213 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
219 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/external/v8/src/js/
Di18n.js968 var requestedLocale = locale.locale + extension;
980 requestedLocale: {value: requestedLocale, writable: true}, property
986 var internalCollator = %CreateCollator(requestedLocale,
1034 var locale = getOptimalLanguageTag(coll[resolvedSymbol].requestedLocale,
1207 var requestedLocale = locale.locale + extension;
1216 requestedLocale: {value: requestedLocale, writable: true}, property
1226 var formatter = %CreateNumberFormat(requestedLocale,
1279 var locale = getOptimalLanguageTag(format[resolvedSymbol].requestedLocale,
1601 var requestedLocale = locale.locale + extension;
1613 requestedLocale: {value: requestedLocale, writable: true}, property
[all …]
/external/icu/icu4c/source/test/intltest/
Drestest.cpp574 const char *requestedLocale; in TestGetLocaleByType() member
600 ResourceBundle rb(testdatapath, test[i].requestedLocale, status); in TestGetLocaleByType()
603 …err("Could not open resource bundle %s (error %s)\n", test[i].requestedLocale, u_errorName(status)… in TestGetLocaleByType()
618 … err("Expected requested locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
623 … err("Expected valid locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
627 … err("Expected actual locale to be %s. Got %s\n", test[i].requestedLocale, locale.getName()); in TestGetLocaleByType()
Dapicoll.cpp1633 const char* requestedLocale; in TestGetLocale() member
1655 coll = Collator::createInstance(testStruct[i].requestedLocale, status); in TestGetLocale()
1657 …errln("Failed to open collator for %s with %s", testStruct[i].requestedLocale, u_errorName(status)… in TestGetLocale()
1665 locale != testStruct[i].requestedLocale && locale != testStruct[i].validLocale) { in TestGetLocale()
1667 testStruct[i].requestedLocale, in TestGetLocale()
1668 testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName()); in TestGetLocale()
1674 testStruct[i].requestedLocale, testStruct[i].validLocale, locale.getName()); in TestGetLocale()
1679 testStruct[i].requestedLocale, testStruct[i].actualLocale, locale.getName()); in TestGetLocale()
2019 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
2210 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.java500 currencySymbol = currency.getSymbol(requestedLocale); in setCurrency()
745 return requestedLocale; in getLocale()
849 this.requestedLocale = locale.toLocale(); in initialize()
1042 requestedLocale = Locale.getDefault(); in readObject()
1046 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1246 private Locale requestedLocale; field in DecimalFormatSymbols
DDateFormatSymbols.java1397 return requestedLocale.toString().hashCode(); in hashCode()
1432 && requestedLocale.getDisplayName().equals(that.requestedLocale.getDisplayName()) in equals()
1519 this.requestedLocale = dfs.requestedLocale; in initializeData()
1646 requestedLocale = desiredLocale; in initializeData()
1729 private ULocale requestedLocale; field in DateFormatSymbols
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDecimalFormatSymbols.java463 currencySymbol = currency.getSymbol(requestedLocale); in setCurrency()
691 return requestedLocale; in getLocale()
791 this.requestedLocale = locale.toLocale(); in initialize()
984 requestedLocale = Locale.getDefault(); in readObject()
988 ulocale = ULocale.forLocale(requestedLocale); in readObject()
1184 private Locale requestedLocale; field in DecimalFormatSymbols
DDateFormatSymbols.java1356 return requestedLocale.toString().hashCode(); in hashCode()
1390 && requestedLocale.getDisplayName().equals(that.requestedLocale.getDisplayName()) in equals()
1476 this.requestedLocale = dfs.requestedLocale; in initializeData()
1604 requestedLocale = desiredLocale; in initializeData()
1687 private ULocale requestedLocale; field in DateFormatSymbols
/external/icu/icu4c/source/test/cintltst/
Dcrestst.c953 const char *requestedLocale; in TestGetLocaleByType() member
981 rb = ures_open(testdatapath, test[i].requestedLocale, &status); in TestGetLocaleByType()
984 …log_err("Could not open resource bundle %s (error %s)\n", test[i].requestedLocale, u_errorName(sta… in TestGetLocaleByType()
1005 log_err("Expected valid locale to be %s. Got %s\n", test[i].requestedLocale, locale); in TestGetLocaleByType()
1009 log_err("Expected actual locale to be %s. Got %s\n", test[i].requestedLocale, locale); in TestGetLocaleByType()
Dcapitst.c1409 const char* requestedLocale; in TestGetLocale() member
1422 coll = ucol_open(testStruct[i].requestedLocale, &status); in TestGetLocale()
1424 …us(status, "Failed to open collator for %s with %s\n", testStruct[i].requestedLocale, u_errorName(… in TestGetLocale()
1434 …strcmp(locale, testStruct[i].requestedLocale) != 0 && strcmp(locale, testStruct[i].validLocale) !=… in TestGetLocale()
1435 …uested locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i].requestedLocal… in TestGetLocale()
1440 …ll %s]: Error in valid locale, expected %s, got %s\n", testStruct[i].requestedLocale, testStruct[i… in TestGetLocale()
1444 …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.java358 Object create(ULocale requestedLocale); in create() argument
383 void checkObject(String requestedLocale, Object obj, in checkObject() argument
393 checklocs(cls.getName(), requestedLocale, in checkObject() local
427 void checkService(String requestedLocale, ServiceFacade svc) { in checkService() argument
428 checkService(requestedLocale, svc, null, null); in checkService()
444 void checkService(String requestedLocale, ServiceFacade svc, in checkService() argument
446 ULocale req = new ULocale(requestedLocale); in checkService()
448 checkObject(requestedLocale, obj, "gt", "ge"); in checkService()
451 checkObject(requestedLocale, subobj, "gt", "ge"); in checkService()
457 checkObject(requestedLocale, objReg, "eq", "eq"); in checkService()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationAPITest.java1006 String requestedLocale = testStruct[i][0];
1010 coll = Collator.getInstance(new ULocale(requestedLocale));
1012 errln(String.format("Failed to open collator for %s with %s", requestedLocale, e));
1020 requestedLocale, validLocale, locale.getName()));
1025 requestedLocale, actualLocale, locale.getName()));
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationAPITest.java1010 String requestedLocale = testStruct[i][0];
1014 coll = Collator.getInstance(new ULocale(requestedLocale));
1016 errln(String.format("Failed to open collator for %s with %s", requestedLocale, e));
1024 requestedLocale, validLocale, locale.getName()));
1029 requestedLocale, actualLocale, locale.getName()));
/external/icu/icu4c/source/i18n/
Ducol_res.cpp235 Locale requestedLocale(locale); in loadFromLocale() local
242 if(locale != requestedLocale) { in loadFromLocale()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h800 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
Dcoll.h1111 …virtual void setLocales(const Locale& requestedLocale, const Locale& validLocale, const Locale& ac…
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java136 public void setLoadingStatus(String requestedLocale){ in setLoadingStatus() argument
140 } else if(locale.equals(requestedLocale)) { in setLoadingStatus()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundle.java140 public void setLoadingStatus(String requestedLocale){ in setLoadingStatus() argument
144 } else if(locale.equals(requestedLocale)) { in setLoadingStatus()