Home
last modified time | relevance | path

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

1234

/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()
DSessionExpiresHeader.java19 public void setExpires(int expires) throws InvalidArgumentException; in setExpires() argument
/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
Dtest6120 Set-Cookie: test=yes; httponly; domain=foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
21 SET-COOKIE: test2=yes; domain=host.foo.com; expires=Fri Feb 2 11:56:27 GMT 2035
Dtest3149 Set-Cookie: nodomain=value; expires=Fri Feb 2 11:56:27 GMT 2035
51 Set-Cookie: test=yes; domain=foo.com; expires=Sat Feb 2 11:56:27 GMT 2030
52 Set-Cookie: test2=yes; domain=se; expires=Sat Feb 2 11:56:27 GMT 2030
/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/curl/lib/
Dcookie.c311 if(co->expires && co->expires < now) { in remove_expired()
587 co->expires = in Curl_cookie_add()
590 if(CURL_OFF_T_MAX - now < co->expires) in Curl_cookie_add()
592 co->expires = CURL_OFF_T_MAX; in Curl_cookie_add()
594 co->expires += now; in Curl_cookie_add()
599 co->expires = curl_getdate(co->expirestr, NULL); in Curl_cookie_add()
604 if(co->expires == 0) in Curl_cookie_add()
605 co->expires = 1; in Curl_cookie_add()
606 else if(co->expires < 0) in Curl_cookie_add()
607 co->expires = 0; in Curl_cookie_add()
[all …]
Dcookie.h35 curl_off_t expires; /* expires = <this> */ member
/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/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()
DSubscriptionStateParser.java101 int expires = Integer.parseInt(value); in parse() local
102 subscriptionState.setExpires(expires); in parse()
/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/nist-sip/java/javax/sip/header/
DExpiresHeader.java9 void setExpires(int expires) throws InvalidArgumentException; in setExpires() argument
DContactHeader.java9 void setExpires(int expires) throws InvalidArgumentException; in setExpires() argument

1234