/PHP-5.4/ext/date/lib/ |
H A D | timelib.h | 73 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options); 79 timelib_time **begin, timelib_time **end, 86 void timelib_do_normalize(timelib_time *base); 93 void timelib_update_from_sse(timelib_time *tm); 119 timelib_time* timelib_time_ctor(void); 121 void timelib_time_dtor(timelib_time* t); 122 timelib_time* timelib_time_clone(timelib_time* orig); 130 void timelib_dump_date(timelib_time *d, int options); 140 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two); 141 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 | 33 timelib_time* timelib_time_ctor(void) in timelib_time_ctor() 35 timelib_time *t; in timelib_time_ctor() 36 t = calloc(1, sizeof(timelib_time)); in timelib_time_ctor() 49 timelib_time* timelib_time_clone(timelib_time *orig) in timelib_time_clone() 51 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone() 52 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone() 69 void timelib_time_tz_abbr_update(timelib_time* tm, char* tz_abbr) in timelib_time_tz_abbr_update() 80 void timelib_time_dtor(timelib_time* t) in timelib_time_dtor() 154 char *timelib_get_tz_abbr_ptr(timelib_time *t) in timelib_get_tz_abbr_ptr() 177 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() 220 static void do_adjust_special_weekday(timelib_time* time) in do_adjust_special_weekday() 273 static void do_adjust_special(timelib_time* time) in do_adjust_special() 286 static void do_adjust_special_early(timelib_time* time) in do_adjust_special_early() 361 static timelib_sll do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) in do_adjust_timezone() 429 void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi) in timelib_update_ts() 453 timelib_time time;
|
H A D | timelib_structs.h | 153 typedef struct timelib_time { struct 173 } 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; 226 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timeli… 328 timelib_time *current; 437 timelib_time **begin, timelib_time **end,
|
H A D | parse_iso_intervals.c | 95 struct timelib_time *begin; 96 struct timelib_time *end; 228 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timeli… in timelib_get_zone() 922 timelib_time *current; in scan() 1043 timelib_time **begin, timelib_time **end, in timelib_strtointerval()
|
H A D | parse_date.re | 155 struct timelib_time *time; 790 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timeli… 1785 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const ti… 1870 static void timelib_time_reset_fields(timelib_time *time) 1882 static void timelib_time_reset_unset_fields(timelib_time *time) 1895 timelib_time *timelib_parse_from_format(char *format, char *string, int len, timelib_error_containe… 2230 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) 2285 timelib_time time = timelib_strtotime("May 12");
|
H A D | parse_tz.c | 438 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; 792 static long timelib_get_zone(char **ptr, int *dst, timelib_time *t, int *tz_not_found, const timeli… in timelib_get_zone() 24776 timelib_time* timelib_strtotime(char *s, int len, struct timelib_error_container **errors, const ti… in timelib_strtotime() 24861 static void timelib_time_reset_fields(timelib_time *time) in timelib_time_reset_fields() 24873 static void timelib_time_reset_unset_fields(timelib_time *time) in timelib_time_reset_unset_fields() 24886 timelib_time *timelib_parse_from_format(char *format, char *string, int len, timelib_error_containe… in timelib_parse_from_format() 25221 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) in timelib_fill_holes() 25276 timelib_time time = timelib_strtotime("May 12"); in main()
|
/PHP-5.4/ext/date/ |
H A D | php_date.h | 116 timelib_time *time; 140 timelib_time *start; 141 timelib_time *current; 142 timelib_time *end;
|
H A D | php_date.c | 1189 timelib_time *t; in php_format_date() 1216 timelib_time *t; in php_idate() 1402 timelib_time *t, *now; in PHP_FUNCTION() 1458 timelib_time *now; in php_mktime() 1697 timelib_time *ts; in PHP_FUNCTION() 1743 timelib_time *ts; in PHP_FUNCTION() 2418 timelib_time *now; in php_date_initialize() 2837 timelib_time *tmp_time; in PHP_FUNCTION() 3759 timelib_time *time; in PHP_FUNCTION() 3896 timelib_time *clone; in PHP_METHOD() [all …]
|