Searched refs:timelib_rel_time (Results 1 – 11 of 11) sorted by relevance
/PHP-7.0/ext/date/lib/ |
H A D | timelib.h | 97 timelib_rel_time **period, int *recurrences, 104 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt); 133 timelib_rel_time* timelib_rel_time_ctor(void); 134 void timelib_rel_time_dtor(timelib_rel_time* t); 135 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz); 150 void timelib_dump_rel_time(timelib_rel_time *d); 160 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two); 161 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); 162 timelib_time *timelib_sub(timelib_time *t, timelib_rel_time *interval);
|
H A D | interval.c | 28 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff() 30 timelib_rel_time *rt; in timelib_diff() 95 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() 101 memcpy(&t->relative, interval, sizeof(struct timelib_rel_time)); in timelib_add() 106 memset(&t->relative, 0, sizeof(struct timelib_rel_time)); in timelib_add() 132 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() 141 memset(&t->relative, 0, sizeof(struct timelib_rel_time)); in timelib_sub()
|
H A D | timelib.c | 47 timelib_rel_time* timelib_rel_time_ctor(void) in timelib_rel_time_ctor() 49 timelib_rel_time *t; in timelib_rel_time_ctor() 50 t = timelib_calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor() 85 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *rel) in timelib_rel_time_clone() 87 timelib_rel_time *tmp = timelib_rel_time_ctor(); in timelib_rel_time_clone() 88 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone() 110 void timelib_rel_time_dtor(timelib_rel_time* t) in timelib_rel_time_dtor() 294 void timelib_dump_rel_time(timelib_rel_time *d) in timelib_dump_rel_time()
|
H A D | timelib_structs.h | 216 typedef struct timelib_rel_time { struct 229 } timelib_rel_time; argument 247 timelib_rel_time relative;
|
H A D | parse_iso_intervals.re | 101 struct timelib_rel_time *period; 409 timelib_rel_time **period, int *recurrences,
|
H A D | parse_iso_intervals.c | 103 struct timelib_rel_time *period; 915 timelib_rel_time **period, int *recurrences, in timelib_strtointerval()
|
H A D | tm2unixtime.c | 182 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
|
/PHP-7.0/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-7.0/ext/date/ |
H A D | php_date.h | 167 timelib_rel_time *diff; 184 timelib_rel_time *interval;
|
H A D | php_date.c | 3089 memcpy(&dateobj->time->relative, &tmp_time->relative, sizeof(struct timelib_rel_time)); in php_date_modify() 3997 static int date_interval_initialize(timelib_rel_time **rt, /*const*/ char *format, size_t format_le… in date_interval_initialize() 4000 timelib_rel_time *p = NULL; in date_interval_initialize() 4189 timelib_rel_time *reltime; in PHP_METHOD() 4316 static zend_string *date_interval_format(char *format, size_t format_len, timelib_rel_time *t) in date_interval_format() 4401 static int date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, zend_… in date_period_initialize() 4404 timelib_rel_time *p = NULL; in date_period_initialize()
|
/PHP-7.0/ |
H A D | NEWS | 1887 . Fixed bug #71525 (Calls to date_modify will mutate timelib_rel_time,
|
Completed in 54 milliseconds