Lines Matching refs:time_t

88 	time_t		ls_trans;	/* transition time */
108 time_t ats[TZ_MAX_TIMES];
135 static int differ_by_repeat(time_t t1, time_t t0);
145 static struct tm * gmtsub(const time_t * timep, int_fast32_t offset,
147 static struct tm * localsub(const time_t * timep, int_fast32_t offset,
152 static int increment_overflow_time(time_t *t, int_fast32_t delta);
158 static time_t time1(struct tm * tmp,
159 struct tm * (*funcp)(const time_t *,
162 static time_t time2(struct tm *tmp,
163 struct tm * (*funcp)(const time_t *,
166 static time_t time2sub(struct tm *tmp,
167 struct tm * (*funcp)(const time_t *,
170 static struct tm * timesub(const time_t * timep, int_fast32_t offset,
316 differ_by_repeat(const time_t t1, const time_t t0) in differ_by_repeat()
318 if (TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS) in differ_by_repeat()
421 sp->types[i] = ((TYPE_SIGNED(time_t) in tzload()
512 if (TYPE_SIGNED(time_t) && stored >= (int) sizeof(time_t)) in tzload()
991 time_t janfirst; in tzparse()
1256 localsub(const time_t *const timep, const int_fast32_t offset, in localsub()
1263 const time_t t = *timep; in localsub()
1270 time_t newt = t; in localsub()
1271 register time_t seconds; in localsub()
1272 register time_t years; in localsub()
1288 register time_t newy; in localsub()
1332 localtime(const time_t *const timep) in localtime()
1343 localtime_r(const time_t *const timep, struct tm *tmp) in localtime_r()
1353 gmtsub(const time_t *const timep, const int_fast32_t offset, in gmtsub()
1379 gmtime(const time_t *const timep) in gmtime()
1389 gmtime_r(const time_t *const timep, struct tm *tmp) in gmtime_r()
1397 offtime(const time_t *const timep, const long offset) in offtime()
1417 timesub(const time_t *const timep, const int_fast32_t offset, in timesub()
1422 register time_t tdays; in timesub()
1459 register time_t tdelta; in timesub()
1464 if (! ((! TYPE_SIGNED(time_t) || INT_MIN <= tdelta) in timesub()
1475 tdays -= ((time_t) newy - y) * DAYSPERNYEAR; in timesub()
1545 ctime(const time_t *const timep) in ctime()
1557 ctime_r(const time_t *const timep, char *buf) in ctime_r()
1610 increment_overflow_time(time_t *tp, int_fast32_t j) in increment_overflow_time()
1618 ? (TYPE_SIGNED(time_t) ? time_t_min - j <= *tp : -1 - j < *tp) in increment_overflow_time()
1666 static time_t
1668 struct tm *(*const funcp)(const time_t *, int_fast32_t, struct tm *), in time2sub() argument
1678 register time_t lo; in time2sub()
1679 register time_t hi; in time2sub()
1681 time_t newt; in time2sub()
1682 time_t t; in time2sub()
1755 if (!TYPE_SIGNED(time_t)) { in time2sub()
1760 for (i = 0; i < (int) TYPE_BIT(time_t) - 1; ++i) in time2sub()
1842 static time_t
1844 struct tm * (*const funcp)(const time_t *, int_fast32_t, struct tm *), in time2() argument
1848 time_t t; in time2()
1859 static time_t
1861 struct tm *(*const funcp) (const time_t *, int_fast32_t, struct tm *), in time1()
1864 register time_t t; in time1()
1931 time_t
1940 time_t
1948 time_t
1956 time_t
1976 const time_t t = mktime(tmp); in gtime()
2000 leapcorr(time_t *timep) in leapcorr()
2016 time_t
2017 time2posix(time_t t) in time2posix()
2023 time_t
2024 posix2time(time_t t) in posix2time()
2026 time_t x; in posix2time()
2027 time_t y; in posix2time()