Lines Matching refs:time_t
108 time_t ls_trans; /* transition time */
129 time_t ats[TZ_MAX_TIMES];
152 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t,
155 static bool increment_overflow_time(time_t *, int_fast32_t);
157 static struct tm *timesub(time_t const *, int_fast32_t, struct state const *,
338 differ_by_repeat(const time_t t1, const time_t t0) in differ_by_repeat()
340 if (TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS) in differ_by_repeat()
478 time_t attime in tzloadbody()
479 = ((TYPE_SIGNED(time_t) ? at < time_t_min : at < 0) in tzloadbody()
528 time_t trans in tzloadbody()
529 = ((TYPE_SIGNED(time_t) ? tr < time_t_min : tr < 0) in tzloadbody()
1087 time_t janfirst; in tzparse()
1402 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, in localsub()
1408 const time_t t = *timep; in localsub()
1416 time_t newt = t; in localsub()
1417 register time_t seconds; in localsub()
1418 register time_t years; in localsub()
1483 localtime_rz(struct state *sp, time_t const *timep, struct tm *tmp) in localtime_rz()
1491 localtime_tzset(time_t const *timep, struct tm *tmp) in localtime_tzset()
1512 localtime(const time_t *timep) in localtime()
1518 localtime_r(const time_t *timep, struct tm *tmp) in localtime_r()
1528 gmtsub(struct state const *sp, time_t const *timep, int_fast32_t offset, in gmtsub()
1551 gmtime_r(const time_t *timep, struct tm *tmp) in gmtime_r()
1558 gmtime(const time_t *timep) in gmtime()
1566 offtime(const time_t *timep, long offset) in offtime()
1587 timesub(const time_t *timep, int_fast32_t offset, in timesub()
1591 register time_t tdays; in timesub()
1628 register time_t tdelta; in timesub()
1633 if (! ((! TYPE_SIGNED(time_t) || INT_MIN <= tdelta) in timesub()
1644 tdays -= ((time_t) newy - y) * DAYSPERNYEAR; in timesub()
1711 ctime(const time_t *timep) in ctime()
1724 ctime_r(const time_t *timep, char *buf) in ctime_r()
1777 increment_overflow_time(time_t *tp, int_fast32_t j) in increment_overflow_time()
1785 ? (TYPE_SIGNED(time_t) ? time_t_min - j <= *tp : -1 - j < *tp) in increment_overflow_time()
1832 static time_t
1834 struct tm *(*funcp)(struct state const *, time_t const *, in time2sub()
1845 register time_t lo; in time2sub()
1846 register time_t hi; in time2sub()
1848 time_t newt; in time2sub()
1849 time_t t; in time2sub()
1972 time_t altt = t; in time2sub()
2029 static time_t
2031 struct tm *(*funcp)(struct state const *, time_t const *, in time2()
2037 time_t t; in time2()
2048 static time_t
2050 struct tm *(*funcp) (struct state const *, time_t const *, in time1()
2055 register time_t t; in time1()
2120 static time_t
2133 time_t
2141 time_t
2148 time_t t; in mktime()
2166 time_t
2174 time_t
2180 time_t
2206 leapcorr(struct state const *sp, time_t t) in leapcorr()
2220 NETBSD_INSPIRED_EXTERN time_t ATTRIBUTE_PURE
2221 time2posix_z(struct state *sp, time_t t) in time2posix_z()
2226 time_t
2227 time2posix(time_t t) in time2posix()
2242 NETBSD_INSPIRED_EXTERN time_t ATTRIBUTE_PURE
2243 posix2time_z(struct state *sp, time_t t) in posix2time_z()
2245 time_t x; in posix2time_z()
2246 time_t y; in posix2time_z()
2271 time_t
2272 posix2time(time_t t) in posix2time()
2294 time_t
2295 time(time_t *p) in time()
2297 time_t r = sys_time(0); in time()