Home
last modified time | relevance | path

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

/PHP-5.5/ext/date/lib/
H A Dtimelib.h84 timelib_rel_time **period, int *recurrences,
91 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt);
120 timelib_rel_time* timelib_rel_time_ctor(void);
121 void timelib_rel_time_dtor(timelib_rel_time* t);
122 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *tz);
136 void timelib_dump_rel_time(timelib_rel_time *d);
146 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two);
147 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval);
148 timelib_time *timelib_sub(timelib_time *t, timelib_rel_time *interval);
H A Dinterval.c24 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 Dtimelib.c43 timelib_rel_time* timelib_rel_time_ctor(void) in timelib_rel_time_ctor()
45 timelib_rel_time *t; in timelib_rel_time_ctor()
46 t = calloc(1, sizeof(timelib_rel_time)); in timelib_rel_time_ctor()
64 timelib_rel_time* timelib_rel_time_clone(timelib_rel_time *rel) in timelib_rel_time_clone()
66 timelib_rel_time *tmp = timelib_rel_time_ctor(); in timelib_rel_time_clone()
67 memcpy(tmp, rel, sizeof(timelib_rel_time)); in timelib_rel_time_clone()
88 void timelib_rel_time_dtor(timelib_rel_time* t) in timelib_rel_time_dtor()
272 void timelib_dump_rel_time(timelib_rel_time *d) in timelib_dump_rel_time()
H A Dtimelib_structs.h140 typedef struct timelib_rel_time { struct
153 } timelib_rel_time; argument
171 timelib_rel_time relative;
H A Dparse_iso_intervals.re95 struct timelib_rel_time *period;
403 timelib_rel_time **period, int *recurrences,
H A Dtm2unixtime.c170 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
H A Dparse_iso_intervals.c97 struct timelib_rel_time *period;
1009 timelib_rel_time **period, int *recurrences, in timelib_strtointerval()
/PHP-5.5/ext/date/
H A Dphp_date.h149 timelib_rel_time *diff;
160 timelib_rel_time *interval;
H A Dphp_date.c3085 memcpy(&dateobj->time->relative, &tmp_time->relative, sizeof(struct timelib_rel_time)); in php_date_modify()
3973 static int date_interval_initialize(timelib_rel_time **rt, /*const*/ char *format, int format_lengt… in date_interval_initialize()
3976 timelib_rel_time *p = NULL; in date_interval_initialize()
4139 timelib_rel_time *reltime; in PHP_METHOD()
4271 static char *date_interval_format(char *format, int format_len, timelib_rel_time *t) in date_interval_format()
4352 static int date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, long … in date_period_initialize()
4355 timelib_rel_time *p = NULL; in date_period_initialize()

Completed in 31 milliseconds