Lines Matching refs:recurrences
1537 ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); in initialize_date_period_properties()
1595 return (iterator->current_index < object->recurrences) ? SUCCESS : FAILURE; in date_period_it_has_more()
2267 new_obj->recurrences = old_obj->recurrences; in date_object_clone_period()
5054 …timelib_time **st, timelib_time **et, timelib_rel_time **d, zend_long *recurrences, /*const*/ char… in date_period_initialize() argument
5080 *recurrences = r; in date_period_initialize()
5087 …d_class_entry* base_ce, char *isostr, size_t isostr_len, zend_long options, zend_long *recurrences) in date_period_init_iso8601_string() argument
5089 …if (!date_period_initialize(&(dpobj->start), &(dpobj->end), &(dpobj->interval), recurrences, isost… in date_period_init_iso8601_string()
5105 if (dpobj->end == NULL && recurrences == 0) { in date_period_init_iso8601_string()
5123 static bool date_period_init_finish(php_period_obj *dpobj, zend_long options, zend_long recurrences) in date_period_init_finish() argument
5127 if (dpobj->end == NULL && (recurrences < 1 || recurrences > max_recurrences)) { in date_period_init_finish()
5139 recurrences += dpobj->include_start_date + dpobj->include_end_date; in date_period_init_finish()
5141 if (UNEXPECTED(recurrences > max_recurrences)) { in date_period_init_finish()
5148 dpobj->recurrences = (int)recurrences; in date_period_init_finish()
5160 zend_long recurrences = 0, options = 0; in PHP_METHOD() local
5175 …_period_init_iso8601_string(dpobj, date_ce_immutable, isostr, isostr_len, options, &recurrences)) { in PHP_METHOD()
5179 if (!date_period_init_finish(dpobj, options, recurrences)) { in PHP_METHOD()
5190 zend_long recurrences = 0, options = 0; in PHP_METHOD() local
5195 …S(), "OOl|l", &start, date_ce_interface, &interval, date_ce_interval, &recurrences, &options) == F… in PHP_METHOD()
5214 …!date_period_init_iso8601_string(dpobj, date_ce_date, isostr, isostr_len, options, &recurrences)) { in PHP_METHOD()
5251 if (!date_period_init_finish(dpobj, options, recurrences)) { in PHP_METHOD()
5335 if (0 == dpobj->recurrences - dpobj->include_start_date - dpobj->include_end_date) { in PHP_METHOD()
5339 RETURN_LONG(dpobj->recurrences - dpobj->include_start_date - dpobj->include_end_date); in PHP_METHOD()
5746 ZVAL_LONG(&zv, (zend_long) period_obj->recurrences); in date_period_object_to_hash()
5850 period_obj->recurrences = Z_LVAL_P(ht_entry); in php_date_period_initialize_from_hash()