Home
last modified time | relevance | path

Searched refs:expires (Results 1 – 25 of 96) sorted by relevance

1234

/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
Djquery.cookie.js60 options.expires = -1;
62 var expires = '';
63 … if (options.expires && (typeof options.expires == 'number' || options.expires.toUTCString)) {
65 if (typeof options.expires == 'number') {
67 date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000));
69 date = options.expires;
71expires = '; expires=' + date.toUTCString(); // use expires attribute, max-age is not supported by…
76 … document.cookie = [name, '=', encodeURIComponent(value), expires, path, domain, secure].join('');
/external/nist-sip/java/gov/nist/javax/sip/header/
DMinExpires.java54 protected int expires; field in MinExpires
67 return Integer.toString(expires); in encodeBody()
78 return expires; in getExpires()
93 public void setExpires(int expires) throws InvalidArgumentException { in setExpires() argument
94 if (expires < 0) in setExpires()
95 throw new InvalidArgumentException("bad argument " + expires); in setExpires()
96 this.expires = expires; in setExpires()
DExpires.java54 protected int expires; field in Expires
71 return buffer.append(expires); in encodeBody()
86 return expires; in getExpires()
100 public void setExpires(int expires) throws InvalidArgumentException { in setExpires() argument
101 if (expires < 0) in setExpires()
102 throw new InvalidArgumentException("bad argument " + expires); in setExpires()
103 this.expires = expires; in setExpires()
DSubscriptionState.java52 protected int expires; field in SubscriptionState
60 expires = -1; in SubscriptionState()
71 public void setExpires(int expires) throws InvalidArgumentException { in setExpires() argument
72 if (expires < 0) in setExpires()
76 this.expires = expires; in setExpires()
86 return expires; in getExpires()
175 if (expires != -1) in encodeBody()
176 buffer.append(";expires=").append(expires); in encodeBody()
DHeaderFactoryImpl.java465 public ExpiresHeader createExpiresHeader(int expires) in createExpiresHeader() argument
467 if (expires < 0) in createExpiresHeader()
468 throw new InvalidArgumentException("bad value " + expires); in createExpiresHeader()
470 e.setExpires(expires); in createExpiresHeader()
618 public ExtensionHeader createMinSEHeader(int expires) in createMinSEHeader() argument
620 if (expires < 0) in createMinSEHeader()
621 throw new InvalidArgumentException("bad value " + expires); in createMinSEHeader()
623 e.setExpires(expires); in createMinSEHeader()
1641 public SessionExpiresHeader createSessionExpiresHeader(int expires) in createSessionExpiresHeader() argument
1643 if (expires < 0) in createSessionExpiresHeader()
[all …]
/external/toybox/toys/pending/
Ddumpleases.c30 uint32_t expires; member
59 exp = ntohl(lease_struct.expires) + written_time; in dumpleases_main()
66 unsigned expires = exp - current_time; in dumpleases_main() local
67 dt = expires / (24*60*60); expires %= (24*60*60); in dumpleases_main()
68 hr = expires / (60*60); expires %= (60*60); in dumpleases_main()
69 m = expires / 60; expires %= 60; in dumpleases_main()
71 xprintf("%02u:%02u:%02u\n", hr, m, (unsigned)expires); in dumpleases_main()
Ddhcpd.c190 uint32_t expires; member
200 uint32_t expires; member
1211 tmp_time = dls->expires; in write_leasefile()
1212 dls->expires -= curr; in write_leasefile()
1213 if ((int32_t) dls->expires < 0) goto skip; in write_leasefile()
1214 dls->expires = htonl(dls->expires); in write_leasefile()
1217 dls->expires = tmp_time; in write_leasefile()
1248 tmp_time = dls6->expires; in write_lease6file()
1249 dls6->expires -= curr; in write_lease6file()
1250 if ((int32_t) dls6->expires < 0) goto skip; in write_lease6file()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/extensions/
DMinSE.java38 public int expires; field in MinSE
51 String retval = Integer.toString(expires); // seems overkill - but Expires did this. in encodeBody()
78 return expires; in getExpires()
93 public void setExpires(int expires) throws InvalidArgumentException { in setExpires() argument
94 if (expires < 0) in setExpires()
95 throw new InvalidArgumentException("bad argument " + expires); in setExpires()
96 this.expires = expires; in setExpires()
DSessionExpires.java32 public int expires; field in SessionExpires
53 return expires; in getExpires()
68 public void setExpires(int expires) throws InvalidArgumentException { in setExpires() argument
69 if (expires < 0) in setExpires()
70 throw new InvalidArgumentException("bad argument " + expires); in setExpires()
71 this.expires = expires; in setExpires()
86 String retval = Integer.toString(expires); in encodeBody()
/external/curl/tests/data/
Dtest141523 Set-Cookie: test2value=test2; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
24 Set-Cookie: test3value=test3; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
25 Set-Cookie: test4value=test4; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
26 Set-Cookie: test5value=test5; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
27 Set-Cookie: test6value=test6; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
28 Set-Cookie: test7value=test7; expires=Friday, 01-Jan-2037 00:00:00 GMT; domain=example.com; path=/;
29 Set-Cookie: test8value=test8; expires=Monday, 13-Jun-1988 03:04:55 GMT; domain=example.com; path=/;
Dtest110418 Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
19 Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 2 11:56:27 GMT 2035;
39 Set-Cookie: test=true; domain=127.0.0.1; path=/; expires=Thu Jan 1 00:00:00 GMT 1970;
40 Set-Cookie: test2=true; domain=127.0.0.1; path=/; expires=Fri Feb 2 11:56:27 GMT 2035;
Dtest50618 Set-Cookie: test1=one; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
19 Set-Cookie: test2=two; domain=host.foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
20 Set-Cookie: test3=three; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
30 Set-Cookie: test4=four; domain=host.foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
31 Set-Cookie: test5=five; domain=host.foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
42 Set-Cookie: test4=overwritten4; domain=host.foo.com; expires=Sat May 5 GMT 11:56:27 2035
43 Set-Cookie: test1=overwritten1; domain=foo.com; expires=Thu Mar 3 GMT 11:56:27 2033
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
Dtest_signed_urls.py190 expires = 999999
191 policy = self.dist._canned_policy(url, expires)
205 self.assertEqual(expires, aws_epoch_time)
213 expires = 999999
214 policy = self.dist._custom_policy(url, expires=expires)
228 self.assertEqual(expires, aws_epoch_time)
308 expires = 999999
311 policy = self.dist._custom_policy(url, expires=expires,
328 self.assertEqual(expires, aws_epoch_time)
/external/dnsmasq/src/
Dlease.c96 lease->expires = (time_t)ei + now; in lease_init()
98 lease->expires = (time_t)0; in lease_init()
103 lease->expires = (time_t)ei; in lease_init()
191 ourprintf(&err, "%lu ", (unsigned long)lease->expires); in lease_update_file()
225 if (lease->expires != 0 && in lease_update_file()
226 (next_event == 0 || difftime(next_event, lease->expires + 10) > 0.0)) in lease_update_file()
227 next_event = lease->expires + 10; in lease_update_file()
254 cache_add_dhcp_entry(lease->fqdn, &lease->addr, lease->expires); in lease_update_dns()
257 cache_add_dhcp_entry(lease->hostname, &lease->addr, lease->expires); in lease_update_dns()
271 if ((lease->expires != 0 && difftime(now, lease->expires) > 0) || lease == target) in lease_prune()
[all …]
Dhelper.c44 time_t expires; member
155 sprintf(daemon->dhcp_buff2, "%lu ", (unsigned long)data.expires); in create_helper()
366 buf->expires = lease->expires; in queue_script()
368 buf->remaining_time = (unsigned int)difftime(lease->expires, now); in queue_script()
/external/webrtc/webrtc/base/
Drtccertificate.cc31 int64_t expires = ssl_certificate().CertificateExpirationTime(); in Expires() local
32 if (expires != -1) in Expires()
33 return static_cast<uint64_t>(expires) * kNumMillisecsPerSec; in Expires()
/external/curl/lib/
Dcookie.c307 if((co->expirestr || co->maxage) && co->expires < now) { in remove_expired()
569 co->expires = in Curl_cookie_add()
572 if(CURL_OFF_T_MAX - now < co->expires) in Curl_cookie_add()
574 co->expires = CURL_OFF_T_MAX; in Curl_cookie_add()
576 co->expires += now; in Curl_cookie_add()
581 co->expires = curl_getdate(co->expirestr, NULL); in Curl_cookie_add()
586 if(co->expires == 0) in Curl_cookie_add()
587 co->expires = 1; in Curl_cookie_add()
588 else if(co->expires < 0) in Curl_cookie_add()
589 co->expires = 0; in Curl_cookie_add()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DExpiresParser.java64 Expires expires = new Expires(); in parse() local
76 expires.setExpires(delta); in parse()
77 return expires; in parse()
/external/chromium-trace/catapult/third_party/Paste/paste/
Dfileapp.py62 self.expires = None
79 self.expires = CACHE_CONTROL.apply(self.headers, **kwargs) or None
113 if self.expires is not None:
114 EXPIRES.update(headers, delta=self.expires)
320 self.expires = None
325 self.expires = CACHE_CONTROL.apply(self.headers, **kwargs) or None
354 app.expires = self.expires
Dhttpheaders.py719 expires = 0
730 expires = max_age
744 return (result, expires)
747 (result, expires) = self._compose(**kwargs)
752 (result, expires) = self._compose(**kwargs)
753 if expires is not None:
754 EXPIRES.update(collection, delta=expires)
756 return expires
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DCacheStrategy.java105 private Date expires; field in CacheStrategy.Factory
139 expires = HttpDate.parse(value); in Factory()
249 } else if (expires != null) { in computeFreshnessLifetime()
253 long delta = expires.getTime() - servedMillis; in computeFreshnessLifetime()
292 return cacheResponse.cacheControl().maxAgeSeconds() == -1 && expires == null; in isFreshnessLifetimeHeuristic()
/external/libvncserver/webclients/novnc/include/
Dwebutil.js101 var date, expires;
105 expires = "; expires=" + date.toGMTString();
107 expires = "";
116 document.cookie = name + "=" + value + expires + "; path=/" + secure;
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dcookies.py251 expires = cookie_property(b'expires', serialize_cookie_date) variable in Morsel
273 expires = self[b'expires']
274 if expires:
275 add(b'expires=' + expires)
443 expires = 'Wed, 31-Dec-97 23:59:59 GMT'
448 expires = max_age
450 expires = max_age
464 if expires is not None:
465 morsel.expires = expires
/external/chromium-trace/catapult/perf_insights/third_party/cloudstorage/
Drest_api.py84 expires = ndb.FloatProperty() variable in _AE_TokenStorage_
209 if refresh or ts is None or ts.expires < (
214 ts = _AE_TokenStorage_(id=key, token=token, expires=expires_at)
/external/chromium-trace/catapult/third_party/Paste/paste/debug/
Dtestserver.py38 self.expires = time.time() + self.timeout
47 if now > self.expires and self.timeout:

1234