Lines Matching refs:dpobj

4191 	php_period_obj   *dpobj;  in PHP_METHOD()  local
4209 dpobj = Z_PHPPERIOD_P(ZEND_THIS); in PHP_METHOD()
4210 dpobj->current = NULL; in PHP_METHOD()
4214 …date_period_initialize(&(dpobj->start), &(dpobj->end), &(dpobj->interval), &recurrences, isostr, i… in PHP_METHOD()
4220 if (dpobj->start == NULL) { in PHP_METHOD()
4226 if (dpobj->interval == NULL) { in PHP_METHOD()
4232 if (dpobj->end == NULL && recurrences == 0) { in PHP_METHOD()
4239 if (dpobj->start) { in PHP_METHOD()
4240 timelib_update_ts(dpobj->start, NULL); in PHP_METHOD()
4242 if (dpobj->end) { in PHP_METHOD()
4243 timelib_update_ts(dpobj->end, NULL); in PHP_METHOD()
4245 dpobj->start_ce = date_ce_date; in PHP_METHOD()
4260 dpobj->start = clone; in PHP_METHOD()
4261 dpobj->start_ce = Z_OBJCE_P(start); in PHP_METHOD()
4264 dpobj->interval = timelib_rel_time_clone(intobj->diff); in PHP_METHOD()
4270 dpobj->end = clone; in PHP_METHOD()
4274 if (dpobj->end == NULL && recurrences < 1) { in PHP_METHOD()
4282 dpobj->include_start_date = !(options & PHP_DATE_PERIOD_EXCLUDE_START_DATE); in PHP_METHOD()
4285 dpobj->recurrences = recurrences + dpobj->include_start_date; in PHP_METHOD()
4287 dpobj->initialized = 1; in PHP_METHOD()
4294 php_period_obj *dpobj; in PHP_METHOD() local
4299 dpobj = Z_PHPPERIOD_P(ZEND_THIS); in PHP_METHOD()
4300 DATE_CHECK_INITIALIZED(dpobj->start, DatePeriod); in PHP_METHOD()
4302 php_date_instantiate(dpobj->start_ce, return_value); in PHP_METHOD()
4305 *dateobj->time = *dpobj->start; in PHP_METHOD()
4306 if (dpobj->start->tz_abbr) { in PHP_METHOD()
4307 dateobj->time->tz_abbr = timelib_strdup(dpobj->start->tz_abbr); in PHP_METHOD()
4309 if (dpobj->start->tz_info) { in PHP_METHOD()
4310 dateobj->time->tz_info = dpobj->start->tz_info; in PHP_METHOD()
4318 php_period_obj *dpobj; in PHP_METHOD() local
4323 dpobj = Z_PHPPERIOD_P(ZEND_THIS); in PHP_METHOD()
4325 if (!dpobj->end) { in PHP_METHOD()
4329 php_date_instantiate(dpobj->start_ce, return_value); in PHP_METHOD()
4332 *dateobj->time = *dpobj->end; in PHP_METHOD()
4333 if (dpobj->end->tz_abbr) { in PHP_METHOD()
4334 dateobj->time->tz_abbr = timelib_strdup(dpobj->end->tz_abbr); in PHP_METHOD()
4336 if (dpobj->end->tz_info) { in PHP_METHOD()
4337 dateobj->time->tz_info = dpobj->end->tz_info; in PHP_METHOD()
4345 php_period_obj *dpobj; in PHP_METHOD() local
4350 dpobj = Z_PHPPERIOD_P(ZEND_THIS); in PHP_METHOD()
4351 DATE_CHECK_INITIALIZED(dpobj->interval, DatePeriod); in PHP_METHOD()
4355 diobj->diff = timelib_rel_time_clone(dpobj->interval); in PHP_METHOD()
4363 php_period_obj *dpobj; in PHP_METHOD() local
4367 dpobj = Z_PHPPERIOD_P(ZEND_THIS); in PHP_METHOD()
4369 if (0 == dpobj->recurrences - dpobj->include_start_date) { in PHP_METHOD()
4373 RETURN_LONG(dpobj->recurrences - dpobj->include_start_date); in PHP_METHOD()