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 localsub(timep, 0L, p_tm);
1461 localsub(timep, 0L, &tm);
1471 localtime_r(const time_t *const timep, struct tm *tmp)
1475 localsub(timep, 0L, tmp);
1496 gmtsub(timep, offset, tmp)
1497 const time_t * const timep;
1504 result = timesub(timep, offset, gmtptr, tmp);
1535 gmtime(const time_t *const timep)
1556 gmtsub(timep, 0L, p_tm);
1560 gmtsub(timep, 0L, &tm);
1570 gmtime_r(const time_t *const timep, struct tm *tmp)
1572 return gmtsub(timep, 0L, tmp);
1578 offtime(const time_t *const timep, const long offset)
1580 return gmtsub(timep, offset, &tm);
1599 timesub(timep, offset, sp, tmp)
1600 const time_t * const timep;
1625 if (*timep >= lp->ls_trans) {
1626 if (*timep == lp->ls_trans) {
1644 tdays = *timep / SECSPERDAY;
1645 rem = *timep - tdays * SECSPERDAY;
1733 ctime(const time_t *const timep)
1741 return asctime(localtime(timep));
1745 ctime_r(const time_t *const timep, char *buf)
1749 return asctime_r(localtime_r(timep, &mytm), buf);
2187 leapcorr(time_t *timep)
2197 if (*timep >= lp->ls_trans)