Home
last modified time | relevance | path

Searched refs:timelib_rel_time (Results 1 – 9 of 9) sorted by relevance

/PHP-7.4/ext/date/lib/
H A Dtimelib.c98 timelib_rel_time* timelib_rel_time_ctor(void) in timelib_rel_time_ctor()
100 timelib_rel_time *t; in timelib_rel_time_ctor()
101 t = timelib_calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor()
106 void timelib_rel_time_dtor(timelib_rel_time* t) in timelib_rel_time_dtor()
111 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *rel) in timelib_rel_time_clone()
113 timelib_rel_time *tmp = timelib_rel_time_ctor(); in timelib_rel_time_clone()
114 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone()
351 void timelib_dump_rel_time(timelib_rel_time *d) in timelib_dump_rel_time()
H A Dinterval.c29 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff()
31 timelib_rel_time *rt; in timelib_diff()
100 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add()
106 memcpy(&t->relative, interval, sizeof(timelib_rel_time)); in timelib_add()
111 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_add()
138 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub()
147 memset(&t->relative, 0, sizeof(timelib_rel_time)); in timelib_sub()
H A Dtimelib.h196 } timelib_rel_time; typedef
214 timelib_rel_time relative;
571 timelib_rel_time **period, int *recurrences,
609 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt);
780 timelib_rel_time* timelib_rel_time_ctor(void);
785 void timelib_rel_time_dtor(timelib_rel_time* t);
793 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz);
874 void timelib_dump_rel_time(timelib_rel_time *d);
944 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two);
952 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval);
[all …]
H A Dparse_iso_intervals.re79 timelib_rel_time *period;
329 timelib_rel_time **period, int *recurrences,
H A Dparse_iso_intervals.c81 timelib_rel_time *period;
934 timelib_rel_time **period, int *recurrences, in timelib_strtointerval()
H A Dtm2unixtime.c183 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
/PHP-7.4/ext/date/tests/
H A Dbug71525.phpt2 Bug #71525 (Calls to date_modify will mutate timelib_rel_time, causing date_date_set issues)
/PHP-7.4/ext/date/
H A Dphp_date.h162 timelib_rel_time *diff;
178 timelib_rel_time *interval;
H A Dphp_date.c3266 memcpy(&dateobj->time->relative, &tmp_time->relative, sizeof(timelib_rel_time)); in php_date_modify()
4176 static int date_interval_initialize(timelib_rel_time **rt, /*const*/ char *format, size_t format_le… in date_interval_initialize()
4179 timelib_rel_time *p = NULL; in date_interval_initialize()
4394 timelib_rel_time *reltime; in PHP_METHOD()
4560 static zend_string *date_interval_format(char *format, size_t format_len, timelib_rel_time *t) in date_interval_format()
4649 static int date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, zend_… in date_period_initialize()
4652 timelib_rel_time *p = NULL; in date_period_initialize()

Completed in 61 milliseconds