/PHP-5.6/ext/date/lib/ |
H A D | timelib.h | 89 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 D | interval.c | 28 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 D | timelib.c | 39 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 D | unixtime2tm.c | 44 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() 221 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset) in timelib_set_timezone_from_offset() 235 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info) in timelib_set_timezone_from_abbr() 249 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone() 276 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime()
|
H A D | tm2unixtime.c | 148 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 D | timelib_structs.h | 239 typedef struct timelib_time { struct 259 } timelib_time; argument
|
H A D | astro.c | 212 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 D | parse_iso_intervals.re | 99 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 D | parse_iso_intervals.c | 101 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 D | parse_date.re | 161 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 D | parse_tz.c | 511 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset()
|
H A D | parse_date.c | 163 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-5.6/ext/date/ |
H A D | php_date.h | 135 timelib_time *time; 160 timelib_time *start; 162 timelib_time *current; 163 timelib_time *end;
|
H A D | php_date.c | 1247 timelib_time *t; in php_format_date() 1274 timelib_time *t; in php_idate() 1459 timelib_time *t, *now; in PHP_FUNCTION() 1514 timelib_time *now; in php_mktime() 1762 timelib_time *ts; in PHP_FUNCTION() 1808 timelib_time *ts; in PHP_FUNCTION() 2569 timelib_time *now; in php_date_initialize() 3689 timelib_time *dummy_t = ecalloc(1, sizeof(timelib_time)); in timezone_initialize() 4286 timelib_time *time; in PHP_FUNCTION() 4427 timelib_time *clone; in PHP_METHOD() [all …]
|