Lines Matching defs:timep
185 static struct tm * gmtsub(const time_t * timep, long offset,
187 static struct tm * localsub(const time_t * timep, long offset,
209 static struct tm * timesub(const time_t * timep, long offset,
1341 localsub(const time_t *const timep, const long offset, struct tm *const tmp)
1347 const time_t t = *timep;
1352 return gmtsub(timep, offset, tmp);
1437 localtime(const time_t *const timep)
1456 p_tm = localsub(timep, 0L, p_tm);
1460 p_tm = localsub(timep, 0L, &tm);
1470 localtime_r(const time_t *const timep, struct tm *tmp)
1474 tmp = localsub(timep, 0L, tmp);
1495 gmtsub(timep, offset, tmp)
1496 const time_t * const timep;
1503 result = timesub(timep, offset, gmtptr, tmp);
1534 gmtime(const time_t *const timep)
1555 gmtsub(timep, 0L, p_tm);
1559 gmtsub(timep, 0L, &tm);
1569 gmtime_r(const time_t *const timep, struct tm *tmp)
1571 return gmtsub(timep, 0L, tmp);
1577 offtime(const time_t *const timep, const long offset)
1579 return gmtsub(timep, offset, &tm);
1598 timesub(timep, offset, sp, tmp)
1599 const time_t * const timep;
1624 if (*timep >= lp->ls_trans) {
1625 if (*timep == lp->ls_trans) {
1643 tdays = *timep / SECSPERDAY;
1644 rem = *timep - tdays * SECSPERDAY;
1732 ctime(const time_t *const timep)
1740 return asctime(localtime(timep));
1744 ctime_r(const time_t *const timep, char *buf)
1748 return asctime_r(localtime_r(timep, &mytm), buf);
2186 leapcorr(time_t *timep)
2196 if (*timep >= lp->ls_trans)