Lines Matching refs:xt
81 static void explode_time(apr_time_exp_t *xt, apr_time_t t,
86 xt->tm_usec = t % APR_USEC_PER_SEC;
100 xt->tm_sec = tm.tm_sec;
101 xt->tm_min = tm.tm_min;
102 xt->tm_hour = tm.tm_hour;
103 xt->tm_mday = tm.tm_mday;
104 xt->tm_mon = tm.tm_mon;
105 xt->tm_year = tm.tm_year;
106 xt->tm_wday = tm.tm_wday;
107 xt->tm_yday = tm.tm_yday;
108 xt->tm_isdst = tm.tm_isdst;
109 xt->tm_gmtoff = get_offset(&tm);
138 APR_DECLARE(apr_status_t) apr_time_exp_get(apr_time_t *t, apr_time_exp_t *xt)
140 apr_time_t year = xt->tm_year;
147 if (xt->tm_mon < 2)
153 days += dayoffset[xt->tm_mon] + xt->tm_mday - 1;
155 days = ((days * 24 + xt->tm_hour) * 60 + xt->tm_min) * 60 + xt->tm_sec;
160 *t = days * APR_USEC_PER_SEC + xt->tm_usec;
165 apr_time_exp_t *xt)
167 apr_status_t status = apr_time_exp_get(t, xt);
169 *t -= (apr_time_t) xt->tm_gmtoff * APR_USEC_PER_SEC;