/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
D | BasicDurationFormatter.java | 72 public DurationFormatter withLocale(String locName) { 73 if (!locName.equals(localeName)) { 74 PeriodFormatter newFormatter = formatter.withLocale(locName); 75 PeriodBuilder newBuilder = builder.withLocale(locName); 78 : fallback.withLocale(locName); 81 locName, timeZone);
|
D | BasicPeriodFormatter.java | 44 public PeriodFormatter withLocale(String locName) { in withLocale() argument 45 if (!this.localeName.equals(locName)) { in withLocale() 46 PeriodFormatterData newData = factory.getData(locName); in withLocale() 47 return new BasicPeriodFormatter(factory, locName, newData, in withLocale()
|
D | BasicPeriodFormatterFactory.java | 211 PeriodFormatterData getData(String locName) { in getData() argument 212 return ds.get(locName); in getData()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtifmtts.cpp | 1054 sprintf(mesg, "locale: %s\n", locName); in expect() 1059 const char* locName = data[i++]; in expect() local 1060 Locale loc(locName); in expect() 1086 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_… in expect() 1095 std::cout << "\"" << locName << "\", " in expect() 1273 const char* locName = data[i++]; in expectUserDII() local 1274 Locale loc(locName); in expectUserDII() 1302 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII() 1375 char locName[32]; in testStress() local 1376 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress() [all …]
|
D | dtifmtts.h | 73 const char* locName);
|
D | svccoll.cpp | 109 UnicodeString locName = fu_FU.getName(); in TestRegister() local 117 if (locName == *locStr) { in TestRegister() 427 UnicodeString locName = fu_FU.getName(); in TestRegisterFactory() local 435 if (locName == *locStr) { in TestRegisterFactory()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | YMDDateFormatter.java | 82 public DateFormatter withLocale(String locName) { in withLocale() argument 83 if (!locName.equals(localeName)) { in withLocale() 84 return new YMDDateFormatter(requestedFields, locName, timeZone); in withLocale()
|
/external/icu/icu4c/source/common/ |
D | locmap.c | 989 char locName[157]; /* ULOC_FULLNAME_CAPACITY */ in uprv_convertToPosix() local 991 … tmpLen = GetLocaleInfoA(hostid, LOCALE_SNAME, (LPSTR)locName, sizeof(locName)/sizeof(locName[0])); in uprv_convertToPosix() 996 char *p = uprv_strchr(locName, '_'); in uprv_convertToPosix() 1000 tmpLen = uprv_strlen(locName); in uprv_convertToPosix() 1006 p = locName; in uprv_convertToPosix() 1013 FIX_LANGUAGE_ID_TAG(locName, tmpLen); in uprv_convertToPosix() 1014 pPosixID = locName; in uprv_convertToPosix()
|
D | servls.cpp | 69 UnicodeString locName(locale.getName(), -1, US_INV); in get() local 70 if (locName.isBogus()) { in get() 73 ICUServiceKey* key = createKey(&locName, kind, status); in get()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 692 String locName = data[i++]; in expect() local 693 ULocale loc = new ULocale(locName); in expect() 714 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect() 782 String locName = data[i++]; in expectUserDII() local 783 ULocale loc = new ULocale(locName); in expectUserDII() 809 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII() 855 String locName = data[i++]; in expectUserCLDR() local 856 ULocale loc = new ULocale(locName); in expectUserCLDR() 895 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR() 975 private void stress(String[] data, int data_length, Locale loc, String locName) { in stress() argument
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | ModuleTest.java | 44 protected ModuleTest(String baseName, String locName) { in ModuleTest() argument 45 localeName = locName; in ModuleTest()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ResourceBundleWrapper.java | 133 String locName = localeID.substring(0, i); in instantiateBundle() local 134 … parent = (ResourceBundleWrapper)loadFromCache(cl, baseName+"_"+locName,defaultLocale); in instantiateBundle() 136 … parent = (ResourceBundleWrapper)instantiateBundle(baseName, locName , cl, disableFallback); in instantiateBundle()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IndianTest.java | 204 String locName = formatLocales[j]; in TestCoverage() local 205 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 207 logln(calLocName + "/" + locName + " --> " + format.format(cal)); in TestCoverage()
|
D | CopticTest.java | 326 String locName = formatLocales[j]; in TestCoverage() local 327 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 329 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | EthiopicTest.java | 408 String locName = formatLocales[j]; in TestCoverage() local 409 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 411 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | JapaneseTest.java | 136 String locName = formatLocales[j]; in TestCoverage() local 137 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 139 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | HebrewTest.java | 451 String locName = formatLocales[j]; in TestCoverage() local 452 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 454 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | IslamicTest.java | 296 String locName = formatLocales[j]; in TestCoverage() local 297 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage() 299 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
|
D | IBMCalendarTest.java | 296 String locName = formatLocales[j]; in TestBuddhistCoverage() local 297 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestBuddhistCoverage() 299 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestBuddhistCoverage() 444 String locName = formatLocales[j]; in TestTaiwanCoverage() local 445 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestTaiwanCoverage() 447 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestTaiwanCoverage()
|
/external/icu/icu4c/source/test/cintltst/ |
D | callcoll.h | 56 UBool hasCollationElements(const char *locName);
|
D | creststn.c | 1375 const char *locName = "root"; in TestGetVersion() local 1381 locName = uloc_getAvailable(j); in TestGetVersion() 1383 log_verbose("Testing version number for locale %s\n", locName); in TestGetVersion() 1384 resB = ures_open(NULL,locName, &status); in TestGetVersion() 1386 …log_err_status(status, "Resource bundle creation for locale %s failed.: %s\n", locName, myErrorNam… in TestGetVersion() 1396 locName, versionArray[0], versionArray[1], versionArray[2], versionArray[3]); in TestGetVersion() 1414 const char *locName = "root"; in TestGetVersionColl() local 1420 resB = ures_open(U_ICUDATA_COLL,locName, &status); in TestGetVersionColl() 1423 log_data_err("Could not load UCARules for locale %s\n", locName); in TestGetVersionColl() 1438 log_verbose("Testing version number for locale %s\n", locName); in TestGetVersionColl() [all …]
|
D | cmsccoll.c | 574 const char *locName = NULL; in TestComposeDecompose() local 654 locName = uloc_getAvailable(i); in TestComposeDecompose() 655 if(hasCollationElements(locName)) { in TestComposeDecompose() 658 int32_t nameSize = uloc_getDisplayName(locName, NULL, name, sizeof(cName), &status); in TestComposeDecompose() 664 log_verbose("\nTesting locale %s (%s)\n", locName, cName); in TestComposeDecompose() 666 coll = ucol_open(locName, &status); in TestComposeDecompose() 2777 static int32_t TestEqualsForCollator(const char* locName, UCollator *source, UCollator *target) { in TestEqualsForCollator() argument 2790 if(uprv_strcmp(locName, ucol_getLocaleByType(source, ULOC_ACTUAL_LOCALE, &status)) == 0) { in TestEqualsForCollator() 2844 const char *locName = NULL; in TestEquals() local 2900 locName = uloc_getAvailable(i); in TestEquals() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | dtitvinf.cpp | 222 const char *locName = locale.getName(); in initializeData() local 224 uprv_strcpy(parentLocale, locName); in initializeData() 237 "calendar", "calendar", locName, NULL, FALSE, &status); in initializeData()
|
D | dcfmtsym.cpp | 322 const char* locName = loc.getName(); in initialize() local 324 uccLen = ucurr_forLocale(locName, ucc, uccLen, &localStatus); in initialize()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 942 String locName = "en_Latn_US"; in TestJavaULocaleBundleLoading() local 943 UResourceBundle bundle = UResourceBundle.getBundleInstance(baseName, locName, testLoader); in TestJavaULocaleBundleLoading() 960 …UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLo… in TestJavaULocaleBundleLoading() 962 errln("Did not get the expected bundle for "+baseName +"."+locName); in TestJavaULocaleBundleLoading()
|