Home
last modified time | relevance | path

Searched refs:max_age (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/net/http/
Dhttp_security_headers_unittest.cc54 base::TimeDelta max_age; in TEST_F() local
58 ParseHSTSHeader(std::string(), &max_age, &include_subdomains)); in TEST_F()
59 EXPECT_FALSE(ParseHSTSHeader(" ", &max_age, &include_subdomains)); in TEST_F()
60 EXPECT_FALSE(ParseHSTSHeader("abc", &max_age, &include_subdomains)); in TEST_F()
61 EXPECT_FALSE(ParseHSTSHeader(" abc", &max_age, &include_subdomains)); in TEST_F()
62 EXPECT_FALSE(ParseHSTSHeader(" abc ", &max_age, &include_subdomains)); in TEST_F()
63 EXPECT_FALSE(ParseHSTSHeader("max-age", &max_age, &include_subdomains)); in TEST_F()
64 EXPECT_FALSE(ParseHSTSHeader(" max-age", &max_age, in TEST_F()
66 EXPECT_FALSE(ParseHSTSHeader(" max-age ", &max_age, in TEST_F()
68 EXPECT_FALSE(ParseHSTSHeader("max-age=", &max_age, &include_subdomains)); in TEST_F()
[all …]
Dhttp_security_headers.h30 base::TimeDelta* max_age,
53 base::TimeDelta* max_age,
Dhttp_security_headers.cc168 base::TimeDelta* max_age, in ParseHSTSHeader() argument
260 *max_age = base::TimeDelta::FromSeconds(max_age_candidate); in ParseHSTSHeader()
278 base::TimeDelta* max_age, in ParseHPKPHeader() argument
324 *max_age = base::TimeDelta::FromSeconds(max_age_candidate); in ParseHPKPHeader()
Dtransport_security_state.cc646 base::TimeDelta max_age; in AddHSTSHeader() local
649 if (ParseHSTSHeader(value, &max_age, &domain_state.sts.include_subdomains)) { in AddHSTSHeader()
651 if (max_age.InSeconds() == 0) in AddHSTSHeader()
656 domain_state.sts.expiry = now + max_age; in AddHSTSHeader()
669 base::TimeDelta max_age; in AddHPKPHeader() local
674 &max_age, in AddHPKPHeader()
678 if (max_age.InSeconds() == 0) in AddHPKPHeader()
681 domain_state.pkp.expiry = now + max_age; in AddHPKPHeader()
/external/wpa_supplicant_8/src/wps/
Dwps_er_ssdp.c28 int max_age = -1; in wps_er_ssdp_rx() local
88 max_age = atoi(pos2); in wps_er_ssdp_rx()
118 if (max_age < 1) in wps_er_ssdp_rx()
123 location, inet_ntoa(addr.sin_addr), max_age); in wps_er_ssdp_rx()
125 wps_er_ap_add(er, uuid, &addr.sin_addr, location, max_age); in wps_er_ssdp_rx()
Dwps_er.h103 const char *location, int max_age);
/external/chromium_org/chrome/browser/extensions/api/dial/
Ddial_device_data.h56 int max_age() const { return max_age_; } in max_age() function
57 void set_max_age(int max_age) { max_age_ = max_age; } in set_max_age() argument
Ddial_device_data_unittest.cc19 EXPECT_EQ(first.max_age(), second.max_age()); in ExpectEqual()
70 EXPECT_EQ(200, original_2.max_age()); in TEST()
83 EXPECT_EQ(200, original_3.max_age()); in TEST()
/external/chromium_org/ppapi/c/private/
Dppp_flash_browser_operations.h112 uint64_t max_age);
204 uint64_t max_age);
211 uint64_t max_age);
/external/chromium_org/content/ppapi_plugin/
Dbroker_process_dispatcher.cc146 uint64 max_age) { in OnClearSiteData() argument
148 request_id, ClearSiteData(plugin_data_path, site, flags, max_age))); in OnClearSiteData()
230 uint64 max_age) { in ClearSiteData() argument
234 data_str.c_str(), site.empty() ? NULL : site.c_str(), flags, max_age); in ClearSiteData()
242 data_str.c_str(), site.empty() ? NULL : site.c_str(), flags, max_age); in ClearSiteData()
248 data_str.c_str(), site.empty() ? NULL : site.c_str(), flags, max_age); in ClearSiteData()
Dbroker_process_dispatcher.h44 uint64 max_age);
71 uint64 max_age);
/external/chromium_org/content/browser/
Dplugin_data_remover_impl.cc202 IPC::Message* CreatePpapiClearSiteDataMsg(uint64 max_age) { in CreatePpapiClearSiteDataMsg() argument
217 kClearAllData, max_age); in CreatePpapiClearSiteDataMsg()
236 uint64 max_age = begin_time_.is_null() ? in ConnectToChannel() local
242 msg = CreatePpapiClearSiteDataMsg(max_age); in ConnectToChannel()
245 std::string(), kClearAllData, max_age); in ConnectToChannel()
/external/chromium_org/chrome/browser/
Dpepper_flash_settings_manager.cc64 uint64 max_age);
99 max_age(0) { in PendingRequest()
119 uint64 max_age; member
148 uint64 max_age);
302 uint64 max_age) { in ClearSiteData() argument
308 site, flags, max_age)); in ClearSiteData()
393 iter->max_age); in ConnectToChannel()
623 uint64 max_age) { in ClearSiteDataOnIOThread() argument
634 request.max_age = max_age; in ClearSiteDataOnIOThread()
645 request_id, plugin_data_path_, site, flags, max_age); in ClearSiteDataOnIOThread()
[all …]
Dpepper_flash_settings_manager.h103 uint32 ClearSiteData(const std::string& site, uint64 flags, uint64 max_age);
/external/chromium_org/chrome/browser/net/
Devicted_domain_cookie_counter_unittest.cc60 const char* url, const std::string& cookie_line, int64 max_age);
137 const char* url, const std::string& cookie_line, int64 max_age) { in CreateNewCookie() argument
139 if (max_age) in CreateNewCookie()
140 line.append(";max-age=" + base::Int64ToString(max_age)); in CreateNewCookie()
/external/chromium_org/remoting/client/
Dclient_status_logger.cc123 base::TimeDelta max_age = base::TimeDelta::FromDays(kMaxSessionIdAgeDays); in MaybeExpireSessionId() local
124 if (base::TimeTicks::Now() - session_id_generation_time_ > max_age) { in MaybeExpireSessionId()
/external/tcpdump/
Dprint-stp.c46 u_int8_t max_age[2]; member
124 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_config_bpdu()
272 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_mstp_bpdu()
/external/chromium_org/content/plugin/
Dplugin_channel.cc318 uint64 max_age) { in OnClearSiteData() argument
327 err = plugin_lib->NP_ClearSiteData(site_str, flags, max_age); in OnClearSiteData()
332 << max_age << ") returned " << err; in OnClearSiteData()
Dplugin_channel.h83 uint64 max_age);
/external/chromium_org/net/cookies/
Dcanonical_cookie.cc187 uint64 max_age = 0; in CanonExpiration() local
194 pc.MaxAge().c_str(), " %" PRIu64, &max_age) == 1) { in CanonExpiration()
195 return current + TimeDelta::FromSeconds(max_age); in CanonExpiration()
/external/chromium_org/content/child/npapi/
Dplugin_lib.h77 NPError NP_ClearSiteData(const char* site, uint64 flags, uint64 max_age);
Dplugin_lib.cc133 uint64 max_age) { in NP_ClearSiteData() argument
136 return plugin_funcs_.clearsitedata(site, flags, max_age); in NP_ClearSiteData()
/external/chromium_org/net/spdy/
Dspdy_framer.h112 max_age = 0; in Reset()
125 uint32 max_age; member
282 uint32 max_age, in OnAltSvc() argument
Dmock_spdy_framer_visitor.h54 uint32 max_age,
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h57 __u32 max_age; member

12