Searched refs:timelib_rel_time (Results 1 – 9 of 9) sorted by relevance
/PHP-8.2/ext/date/lib/ |
H A D | interval.c | 73 timelib_rel_time *rt; in timelib_diff_with_tzid() 146 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff() 148 timelib_rel_time *rt; in timelib_diff() 217 memcpy(&t->relative, interval, sizeof(timelib_rel_time)); in timelib_add() 222 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_add() 251 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_sub() 293 memcpy(&t->relative, interval, sizeof(timelib_rel_time)); in timelib_add_wall() 302 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_add_wall() 315 timelib_rel_time *temp_interval = timelib_rel_time_clone(interval); in timelib_add_wall() 347 memcpy(&t->relative, interval, sizeof(timelib_rel_time)); in timelib_sub_wall() [all …]
|
H A D | timelib.h | 241 } timelib_rel_time; typedef 259 timelib_rel_time relative; 625 timelib_rel_time **period, int *recurrences, 669 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt); 883 timelib_rel_time* timelib_rel_time_ctor(void); 888 void timelib_rel_time_dtor(timelib_rel_time* t); 896 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz); 977 void timelib_dump_rel_time(timelib_rel_time *d); 1058 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two); 1075 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); [all …]
|
H A D | timelib.c | 101 timelib_rel_time* timelib_rel_time_ctor(void) in timelib_rel_time_ctor() 103 timelib_rel_time *t; in timelib_rel_time_ctor() 104 t = timelib_calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor() 109 void timelib_rel_time_dtor(timelib_rel_time* t) in timelib_rel_time_dtor() 114 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *rel) in timelib_rel_time_clone() 116 timelib_rel_time *tmp = timelib_rel_time_ctor(); in timelib_rel_time_clone() 117 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone() 376 void timelib_dump_rel_time(timelib_rel_time *d) in timelib_dump_rel_time()
|
H A D | parse_iso_intervals.re | 79 timelib_rel_time *period; 331 timelib_rel_time **period, int *recurrences,
|
H A D | parse_iso_intervals.c | 81 timelib_rel_time *period; 973 timelib_rel_time **period, int *recurrences, in timelib_strtointerval()
|
H A D | tm2unixtime.c | 188 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
|
/PHP-8.2/ext/date/tests/ |
H A D | bug71525.phpt | 2 Bug #71525 (Calls to date_modify will mutate timelib_rel_time, causing date_date_set issues)
|
/PHP-8.2/ext/date/ |
H A D | php_date.h | 73 timelib_rel_time *diff; 92 timelib_rel_time *interval;
|
H A D | php_date.c | 1469 static void create_date_period_interval(timelib_rel_time *interval, zval *zv) in create_date_period_interval() 1615 static void date_period_advance(timelib_time *it_time, timelib_rel_time *interval) in date_period_advance() 3124 memcpy(&dateobj->time->relative, &tmp_time->relative, sizeof(timelib_rel_time)); in php_date_modify() 4149 static bool date_interval_initialize(timelib_rel_time **rt, /*const*/ char *format, size_t format_l… in date_interval_initialize() 4152 timelib_rel_time *p = NULL; in date_interval_initialize() 4315 timelib_rel_time *reltime; in PHP_METHOD() 4603 static zend_string *date_interval_format(char *format, size_t format_len, timelib_rel_time *t) in date_interval_format() 4690 static bool date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, zend… in date_period_initialize() 4693 timelib_rel_time *p = NULL; in date_period_initialize()
|
Completed in 44 milliseconds