Lines Matching refs:timep
1402 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, in localsub() argument
1408 const time_t t = *timep; in localsub()
1412 return gmtsub(gmtptr, timep, 0, tmp); in localsub()
1483 localtime_rz(struct state *sp, time_t const *timep, struct tm *tmp) in localtime_rz() argument
1485 return localsub(sp, timep, 0, tmp); in localtime_rz()
1491 localtime_tzset(time_t const *timep, struct tm *tmp) in localtime_tzset() argument
1506 tmp = localsub(lclptr, timep, true, tmp); in localtime_tzset()
1512 localtime(const time_t *timep) in localtime() argument
1514 return localtime_tzset(timep, &tm); in localtime()
1518 localtime_r(const time_t *timep, struct tm *tmp) in localtime_r() argument
1520 return localtime_tzset(timep, tmp); in localtime_r()
1528 gmtsub(struct state const *sp, time_t const *timep, int_fast32_t offset, in gmtsub() argument
1533 result = timesub(timep, offset, gmtptr, tmp); in gmtsub()
1551 gmtime_r(const time_t *timep, struct tm *tmp) in gmtime_r() argument
1554 return gmtsub(gmtptr, timep, 0, tmp); in gmtime_r()
1558 gmtime(const time_t *timep) in gmtime() argument
1560 return gmtime_r(timep, &tm); in gmtime()
1566 offtime(const time_t *timep, long offset) in offtime() argument
1569 return gmtsub(gmtptr, timep, offset, &tm); in offtime()
1587 timesub(const time_t *timep, int_fast32_t offset, in timesub() argument
1605 if (*timep >= lp->ls_trans) { in timesub()
1606 if (*timep == lp->ls_trans) { in timesub()
1624 tdays = *timep / SECSPERDAY; in timesub()
1625 rem = *timep % SECSPERDAY; in timesub()
1711 ctime(const time_t *timep) in ctime() argument
1719 struct tm *tmp = localtime(timep); in ctime()
1724 ctime_r(const time_t *timep, char *buf) in ctime_r() argument
1727 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r()