Lines Matching refs:time_t

129 	time_t		ls_trans;	/* transition time */
149 time_t ats[TZ_MAX_TIMES];
174 static time_t detzcode64(const char * codep);
175 static int differ_by_repeat(time_t t1, time_t t0);
185 static struct tm * gmtsub(const time_t * timep, long offset,
187 static struct tm * localsub(const time_t * timep, long offset,
197 static time_t time1(struct tm * tmp,
198 struct tm * (*funcp)(const time_t *,
201 static time_t time2(struct tm *tmp,
202 struct tm * (*funcp)(const time_t *,
205 static time_t time2sub(struct tm *tmp,
206 struct tm * (*funcp)(const time_t *,
209 static struct tm * timesub(const time_t * timep, long offset,
213 static time_t transtime(time_t janfirst, int year,
265 time_t timezone = 0;
270 time_t altzone = 0;
285 static time_t
288 register time_t result;
358 differ_by_repeat(const time_t t1, const time_t t0)
363 if (TYPE_INTEGRAL(time_t) &&
364 TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS)
551 ** signed time_t system but using a data file with
557 if (TYPE_SIGNED(time_t)) {
585 ** If this is a narrow integer time_t system, we're done.
587 if (stored >= (int) sizeof(time_t) && TYPE_INTEGRAL(time_t))
885 static time_t
887 const time_t janfirst;
893 time_t value;
992 time_t * atp;
1053 time_t janfirst;
1054 time_t starttime;
1055 time_t endtime;
1083 time_t newfirst;
1341 localsub(const time_t *const timep, const long offset, struct tm *const tmp)
1347 const time_t t = *timep;
1356 time_t newt = t;
1357 register time_t seconds;
1358 register time_t tcycles;
1381 register time_t newy;
1437 localtime(const time_t *const timep)
1471 localtime_r(const time_t *const timep, struct tm *tmp)
1497 const time_t * const timep;
1535 gmtime(const time_t *const timep)
1570 gmtime_r(const time_t *const timep, struct tm *tmp)
1578 offtime(const time_t *const timep, const long offset)
1600 const time_t * const timep;
1606 time_t tdays;
1648 register time_t tdelta;
1663 tdays -= ((time_t) newy - y) * DAYSPERNYEAR;
1733 ctime(const time_t *const timep)
1745 ctime_r(const time_t *const timep, char *buf)
1756 ** It does a binary search of the time_t space. Since time_t's are
1833 static time_t
1835 struct tm *(*const funcp)(const time_t *, long, struct tm *),
1845 time_t lo;
1846 time_t hi;
1848 time_t newt;
1849 time_t t;
1923 ** Do a binary search (this works whatever time_t's type is).
1925 if (!TYPE_SIGNED(time_t)) {
1928 } else if (!TYPE_INTEGRAL(time_t)) {
1929 if (sizeof(time_t) > sizeof(float))
1930 hi = (time_t) DBL_MAX;
1931 else hi = (time_t) FLT_MAX;
1935 for (i = 0; i < (int) TYPE_BIT(time_t) - 1; ++i)
2019 static time_t
2021 struct tm * (*const funcp)(const time_t *, long, struct tm *),
2025 time_t t;
2036 static time_t
2039 struct tm * (* const funcp)(const time_t *, long, struct tm *);
2042 time_t t;
2114 time_t
2117 time_t mktime_return_value;
2127 time_t
2135 time_t
2143 time_t
2163 const time_t t = mktime(tmp);
2187 leapcorr(time_t *timep)
2203 time_t
2204 time2posix(time_t t)
2210 time_t
2211 posix2time(time_t t)
2213 time_t x;
2214 time_t y;