Lines Matching refs:co
48 static inline GregorianCalendar *fetch_greg(Calendar_object *co) { in fetch_greg() argument
49 return (GregorianCalendar*)co->ucal; in fetch_greg()
136 Calendar_object *co = Z_INTL_CALENDAR_P(return_value); in _php_intlgregcal_constructor_body() local
139 if (co->ucal) { in _php_intlgregcal_constructor_body()
208 co->ucal = gcal; in _php_intlgregcal_constructor_body()
236 Calendar_object *co; in PHP_METHOD() local
260 co = Z_INTL_CALENDAR_P(return_value); in PHP_METHOD()
261 co->ucal = gcal; in PHP_METHOD()
273 Calendar_object *co; in PHP_METHOD() local
308 co = Z_INTL_CALENDAR_P(return_value); in PHP_METHOD()
309 co->ucal = gcal; in PHP_METHOD()
328 fetch_greg(co)->setGregorianChange(date, CALENDAR_ERROR_CODE(co)); in PHP_FUNCTION()
329 INTL_METHOD_CHECK_STATUS(co, "intlgregcal_set_gregorian_change: error " in PHP_FUNCTION()
347 RETURN_DOUBLE((double)fetch_greg(co)->getGregorianChange()); in PHP_FUNCTION()
368 RETURN_BOOL((int)fetch_greg(co)->isLeapYear((int32_t)year)); in PHP_FUNCTION()