/PHP-5.5/ext/date/lib/ |
H A D | timelib.h | 76 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options); 83 timelib_time **begin, timelib_time **end, 90 void timelib_do_normalize(timelib_time *base); 97 void timelib_update_from_sse(timelib_time *tm); 124 timelib_time* timelib_time_ctor(void); 126 void timelib_time_dtor(timelib_time* t); 127 timelib_time* timelib_time_clone(timelib_time* orig); 135 void timelib_dump_date(timelib_time *d, int options); 146 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two); 147 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval); [all …]
|
H A D | interval.c | 24 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff() 27 timelib_time *swp; in timelib_diff() 29 timelib_time one_backup, two_backup; in timelib_diff() 91 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add() 94 timelib_time *t = timelib_time_clone(old_time); in timelib_add() 128 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub() 131 timelib_time *t = timelib_time_clone(old_time); in timelib_sub()
|
H A D | timelib.c | 35 timelib_time* timelib_time_ctor(void) in timelib_time_ctor() 37 timelib_time *t; in timelib_time_ctor() 38 t = calloc(1, sizeof(timelib_time)); in timelib_time_ctor() 51 timelib_time* timelib_time_clone(timelib_time *orig) in timelib_time_clone() 53 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone() 54 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 71 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr) in timelib_time_tz_abbr_update() 82 void timelib_time_dtor(timelib_time* t) in timelib_time_dtor() 156 char *timelib_get_tz_abbr_ptr(timelib_time *t) in timelib_get_tz_abbr_ptr() 179 signed long timelib_date_to_int(timelib_time *d, int *error) in timelib_date_to_int() [all …]
|
H A D | unixtime2tm.c | 40 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt() 137 void timelib_update_from_sse(timelib_time *tm) in timelib_update_from_sse() 175 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local() 217 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset) in timelib_set_timezone_from_offset() 231 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info) in timelib_set_timezone_from_abbr() 245 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone() 272 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime()
|
H A D | tm2unixtime.c | 144 static void do_adjust_for_weekday(timelib_time* time) in do_adjust_for_weekday() 170 void timelib_do_rel_normalize(timelib_time *base, timelib_rel_time *rt) in timelib_do_rel_normalize() 181 void timelib_do_normalize(timelib_time* time) in timelib_do_normalize() 192 static void do_adjust_relative(timelib_time* time) in do_adjust_relative() 222 static void do_adjust_special_weekday(timelib_time* time) in do_adjust_special_weekday() 272 static void do_adjust_special(timelib_time* time) in do_adjust_special() 285 static void do_adjust_special_early(timelib_time* time) in do_adjust_special_early() 369 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) in do_adjust_timezone() 437 void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi) in timelib_update_ts() 461 timelib_time time;
|
H A D | timelib_structs.h | 163 typedef struct timelib_time { struct 183 } timelib_time; argument
|
H A D | astro.c | 207 int timelib_astro_rise_set_altitude(timelib_time *t_loc, double lon, double lat, double altit, int … in timelib_astro_rise_set_altitude() 217 timelib_time *t_utc; in timelib_astro_rise_set_altitude()
|
H A D | parse_iso_intervals.re | 93 struct timelib_time *begin; 94 struct timelib_time *end; 191 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timeli… 293 timelib_time *current; 402 timelib_time **begin, timelib_time **end,
|
H A D | parse_iso_intervals.c | 95 struct timelib_time *begin; 96 struct timelib_time *end; 193 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timeli… in timelib_get_zone() 887 timelib_time *current; in scan() 1008 timelib_time **begin, timelib_time **end, in timelib_strtointerval()
|
H A D | parse_date.re | 155 struct timelib_time *time; 736 long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzd… 1724 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const ti… 1810 static void timelib_time_reset_fields(timelib_time *time) 1822 static void timelib_time_reset_unset_fields(timelib_time *time) 1835 timelib_time *timelib_parse_from_format(char *format, char *string, int len, timelib_error_containe… 2170 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) 2225 timelib_time time = timelib_strtotime("May 12");
|
H A D | parse_tz.c | 505 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset()
|
H A D | parse_date.c | 157 struct timelib_time *time; 738 long timelib_parse_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timelib_tzd… in timelib_parse_zone() 24715 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const ti… in timelib_strtotime() 24801 static void timelib_time_reset_fields(timelib_time *time) in timelib_time_reset_fields() 24813 static void timelib_time_reset_unset_fields(timelib_time *time) in timelib_time_reset_unset_fields() 24826 timelib_time *timelib_parse_from_format(char *format, char *string, int len, timelib_error_containe… in timelib_parse_from_format() 25161 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) in timelib_fill_holes() 25216 timelib_time time = timelib_strtotime("May 12"); in main()
|
/PHP-5.5/ext/date/ |
H A D | php_date.h | 131 timelib_time *time; 156 timelib_time *start; 158 timelib_time *current; 159 timelib_time *end;
|
H A D | php_date.c | 1239 timelib_time *t; in php_format_date() 1266 timelib_time *t; in php_idate() 1451 timelib_time *t, *now; in PHP_FUNCTION() 1506 timelib_time *now; in php_mktime() 1754 timelib_time *ts; in PHP_FUNCTION() 1800 timelib_time *ts; in PHP_FUNCTION() 2560 timelib_time *now; in php_date_initialize() 3659 timelib_time *dummy_t = ecalloc(1, sizeof(timelib_time)); in timezone_initialize() 4251 timelib_time *time; in PHP_FUNCTION() 4388 timelib_time *clone; in PHP_METHOD() [all …]
|