Lines Matching refs:expires
406 if(co->expires && co->expires < now) { in remove_expired()
421 if(co->expires && co->expires < cookies->next_expiration) in remove_expired()
422 cookies->next_expiration = co->expires; in remove_expired()
735 &co->expires); in Curl_cookie_add()
739 co->expires = CURL_OFF_T_MAX; in Curl_cookie_add()
743 co->expires = 1; in Curl_cookie_add()
746 if(!co->expires) in Curl_cookie_add()
748 co->expires = 1; in Curl_cookie_add()
749 else if(CURL_OFF_T_MAX - now < co->expires) in Curl_cookie_add()
751 co->expires = CURL_OFF_T_MAX; in Curl_cookie_add()
753 co->expires += now; in Curl_cookie_add()
759 if(!co->expires && (vlen < sizeof(date))) { in Curl_cookie_add()
769 co->expires = Curl_getdate_capped(date); in Curl_cookie_add()
776 if(co->expires == 0) in Curl_cookie_add()
777 co->expires = 1; in Curl_cookie_add()
778 else if(co->expires < 0) in Curl_cookie_add()
779 co->expires = 0; in Curl_cookie_add()
943 if(curlx_strtoofft(ptr, NULL, 10, &co->expires)) in Curl_cookie_add()
1007 !co->expires) { /* this is a session cookie since it does not expire! */ in Curl_cookie_add()
1175 co->domain, co->path, co->expires); in Curl_cookie_add()
1190 if(co->expires && (co->expires < c->next_expiration)) in Curl_cookie_add()
1191 c->next_expiration = co->expires; in Curl_cookie_add()
1355 d->expires = src->expires; in dup_cookie()
1542 if(!curr->expires) { in Curl_cookie_clearsess()
1605 co->expires, in get_netscape_format()