Lines Matching refs:timep
1496 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname,
1502 const time_t t = *timep;
1506 return gmtsub(gmtptr, timep, 0, tmp);
1592 localtime_rz(struct state *restrict sp, time_t const *restrict timep,
1595 return localsub(sp, timep, 0, tmp);
1601 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname)
1610 tmp = localsub(lclptr, timep, setname, tmp);
1616 localtime(const time_t *timep)
1621 return localtime_tzset(timep, &tm, true);
1625 localtime_r(const time_t *restrict timep, struct tm *restrict tmp)
1627 return localtime_tzset(timep, tmp, false);
1635 gmtsub(ATTRIBUTE_MAYBE_UNUSED struct state const *sp, time_t const *timep,
1640 result = timesub(timep, offset, gmtptr, tmp);
1658 gmtime_r(time_t const *restrict timep, struct tm *restrict tmp)
1661 return gmtsub(gmtptr, timep, 0, tmp);
1665 gmtime(const time_t *timep)
1670 return gmtime_r(timep, &tm);
1679 offtime(const time_t *timep, long offset)
1686 return gmtsub(gmtptr, timep, offset, &tm);
1711 timesub(const time_t *timep, int_fast32_t offset,
1731 if (*timep >= lp->ls_trans) {
1734 secs_since_posleap = *timep - lp->ls_trans;
1741 tdays = *timep / SECSPERDAY;
1742 rem = *timep % SECSPERDAY;