Lines Matching defs:timep
1551 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname,
1557 const time_t t = *timep;
1561 return gmtsub(gmtptr, timep, 0, tmp);
1647 localtime_rz(struct state *restrict sp, time_t const *restrict timep,
1650 return localsub(sp, timep, 0, tmp);
1656 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname)
1667 tmp = localsub(lclptr, timep, setname, tmp);
1680 localtime(const time_t *timep)
1703 return localtime_tzset(timep, p_tm, true);
1707 localtime_r(const time_t *restrict timep, struct tm *restrict tmp)
1709 return localtime_tzset(timep, tmp, false);
1717 gmtsub(ATTRIBUTE_MAYBE_UNUSED struct state const *sp, time_t const *timep,
1722 result = timesub(timep, offset, gmtptr, tmp);
1740 gmtime_r(time_t const *restrict timep, struct tm *restrict tmp)
1743 return gmtsub(gmtptr, timep, 0, tmp);
1754 gmtime(const time_t *timep)
1777 return gmtime_r(timep, p_tm);
1786 offtime_r(time_t const *restrict timep, long offset, struct tm *restrict tmp)
1789 return gmtsub(gmtptr, timep, offset, tmp);
1800 offtime(const time_t *timep, long offset)
1823 return offtime_r(timep, offset, p_tm);
1848 timesub(const time_t *timep, int_fast32_t offset,
1868 if (*timep >= lp->ls_trans) {
1871 secs_since_posleap = *timep - lp->ls_trans;
1878 tdays = *timep / SECSPERDAY;
1879 rem = *timep % SECSPERDAY;