Lines Matching refs:time_t
115 time_t ls_trans; /* transition time */
146 time_t ats[TZ_MAX_TIMES];
168 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t,
171 static bool increment_overflow_time(time_t *, int_fast32_t);
172 static int_fast32_t leapcorr(struct state const *, time_t);
174 static struct tm *timesub(time_t const *, int_fast32_t, struct state const *,
588 time_t attime in tzloadbody()
589 = ((TYPE_SIGNED(time_t) ? at < TIME_T_MIN : at < 0) in tzloadbody()
750 time_t t = ts->ats[i]; in tzloadbody()
1104 time_t atlo = TIME_T_MIN, leaplo = TIME_T_MIN; in tzparse()
1167 time_t janfirst; in tzparse()
1193 time_t janfirst1 = janfirst; in tzparse()
1207 time_t janfirst1 = janfirst; in tzparse()
1377 static time_t last_checked; in recheck_tzdata()
1379 time_t current_time; in recheck_tzdata()
1551 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, in localsub()
1557 const time_t t = *timep; in localsub()
1565 time_t newt; in localsub()
1566 register time_t seconds; in localsub()
1567 register time_t years; in localsub()
1647 localtime_rz(struct state *restrict sp, time_t const *restrict timep, in localtime_rz()
1656 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname) in localtime_tzset()
1680 localtime(const time_t *timep) in localtime()
1707 localtime_r(const time_t *restrict timep, struct tm *restrict tmp) in localtime_r()
1717 gmtsub(ATTRIBUTE_MAYBE_UNUSED struct state const *sp, time_t const *timep, in gmtsub()
1740 gmtime_r(time_t const *restrict timep, struct tm *restrict tmp) in gmtime_r()
1754 gmtime(const time_t *timep) in gmtime()
1786 offtime_r(time_t const *restrict timep, long offset, struct tm *restrict tmp) in offtime_r()
1800 offtime(const time_t *timep, long offset) in offtime()
1833 static time_t
1834 leaps_thru_end_of_nonneg(time_t y) in leaps_thru_end_of_nonneg()
1839 static time_t
1840 leaps_thru_end_of(time_t y) in leaps_thru_end_of()
1848 timesub(const time_t *timep, int_fast32_t offset, in timesub()
1852 register time_t tdays; in timesub()
1857 time_t y; in timesub()
1862 time_t secs_since_posleap = SECSPERMIN; in timesub()
1903 time_t newy = y + ydelta; in timesub()
1918 if (!TYPE_SIGNED(time_t) && y < TM_YEAR_BASE) { in timesub()
1921 } else if ((!TYPE_SIGNED(time_t) || INT_MIN + TM_YEAR_BASE <= y) in timesub()
2016 increment_overflow_time(time_t *tp, int_fast32_t j) in increment_overflow_time()
2027 ? (TYPE_SIGNED(time_t) ? TIME_T_MIN - j <= *tp : -1 - j < *tp) in increment_overflow_time()
2092 static time_t
2094 struct tm *(*funcp)(struct state const *, time_t const *, in time2sub()
2105 register time_t lo; in time2sub()
2106 register time_t hi; in time2sub()
2108 time_t newt; in time2sub()
2109 time_t t; in time2sub()
2238 time_t altt = t; in time2sub()
2297 static time_t
2299 struct tm *(*funcp)(struct state const *, time_t const *, in time2()
2305 time_t t; in time2()
2316 static time_t
2318 struct tm *(*funcp)(struct state const *, time_t const *, in time1()
2323 register time_t t; in time1()
2389 static time_t
2402 time_t
2410 time_t
2413 time_t t; in mktime()
2428 time_t
2446 EXTERN_TIMEOFF time_t
2455 time_t
2458 time_t t; in timegm()
2469 leapcorr(struct state const *sp, time_t t) in leapcorr()
2505 NETBSD_INSPIRED_EXTERN time_t
2506 time2posix_z(struct state *sp, time_t t) in time2posix_z()
2511 time_t
2512 time2posix(time_t t) in time2posix()
2529 NETBSD_INSPIRED_EXTERN time_t
2530 posix2time_z(struct state *sp, time_t t) in posix2time_z()
2532 time_t x; in posix2time_z()
2533 time_t y; in posix2time_z()
2558 time_t
2559 posix2time(time_t t) in posix2time()
2599 time_t
2600 time(time_t *p) in time()
2602 time_t r = sys_time(0); in time()
2603 if (r != (time_t) -1) { in time()