Searched refs:timelib_rel_time (Results 1 – 9 of 9) sorted by relevance
/PHP-5.4/ext/date/lib/ |
H A D | timelib.h | 80 timelib_rel_time **period, int *recurrences, 87 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt); 115 timelib_rel_time* timelib_rel_time_ctor(void); 116 void timelib_rel_time_dtor(timelib_rel_time* t); 117 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz); 131 void timelib_dump_rel_time(timelib_rel_time *d); 140 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two); 141 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); 142 timelib_time *timelib_sub(timelib_time *t, timelib_rel_time *interval);
|
H A D | timelib.c | 41 timelib_rel_time* timelib_rel_time_ctor(void) in timelib_rel_time_ctor() 43 timelib_rel_time *t; in timelib_rel_time_ctor() 44 t = calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor() 62 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *rel) in timelib_rel_time_clone() 64 timelib_rel_time *tmp = timelib_rel_time_ctor(); in timelib_rel_time_clone() 65 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone() 86 void timelib_rel_time_dtor(timelib_rel_time* t) in timelib_rel_time_dtor() 270 void timelib_dump_rel_time(timelib_rel_time *d) in timelib_dump_rel_time()
|
H A D | interval.c | 24 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff() 26 timelib_rel_time *rt; in timelib_diff() 91 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() 97 memcpy(&t->relative, interval, sizeof(struct timelib_rel_time)); in timelib_add() 102 memset(&t->relative, 0, sizeof(struct timelib_rel_time)); in timelib_add() 128 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() 137 memset(&t->relative, 0, sizeof(struct timelib_rel_time)); in timelib_sub()
|
H A D | timelib_structs.h | 130 typedef struct timelib_rel_time { struct 143 } timelib_rel_time; argument 161 timelib_rel_time relative;
|
H A D | parse_iso_intervals.re | 95 struct timelib_rel_time *period; 438 timelib_rel_time **period, int *recurrences,
|
H A D | tm2unixtime.c | 170 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
|
H A D | parse_iso_intervals.c | 97 struct timelib_rel_time *period; 1044 timelib_rel_time **period, int *recurrences, in timelib_strtointerval()
|
/PHP-5.4/ext/date/ |
H A D | php_date.h | 133 timelib_rel_time *diff; 143 timelib_rel_time *interval;
|
H A D | php_date.c | 2858 memcpy(&dateobj->time->relative, &tmp_time->relative, sizeof(struct timelib_rel_time)); in PHP_FUNCTION() 3481 static int date_interval_initialize(timelib_rel_time **rt, /*const*/ char *format, int format_lengt… in date_interval_initialize() 3484 timelib_rel_time *p = NULL; in date_interval_initialize() 3647 timelib_rel_time *reltime; in PHP_METHOD() 3779 static char *date_interval_format(char *format, int format_len, timelib_rel_time *t) in date_interval_format() 3860 static int date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, long … in date_period_initialize() 3863 timelib_rel_time *p = NULL; in date_period_initialize()
|
Completed in 28 milliseconds