Home
last modified time | relevance | path

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

/php-src/ext/date/lib/
H A Dtimelib.h271 } timelib_time; typedef
624 timelib_time **begin, timelib_time **end,
825 int timelib_same_timezone(timelib_time *one, timelib_time *two);
916 timelib_time* timelib_time_clone(timelib_time* orig);
927 int timelib_time_compare(timelib_time *t1, timelib_time *t2);
1058 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two);
1067 int timelib_diff_days(timelib_time *one, timelib_time *two);
1075 timelib_time *timelib_add(timelib_time *t, timelib_rel_time *interval);
1076 timelib_time *timelib_add_wall(timelib_time *t, timelib_rel_time *interval);
1085 timelib_time *timelib_sub(timelib_time *t, timelib_rel_time *interval);
[all …]
H A Dinterval.c29 static void swap_times(timelib_time **one, timelib_time **two, timelib_rel_time *rt) in swap_times()
31 timelib_time *swp; in swap_times()
39 static void sort_old_to_new(timelib_time **one, timelib_time **two, timelib_rel_time *rt) in sort_old_to_new()
71 static timelib_rel_time *timelib_diff_with_tzid(timelib_time *one, timelib_time *two) in timelib_diff_with_tzid()
146 timelib_rel_time *timelib_diff(timelib_time *one, timelib_time *two) in timelib_diff()
181 int timelib_diff_days(timelib_time *one, timelib_time *two) in timelib_diff_days()
186 timelib_time *earliest, *latest; in timelib_diff_days()
211 timelib_time *timelib_add(timelib_time *old_time, timelib_rel_time *interval) in timelib_add()
242 timelib_time *timelib_sub(timelib_time *old_time, timelib_rel_time *interval) in timelib_sub()
284 timelib_time *timelib_add_wall(timelib_time *old_time, timelib_rel_time *interval) in timelib_add_wall()
[all …]
H A Dtimelib.c61 timelib_time* timelib_time_ctor(void) in timelib_time_ctor()
63 timelib_time *t; in timelib_time_ctor()
64 t = timelib_calloc(1, sizeof(timelib_time)); in timelib_time_ctor()
69 void timelib_time_dtor(timelib_time* t) in timelib_time_dtor()
75 int timelib_time_compare(timelib_time *t1, timelib_time *t2) in timelib_time_compare()
88 timelib_time* timelib_time_clone(timelib_time *orig) in timelib_time_clone()
90 timelib_time *tmp = timelib_time_ctor(); in timelib_time_clone()
91 memcpy(tmp, orig, sizeof(timelib_time)); in timelib_time_clone()
147 char *timelib_get_tz_abbr_ptr(timelib_time *t) in timelib_get_tz_abbr_ptr()
170 timelib_long timelib_date_to_int(timelib_time *d, int *error) in timelib_date_to_int()
[all …]
H A Dunixtime2tm.c57 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt()
83 void timelib_update_from_sse(timelib_time *tm) in timelib_update_from_sse()
120 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local()
163 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset) in timelib_set_timezone_from_offset()
177 void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info) in timelib_set_timezone_from_abbr()
191 void timelib_set_timezone(timelib_time *t, timelib_tzinfo *tz) in timelib_set_timezone()
218 int timelib_apply_localtime(timelib_time *t, unsigned int localtime) in timelib_apply_localtime()
H A Dtm2unixtime.c154 static void do_adjust_for_weekday(timelib_time* time) in do_adjust_for_weekday()
200 static void magic_date_calc(timelib_time *time) in magic_date_calc()
226 void timelib_do_normalize(timelib_time* time) in timelib_do_normalize()
243 static void do_adjust_relative(timelib_time* time) in do_adjust_relative()
275 static void do_adjust_special_weekday(timelib_time* time) in do_adjust_special_weekday()
325 static void do_adjust_special(timelib_time* time) in do_adjust_special()
338 static void do_adjust_special_early(timelib_time* time) in do_adjust_special_early()
366 static void do_adjust_timezone(timelib_time *tz, timelib_tzinfo *tzi) in do_adjust_timezone()
453 timelib_sll timelib_epoch_days_from_time(timelib_time *time) in timelib_epoch_days_from_time()
467 void timelib_update_ts(timelib_time* time, timelib_tzinfo* tzi) in timelib_update_ts()
[all …]
H A Dtimelib_private.h159 int timelib_apply_localtime(timelib_time *t, unsigned int localtime);
166 void timelib_time_tz_abbr_update(timelib_time* tm, const char* tz_abbr);
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.re77 timelib_time *begin;
78 timelib_time *end;
221 timelib_time *current;
330 timelib_time **begin, timelib_time **end,
H A Dparse_iso_intervals.c79 timelib_time *begin;
80 timelib_time *end;
814 timelib_time *current; in scan()
935 timelib_time **begin, timelib_time **end, in timelib_strtointerval()
H A Dparse_tz.c477 timelib_time *t = timelib_time_ctor(); in format_ut_time()
937 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset()
955 int timelib_same_timezone(timelib_time *one, timelib_time *two) in timelib_same_timezone()
H A Dparse_date.re140 timelib_time *time;
903 static timelib_long timelib_parse_tz_minutes(const char **ptr, timelib_time *t)
934 timelib_long timelib_parse_zone(const char **ptr, int *dst, timelib_time *t, int *tz_not_found, con…
1995 timelib_time *timelib_strtotime(const char *s, size_t len, timelib_error_container **errors, const …
2086 static void timelib_time_reset_fields(timelib_time *time)
2098 static void timelib_time_reset_unset_fields(timelib_time *time)
2178 timelib_time *timelib_parse_from_format(const char *format, const char *string, size_t len, timelib…
2183 timelib_time *timelib_parse_from_format_with_map(const char *format, const char *string, size_t len…
2675 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options)
2740 timelib_time time = timelib_strtotime("May 12");
H A Dparse_posix.c534 timelib_time dummy; in timelib_fetch_posix_timezone_offset()
H A Dparse_date.c142 timelib_time *time;
905 static timelib_long timelib_parse_tz_minutes(const char **ptr, timelib_time *t) in timelib_parse_tz_minutes()
936 timelib_long timelib_parse_zone(const char **ptr, int *dst, timelib_time *t, int *tz_not_found, con… in timelib_parse_zone()
24845 timelib_time *timelib_strtotime(const char *s, size_t len, timelib_error_container **errors, const … in timelib_strtotime()
24936 static void timelib_time_reset_fields(timelib_time *time) in timelib_time_reset_fields()
24948 static void timelib_time_reset_unset_fields(timelib_time *time) in timelib_time_reset_unset_fields()
25028 timelib_time *timelib_parse_from_format(const char *format, const char *string, size_t len, timelib… in timelib_parse_from_format()
25033 timelib_time *timelib_parse_from_format_with_map(const char *format, const char *string, size_t len… in timelib_parse_from_format_with_map()
25525 void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) in timelib_fill_holes()
25590 timelib_time time = timelib_strtotime("May 12"); in main()
/php-src/ext/date/
H A Dphp_date.h59 timelib_time *time;
105 timelib_time *start;
107 timelib_time *current;
108 timelib_time *end;
H A Dphp_date.c875 timelib_time *t; in php_format_date()
901 timelib_time *t; in php_idate()
1087 timelib_time *t, *now; in PHP_FUNCTION()
1143 timelib_time *now; in php_mktime()
1386 timelib_time *ts; in PHP_FUNCTION()
1441 timelib_time *ts; in PHP_FUNCTION()
2401 timelib_time *now; in php_date_initialize()
3994 timelib_time *dummy_t = ecalloc(1, sizeof(timelib_time)); in timezone_initialize()
4871 timelib_time *time; in PHP_FUNCTION()
5147 timelib_time *clone; in PHP_METHOD()
[all …]

Completed in 82 milliseconds