Home
last modified time | relevance | path

Searched refs:caltype (Results 1 - 5 of 5) sorted by relevance

/third_party/icu/icu4c/source/i18n/
H A Ducal.cpp154 UCalendarType caltype, in ucal_open()
168 if ( caltype == UCAL_GREGORIAN ) { in ucal_open()
719 char *caltype = (char*)uprv_malloc(len + 1); in ucal_getKeywordValuesForLocale() local
720 if (caltype == nullptr) { in ucal_getKeywordValuesForLocale()
724 u_UCharsToChars(type, caltype, len); in ucal_getKeywordValuesForLocale()
725 *(caltype + len) = 0; in ucal_getKeywordValuesForLocale()
727 ulist_addItemEndList(values, caltype, true, status); in ucal_getKeywordValuesForLocale()
151 ucal_open( const UChar* zoneID, int32_t len, const char* locale, UCalendarType caltype, UErrorCode* status) ucal_open() argument
/third_party/node/deps/icu-small/source/i18n/
H A Ducal.cpp155 UCalendarType caltype, in ucal_open()
169 if ( caltype == UCAL_GREGORIAN ) { in ucal_open()
744 char *caltype = (char*)uprv_malloc(len + 1); in ucal_getKeywordValuesForLocale() local
745 if (caltype == nullptr) { in ucal_getKeywordValuesForLocale()
749 u_UCharsToChars(type, caltype, len); in ucal_getKeywordValuesForLocale()
750 *(caltype + len) = 0; in ucal_getKeywordValuesForLocale()
752 ulist_addItemEndList(values, caltype, true, status); in ucal_getKeywordValuesForLocale()
152 ucal_open( const char16_t* zoneID, int32_t len, const char* locale, UCalendarType caltype, UErrorCode* status) ucal_open() argument
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ducal.cpp154 UCalendarType caltype, in ucal_open()
168 if ( caltype == UCAL_GREGORIAN ) { in ucal_open()
719 char *caltype = (char*)uprv_malloc(len + 1); in ucal_getKeywordValuesForLocale() local
720 if (caltype == nullptr) { in ucal_getKeywordValuesForLocale()
724 u_UCharsToChars(type, caltype, len); in ucal_getKeywordValuesForLocale()
725 *(caltype + len) = 0; in ucal_getKeywordValuesForLocale()
727 ulist_addItemEndList(values, caltype, TRUE, status); in ucal_getKeywordValuesForLocale()
151 ucal_open( const UChar* zoneID, int32_t len, const char* locale, UCalendarType caltype, UErrorCode* status) ucal_open() argument
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DULocaleTest.java220 String caltype = cal.getType(); in TestJavaLocaleCompatibility()
221 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
222 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
226 caltype = cal.getType(); in TestJavaLocaleCompatibility()
227 if (!caltype.equals("gregorian")) { in TestJavaLocaleCompatibility()
228 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian"); in TestJavaLocaleCompatibility()
245 caltype = cal.getType(); in TestJavaLocaleCompatibility()
246 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
247 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DULocaleTest.java219 String caltype = cal.getType(); in TestJavaLocaleCompatibility()
220 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
221 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()
225 caltype = cal.getType(); in TestJavaLocaleCompatibility()
226 if (!caltype.equals("gregorian")) { in TestJavaLocaleCompatibility()
227 errln("FAIL: Invalid calendar type: " + caltype + " /expected: gregorian"); in TestJavaLocaleCompatibility()
244 caltype = cal.getType(); in TestJavaLocaleCompatibility()
245 if (!caltype.equals("japanese")) { in TestJavaLocaleCompatibility()
246 errln("FAIL: Invalid calendar type: " + caltype + " /expected: japanese"); in TestJavaLocaleCompatibility()

Completed in 29 milliseconds