/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicDurationFormatter.java | 78 public DurationFormatter withLocale(String locName) { 79 if (!locName.equals(localeName)) { 80 PeriodFormatter newFormatter = formatter.withLocale(locName); 81 PeriodBuilder newBuilder = builder.withLocale(locName); 84 : fallback.withLocale(locName); 87 locName, timeZone);
|
D | BasicPeriodFormatter.java | 48 public PeriodFormatter withLocale(String locName) { in withLocale() argument 49 if (!this.localeName.equals(locName)) { in withLocale() 50 PeriodFormatterData newData = factory.getData(locName); in withLocale() 51 return new BasicPeriodFormatter(factory, locName, newData, in withLocale()
|
D | BasicPeriodFormatterFactory.java | 220 PeriodFormatterData getData(String locName) { in getData() argument 221 return ds.get(locName); in getData()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/ |
D | BasicDurationFormatter.java | 79 public DurationFormatter withLocale(String locName) { 80 if (!locName.equals(localeName)) { 81 PeriodFormatter newFormatter = formatter.withLocale(locName); 82 PeriodBuilder newBuilder = builder.withLocale(locName); 85 : fallback.withLocale(locName); 88 locName, timeZone);
|
D | BasicPeriodFormatter.java | 49 public PeriodFormatter withLocale(String locName) { in withLocale() argument 50 if (!this.localeName.equals(locName)) { in withLocale() 51 PeriodFormatterData newData = factory.getData(locName); in withLocale() 52 return new BasicPeriodFormatter(factory, locName, newData, in withLocale()
|
D | BasicPeriodFormatterFactory.java | 222 PeriodFormatterData getData(String locName) { in getData() argument 223 return ds.get(locName); in getData()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | dtifmtts.cpp | 1214 const char* locName = data[i++]; in expect() local 1218 Locale loc(locName); in expect() 1221 … dataerrln("Calendar::createInstance fails for loc %s with: %s", locName, u_errorName(ec)); in expect() 1231 logln( "case %d, locale: %s\n", (i-1)/5, locName); in expect() 1252 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + ctou(datestr) + "\\" + ct… in expect() 1254 logln("interval date:" + str + "\"" + locName + "\", " in expect() 1507 const char* locName = data[i++]; in expectUserDII() local 1508 Locale loc(locName); in expectUserDII() 1536 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII() 1609 char locName[32]; in testStress() local [all …]
|
D | svccoll.cpp | 112 UnicodeString locName = fu_FU.getName(); in TestRegister() local 120 if (locName == *locStr) { in TestRegister() 430 UnicodeString locName = fu_FU.getName(); in TestRegisterFactory() local 438 if (locName == *locStr) { in TestRegisterFactory()
|
/third_party/node/deps/icu-small/source/common/ |
D | locmap.cpp | 1062 char locName[LOCALE_NAME_MAX_LENGTH] = {}; in uprv_convertToPosix() local 1078 for (i = 0; i < UPRV_LENGTHOF(locName); i++) in uprv_convertToPosix() 1080 locName[i] = (char)(windowsLocaleName[i]); in uprv_convertToPosix() 1089 locName[i] = '\0'; in uprv_convertToPosix() 1097 locName[i] = '_'; in uprv_convertToPosix() 1106 FIX_LANGUAGE_ID_TAG(locName, tmpLen); in uprv_convertToPosix() 1107 pPosixID = locName; in uprv_convertToPosix()
|
D | servls.cpp | 70 UnicodeString locName(locale.getName(), -1, US_INV); in get() local 71 if (locName.isBogus()) { in get() 74 ICUServiceKey* key = createKey(&locName, kind, status); in get()
|
/third_party/icu/icu4c/source/common/ |
D | locmap.cpp | 1062 char locName[LOCALE_NAME_MAX_LENGTH] = {}; in uprv_convertToPosix() local 1078 for (i = 0; i < UPRV_LENGTHOF(locName); i++) in uprv_convertToPosix() 1080 locName[i] = (char)(windowsLocaleName[i]); in uprv_convertToPosix() 1089 locName[i] = '\0'; in uprv_convertToPosix() 1097 locName[i] = '_'; in uprv_convertToPosix() 1106 FIX_LANGUAGE_ID_TAG(locName, tmpLen); in uprv_convertToPosix() 1107 pPosixID = locName; in uprv_convertToPosix()
|
D | servls.cpp | 70 UnicodeString locName(locale.getName(), -1, US_INV); in get() local 71 if (locName.isBogus()) { in get() 74 ICUServiceKey* key = createKey(&locName, kind, status); in get()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | locmap.cpp | 1062 char locName[LOCALE_NAME_MAX_LENGTH] = {}; in uprv_convertToPosix() local 1078 for (i = 0; i < UPRV_LENGTHOF(locName); i++) in uprv_convertToPosix() 1080 locName[i] = (char)(windowsLocaleName[i]); in uprv_convertToPosix() 1089 locName[i] = '\0'; in uprv_convertToPosix() 1097 locName[i] = '_'; in uprv_convertToPosix() 1106 FIX_LANGUAGE_ID_TAG(locName, tmpLen); in uprv_convertToPosix() 1107 pPosixID = locName; in uprv_convertToPosix()
|
D | servls.cpp | 70 UnicodeString locName(locale.getName(), -1, US_INV); in get() local 71 if (locName.isBogus()) { in get() 74 ICUServiceKey* key = createKey(&locName, kind, status); in get()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 732 String locName = data[i++]; in expect() local 736 ULocale loc = new ULocale(locName); in expect() 760 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect() 829 String locName = data[i++]; in expectUserDII() local 830 ULocale loc = new ULocale(locName); in expectUserDII() 856 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII() 903 String locName = data[i++]; in expectUserCLDR() local 904 ULocale loc = new ULocale(locName); in expectUserCLDR() 943 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR() 1024 private void stress(String[] data, int data_length, Locale loc, String locName) { in stress() argument
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | IndianTest.java | 213 String locName = formatLocales[j]; in TestCoverage() local 214 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 216 logln(calLocName + "/" + locName + " --> " + format.format(cal)); in TestCoverage()
|
D | EthiopicTest.java | 421 String locName = formatLocales[j]; in TestCoverage() local 422 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 424 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | CopticTest.java | 339 String locName = formatLocales[j]; in TestCoverage() local 340 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 342 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IndianTest.java | 210 String locName = formatLocales[j]; in TestCoverage() local 211 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 213 logln(calLocName + "/" + locName + " --> " + format.format(cal)); in TestCoverage()
|
D | EthiopicTest.java | 418 String locName = formatLocales[j]; in TestCoverage() local 419 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 421 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | CopticTest.java | 336 String locName = formatLocales[j]; in TestCoverage() local 337 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 339 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 856 String locName = data[i++]; in expect() local 860 ULocale loc = new ULocale(locName); in expect() 884 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect() 953 String locName = data[i++]; in expectUserDII() local 954 ULocale loc = new ULocale(locName); in expectUserDII() 980 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII() 1085 String locName = data[i++]; in expectUserCLDR() local 1086 ULocale loc = new ULocale(locName); in expectUserCLDR() 1125 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR() 1206 private void stress(String[] data, int data_length, Locale loc, String locName) { in stress() argument
|
/third_party/icu/tools/colprobe/ |
D | colprobeNew.cpp | 790 hasCollationElements(const char *locName) { in hasCollationElements() argument 795 UResourceBundle *loc = ures_open(NULL, locName, &status);; in hasCollationElements() 896 const char *locName = NULL; in main() local 899 locName = uloc_getAvailable(i); in main() 900 if(hasCollationElements(locName)) { in main() 901 processLocale(locName, status); in main()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | creststn.c | 1416 const char *locName = "root"; in TestGetVersion() local 1422 locName = uloc_getAvailable(j); in TestGetVersion() 1424 log_verbose("Testing version number for locale %s\n", locName); in TestGetVersion() 1425 resB = ures_open(NULL,locName, &status); in TestGetVersion() 1427 …log_err_status(status, "Resource bundle creation for locale %s failed.: %s\n", locName, myErrorNam… in TestGetVersion() 1437 locName, versionArray[0], versionArray[1], versionArray[2], versionArray[3]); in TestGetVersion() 1455 const char *locName = "root"; in TestGetVersionColl() local 1461 resB = ures_open(U_ICUDATA_COLL,locName, &status); in TestGetVersionColl() 1464 log_data_err("Could not load UCARules for locale %s\n", locName); in TestGetVersionColl() 1479 log_verbose("Testing version number for locale %s\n", locName); in TestGetVersionColl() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | ResourceBundleWrapper.java | 160 String locName = localeID.substring(0, i); in instantiateBundle() local 161 parent = instantiateBundle(baseName, locName, defaultID, root, disableFallback); in instantiateBundle()
|