/PHP-5.4/ext/date/lib/ |
H A D | dow.c | 26 static timelib_sll century_value(timelib_sll j) in century_value() 31 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() 50 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_week() 55 timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_iso_day_of_week() 66 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_year() 71 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m) in timelib_days_in_month() 76 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli… in timelib_isoweek_from_date() 124 timelib_sll timelib_daynr_from_weeknr(timelib_sll y, timelib_sll w, timelib_sll d) in timelib_daynr_from_weeknr() 126 timelib_sll dow, day; in timelib_daynr_from_weeknr() 137 int timelib_valid_time(timelib_sll h, timelib_sll i, timelib_sll s) in timelib_valid_time() [all …]
|
H A D | timelib.h | 61 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); 62 timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); 63 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d); 64 timelib_sll timelib_daynr_from_weeknr(timelib_sll y, timelib_sll w, timelib_sll d); 65 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m); 66 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli… 67 int timelib_valid_time(timelib_sll h, timelib_sll i, timelib_sll s); 68 int timelib_valid_date(timelib_sll y, timelib_sll m, timelib_sll d); 103 timelib_sll timelib_get_current_offset(timelib_time *t); 136 double timelib_ts_to_juliandate(timelib_sll ts); [all …]
|
H A D | tm2unixtime.c | 31 static void do_range_limit(timelib_sll start, timelib_sll end, timelib_sll adj, timelib_sll *a, tim… in do_range_limit() 43 static void inc_month(timelib_sll *y, timelib_sll *m) in inc_month() 52 static void dec_month(timelib_sll *y, timelib_sll *m) in dec_month() 61 …range_limit_days_relative(timelib_sll *base_y, timelib_sll *base_m, timelib_sll *y, timelib_sll *m… in do_range_limit_days_relative() 65 timelib_sll days; in do_range_limit_days_relative() 103 static int do_range_limit_days(timelib_sll *y, timelib_sll *m, timelib_sll *d) in do_range_limit_days() 305 static timelib_sll do_years(timelib_sll year) in do_years() 307 timelib_sll i; in do_years() 309 timelib_sll eras; in do_years() 371 timelib_sll tmp; in do_adjust_timezone() [all …]
|
H A D | timelib_structs.h | 72 typedef int64_t timelib_sll; typedef 76 typedef signed long long timelib_sll; typedef 127 timelib_sll amount; 131 timelib_sll y, m, d; /* Years, Months and Days */ 132 timelib_sll h, i, s; /* Hours, mInutes and Seconds */ 139 timelib_sll days; /* Contains the number of *days*, instead of Y-M-D differences */ 150 timelib_sll transistion_time; 154 timelib_sll y, m, d; /* Year, Month, Day */ 155 timelib_sll h, i, s; /* Hour, mInute, Second */ 163 timelib_sll sse; /* Seconds since epoch */ [all …]
|
H A D | unixtime2tm.c | 40 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt() 42 timelib_sll days, remainder, tmp_days; in timelib_unixtime2gmt() 43 timelib_sll cur_year = 1970; in timelib_unixtime2gmt() 44 timelib_sll i; in timelib_unixtime2gmt() 45 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt() 139 timelib_sll sse; 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()
|
H A D | astro.c | 207 …, int upper_limb, double *h_rise, double *h_set, timelib_sll *ts_rise, timelib_sll *ts_set, timeli… in timelib_astro_rise_set_altitude() 218 timelib_sll timestamp, old_sse; in timelib_astro_rise_set_altitude() 293 double timelib_ts_to_juliandate(timelib_sll ts) in timelib_ts_to_juliandate()
|
H A D | parse_tz.c | 335 static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_ti… in fetch_timezone_offset() 379 static tlinfo* fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) in fetch_leaptime_offset() 395 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) in timelib_timestamp_is_in_dst() 398 timelib_sll dummy; in timelib_timestamp_is_in_dst() 406 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) in timelib_get_time_zone_info() 413 timelib_sll transistion_time; in timelib_get_time_zone_info() 438 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset() 441 timelib_sll retval; in timelib_get_current_offset()
|
H A D | parse_date.re | 377 static timelib_sll timelib_meridian(char **ptr, timelib_sll h) 379 timelib_sll retval = 0; 400 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) 1128 timelib_sll i; 1496 timelib_sll w, d; 1515 timelib_sll w, d; 1631 timelib_sll i; 1655 timelib_sll i; 1900 timelib_sll tmp; 2030 timelib_sll min; [all …]
|
H A D | interval.c | 28 timelib_sll dst_corr = 0 ,dst_h_corr = 0, dst_m_corr = 0; in timelib_diff()
|
H A D | parse_iso_intervals.re | 133 static timelib_sll timelib_get_nr(char **ptr, int max_length) 136 timelib_sll tmp_nr = TIMELIB_UNSET; 352 timelib_sll nr;
|
H A D | timelib.c | 179 timelib_sll ts; in timelib_date_to_int()
|
H A D | parse_iso_intervals.c | 135 static timelib_sll timelib_get_nr(char **ptr, int max_length) in timelib_get_nr() 138 timelib_sll tmp_nr = TIMELIB_UNSET; in timelib_get_nr() 384 timelib_sll nr; in scan()
|
H A D | parse_date.c | 379 static timelib_sll timelib_meridian(char **ptr, timelib_sll h) in timelib_meridian() 381 timelib_sll retval = 0; in timelib_meridian() 402 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) in timelib_meridian_with_check() 404 timelib_sll retval = 0; in timelib_meridian_with_check() 575 timelib_sll value = 0; in timelib_lookup_relative_text() 13246 timelib_sll w, d; in scan() 13274 timelib_sll w, d; in scan() 16743 timelib_sll i; in scan() 16810 timelib_sll i; in scan() 16939 timelib_sll i; in scan() [all …]
|
/PHP-5.4/ext/date/ |
H A D | php_date.c | 973 static char *english_suffix(timelib_sll number) in english_suffix() 989 char *php_date_full_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_full_day_name() 998 char *php_date_short_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_short_day_name() 1015 timelib_sll isoweek, isoyear; in date_format() 1220 timelib_sll isoweek, isoyear; in php_idate() 2144 timelib_sll utc_offset = dateobj->time->z; in date_object_get_properties() 2423 timelib_sll new_offset; in php_date_initialize() 3299 timelib_sll utc_offset = tzobj->tzi.utc_offset; in PHP_FUNCTION() 3520 timelib_sll value = -1; in date_interval_read_property() 4115 timelib_sll rise, set, transit; in php_do_date_sunrise_sunset() [all …]
|
H A D | php_date.h | 126 timelib_sll utc_offset; /* TIMELIB_ZONETYPE_OFFSET */
|