Lines Matching defs:timep
1693 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname,
1699 const time_t t = *timep;
1703 return gmtsub(gmtptr, timep, 0, tmp);
1796 localtime_rz(struct state *__restrict sp, time_t const *__restrict timep,
1799 return localsub(sp, timep, 0, tmp);
1804 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname)
1813 tmp = localsub(__lclptr, timep, setname, tmp);
1819 localtime(const time_t *timep)
1824 return localtime_tzset(timep, &tm, true);
1828 localtime_r(const time_t *__restrict timep, struct tm *__restrict tmp)
1830 return localtime_tzset(timep, tmp, false);
1839 gmtsub(ATTRIBUTE_MAYBE_UNUSED struct state const *sp, time_t const *timep,
1844 result = timesub(timep, offset, gmtptr, tmp);
1865 gmtime_r(time_t const *__restrict timep, struct tm *__restrict tmp)
1868 return gmtsub(NULL, timep, 0, tmp);
1872 gmtime(const time_t *timep)
1877 return gmtime_r(timep, &tm);
1886 offtime(const time_t *timep, long offset)
1893 return gmtsub(gmtptr, timep, (int_fast32_t)offset, &tm);
1897 offtime_r(const time_t *timep, long offset, struct tm *tmp)
1900 return gmtsub(NULL, timep, (int_fast32_t)offset, tmp);
1926 timesub(const time_t *timep, int_fast32_t offset,
1946 if (*timep >= lp->ls_trans) {
1949 secs_since_posleap = *timep - lp->ls_trans;
1956 tdays = (time_t)(*timep / SECSPERDAY);
1957 rem = (int)(*timep % SECSPERDAY);