Home
last modified time | relevance | path

Searched refs:locName (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DBasicDurationFormatter.java78 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);
DBasicPeriodFormatter.java48 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()
DBasicPeriodFormatterFactory.java220 PeriodFormatterData getData(String locName) { in getData() argument
221 return ds.get(locName); in getData()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormatter.java79 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);
DBasicPeriodFormatter.java49 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()
DBasicPeriodFormatterFactory.java222 PeriodFormatterData getData(String locName) { in getData() argument
223 return ds.get(locName); in getData()
/external/icu/icu4c/source/test/intltest/
Ddtifmtts.cpp1058 const char* locName = data[i++]; in expect() local
1059 Locale loc(locName); in expect()
1061 logln( "case %d, locale: %s\n", (i-1)/5, locName); in expect()
1084 …assertEquals((UnicodeString)"\"" + locName + "\\" + oneSkeleton + "\\" + ctou(datestr) + "\\" + ct… in expect()
1086 logln("interval date:" + str + "\"" + locName + "\", " in expect()
1260 const char* locName = data[i++]; in expectUserDII() local
1261 Locale loc(locName); in expectUserDII()
1289 …assertEquals((UnicodeString)"\"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"", ctou(data[i… in expectUserDII()
1362 char locName[32]; in testStress() local
1363 uprv_strcpy(locName, testLocale[localeIndex][0]); in testStress()
[all …]
Ddtifmtts.h82 const char* locName);
Dsvccoll.cpp112 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()
/external/icu/icu4c/source/common/
Dlocmap.cpp1065 char locName[LOCALE_NAME_MAX_LENGTH] = {}; // ICU name can't be longer than Windows name in uprv_convertToPosix() local
1081 for (i = 0; i < UPRV_LENGTHOF(locName); i++) in uprv_convertToPosix()
1083 locName[i] = (char)(windowsLocaleName[i]); in uprv_convertToPosix()
1092 locName[i] = '\0'; in uprv_convertToPosix()
1100 locName[i] = '_'; in uprv_convertToPosix()
1109 FIX_LANGUAGE_ID_TAG(locName, tmpLen); in uprv_convertToPosix()
1110 pPosixID = locName; in uprv_convertToPosix()
Dservls.cpp71 UnicodeString locName(locale.getName(), -1, US_INV); in get() local
72 if (locName.isBogus()) { in get()
75 ICUServiceKey* key = createKey(&locName, kind, status); in get()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java702 String locName = data[i++]; in expect() local
703 ULocale loc = new ULocale(locName); in expect()
724 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
793 String locName = data[i++]; in expectUserDII() local
794 ULocale loc = new ULocale(locName); in expectUserDII()
820 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
867 String locName = data[i++]; in expectUserCLDR() local
868 ULocale loc = new ULocale(locName); in expectUserCLDR()
907 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
988 private void stress(String[] data, int data_length, Locale loc, String locName) { in stress() argument
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java705 String locName = data[i++]; in expect() local
706 ULocale loc = new ULocale(locName); in expect()
727 …errln("\"" + locName + "\\" + oneSkeleton + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " … in expect()
796 String locName = data[i++]; in expectUserDII() local
797 ULocale loc = new ULocale(locName); in expectUserDII()
823 …errln("userDII: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +… in expectUserDII()
870 String locName = data[i++]; in expectUserCLDR() local
871 ULocale loc = new ULocale(locName); in expectUserCLDR()
910 …errln("CLDR: \"" + locName + "\\" + datestr + "\\" + datestr_2 + "\"\t expected: " + expected +"\t… in expectUserCLDR()
991 private void stress(String[] data, int data_length, Locale loc, String locName) { in stress() argument
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIndianTest.java210 String locName = formatLocales[j]; in TestCoverage() local
211 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
213 logln(calLocName + "/" + locName + " --> " + format.format(cal)); in TestCoverage()
DEthiopicTest.java418 String locName = formatLocales[j]; in TestCoverage() local
419 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
421 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
DCopticTest.java336 String locName = formatLocales[j]; in TestCoverage() local
337 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
339 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
DHebrewTest.java464 String locName = formatLocales[j]; in TestCoverage() local
465 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
467 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIndianTest.java213 String locName = formatLocales[j]; in TestCoverage() local
214 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
216 logln(calLocName + "/" + locName + " --> " + format.format(cal)); in TestCoverage()
DEthiopicTest.java421 String locName = formatLocales[j]; in TestCoverage() local
422 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
424 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
DCopticTest.java339 String locName = formatLocales[j]; in TestCoverage() local
340 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
342 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
DHebrewTest.java467 String locName = formatLocales[j]; in TestCoverage() local
468 Locale formatLocale = LocaleUtility.getLocaleFromName(locName); in TestCoverage()
470 logln(calLocName + "/" + locName + " --> " + format.format(time)); in TestCoverage()
/external/harfbuzz_ng/src/
Dhb-common.cc770 #define HB_CREATE_LOCALE(locName) newlocale (LC_ALL_MASK, locName, nullptr) argument
775 #define HB_CREATE_LOCALE(locName) _create_locale (LC_ALL, locName) argument
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DResourceBundleWrapper.java160 String locName = localeID.substring(0, i); in instantiateBundle() local
161 parent = instantiateBundle(baseName, locName, defaultID, root, disableFallback); in instantiateBundle()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DResourceBundleWrapper.java158 String locName = localeID.substring(0, i); in instantiateBundle() local
159 parent = instantiateBundle(baseName, locName, defaultID, root, disableFallback); in instantiateBundle()
/external/cldr/tools/c/genldml/
Dgenldml.h79 const char* locName; variable
279 GenerateXML(const char* path,const char* locName,const char* destDir, UErrorCode& error);

12