Lines Matching refs:co

248 	int32_t result = (co->ucal->*func)(  in _php_intlcal_field_uec_ret_in32t_method()
249 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co)); in _php_intlcal_field_uec_ret_in32t_method()
250 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in _php_intlcal_field_uec_ret_in32t_method()
274 UDate result = co->ucal->getTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
275 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
295 co->ucal->setTime((UDate)time_arg, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
296 INTL_METHOD_CHECK_STATUS(co, "Call to underlying method failed"); in PHP_FUNCTION()
327 co->ucal->add((UCalendarDateFields)field, (int32_t)amount, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
328 INTL_METHOD_CHECK_STATUS(co, "intlcal_add: Call to underlying method failed"); in PHP_FUNCTION()
353 CALENDAR_ERROR_P(co), "intlcal_set_time_zone"); in PHP_FUNCTION()
358 co->ucal->adoptTimeZone(timeZone); in PHP_FUNCTION()
384 intl_errors_set(&co->err, U_ILLEGAL_ARGUMENT_ERROR, in _php_intlcal_before_after()
389 UBool res = (co->ucal->*func)(*when_co->ucal, CALENDAR_ERROR_CODE(co)); in _php_intlcal_before_after()
390 INTL_METHOD_CHECK_STATUS(co, "intlcal_before/after: Error calling ICU method"); in _php_intlcal_before_after()
456 co->ucal->set((UCalendarDateFields)arg1, (int32_t)arg2); in PHP_FUNCTION()
458 co->ucal->set((int32_t)arg1, (int32_t)arg2, (int32_t)arg3); in PHP_FUNCTION()
460 co->ucal->set((int32_t)arg1, (int32_t)arg2, (int32_t)arg3, (int32_t)arg4, (int32_t)arg5); in PHP_FUNCTION()
462co->ucal->set((int32_t)arg1, (int32_t)arg2, (int32_t)arg3, (int32_t)arg4, (int32_t)arg5, (int32_t)… in PHP_FUNCTION()
517 co->ucal->roll((UCalendarDateFields)field, (UBool)bool_variant_val, in PHP_FUNCTION()
518 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
520 co->ucal->roll((UCalendarDateFields)field, (int32_t)value, in PHP_FUNCTION()
521 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
523 INTL_METHOD_CHECK_STATUS(co, "intlcal_roll: Error calling ICU Calendar::roll"); in PHP_FUNCTION()
544 co->ucal->clear(); in PHP_FUNCTION()
552 co->ucal->clear((UCalendarDateFields)field); in PHP_FUNCTION()
579 int32_t result = co->ucal->fieldDifference((UDate)when, in PHP_FUNCTION()
580 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
581 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
620 int32_t result = co->ucal->getDayOfWeekType( in PHP_FUNCTION()
621 (UCalendarDaysOfWeek)dow, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
622 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
642 int32_t result = co->ucal->getFirstDayOfWeek(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
643 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
675 int32_t result = (co->ucal->*func)((UCalendarDateFields)field); in _php_intlcal_field_ret_in32t_method()
676 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in _php_intlcal_field_ret_in32t_method()
713 Locale locale = co->ucal->getLocale((ULocDataLocaleType)locale_type, in PHP_FUNCTION()
714 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
715 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
740 uint8_t result = co->ucal->getMinimalDaysInFirstWeek(); in PHP_FUNCTION()
741 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
766 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION()
768 intl_errors_set(CALENDAR_ERROR_P(co), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
789 RETURN_STRING(co->ucal->getType()); in PHP_FUNCTION()
813 int32_t res = co->ucal->getWeekendTransition((UCalendarDaysOfWeek)dow, in PHP_FUNCTION()
814 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
815 INTL_METHOD_CHECK_STATUS(co, "intlcal_get_weekend_transition: " in PHP_FUNCTION()
835 UBool ret = co->ucal->inDaylightTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
836 INTL_METHOD_CHECK_STATUS(co, "intlcal_in_daylight_time: " in PHP_FUNCTION()
865 RETURN_BOOL((int)co->ucal->isEquivalentTo(*other_co->ucal)); in PHP_FUNCTION()
881 RETURN_BOOL((int)co->ucal->isLenient()); in PHP_FUNCTION()
904 RETURN_BOOL((int)co->ucal->isSet((UCalendarDateFields)field)); in PHP_FUNCTION()
924 RETURN_BOOL((int)co->ucal->isWeekend()); in PHP_FUNCTION()
926 UBool ret = co->ucal->isWeekend((UDate)date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
927 INTL_METHOD_CHECK_STATUS(co, "intlcal_is_weekend: " in PHP_FUNCTION()
955 co->ucal->setFirstDayOfWeek((UCalendarDaysOfWeek)dow); in PHP_FUNCTION()
974 co->ucal->setLenient((UBool) is_lenient); in PHP_FUNCTION()
1000 co->ucal->setMinimalDaysInFirstWeek((uint8_t)num_days); in PHP_FUNCTION()
1022 intl_errors_set(&co->err, U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1027 UBool result = co->ucal->equals(*other_co->ucal, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
1028 INTL_METHOD_CHECK_STATUS(co, "intlcal_equals: error calling ICU Calendar::equals"); in PHP_FUNCTION()
1048 RETURN_LONG(co->ucal->getRepeatedWallTimeOption()); in PHP_FUNCTION()
1064 RETURN_LONG(co->ucal->getSkippedWallTimeOption()); in PHP_FUNCTION()
1087 co->ucal->setRepeatedWallTimeOption((UCalendarWallTimeOption)option); in PHP_FUNCTION()
1113 co->ucal->setSkippedWallTimeOption((UCalendarWallTimeOption)option); in PHP_FUNCTION()
1226 double date = co->ucal->getTime(CALENDAR_ERROR_CODE(co)) / 1000.; in PHP_FUNCTION()
1232 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in PHP_FUNCTION()
1235 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1248 const TimeZone& tz = co->ucal->getTimeZone(); in PHP_FUNCTION()
1250 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time", &tmp); in PHP_FUNCTION()
1262 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1278 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1303 co = Z_INTL_CALENDAR_P(object); in PHP_FUNCTION()
1304 if (co == NULL) in PHP_FUNCTION()
1307 RETURN_LONG((zend_long)CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
1324 co = Z_INTL_CALENDAR_P(object); in PHP_FUNCTION()
1325 if (co == NULL) in PHP_FUNCTION()
1329 message = intl_error_get_message(CALENDAR_ERROR_P(co)); in PHP_FUNCTION()