Lines Matching defs:calType
77 UCalendarType calType;
462 caldef = ucal_open(NULL, 0, ucalGetTypeTestPtr->locale, ucalGetTypeTestPtr->calType, &status);
464 const char * calType = ucal_getType(caldef, &status);
465 if ( U_SUCCESS(status) && calType != NULL ) {
466 if ( uprv_strcmp( calType, ucalGetTypeTestPtr->expectedResult ) != 0 ) {
468 ucalGetTypeTestPtr->calType, ucalGetTypeTestPtr->expectedResult);
471 log_err("FAIL: ucal_open %s type %d, then ucal_getType fails\n", localeToDisplay, ucalGetTypeTestPtr->calType);
475 log_err("FAIL: ucal_open %s type %d fails\n", localeToDisplay, ucalGetTypeTestPtr->calType);
2141 const char * calType = ucal_getType(ucalTest, &status);
2148 } else if ( uprv_strcmp(calType,"chinese")!=0 && (eraAfter != 0 || yrAfter != -1) ) {
2158 const char * calType = ucal_getType(ucalTest, &status);
2159 if (eraMin != 0 && uprv_strcmp(calType, "chinese") != 0) {
2160 log_err("FAIL: ucal_getLimit returns minimum era %d (should be 0) for calType %s, error %s\n", eraMin, calType, u_errorName(status));