/PHP-7.3/ext/date/lib/ |
H A D | dow.c | 31 static timelib_sll positive_mod(timelib_sll x, timelib_sll y) in positive_mod() 48 static timelib_sll timelib_day_of_week_ex(timelib_sll y, timelib_sll m, timelib_sll d, int iso) in timelib_day_of_week_ex() 67 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_week() 72 timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_iso_day_of_week() 83 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_year() 88 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m) in timelib_days_in_month() 93 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli… in timelib_isoweek_from_date() 141 void timelib_isodate_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iy, timeli… in timelib_isodate_from_date() 147 timelib_sll timelib_daynr_from_weeknr(timelib_sll iy, timelib_sll iw, timelib_sll id) in timelib_daynr_from_weeknr() 160 void timelib_date_from_isodate(timelib_sll iy, timelib_sll iw, timelib_sll id, timelib_sll *y, time… in timelib_date_from_isodate() [all …]
|
H A D | timelib.h | 192 timelib_sll amount; 408 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); 411 timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); 415 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d); 418 timelib_sll timelib_daynr_from_weeknr(timelib_sll iy, timelib_sll iw, timelib_sll id); 421 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m); 424 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli… 428 void timelib_isodate_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iy, timeli… 431 void timelib_date_from_isodate(timelib_sll iy, timelib_sll iw, timelib_sll id, timelib_sll *y, time… 435 int timelib_valid_time(timelib_sll h, timelib_sll i, timelib_sll s); [all …]
|
H A D | tm2unixtime.c | 36 static void do_range_limit(timelib_sll start, timelib_sll end, timelib_sll adj, timelib_sll *a, tim… in do_range_limit() 48 static void inc_month(timelib_sll *y, timelib_sll *m) in inc_month() 57 static void dec_month(timelib_sll *y, timelib_sll *m) in dec_month() 66 …range_limit_days_relative(timelib_sll *base_y, timelib_sll *base_m, timelib_sll *y, timelib_sll *m… in do_range_limit_days_relative() 70 timelib_sll days; in do_range_limit_days_relative() 108 static int do_range_limit_days(timelib_sll *y, timelib_sll *m, timelib_sll *d) in do_range_limit_days() 363 static timelib_sll do_years(timelib_sll year) in do_years() 365 timelib_sll i; in do_years() 367 timelib_sll eras; in do_years() 403 static timelib_sll do_months(timelib_ull month, timelib_sll year) in do_months() [all …]
|
H A D | unixtime2tm.c | 33 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt() 35 timelib_sll days, remainder, tmp_days; in timelib_unixtime2gmt() 36 timelib_sll cur_year = 1970; in timelib_unixtime2gmt() 37 timelib_sll i; in timelib_unixtime2gmt() 38 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() 121 timelib_sll sse; 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()
|
H A D | astro.c | 212 …, int upper_limb, double *h_rise, double *h_set, timelib_sll *ts_rise, timelib_sll *ts_set, timeli… in timelib_astro_rise_set_altitude() 223 timelib_sll timestamp, old_sse; in timelib_astro_rise_set_altitude() 299 double timelib_ts_to_julianday(timelib_sll ts) in timelib_ts_to_julianday() 310 double timelib_ts_to_j2000(timelib_sll ts) in timelib_ts_to_j2000()
|
H A D | parse_tz.c | 600 static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_ti… in fetch_timezone_offset() 635 static tlinfo* fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) in fetch_leaptime_offset() 651 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) in timelib_timestamp_is_in_dst() 654 timelib_sll dummy; in timelib_timestamp_is_in_dst() 662 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) in timelib_get_time_zone_info() 669 timelib_sll transition_time; in timelib_get_time_zone_info() 694 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset() 697 timelib_sll retval; in timelib_get_current_offset()
|
H A D | parse_date.re | 374 static timelib_sll timelib_meridian(char **ptr, timelib_sll h) 376 timelib_sll retval = 0; 401 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) 1166 timelib_sll i; 1534 timelib_sll w, d; 1553 timelib_sll w, d; 1669 timelib_sll i; 1693 timelib_sll i; 2013 timelib_sll tmp; 2180 timelib_sll min; [all …]
|
H A D | parse_iso_intervals.re | 106 static timelib_sll timelib_get_nr(char **ptr, int max_length) 109 timelib_sll tmp_nr = TIMELIB_UNSET; 243 timelib_sll nr;
|
H A D | interval.c | 33 timelib_sll dst_corr = 0 ,dst_h_corr = 0, dst_m_corr = 0; in timelib_diff()
|
H A D | parse_iso_intervals.c | 108 static timelib_sll timelib_get_nr(char **ptr, int max_length) in timelib_get_nr() 111 timelib_sll tmp_nr = TIMELIB_UNSET; in timelib_get_nr() 292 timelib_sll nr; in scan()
|
H A D | timelib.c | 169 timelib_sll ts; in timelib_date_to_int()
|
H A D | parse_date.c | 376 static timelib_sll timelib_meridian(char **ptr, timelib_sll h) in timelib_meridian() 378 timelib_sll retval = 0; in timelib_meridian() 403 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) in timelib_meridian_with_check() 405 timelib_sll retval = 0; in timelib_meridian_with_check() 540 timelib_sll value = 0; in timelib_lookup_relative_text() 18413 timelib_sll w, d; in scan() 18759 timelib_sll i; in scan() 19473 timelib_sll w, d; in scan() 20533 timelib_sll i; in scan() 21332 timelib_sll i; in scan() [all …]
|
/PHP-7.3/ext/date/ |
H A D | php_date.c | 1093 static char *english_suffix(timelib_sll number) in english_suffix() 1109 static const char *php_date_full_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_full_day_name() 1118 static const char *php_date_short_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_short_day_name() 1136 timelib_sll isoweek, isoyear; in date_format() 1342 timelib_sll isoweek, isoyear; in php_idate() 1539 (ZEND_NUM_ARGS() == 2) ? (timelib_sll) preset_ts : (timelib_sll) php_time()); in PHP_FUNCTION() 2659 timelib_sll new_offset = 0; in php_date_initialize() 2727 timelib_unixtime2local(now, (timelib_sll) sec); in php_date_initialize() 4164 timelib_sll value = -1; in date_interval_read_property() 4942 timelib_sll rise, set, transit; in php_do_date_sunrise_sunset() [all …]
|
H A D | php_date.h | 153 timelib_sll utc_offset; /* TIMELIB_ZONETYPE_OFFSET */
|