Lines Matching refs:expires
117 curl_off_t expires) in hsts_create() argument
137 sts->expires = expires; in hsts_create()
147 curl_off_t expires = 0; in Curl_hsts_parse() local
177 offt = curlx_strtoofft(p, &endp, 10, &expires); in Curl_hsts_parse()
179 expires = CURL_OFF_T_MAX; in Curl_hsts_parse()
214 if(!expires) { in Curl_hsts_parse()
224 if(CURL_OFF_T_MAX - now < expires) in Curl_hsts_parse()
226 expires = CURL_OFF_T_MAX; in Curl_hsts_parse()
228 expires += now; in Curl_hsts_parse()
234 sts->expires = expires; in Curl_hsts_parse()
238 return hsts_create(h, hostname, subdomains, expires); in Curl_hsts_parse()
271 if(sts->expires <= now) { in Curl_hsts()
310 if(sts->expires != TIME_T_MAX) { in hsts_push()
311 result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_push()
334 if(sts->expires != TIME_T_MAX) { in hsts_out()
335 CURLcode result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_out()
428 time_t expires = strcmp(date, UNLIMITED) ? Curl_getdate_capped(date) : in hsts_add() local
441 result = hsts_create(h, p, subdomain, expires); in hsts_add()
444 if(expires > e->expires) in hsts_add()
445 e->expires = expires; in hsts_add()
474 time_t expires; in hsts_pull() local
480 expires = Curl_getdate_capped(e.expire); in hsts_pull()
482 expires = TIME_T_MAX; /* the end of time */ in hsts_pull()
486 expires); in hsts_pull()