Lines Matching refs:co
230 int32_t result = (co->ucal->*func)( in _php_intlcal_field_uec_ret_in32t_method()
231 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co)); in _php_intlcal_field_uec_ret_in32t_method()
232 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in _php_intlcal_field_uec_ret_in32t_method()
254 UDate result = co->ucal->getTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
255 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
273 co->ucal->setTime((UDate)time_arg, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
274 INTL_METHOD_CHECK_STATUS(co, "Call to underlying method failed"); in PHP_FUNCTION()
295 co->ucal->add((UCalendarDateFields)field, (int32_t)amount, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
296 INTL_METHOD_CHECK_STATUS(co, "intlcal_add: Call to underlying method failed"); in PHP_FUNCTION()
319 CALENDAR_ERROR_P(co), "intlcal_set_time_zone"); in PHP_FUNCTION()
324 co->ucal->adoptTimeZone(timeZone); in PHP_FUNCTION()
352 UBool res = (co->ucal->*func)(*when_co->ucal, CALENDAR_ERROR_CODE(co)); in _php_intlcal_before_after()
353 INTL_METHOD_CHECK_STATUS(co, "intlcal_before/after: Error calling ICU method"); in _php_intlcal_before_after()
402 co->ucal->set((UCalendarDateFields)args[0], (int32_t)args[1]); in PHP_FUNCTION()
404 co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2]); in PHP_FUNCTION()
409 …co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2], (int32_t)args[3], (int32_t)arg… in PHP_FUNCTION()
411 …co->ucal->set((int32_t)args[0], (int32_t)args[1], (int32_t)args[2], (int32_t)args[3], (int32_t)arg… in PHP_FUNCTION()
436 co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day); in PHP_METHOD()
462 co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute); in PHP_METHOD()
465 …co->ucal->set((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int32_t) minute, (i… in PHP_METHOD()
491 co->ucal->roll((UCalendarDateFields)field, (int32_t)value, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
493 INTL_METHOD_CHECK_STATUS(co, "intlcal_roll: Error calling ICU Calendar::roll"); in PHP_FUNCTION()
512 co->ucal->clear(); in PHP_FUNCTION()
516 co->ucal->clear((UCalendarDateFields)field); in PHP_FUNCTION()
537 int32_t result = co->ucal->fieldDifference((UDate)when, in PHP_FUNCTION()
538 (UCalendarDateFields)field, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
539 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
571 int32_t result = co->ucal->getDayOfWeekType( in PHP_FUNCTION()
572 (UCalendarDaysOfWeek)dow, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
573 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
590 int32_t result = co->ucal->getFirstDayOfWeek(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
591 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
613 int32_t result = (co->ucal->*func)((UCalendarDateFields)field); in _php_intlcal_field_ret_in32t_method()
614 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in _php_intlcal_field_ret_in32t_method()
648 Locale locale = co->ucal->getLocale((ULocDataLocaleType)locale_type, in PHP_FUNCTION()
649 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
650 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
673 uint8_t result = co->ucal->getMinimalDaysInFirstWeek(); in PHP_FUNCTION()
674 INTL_METHOD_CHECK_STATUS(co, in PHP_FUNCTION()
697 TimeZone *tz = co->ucal->getTimeZone().clone(); in PHP_FUNCTION()
699 intl_errors_set(CALENDAR_ERROR_P(co), U_MEMORY_ALLOCATION_ERROR, in PHP_FUNCTION()
718 RETURN_STRING(co->ucal->getType()); in PHP_FUNCTION()
735 int32_t res = co->ucal->getWeekendTransition((UCalendarDaysOfWeek)dow, in PHP_FUNCTION()
736 CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
737 INTL_METHOD_CHECK_STATUS(co, "intlcal_get_weekend_transition: " in PHP_FUNCTION()
754 UBool ret = co->ucal->inDaylightTime(CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
755 INTL_METHOD_CHECK_STATUS(co, "intlcal_in_daylight_time: " in PHP_FUNCTION()
781 RETURN_BOOL((int)co->ucal->isEquivalentTo(*other_co->ucal)); in PHP_FUNCTION()
795 RETURN_BOOL((int)co->ucal->isLenient()); in PHP_FUNCTION()
812 RETURN_BOOL((int)co->ucal->isSet((UCalendarDateFields)field)); in PHP_FUNCTION()
829 RETURN_BOOL((int)co->ucal->isWeekend()); in PHP_FUNCTION()
831 UBool ret = co->ucal->isWeekend((UDate)date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
832 INTL_METHOD_CHECK_STATUS(co, "intlcal_is_weekend: " in PHP_FUNCTION()
853 co->ucal->setFirstDayOfWeek((UCalendarDaysOfWeek)dow); in PHP_FUNCTION()
870 co->ucal->setLenient((UBool) is_lenient); in PHP_FUNCTION()
893 co->ucal->setMinimalDaysInFirstWeek((uint8_t)num_days); in PHP_FUNCTION()
917 UBool result = co->ucal->equals(*other_co->ucal, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
918 INTL_METHOD_CHECK_STATUS(co, "intlcal_equals: error calling ICU Calendar::equals"); in PHP_FUNCTION()
934 RETURN_LONG(co->ucal->getRepeatedWallTimeOption()); in PHP_FUNCTION()
948 RETURN_LONG(co->ucal->getSkippedWallTimeOption()); in PHP_FUNCTION()
969 co->ucal->setRepeatedWallTimeOption((UCalendarWallTimeOption)option); in PHP_FUNCTION()
993 co->ucal->setSkippedWallTimeOption((UCalendarWallTimeOption)option); in PHP_FUNCTION()
1098 double date = co->ucal->getTime(CALENDAR_ERROR_CODE(co)) / 1000.; in PHP_FUNCTION()
1104 INTL_METHOD_CHECK_STATUS(co, "Call to ICU method has failed"); in PHP_FUNCTION()
1107 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1120 const TimeZone& tz = co->ucal->getTimeZone(); in PHP_FUNCTION()
1122 &tz, CALENDAR_ERROR_P(co), "intlcal_to_date_time", &tmp); in PHP_FUNCTION()
1148 intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR, in PHP_FUNCTION()
1171 co = Z_INTL_CALENDAR_P(object); in PHP_FUNCTION()
1172 if (co == NULL) in PHP_FUNCTION()
1175 RETURN_LONG((zend_long)CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
1190 co = Z_INTL_CALENDAR_P(object); in PHP_FUNCTION()
1191 if (co == NULL) in PHP_FUNCTION()
1195 message = intl_error_get_message(CALENDAR_ERROR_P(co)); in PHP_FUNCTION()