Lines Matching refs: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) in localsub() argument
1347 const time_t t = *timep; in localsub()
1352 return gmtsub(timep, offset, tmp); in localsub()
1437 localtime(const time_t *const timep) in localtime() argument
1456 p_tm = localsub(timep, 0L, p_tm); in localtime()
1460 p_tm = localsub(timep, 0L, &tm); in localtime()
1470 localtime_r(const time_t *const timep, struct tm *tmp) in localtime_r() argument
1474 tmp = localsub(timep, 0L, tmp); in localtime_r()
1495 gmtsub(timep, offset, tmp) in gmtsub() argument
1496 const time_t * const timep; in gmtsub()
1503 result = timesub(timep, offset, gmtptr, tmp);
1534 gmtime(const time_t *const timep) in gmtime() argument
1555 gmtsub(timep, 0L, p_tm); in gmtime()
1559 gmtsub(timep, 0L, &tm); in gmtime()
1569 gmtime_r(const time_t *const timep, struct tm *tmp) in gmtime_r() argument
1571 return gmtsub(timep, 0L, tmp); in gmtime_r()
1577 offtime(const time_t *const timep, const long offset) in offtime() argument
1579 return gmtsub(timep, offset, &tm); in offtime()
1598 timesub(timep, offset, sp, tmp) in timesub() argument
1599 const time_t * const timep; in timesub()
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) in ctime() argument
1740 return asctime(localtime(timep)); in ctime()
1744 ctime_r(const time_t *const timep, char *buf) in ctime_r() argument
1748 return asctime_r(localtime_r(timep, &mytm), buf); in ctime_r()
2186 leapcorr(time_t *timep) in leapcorr() argument
2196 if (*timep >= lp->ls_trans) in leapcorr()