Home
last modified time | relevance | path

Searched refs:expiry (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/net/http/
Dtransport_security_persister_unittest.cc57 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
64 state_.AddHSTS(kYahooDomain, expiry, include_subdomains); in TEST_F()
93 base::Time expiry = in TEST_F() local
99 state_.AddHSTS("www.example.com", expiry, include_subdomains); in TEST_F()
100 state_.AddHPKP("www.example.com", expiry, include_subdomains, in TEST_F()
106 expiry = in TEST_F()
110 state_.AddHSTS("www.example.net", expiry, include_subdomains); in TEST_F()
111 state_.AddHPKP("www.example.net", expiry, include_subdomains, in TEST_F()
188 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
190 state_.AddHSTS(kTestDomain, expiry, include_subdomains); in TEST_F()
[all …]
Dtransport_security_persister.cc156 serialized->SetDouble(kExpiry, domain_state.sts.expiry.ToDoubleT()); in SerializeData()
158 domain_state.pkp.expiry.ToDoubleT()); in SerializeData()
173 if (now < domain_state.pkp.expiry) { in SerializeData()
216 double expiry; in Deserialize() local
239 !parsed->GetDouble(kExpiry, &expiry)) { in Deserialize()
267 domain_state.sts.expiry = base::Time::FromDoubleT(expiry); in Deserialize()
268 domain_state.pkp.expiry = in Deserialize()
293 if (domain_state.sts.expiry <= current_time && in Deserialize()
294 domain_state.pkp.expiry <= current_time) { in Deserialize()
Dtransport_security_state_unittest.cc67 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
71 state.AddHSTS("yahoo.com", expiry, include_subdomains); in TEST_F()
79 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
83 state.AddHSTS("YAhoo.coM", expiry, include_subdomains); in TEST_F()
91 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
95 state.AddHSTS("yahoo.com", expiry, include_subdomains); in TEST_F()
103 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
107 state.AddHSTS("yahoo.com", expiry, include_subdomains); in TEST_F()
120 const base::Time expiry = current_time + base::TimeDelta::FromSeconds(1000); in TEST_F() local
124 state.AddHSTS("yahoo.com", expiry, include_subdomains); in TEST_F()
[all …]
Dtransport_security_state.h71 base::Time expiry; in NON_EXPORTED_BASE() member
88 base::Time expiry; in NON_EXPORTED_BASE() member
247 bool AddHSTS(const std::string& host, const base::Time& expiry, in NON_EXPORTED_BASE()
252 bool AddHPKP(const std::string& host, const base::Time& expiry, in NON_EXPORTED_BASE()
Dtransport_security_state.cc217 i->second.pkp.expiry = base::Time(); in DeleteAllDynamicDataSince()
635 domain_state.sts.expiry = now + max_age; in AddHSTSHeader()
660 domain_state.pkp.expiry = now + max_age; in AddHPKPHeader()
668 const base::Time& expiry, in AddHSTS() argument
683 domain_state.sts.expiry = expiry; in AddHSTS()
690 const base::Time& expiry, in AddHPKP() argument
706 domain_state.pkp.expiry = expiry; in AddHPKP()
817 if (current_time > j->second.sts.expiry && in GetDynamicDomainState()
818 current_time > j->second.pkp.expiry) { in GetDynamicDomainState()
Dhttp_auth_sspi_win.cc68 TimeStamp expiry; in AcquireExplicitCredentials() local
80 &expiry); // ptsExpiry in AcquireExplicitCredentials()
87 TimeStamp expiry; in AcquireDefaultCredentials() local
102 &expiry); // ptsExpiry in AcquireDefaultCredentials()
/external/chromium_org/chrome/browser/chromeos/attestation/
Dfake_certificate.cc52 bool GetFakeCertificate(const base::TimeDelta& expiry, in GetFakeCertificate() argument
55 base::Time valid_expiry = base::Time::Now() + expiry; in GetFakeCertificate()
Dfake_certificate.h20 bool GetFakeCertificate(const base::TimeDelta& expiry,
/external/chromium_org/chrome/test/chromedriver/
Dwindow_commands.cc63 double expiry, in Cookie()
66 : name(name), value(value), domain(domain), path(path), expiry(expiry), in Cookie()
73 double expiry; member
87 dict->SetDouble("expiry", cookie.expiry); in CreateDictionaryFrom()
112 double expiry = 0; in GetVisibleCookies() local
113 cookie_dict->GetDouble("expires", &expiry); in GetVisibleCookies()
114 expiry /= 1000; // Convert from millisecond to second. in GetVisibleCookies()
121 Cookie(name, value, domain, path, expiry, secure, session)); in GetVisibleCookies()
/external/libpcap/
Dpcap-dos.c225 struct timeval now, expiry = { 0,0 }; in pcap_read_one() local
232 expiry.tv_usec = now.tv_usec + 1000UL * p->opt.timeout; in pcap_read_one()
233 expiry.tv_sec = now.tv_sec; in pcap_read_one()
234 while (expiry.tv_usec >= 1000000L) in pcap_read_one()
236 expiry.tv_usec -= 1000000L; in pcap_read_one()
237 expiry.tv_sec++; in pcap_read_one()
309 if (timercmp(&now, &expiry, >)) in pcap_read_one()
/external/chromium_org/chrome/browser/net/
Dpredictor_unittest.cc719 const base::Time expiry = in TEST_F() local
722 state.AddHSTS(kHttpUrl.host(), expiry, false); in TEST_F()
744 const base::Time expiry = in TEST_F() local
747 state.AddHSTS(kHttpUrl.host(), expiry, false); in TEST_F()
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui.cc1168 static_state.sts.expiry.ToDoubleT()); in OnHSTSQuery()
1176 static_state.pkp.expiry.ToDoubleT()); in OnHSTSQuery()
1197 dynamic_state.sts.expiry.ToDoubleT()); in OnHSTSQuery()
1199 dynamic_state.pkp.expiry.ToDoubleT()); in OnHSTSQuery()
1241 base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); in OnHSTSAdd() local
1248 transport_security_state->AddHSTS(domain, expiry, sts_include_subdomains); in OnHSTSAdd()
1249 transport_security_state->AddHPKP(domain, expiry, pkp_include_subdomains, in OnHSTSAdd()
/external/chromium_org/net/websockets/
Dwebsocket_job_test.cc263 base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); in MockURLRequestContext() local
265 transport_security_state_.AddHSTS("upgrademe.com", expiry, in MockURLRequestContext()
/external/chromium_org/components/variations/proto/
Dstudy.proto20 // The expiry date of the study in Unix time format. (Seconds since midnight
/external/chromium_org/net/quic/crypto/
Dquic_crypto_server_config.cc276 const QuicWallTime expiry = now.Add(QuicTime::Delta::FromSeconds( in GenerateConfig() local
278 const uint64 expiry_seconds = expiry.ToUNIXSeconds(); in GenerateConfig()
/external/chromium_org/chrome/browser/captive_portal/
Dcaptive_portal_browsertest.cc780 base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); in AddHstsHost() local
782 transport_security_state->AddHSTS(host, expiry, include_subdomains); in AddHstsHost()
/external/chromium_org/chrome/browser/ui/cocoa/
Dconfirm_quit_panel_controller.mm286 // Wait for the time expiry to happen. Once past the hold threshold,
/external/chromium_org/net/url_request/
Durl_request_unittest.cc5041 EXPECT_NE(domain_state.sts.expiry, domain_state.pkp.expiry); in TEST_F()
5103 EXPECT_NE(domain_state.sts.expiry, domain_state.pkp.expiry); in TEST_F()
5143 EXPECT_NE(domain_state.sts.expiry, domain_state.pkp.expiry); in TEST_F()
6772 base::Time expiry = base::Time::Now() + base::TimeDelta::FromDays(1000); in TEST_F() local
6774 transport_security_state.AddHSTS("www.somewhere.com", expiry, in TEST_F()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch572 lease (also, lease length or expiry and client-id, if leasefile-ro is set).
/external/dnsmasq/
DCHANGELOG.archive1920 DNSMASQ_LEASE_LENGTH) or lease expiry time (in
1928 (HAVE_BROKEN_RTC) or lease expiry time (otherwise)