Home
last modified time | relevance | path

Searched refs:rules_ (Results 1 – 12 of 12) sorted by relevance

/external/chromium/net/proxy/
Dproxy_bypass_rules.cc170 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); ++it) { in Matches()
178 if (rules_.size() != other.rules_.size()) in Equals()
181 for (size_t i = 0; i < rules_.size(); ++i) { in Equals()
182 if (!rules_[i]->Equals(*other.rules_[i])) in Equals()
203 rules_.push_back(new HostnamePatternRule(optional_scheme, in AddRuleForHostname()
210 rules_.push_back(new BypassLocalRule); in AddRuleToBypassLocal()
224 for (RuleList::const_iterator rule(rules_.begin()); in ToString()
225 rule != rules_.end(); in ToString()
234 STLDeleteElements(&rules_); in Clear()
241 for (RuleList::const_iterator it = other.rules_.begin(); in AssignFrom()
[all …]
Dinit_proxy_resolver_unittest.cc53 rules_.push_back(rule); in AddSuccessRule()
58 rules_.push_back(Rule(GURL(url), kFailedDownloading /*fetch_error*/, in AddFailDownloadRule()
63 rules_.push_back(Rule(GURL(url), OK /*fetch_error*/, in AddFailParsingRule()
68 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); in GetRuleByUrl()
74 return rules_[0]; in GetRuleByUrl()
78 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); in GetRuleByText()
84 return rules_[0]; in GetRuleByText()
89 RuleList rules_; member in net::__anona2fa370a0111::Rules
94 explicit RuleBasedProxyScriptFetcher(const Rules* rules) : rules_(rules) {} in RuleBasedProxyScriptFetcher()
100 const Rules::Rule& rule = rules_->GetRuleByUrl(url); in Fetch()
[all …]
Dproxy_bypass_rules.h54 const RuleList& rules() const { return rules_; } in rules()
177 RuleList rules_; variable
/external/chromium/net/http/
Dhttp_auth_filter.cc35 rules_.AddRuleFromString(filter); in AddFilter()
40 rules_.AddRuleToBypassLocal(); in AddRuleToBypassLocal()
50 return rules_.Matches(url); in IsValid()
55 rules_.ParseFromString(server_whitelist); in SetWhitelist()
Dhttp_auth_filter.h46 const ProxyBypassRules& rules() const { return rules_; } in rules()
58 ProxyBypassRules rules_; variable
/external/chromium/net/base/
Dmock_host_resolver.cc69 rules_ = new RuleBasedHostResolverProc(catchall); in Reset()
71 HostResolverProc* proc = rules_; in Reset()
172 rules_.push_back(rule); in AddRuleForAddressFamily()
190 rules_.push_back(rule); in AddIPLiteralRule()
202 rules_.push_back(rule); in AddRuleWithLatency()
211 rules_.push_back(rule); in AllowDirectLookup()
220 rules_.push_back(rule); in AddSimulatedFailure()
229 for (r = rules_.begin(); r != rules_.end(); ++r) { in Resolve()
Dmapped_host_resolver.h37 return rules_.AddRuleFromString(rule_string); in AddRuleFromString()
42 rules_.SetRulesFromString(rules_string); in SetRulesFromString()
59 HostMappingRules rules_; variable
Dmock_host_resolver.h44 RuleBasedHostResolverProc* rules() { return rules_; } in rules()
75 scoped_refptr<RuleBasedHostResolverProc> rules_; variable
151 RuleList rules_; variable
Dmapped_host_resolver.cc29 if (rules_.RewriteHost(&host_port)) in Resolve()
/external/v8/test/cctest/
Dtest-date.cc43 : local_offset_(local_offset), rules_(rules), rules_count_(rules_count) {} in DateCacheMock()
64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) { in FindRuleFor()
65 result = &rules_[i]; in FindRuleFor()
98 Rule* rules_; member in DateCacheMock
/external/chromium/third_party/libjingle/source/talk/base/
Dfirewallsocketserver.cc164 rules_.push_back(r); in AddRule()
169 rules_.clear(); in ClearRules()
176 for (size_t i = 0; i < rules_.size(); ++i) { in Check()
177 const Rule& r = rules_[i]; in Check()
Dfirewallsocketserver.h104 std::vector<Rule> rules_; variable