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,
1329 localsub(const time_t *const timep, const long offset, struct tm *const tmp) in localsub() argument
1335 const time_t t = *timep; in localsub()
1340 return gmtsub(timep, offset, tmp); in localsub()
1425 localtime(const time_t *const timep) in localtime() argument
1444 p_tm = localsub(timep, 0L, p_tm); in localtime()
1448 p_tm = localsub(timep, 0L, &tm); in localtime()
1458 localtime_r(const time_t *const timep, struct tm *tmp) in localtime_r() argument
1462 tmp = localsub(timep, 0L, tmp); in localtime_r()
1483 gmtsub(timep, offset, tmp) in gmtsub() argument
1484 const time_t * const timep; in gmtsub()
1491 result = timesub(timep, offset, gmtptr, tmp);
1522 gmtime(const time_t *const timep) in gmtime() argument
1543 gmtsub(timep, 0L, p_tm); in gmtime()
1547 gmtsub(timep, 0L, &tm); in gmtime()
1557 gmtime_r(const time_t *const timep, struct tm *tmp) in gmtime_r() argument
1559 return gmtsub(timep, 0L, tmp); in gmtime_r()
1565 offtime(const time_t *const timep, const long offset) in offtime() argument
1567 return gmtsub(timep, offset, &tm); in offtime()
1586 timesub(timep, offset, sp, tmp) in timesub() argument
1587 const time_t * const timep; in timesub()
1612 if (*timep >= lp->ls_trans) {
1613 if (*timep == lp->ls_trans) {
1631 tdays = *timep / SECSPERDAY;
1632 rem = *timep - tdays * SECSPERDAY;
1720 ctime(const time_t *const timep) in ctime() argument
1728 return asctime(localtime(timep)); in ctime()
1732 ctime_r(const time_t *const timep, char *buf) in ctime_r() argument
1736 return asctime_r(localtime_r(timep, &mytm), buf); in ctime_r()
2174 leapcorr(time_t *timep) in leapcorr() argument
2184 if (*timep >= lp->ls_trans) in leapcorr()