Lines Matching refs:expires
113 curl_off_t expires) in hsts_create() argument
136 sts->expires = expires; in hsts_create()
147 curl_off_t expires = 0; in Curl_hsts_parse() local
182 offt = curlx_strtoofft(p, &endp, 10, &expires); in Curl_hsts_parse()
184 expires = CURL_OFF_T_MAX; in Curl_hsts_parse()
219 if(!expires) { in Curl_hsts_parse()
229 if(CURL_OFF_T_MAX - now < expires) in Curl_hsts_parse()
231 expires = CURL_OFF_T_MAX; in Curl_hsts_parse()
233 expires += now; in Curl_hsts_parse()
239 sts->expires = expires; in Curl_hsts_parse()
243 return hsts_create(h, hostname, subdomains, expires); in Curl_hsts_parse()
275 if(sts->expires <= now) { in Curl_hsts()
317 if(sts->expires != TIME_T_MAX) { in hsts_push()
318 result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_push()
341 if(sts->expires != TIME_T_MAX) { in hsts_out()
342 CURLcode result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_out()
435 time_t expires = strcmp(date, UNLIMITED) ? Curl_getdate_capped(date) : in hsts_add() local
448 result = hsts_create(h, p, subdomain, expires); in hsts_add()
451 if(expires > e->expires) in hsts_add()
452 e->expires = expires; in hsts_add()
481 time_t expires; in hsts_pull() local
488 expires = Curl_getdate_capped(e.expire); in hsts_pull()
490 expires = TIME_T_MAX; /* the end of time */ in hsts_pull()
494 expires); in hsts_pull()