Lines Matching defs:time_t
85 time_t ls_trans; /* transition time */
105 time_t ats[TZ_MAX_TIMES];
130 static time_t detzcode64(const char * codep);
131 static int differ_by_repeat(time_t t1, time_t t0);
140 static struct tm * gmtsub(const time_t * timep, long offset,
142 static struct tm * localsub(const time_t * timep, long offset,
152 static time_t time1(struct tm * tmp,
153 struct tm * (*funcp)(const time_t *,
156 static time_t time2(struct tm *tmp,
157 struct tm * (*funcp)(const time_t *,
160 static time_t time2sub(struct tm *tmp,
161 struct tm * (*funcp)(const time_t *,
164 static struct tm * timesub(const time_t * timep, long offset,
168 static time_t transtime(time_t janfirst, int year,
177 struct tm *offtime(const time_t *, long);
178 time_t time2posix(time_t);
179 time_t posix2time(time_t);
231 static time_t
234 time_t result;
291 differ_by_repeat(time_t t1, time_t t0)
293 if (TYPE_BIT(time_t) - 1 < SECSPERREPEAT_BITS)
472 ** signed time_t system but using a data file with
493 ** If this is a narrow integer time_t system, we're done.
495 if (stored >= sizeof(time_t))
780 static time_t
781 transtime(time_t janfirst, int year, const struct rule *rulep, long offset)
784 time_t value;
880 time_t * atp;
941 time_t janfirst;
942 time_t starttime;
943 time_t endtime;
972 time_t newfirst;
1213 localsub(const time_t *timep, long offset, struct tm *tmp)
1219 const time_t t = *timep;
1226 time_t newt = t;
1227 time_t seconds;
1228 time_t tcycles;
1253 time_t newy;
1307 localtime_r(const time_t *timep, struct tm *p_tm)
1318 localtime(const time_t *timep)
1334 gmtsub(const time_t *timep, long offset, struct tm *tmp)
1368 gmtime_r(const time_t *timep, struct tm *p_tm)
1375 gmtime(const time_t *timep)
1390 offtime(const time_t *timep, long offset)
1410 timesub(const time_t *timep, long offset, const struct state *sp, struct tm *tmp)
1413 time_t tdays;
1452 time_t tdelta;
1467 tdays -= ((time_t) newy - y) * DAYSPERNYEAR;
1533 ctime(const time_t *timep)
1545 ctime_r(const time_t *timep, char *buf)
1556 ** It does a binary search of the time_t space. Since time_t's are
1635 static time_t
1636 time2sub(struct tm *tmp, struct tm *(*funcp)(const time_t *, long, struct tm *),
1644 time_t lo;
1645 time_t hi;
1647 time_t newt;
1648 time_t t;
1719 ** Do a binary search (this works whatever time_t's type is).
1722 for (i = 0; i < (int) TYPE_BIT(time_t) - 1; ++i)
1805 static time_t
1806 time2(struct tm *tmp, struct tm * (*funcp)(const time_t *, long, struct tm *),
1809 time_t t;
1820 static time_t
1821 time1(struct tm *tmp, struct tm * (*funcp)(const time_t *, long, struct tm *),
1824 time_t t;
1894 time_t
1897 time_t ret;
1909 time_t
1917 time_t
1925 time_t
1950 leapcorr(time_t *timep)
1966 time_t
1967 time2posix(time_t t)
1973 time_t
1974 posix2time(time_t t)
1976 time_t x;
1977 time_t y;