Home
last modified time | relevance | path

Searched refs:locID (Results 1 – 22 of 22) sorted by relevance

/third_party/icu/tools/multi/proj/provider/
Dcolldiff.cpp58 char locID[200]; in main() local
59 strcpy(locID, locale[l]); in main()
61 strcat(locID, "@sp=icu"); in main()
62 strcat(locID, provider_version[v]); in main()
65 printf("%-28s = ", locID); in main()
73 Collator *col = Collator::createInstance(Locale(locID),subStatus); in main()
83 strcat(xbuf2,locID); in main()
88 UCollator *col = ucol_open(locID, &subStatus); in main()
98 int32_t def = ucol_getShortDefinitionString(col,locID/*NULL*/,xbuf3,200,&subStatus); in main()
130 int32_t def4 = ucol_getShortDefinitionString(col,locID/*NULL*/,xbuf4,200,&subStatus); in main()
Ddatediff.cpp65 char locID[200]; in main()
66 strcpy(locID, locale[l]); in main()
68 strcat(locID, "@sp=icu"); in main()
69 strcat(locID, provider_version[v]); in main()
72 printf("%18s : ", locID); in main()
77 UDateFormat *dat = udat_open(styles[s],styles[s], locID, NULL, -1, NULL, 0, &subStatus); in main()
Dcaldiff.cpp65 char locID[200]; in main() local
66 strcpy(locID, locale[l]); in main()
68 strcat(locID, "@sp=icu"); in main()
69 strcat(locID, provider_version[v]); in main()
72 printf("%18s : ", locID); in main()
77 LocalPointer<Calendar> cal(Calendar::createInstance(Locale(locID), subStatus)); in main()
/third_party/icu/icu4c/source/test/intltest/
Dtsdate.cpp166 const char* locID = "??"; in tryDate() local
169 locID = loc.getName(); in tryDate()
179 errln("**** FAIL, locale " + UnicodeString(locID,-1,US_INV) + in tryDate()
190 errln("**** FAIL, locale " + UnicodeString(locID,-1,US_INV) + in tryDate()
200 errln("**** FAIL, locale " + UnicodeString(locID,-1,US_INV) + in tryDate()
Dincaltst.cpp713 const char* locID = "ja_JP@calendar=japanese"; in TestForceGannenNumbering() local
714 Locale loc(locID); in TestForceGannenNumbering()
725 dataerrln("Fail in new SimpleDateFormat locale %s: %s", locID, u_errorName(status)); in TestForceGannenNumbering()
755 …dataerrln("Fail in DateTimePatternGenerator::createInstance locale %s: %s", locID, u_errorName(sta… in TestForceGannenNumbering()
759 …dataerrln("Fail in DateTimePatternGenerator::getBestPattern locale %s: %s", locID, u_errorName(sta… in TestForceGannenNumbering()
764 dataerrln("Fail in new SimpleDateFormat locale %s: %s", locID, u_errorName(status)); in TestForceGannenNumbering()
/third_party/node/deps/icu-small/source/common/
Dustr_titlecase_brkiter.cpp133 const Locale *locale, const char *locID, uint32_t options, BreakIterator *iter, in ustrcase_getTitleBreakIterator() argument
145 locale != nullptr ? *locale : Locale(locID), errorCode); in ustrcase_getTitleBreakIterator()
155 locale != nullptr ? *locale : Locale(locID), errorCode); in ustrcase_getTitleBreakIterator()
Ducasemap_imp.h96 const Locale *locale, const char *locID, uint32_t options, BreakIterator *iter,
/third_party/icu/icu4c/source/common/
Dustr_titlecase_brkiter.cpp133 const Locale *locale, const char *locID, uint32_t options, BreakIterator *iter, in ustrcase_getTitleBreakIterator() argument
145 locale != nullptr ? *locale : Locale(locID), errorCode); in ustrcase_getTitleBreakIterator()
155 locale != nullptr ? *locale : Locale(locID), errorCode); in ustrcase_getTitleBreakIterator()
Ducasemap_imp.h96 const Locale *locale, const char *locID, uint32_t options, BreakIterator *iter,
/third_party/skia/third_party/externals/icu/source/common/
Dustr_titlecase_brkiter.cpp133 const Locale *locale, const char *locID, uint32_t options, BreakIterator *iter, in ustrcase_getTitleBreakIterator() argument
145 locale != nullptr ? *locale : Locale(locID), errorCode); in ustrcase_getTitleBreakIterator()
155 locale != nullptr ? *locale : Locale(locID), errorCode); in ustrcase_getTitleBreakIterator()
Ducasemap_imp.h96 const Locale *locale, const char *locID, uint32_t options, BreakIterator *iter,
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DCollator.java1032 ULocale locID, in getFunctionalEquivalent() argument
1035 keyword, locID, isAvailable, true); in getFunctionalEquivalent()
1049 ULocale locID) { in getFunctionalEquivalent() argument
1050 return getFunctionalEquivalent(keyword, locID, null); in getFunctionalEquivalent()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollator.java1072 ULocale locID, in getFunctionalEquivalent() argument
1075 keyword, locID, isAvailable, true); in getFunctionalEquivalent()
1090 ULocale locID) { in getFunctionalEquivalent() argument
1091 return getFunctionalEquivalent(keyword, locID, null); in getFunctionalEquivalent()
/third_party/icu/icu4c/source/test/cintltst/
Dcdattst.c1899 const char* locID = "ja_JP@calendar=japanese"; in TestForceGannenNumbering() local
1905 UDateTimePatternGenerator* dtpgen = udatpg_open(locID, &status); in TestForceGannenNumbering()
1907 log_data_err("Fail in udatpg_open locale %s: %s", locID, u_errorName(status)); in TestForceGannenNumbering()
1912 log_data_err("Fail in udatpg_getBestPattern locale %s: %s", locID, u_errorName(status)); in TestForceGannenNumbering()
1914 …UDateFormat *testFmt = udat_open(UDAT_PATTERN, UDAT_PATTERN, locID, NULL, 0, pattern, patlen, &sta… in TestForceGannenNumbering()
1916 log_data_err("Fail in udat_open locale %s: %s", locID, u_errorName(status)); in TestForceGannenNumbering()
1921 log_err("Fail in udat_format locale %s: %s", locID, u_errorName(status)); in TestForceGannenNumbering()
Dcloctst.c6336 const char *locID; member
6450 if (uprv_strcmp(langtag_to_locale[i].locID, locale) != 0) { in TestForLanguageTag()
6452 locale, langtag_to_locale[i].bcpID, langtag_to_locale[i].locID); in TestForLanguageTag()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DLocaleDataTest.java125 public TestMeasurementSysItem(String locID, LocaleData.MeasurementSystem ms) { in TestMeasurementSysForSpecificLocales() argument
126 localeID = locID; in TestMeasurementSysForSpecificLocales()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDataTest.java122 public TestMeasurementSysItem(String locID, LocaleData.MeasurementSystem ms) { in TestMeasurementSysForSpecificLocales() argument
123 localeID = locID; in TestMeasurementSysForSpecificLocales()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUResourceBundle.java116 String resName, String keyword, ULocale locID, in getFunctionalEquivalent() argument
118 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent()
119 String baseLoc = locID.getBaseName(); in getFunctionalEquivalent()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundle.java113 String resName, String keyword, ULocale locID, in getFunctionalEquivalent() argument
115 String kwVal = locID.getKeywordValue(keyword); in getFunctionalEquivalent()
116 String baseLoc = locID.getBaseName(); in getFunctionalEquivalent()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java813 … public TestRelativeDateTimeUnitItem(String locID, int decP, RelativeDateTimeFormatter.Style wid, in TestRelativeDateTimeUnitFormatters() argument
815 localeID = locID; in TestRelativeDateTimeUnitFormatters()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java810 … public TestRelativeDateTimeUnitItem(String locID, int decP, RelativeDateTimeFormatter.Style wid, in TestRelativeDateTimeUnitFormatters() argument
812 localeID = locID; in TestRelativeDateTimeUnitFormatters()
DDateTimeGeneratorTest.java1893 public DTPLocaleAndResults(String locID, String[] exPat) { in DTPLocaleAndResults() argument
1894 localeID = locID; in DTPLocaleAndResults()