Home
last modified time | relevance | path

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

/PHP-7.0/ext/date/lib/
H A Ddow.c30 static timelib_sll positive_mod(timelib_sll x, timelib_sll y) in positive_mod()
42 static timelib_sll century_value(timelib_sll j) in century_value()
47 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()
66 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_week()
71 timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_iso_day_of_week()
82 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_year()
87 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m) in timelib_days_in_month()
92 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli… in timelib_isoweek_from_date()
140 timelib_sll timelib_daynr_from_weeknr(timelib_sll y, timelib_sll w, timelib_sll d) in timelib_daynr_from_weeknr()
153 int timelib_valid_time(timelib_sll h, timelib_sll i, timelib_sll s) in timelib_valid_time()
[all …]
H A Dtimelib.h77 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d);
78 timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d);
79 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d);
80 timelib_sll timelib_daynr_from_weeknr(timelib_sll y, timelib_sll w, timelib_sll d);
81 timelib_sll timelib_days_in_month(timelib_sll y, timelib_sll m);
82 void timelib_isoweek_from_date(timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timeli…
83 int timelib_valid_time(timelib_sll h, timelib_sll i, timelib_sll s);
84 int timelib_valid_date(timelib_sll y, timelib_sll m, timelib_sll d);
120 timelib_sll timelib_get_current_offset(timelib_time *t);
156 double timelib_ts_to_juliandate(timelib_sll ts);
[all …]
H A Dtm2unixtime.c35 static void do_range_limit(timelib_sll start, timelib_sll end, timelib_sll adj, timelib_sll *a, tim… in do_range_limit()
47 static void inc_month(timelib_sll *y, timelib_sll *m) in inc_month()
56 static void dec_month(timelib_sll *y, timelib_sll *m) in dec_month()
65 …range_limit_days_relative(timelib_sll *base_y, timelib_sll *base_m, timelib_sll *y, timelib_sll *m… in do_range_limit_days_relative()
69 timelib_sll days; in do_range_limit_days_relative()
107 static int do_range_limit_days(timelib_sll *y, timelib_sll *m, timelib_sll *d) in do_range_limit_days()
325 static timelib_sll do_years(timelib_sll year) in do_years()
327 timelib_sll i; in do_years()
329 timelib_sll eras; in do_years()
357 static timelib_sll do_months(timelib_ull month, timelib_sll year) in do_months()
[all …]
H A Dtimelib_structs.h148 typedef int64_t timelib_sll; typedef
152 typedef signed long long timelib_sll; typedef
213 timelib_sll amount;
217 timelib_sll y, m, d; /* Years, Months and Days */
218 timelib_sll h, i, s; /* Hours, mInutes and Seconds */
225 timelib_sll days; /* Contains the number of *days*, instead of Y-M-D differences */
236 timelib_sll transistion_time;
240 timelib_sll y, m, d; /* Year, Month, Day */
241 timelib_sll h, i, s; /* Hour, mInute, Second */
249 timelib_sll sse; /* Seconds since epoch */
[all …]
H A Dunixtime2tm.c44 void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts) in timelib_unixtime2gmt()
46 timelib_sll days, remainder, tmp_days; in timelib_unixtime2gmt()
47 timelib_sll cur_year = 1970; in timelib_unixtime2gmt()
48 timelib_sll i; in timelib_unixtime2gmt()
49 timelib_sll hours, minutes, seconds; in timelib_unixtime2gmt()
143 timelib_sll sse; in timelib_update_from_sse()
179 void timelib_unixtime2local(timelib_time *tm, timelib_sll ts) in timelib_unixtime2local()
222 void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset) in timelib_set_timezone_from_offset()
H A Dastro.c212 …, 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()
298 double timelib_ts_to_juliandate(timelib_sll ts) in timelib_ts_to_juliandate()
H A Dparse_tz.c408 static ttinfo* fetch_timezone_offset(timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_ti… in fetch_timezone_offset()
452 static tlinfo* fetch_leaptime_offset(timelib_tzinfo *tz, timelib_sll ts) in fetch_leaptime_offset()
468 int timelib_timestamp_is_in_dst(timelib_sll ts, timelib_tzinfo *tz) in timelib_timestamp_is_in_dst()
471 timelib_sll dummy; in timelib_timestamp_is_in_dst()
479 timelib_time_offset *timelib_get_time_zone_info(timelib_sll ts, timelib_tzinfo *tz) in timelib_get_time_zone_info()
486 timelib_sll transistion_time; in timelib_get_time_zone_info()
511 timelib_sll timelib_get_current_offset(timelib_time *t) in timelib_get_current_offset()
514 timelib_sll retval; in timelib_get_current_offset()
H A Dparse_date.re381 static timelib_sll timelib_meridian(char **ptr, timelib_sll h)
383 timelib_sll retval = 0;
408 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h)
1077 timelib_sll i;
1445 timelib_sll w, d;
1464 timelib_sll w, d;
1580 timelib_sll i;
1604 timelib_sll i;
1855 timelib_sll tmp;
1985 timelib_sll min;
[all …]
H A Dinterval.c32 timelib_sll dst_corr = 0 ,dst_h_corr = 0, dst_m_corr = 0; in timelib_diff()
H A Dparse_iso_intervals.re137 static timelib_sll timelib_get_nr(char **ptr, int max_length)
140 timelib_sll tmp_nr = TIMELIB_UNSET;
323 timelib_sll nr;
H A Dparse_iso_intervals.c139 static timelib_sll timelib_get_nr(char **ptr, int max_length) in timelib_get_nr()
142 timelib_sll tmp_nr = TIMELIB_UNSET; in timelib_get_nr()
349 timelib_sll nr; in scan()
H A Dtimelib.c203 timelib_sll ts; in timelib_date_to_int()
H A Dparse_date.c383 static timelib_sll timelib_meridian(char **ptr, timelib_sll h) in timelib_meridian()
385 timelib_sll retval = 0; in timelib_meridian()
410 static timelib_sll timelib_meridian_with_check(char **ptr, timelib_sll h) in timelib_meridian_with_check()
412 timelib_sll retval = 0; in timelib_meridian_with_check()
550 timelib_sll value = 0; in timelib_lookup_relative_text()
12211 timelib_sll w, d; in scan()
12239 timelib_sll w, d; in scan()
15704 timelib_sll i; in scan()
15771 timelib_sll i; in scan()
15900 timelib_sll i; in scan()
[all …]
/PHP-7.0/ext/date/
H A Dphp_date.c1043 static char *english_suffix(timelib_sll number) in english_suffix()
1059 char *php_date_full_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_full_day_name()
1068 char *php_date_short_day_name(timelib_sll y, timelib_sll m, timelib_sll d) in php_date_short_day_name()
1085 timelib_sll isoweek, isoyear; in date_format()
1289 timelib_sll isoweek, isoyear; in php_idate()
1484 (ZEND_NUM_ARGS() == 2) ? (timelib_sll) preset_ts : (timelib_sll) time(NULL)); in PHP_FUNCTION()
2257 timelib_sll utc_offset = dateobj->time->z; in date_object_get_properties()
2555 timelib_sll new_offset = 0; in php_date_initialize()
4038 timelib_sll value = -1; in date_interval_read_property()
4736 timelib_sll rise, set, transit; in php_do_date_sunrise_sunset()
[all …]
H A Dphp_date.h153 timelib_sll utc_offset; /* TIMELIB_ZONETYPE_OFFSET */

Completed in 87 milliseconds