Home
last modified time | relevance | path

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

/php-src/ext/date/lib/
H A Dinterval.c73 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 Dtimelib.h241 } 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 Dtimelib.c101 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 Dparse_iso_intervals.re79 timelib_rel_time *period;
331 timelib_rel_time **period, int *recurrences,
H A Dparse_iso_intervals.c81 timelib_rel_time *period;
936 timelib_rel_time **period, int *recurrences, in timelib_strtointerval()
H A Dtm2unixtime.c188 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
/php-src/ext/date/tests/
H A Dbug71525.phpt2 Bug #71525 (Calls to date_modify will mutate timelib_rel_time, causing date_date_set issues)
/php-src/ext/date/
H A Dphp_date.h90 timelib_rel_time *diff;
109 timelib_rel_time *interval;
H A Dphp_date.c1492 static void create_date_period_interval(timelib_rel_time *interval, zval *zv) in create_date_period_interval()
1638 static void date_period_advance(timelib_time *it_time, timelib_rel_time *interval) in date_period_advance()
3274 memcpy(&dateobj->time->relative, &tmp_time->relative, sizeof(timelib_rel_time)); in php_date_modify()
4442 static bool date_interval_initialize(timelib_rel_time **rt, /*const*/ char *format, size_t format_l… in date_interval_initialize()
4445 timelib_rel_time *p = NULL; in date_interval_initialize()
4609 timelib_rel_time *reltime; in PHP_METHOD()
4934 static zend_string *date_interval_format(char *format, size_t format_len, timelib_rel_time *t) in date_interval_format()
5021 static bool date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, zend… in date_period_initialize()
5024 timelib_rel_time *p = NULL; in date_period_initialize()

Completed in 31 milliseconds