Lines Matching refs:time_t
56 /* Complex computations to determine the min/max of time_t depending
61 static const time_t TIME_T_MAX =
62 TYPE_INTEGRAL(time_t) ?
63 ( TYPE_SIGNED(time_t) ?
64 ~((time_t)1 << (TYPE_BIT(time_t)-1))
66 ~(time_t)0
68 : /* if time_t is a floating point number */
69 ( sizeof(time_t) > sizeof(float) ? (time_t)DBL_MAX : (time_t)FLT_MAX );
71 static const time_t TIME_T_MIN =
72 TYPE_INTEGRAL(time_t) ?
73 ( TYPE_SIGNED(time_t) ?
74 ((time_t)1 << (TYPE_BIT(time_t)-1))
79 ( sizeof(time_t) > sizeof(float) ? (time_t)DBL_MIN : (time_t)FLT_MIN );
128 time_t ls_trans; /* transition time */
148 time_t ats[TZ_MAX_TIMES];
173 static time_t detzcode64 P((const char * codep));
174 static int differ_by_repeat P((time_t t1, time_t t0));
183 static struct tm * gmtsub P((const time_t * timep, long offset,
185 static struct tm * localsub P((const time_t * timep, long offset,
195 static time_t time1 P((struct tm * tmp,
196 struct tm * (*funcp) P((const time_t *,
199 static time_t time2 P((struct tm *tmp,
200 struct tm * (*funcp) P((const time_t *,
203 static time_t time2sub P((struct tm *tmp,
204 struct tm * (*funcp) P((const time_t*, long, struct tm*,const struct state *sp)),
207 static struct tm * timesub P((const time_t * timep, long offset,
211 static time_t transtime P((time_t janfirst, int year,
261 time_t timezone = 0;
266 time_t altzone = 0;
282 static time_t
286 register time_t result;
297 const time_t t1;
298 const time_t t0;
300 if (TYPE_INTEGRAL(time_t) &&
301 TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS)
538 ** signed time_t system but using a data file with
544 if (TYPE_SIGNED(time_t)) {
572 ** If this is a narrow integer time_t system, we're done.
574 if (stored >= (int) sizeof(time_ttime_t))
832 static time_t
834 const time_t janfirst;
840 register time_t value;
939 register time_t * atp;
999 register time_t janfirst;
1000 time_t starttime;
1001 time_t endtime;
1028 time_t newfirst;
1182 const time_t * const timep;
1190 const time_t t = *timep;
1198 time_t newt = t;
1199 register time_t seconds;
1200 register time_t tcycles;
1223 register time_t newy;
1279 const time_t * const timep;
1292 localtime_tz(const time_t * const timep, struct tm * tmp, const char* tz)
1309 const time_t * const timep;
1350 const time_t * const timep;
1364 const time_t * const timep;
1377 const time_t * const timep;
1401 const time_t * const timep;
1407 register time_t tdays;
1449 register time_t tdelta;
1464 tdays -= ((time_t) newy - y) * DAYSPERNYEAR;
1537 const time_t * const timep;
1553 const time_t * const timep;
1566 ** It does a binary search of the time_t space. Since time_t's are
1659 static time_t
1662 struct tm * (* const funcp) P((const time_t*, long, struct tm*,const struct state *sp));
1672 register time_t lo;
1673 register time_t hi;
1675 time_t newt;
1676 time_t t;
1747 ** Do a binary search (this works whatever time_t's type is).
1749 if (!TYPE_SIGNED(time_t)) {
1752 } else if (!TYPE_INTEGRAL(time_t)) {
1753 if (sizeof(time_t) > sizeof(float))
1754 hi = (time_t) DBL_MAX;
1755 else hi = (time_t) FLT_MAX;
1759 for (i = 0; i < (int) TYPE_BIT(time_t) - 1; ++i)
1844 static time_t
1847 struct tm * (* const funcp) P((const time_t*, long, struct tm*,
1853 time_t t;
1864 static time_t
1867 struct tm * (* const funcp) P((const time_t *, long, struct tm *, const struct state* sp));
1871 register time_t t;
1941 time_t