/PHP-7.4/ext/date/lib/ |
H A D | timelib.h | 226 } timelib_time; typedef 519 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options); 570 timelib_time **begin, timelib_time **end, 598 void timelib_do_normalize(timelib_time *base); 800 timelib_time* timelib_time_ctor(void); 805 void timelib_time_dtor(timelib_time* t); 813 timelib_time* timelib_time_clone(timelib_time* orig); 824 int timelib_time_compare(timelib_time *t1, timelib_time *t2); 944 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two); 952 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); [all …]
|
H A D | timelib.c | 58 timelib_time* timelib_time_ctor(void) in timelib_time_ctor() 60 timelib_time *t; in timelib_time_ctor() 61 t = timelib_calloc(1, sizeof(timelib_time)); in timelib_time_ctor() 66 void timelib_time_dtor(timelib_time* t) in timelib_time_dtor() 72 int timelib_time_compare(timelib_time *t1, timelib_time *t2) in timelib_time_compare() 85 timelib_time* timelib_time_clone(timelib_time *orig) in timelib_time_clone() 87 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone() 88 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 144 char *timelib_get_tz_abbr_ptr(timelib_time *t) in timelib_get_tz_abbr_ptr() 167 timelib_long timelib_date_to_int(timelib_time *d, int *error) in timelib_date_to_int() [all …]
|
H A D | interval.c | 29 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff() 32 timelib_time *swp; in timelib_diff() 34 timelib_time one_backup, two_backup; in timelib_diff() 100 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() 103 timelib_time *t = timelib_time_clone(old_time); in timelib_add() 138 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() 141 timelib_time *t = timelib_time_clone(old_time); in timelib_sub()
|
H A D | unixtime2tm.c | 33 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt() 119 void timelib_update_from_sse(timelib_time *tm) in timelib_update_from_sse() 157 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local() 200 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset) in timelib_set_timezone_from_offset() 214 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info) in timelib_set_timezone_from_abbr() 228 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone() 255 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime()
|
H A D | timelib_private.h | 131 int timelib_apply_localtime(timelib_time *t, unsigned int localtime); 134 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr);
|
H A D | tm2unixtime.c | 149 static void do_adjust_for_weekday(timelib_time* time) in do_adjust_for_weekday() 183 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize() 197 static void magic_date_calc(timelib_time *time) in magic_date_calc() 223 void timelib_do_normalize(timelib_time* time) in timelib_do_normalize() 240 static void do_adjust_relative(timelib_time* time) in do_adjust_relative() 272 static void do_adjust_special_weekday(timelib_time* time) in do_adjust_special_weekday() 322 static void do_adjust_special(timelib_time* time) in do_adjust_special() 335 static void do_adjust_special_early(timelib_time* time) in do_adjust_special_early() 427 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) in do_adjust_timezone() 494 void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi) in timelib_update_ts() [all …]
|
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 | 77 timelib_time *begin; 78 timelib_time *end; 219 timelib_time *current; 328 timelib_time **begin, timelib_time **end,
|
H A D | parse_iso_intervals.c | 79 timelib_time *begin; 80 timelib_time *end; 812 timelib_time *current; in scan() 933 timelib_time **begin, timelib_time **end, in timelib_strtointerval()
|
H A D | parse_date.re | 138 timelib_time *time; 776 static timelib_long timelib_parse_tz_minutes(char **ptr, timelib_time *t) 807 timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const tim… 1826 timelib_time* timelib_strtotime(char *s, size_t len, timelib_error_container **errors, const timeli… 1917 static void timelib_time_reset_fields(timelib_time *time) 1929 static void timelib_time_reset_unset_fields(timelib_time *time) 2006 timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_conta… 2011 timelib_time *timelib_parse_from_format_with_map(char *format, char *string, size_t len, timelib_er… 2438 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) 2500 timelib_time time = timelib_strtotime("May 12");
|
H A D | parse_tz.c | 694 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset()
|
H A D | parse_date.c | 140 timelib_time *time; 778 static timelib_long timelib_parse_tz_minutes(char **ptr, timelib_time *t) in timelib_parse_tz_minutes() 809 timelib_long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const tim… in timelib_parse_zone() 24934 timelib_time* timelib_strtotime(char *s, size_t len, timelib_error_container **errors, const timeli… in timelib_strtotime() 25025 static void timelib_time_reset_fields(timelib_time *time) in timelib_time_reset_fields() 25037 static void timelib_time_reset_unset_fields(timelib_time *time) in timelib_time_reset_unset_fields() 25114 timelib_time *timelib_parse_from_format(char *format, char *string, size_t len, timelib_error_conta… in timelib_parse_from_format() 25119 timelib_time *timelib_parse_from_format_with_map(char *format, char *string, size_t len, timelib_er… in timelib_parse_from_format_with_map() 25546 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) in timelib_fill_holes() 25608 timelib_time time = timelib_strtotime("May 12"); in main()
|
/PHP-7.4/ext/date/ |
H A D | php_date.h | 134 timelib_time *time; 174 timelib_time *start; 176 timelib_time *current; 177 timelib_time *end;
|
H A D | php_date.c | 1300 timelib_time *t; in php_format_date() 1327 timelib_time *t; in php_idate() 1513 timelib_time *t, *now; in PHP_FUNCTION() 1553 timelib_time *now; in php_mktime() 1794 timelib_time *ts; in PHP_FUNCTION() 1846 timelib_time *ts; in PHP_FUNCTION() 2699 timelib_time *now; in php_date_initialize() 3866 timelib_time *dummy_t = ecalloc(1, sizeof(timelib_time)); in timezone_initialize() 4531 timelib_time *time; in PHP_FUNCTION() 4684 timelib_time *clone; in PHP_METHOD() [all …]
|