Lines Matching refs:co

232 	int32_t result = (co->ucal->*func)(  in _php_intlcal_field_uec_ret_in32t_method()
233 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co)); in _php_intlcal_field_uec_ret_in32t_method()
234 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in _php_intlcal_field_uec_ret_in32t_method()
256 UDate result = co->ucal->getTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
257 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
275 co->ucal->setTime((UDate)time_arg, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
276 INTL_METHOD_CHECK_STATUS(co, "Call to underlying method failed"); in PHP_FUNCTION()
297 co->ucal->add((UCalendarDateFields)field, (int32_t)amount, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
298 INTL_METHOD_CHECK_STATUS(co, "intlcal_add: Call to underlying method failed"); in PHP_FUNCTION()
321 CALENDAR_ERROR_P(co), "intlcal_set_time_zone"); in PHP_FUNCTION()
326 co->ucal->adoptTimeZone(timeZone); in PHP_FUNCTION()
354 UBool res = (co->ucal->*func)(*when_co->ucal, CALENDAR_ERROR_CODE(co)); in _php_intlcal_before_after()
355 INTL_METHOD_CHECK_STATUS(co, "intlcal_before/after: Error calling ICU method"); in _php_intlcal_before_after()
396 co->ucal->set((UCalendarDateFields)args[0], (int32_t)args[1]); in PHP_FUNCTION()
398 co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2]); in PHP_FUNCTION()
403co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2], (int32_t)args[3], (int32_t)arg… in PHP_FUNCTION()
405co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2], (int32_t)args[3], (int32_t)arg… in PHP_FUNCTION()
430 co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day); in PHP_METHOD()
456 co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute); in PHP_METHOD()
459co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute, (i… in PHP_METHOD()
485 co->ucal->roll((UCalendarDateFields)field, (int32_t)value, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
487 INTL_METHOD_CHECK_STATUS(co, "intlcal_roll: Error calling ICU Calendar::roll"); in PHP_FUNCTION()
506 co->ucal->clear(); in PHP_FUNCTION()
510 co->ucal->clear((UCalendarDateFields)field); in PHP_FUNCTION()
531 int32_t result = co->ucal->fieldDifference((UDate)when, in PHP_FUNCTION()
532 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
533 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
565 int32_t result = co->ucal->getDayOfWeekType( in PHP_FUNCTION()
566 (UCalendarDaysOfWeek)dow, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
567 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
584 int32_t result = co->ucal->getFirstDayOfWeek(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
585 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
607 int32_t result = (co->ucal->*func)((UCalendarDateFields)field); in _php_intlcal_field_ret_in32t_method()
608 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in _php_intlcal_field_ret_in32t_method()
642 Locale locale = co->ucal->getLocale((ULocDataLocaleType)locale_type, in PHP_FUNCTION()
643 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
644 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
667 uint8_t result = co->ucal->getMinimalDaysInFirstWeek(); in PHP_FUNCTION()
668 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
691 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION()
693 intl_errors_set(CALENDAR_ERROR_P(co), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
712 RETURN_STRING(co->ucal->getType()); in PHP_FUNCTION()
729 int32_t res = co->ucal->getWeekendTransition((UCalendarDaysOfWeek)dow, in PHP_FUNCTION()
730 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
731 INTL_METHOD_CHECK_STATUS(co, "intlcal_get_weekend_transition: " in PHP_FUNCTION()
748 UBool ret = co->ucal->inDaylightTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
749 INTL_METHOD_CHECK_STATUS(co, "intlcal_in_daylight_time: " in PHP_FUNCTION()
775 RETURN_BOOL((int)co->ucal->isEquivalentTo(*other_co->ucal)); in PHP_FUNCTION()
789 RETURN_BOOL((int)co->ucal->isLenient()); in PHP_FUNCTION()
806 RETURN_BOOL((int)co->ucal->isSet((UCalendarDateFields)field)); in PHP_FUNCTION()
823 RETURN_BOOL((int)co->ucal->isWeekend()); in PHP_FUNCTION()
825 UBool ret = co->ucal->isWeekend((UDate)date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
826 INTL_METHOD_CHECK_STATUS(co, "intlcal_is_weekend: " in PHP_FUNCTION()
847 co->ucal->setFirstDayOfWeek((UCalendarDaysOfWeek)dow); in PHP_FUNCTION()
864 co->ucal->setLenient((UBool) is_lenient); in PHP_FUNCTION()
887 co->ucal->setMinimalDaysInFirstWeek((uint8_t)num_days); in PHP_FUNCTION()
911 UBool result = co->ucal->equals(*other_co->ucal, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
912 INTL_METHOD_CHECK_STATUS(co, "intlcal_equals: error calling ICU Calendar::equals"); in PHP_FUNCTION()
928 RETURN_LONG(co->ucal->getRepeatedWallTimeOption()); in PHP_FUNCTION()
942 RETURN_LONG(co->ucal->getSkippedWallTimeOption()); in PHP_FUNCTION()
963 co->ucal->setRepeatedWallTimeOption((UCalendarWallTimeOption)option); in PHP_FUNCTION()
987 co->ucal->setSkippedWallTimeOption((UCalendarWallTimeOption)option); in PHP_FUNCTION()
1092 double date = co->ucal->getTime(CALENDAR_ERROR_CODE(co)) / 1000.; in PHP_FUNCTION()
1098 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in PHP_FUNCTION()
1101 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1114 const TimeZone& tz = co->ucal->getTimeZone(); in PHP_FUNCTION()
1116 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time", &tmp); in PHP_FUNCTION()
1142 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1165 co = Z_INTL_CALENDAR_P(object); in PHP_FUNCTION()
1166 if (co == NULL) in PHP_FUNCTION()
1169 RETURN_LONG((zend_long)CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
1184 co = Z_INTL_CALENDAR_P(object); in PHP_FUNCTION()
1185 if (co == NULL) in PHP_FUNCTION()
1189 message = intl_error_get_message(CALENDAR_ERROR_P(co)); in PHP_FUNCTION()