Home
last modified time | relevance | path

Searched refs:timelib_time (Results 1 – 14 of 14) sorted by relevance

/PHP-7.0/ext/date/lib/
H A Dtimelib.h89 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options);
96 timelib_time **begin, timelib_time **end,
103 void timelib_do_normalize(timelib_time *base);
110 void timelib_update_from_sse(timelib_time *tm);
137 timelib_time* timelib_time_ctor(void);
139 void timelib_time_dtor(timelib_time* t);
140 timelib_time* timelib_time_clone(timelib_time* orig);
141 int timelib_time_compare(timelib_time *t1, timelib_time *t2);
160 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two);
161 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval);
[all …]
H A Dinterval.c28 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff()
31 timelib_time *swp; in timelib_diff()
33 timelib_time one_backup, two_backup; in timelib_diff()
95 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add()
98 timelib_time *t = timelib_time_clone(old_time); in timelib_add()
132 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub()
135 timelib_time *t = timelib_time_clone(old_time); in timelib_sub()
H A Dtimelib.c39 timelib_time* timelib_time_ctor(void) in timelib_time_ctor()
41 timelib_time *t; in timelib_time_ctor()
42 t = timelib_calloc(1, sizeof(timelib_time)); in timelib_time_ctor()
55 timelib_time* timelib_time_clone(timelib_time *orig) in timelib_time_clone()
57 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone()
58 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone()
68 int timelib_time_compare(timelib_time *t1, timelib_time *t2) in timelib_time_compare()
104 void timelib_time_dtor(timelib_time* t) in timelib_time_dtor()
178 char *timelib_get_tz_abbr_ptr(timelib_time *t) in timelib_get_tz_abbr_ptr()
201 timelib_long timelib_date_to_int(timelib_time *d, int *error) in timelib_date_to_int()
[all …]
H A Dunixtime2tm.c44 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt()
141 void timelib_update_from_sse(timelib_time *tm) in timelib_update_from_sse()
179 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local()
222 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset) in timelib_set_timezone_from_offset()
236 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info) in timelib_set_timezone_from_abbr()
250 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone()
277 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime()
H A Dtm2unixtime.c148 static void do_adjust_for_weekday(timelib_time* time) in do_adjust_for_weekday()
182 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize()
193 void timelib_do_normalize(timelib_time* time) in timelib_do_normalize()
204 static void do_adjust_relative(timelib_time* time) in do_adjust_relative()
234 static void do_adjust_special_weekday(timelib_time* time) in do_adjust_special_weekday()
284 static void do_adjust_special(timelib_time* time) in do_adjust_special()
297 static void do_adjust_special_early(timelib_time* time) in do_adjust_special_early()
381 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) in do_adjust_timezone()
449 void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi) in timelib_update_ts()
473 timelib_time time;
H A Dtimelib_structs.h239 typedef struct timelib_time { struct
259 } timelib_time; argument
H A Dastro.c212 int timelib_astro_rise_set_altitude(timelib_time *t_loc, double lon, double lat, double altit, int … in timelib_astro_rise_set_altitude()
222 timelib_time *t_utc; in timelib_astro_rise_set_altitude()
H A Dparse_iso_intervals.re99 struct timelib_time *begin;
100 struct timelib_time *end;
197 static timelib_long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, cons…
299 timelib_time *current;
408 timelib_time **begin, timelib_time **end,
H A Dparse_iso_intervals.c101 struct timelib_time *begin;
102 struct timelib_time *end;
199 static timelib_long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, cons… in timelib_get_zone()
809 timelib_time *current; in scan()
914 timelib_time **begin, timelib_time **end, in timelib_strtointerval()
H A Dparse_date.re161 struct timelib_time *time;
746 timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const tim…
1734 timelib_time* timelib_strtotime(char *s, size_t len, struct timelib_error_container **errors, const…
1825 static void timelib_time_reset_fields(timelib_time *time)
1837 static void timelib_time_reset_unset_fields(timelib_time *time)
1850 timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_conta…
2185 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options)
2240 timelib_time time = timelib_strtotime("May 12");
H A Dparse_tz.c511 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset()
H A Dparse_date.c163 struct timelib_time *time;
748 timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const tim… in timelib_parse_zone()
23845 timelib_time* timelib_strtotime(char *s, size_t len, struct timelib_error_container **errors, const… in timelib_strtotime()
23936 static void timelib_time_reset_fields(timelib_time *time) in timelib_time_reset_fields()
23948 static void timelib_time_reset_unset_fields(timelib_time *time) in timelib_time_reset_unset_fields()
23961 timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_conta… in timelib_parse_from_format()
24296 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) in timelib_fill_holes()
24351 timelib_time time = timelib_strtotime("May 12"); in main()
/PHP-7.0/ext/date/
H A Dphp_date.h137 timelib_time *time;
180 timelib_time *start;
182 timelib_time *current;
183 timelib_time *end;
H A Dphp_date.c1258 timelib_time *t; in php_format_date()
1285 timelib_time *t; in php_idate()
1471 timelib_time *t, *now; in PHP_FUNCTION()
1508 timelib_time *now; in php_mktime()
1737 timelib_time *ts; in PHP_FUNCTION()
1783 timelib_time *ts; in PHP_FUNCTION()
2550 timelib_time *now; in php_date_initialize()
3672 timelib_time *dummy_t = ecalloc(1, sizeof(timelib_time)); in timezone_initialize()
4296 timelib_time *time; in PHP_FUNCTION()
4437 timelib_time *clone; in PHP_METHOD()
[all …]

Completed in 77 milliseconds