Lines Matching refs:time_t
101 time_t ls_trans; /* transition time */
121 time_t ats[TZ_MAX_TIMES];
151 static int differ_by_repeat(time_t t1, time_t t0);
161 static struct tm * gmtsub(const time_t * timep, int_fast32_t offset,
163 static struct tm * localsub(const time_t * timep, int_fast32_t offset,
168 static int increment_overflow_time(time_t *t, int_fast32_t delta);
174 static time_t time1(struct tm * tmp,
175 struct tm * (*funcp)(const time_t *,
178 static time_t time2(struct tm * tmp,
179 struct tm * (*funcp)(const time_t *,
182 static time_t time2sub(struct tm *tmp,
183 struct tm * (*funcp) (const time_t *,
186 static struct tm * timesub(const time_t * timep, int_fast32_t offset,
332 differ_by_repeat(const time_t t1 __unused, const time_t t0 __unused) in differ_by_repeat()
334 if (TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS) in differ_by_repeat()
434 sp->types[i] = ((TYPE_SIGNED(time_t) in tzload()
525 if (TYPE_SIGNED(time_t) && stored >= (int) sizeof(time_t)) in tzload()
1003 time_t janfirst; in tzparse()
1286 localsub(const time_t * const timep, const int_fast32_t offset, in localsub()
1292 const time_t t = *timep; in localsub()
1303 time_t newt = t; in localsub()
1304 register time_t seconds; in localsub()
1305 register time_t years; in localsub()
1321 register time_t newy; in localsub()
1365 localtime(const time_t * const timep) in localtime()
1375 localtime_r(const time_t * const timep, struct tm * tmp) in localtime_r()
1392 gmtsub(const time_t * const timep, const int_fast32_t offset, in gmtsub()
1420 gmtime(const time_t * const timep) in gmtime()
1430 gmtime_r(const time_t * const timep, struct tm * tmp) in gmtime_r()
1444 offtime(const time_t *const timep, const long offset) in offtime()
1464 timesub(const time_t *const timep, const int_fast32_t offset, in timesub()
1469 register time_t tdays; in timesub()
1506 register time_t tdelta; in timesub()
1511 if (! ((! TYPE_SIGNED(time_t) || INT_MIN <= tdelta) in timesub()
1522 tdays -= ((time_t) newy - y) * DAYSPERNYEAR; in timesub()
1592 ctime(const time_t * const timep) in ctime()
1604 ctime_r(const time_t * const timep, char * buf) in ctime_r()
1657 increment_overflow_time(time_t *tp, int_fast32_t j) in increment_overflow_time()
1665 ? (TYPE_SIGNED(time_t) ? time_t_min - j <= *tp : -1 - j < *tp) in increment_overflow_time()
1713 static time_t
1715 struct tm *(*const funcp)(const time_t*, int_fast32_t, struct tm*, struct state*), in time2sub() argument
1724 register time_t lo; in time2sub()
1725 register time_t hi; in time2sub()
1727 time_t newt; in time2sub()
1728 time_t t; in time2sub()
1801 if (!TYPE_SIGNED(time_t)) { in time2sub()
1806 for (i = 0; i < (int) TYPE_BIT(time_t) - 1; ++i) in time2sub()
1892 static time_t
1894 …struct tm * (*const funcp)(const time_t *, int_fast32_t, struct tm *, struct state *), // android-… in time2() argument
1898 time_t t; in time2()
1909 static time_t
1911 …struct tm * (* const funcp) (const time_t *, int_fast32_t, struct tm *, struct state *), // androi… in time1()
1914 register time_t t; in time1()
1984 time_t
1989 time_t result = time1(tmp, localsub, 0L, NULL); // android-changed: extra parameter. in mktime()
1996 time_t
2004 time_t
2007 time_t result; in timegm()
2018 time_t
2038 const time_t t = mktime(tmp); in gtime()
2062 leapcorr(time_t * timep) in leapcorr()
2078 time_t
2079 time2posix(time_t t) in time2posix()
2085 time_t
2086 posix2time(time_t t) in posix2time()
2088 time_t x; in posix2time()
2089 time_t y; in posix2time()
2298 __attribute__((visibility("default"))) time_t mktime_tz(struct tm* const tmp, const char* tz) { in mktime_tz()
2300 time_t return_value; in mktime_tz()