Home
last modified time | relevance | path

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

12

/external/chromium_org/net/proxy/
Dproxy_bypass_rules.cc172 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); ++it) { in Matches()
180 if (rules_.size() != other.rules_.size()) in Equals()
183 for (size_t i = 0; i < rules_.size(); ++i) { in Equals()
184 if (!rules_[i]->Equals(*other.rules_[i])) in Equals()
205 rules_.push_back(new HostnamePatternRule(optional_scheme, in AddRuleForHostname()
212 rules_.push_back(new BypassLocalRule); in AddRuleToBypassLocal()
226 for (RuleList::const_iterator rule(rules_.begin()); in ToString()
227 rule != rules_.end(); in ToString()
236 STLDeleteElements(&rules_); in Clear()
243 for (RuleList::const_iterator it = other.rules_.begin(); in AssignFrom()
[all …]
Dproxy_script_decider_unittest.cc59 rules_.push_back(rule); in AddSuccessRule()
64 rules_.push_back(Rule(GURL(url), kFailedDownloading /*fetch_error*/, in AddFailDownloadRule()
69 rules_.push_back(Rule(GURL(url), OK /*fetch_error*/, false)); in AddFailParsingRule()
73 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); in GetRuleByUrl()
79 return rules_[0]; in GetRuleByUrl()
83 for (RuleList::const_iterator it = rules_.begin(); it != rules_.end(); in GetRuleByText()
89 return rules_[0]; in GetRuleByText()
94 RuleList rules_; member in net::__anonb709f5740111::Rules
100 : rules_(rules), request_context_(NULL) {} in RuleBasedProxyScriptFetcher()
110 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/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::__anon55575f0e0111::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_org/ui/views/corewm/
Dfocus_controller.cc63 rules_(rules), in FocusController()
90 FocusWindow(rules_->GetNextActivatableWindow(window)); in DeactivateWindow()
98 return rules_->GetActivatableWindow(window); in GetActivatableWindow()
102 return rules_->GetToplevelWindow(window); in GetToplevelWindow()
112 return rules_->CanActivateWindow(window); in CanActivateWindow()
143 aura::Window* focusable = rules_->GetFocusableWindow(window); in FocusWindow()
145 focusable ? rules_->GetActivatableWindow(focusable) : NULL; in FocusWindow()
251 DCHECK(rules_->CanFocusWindow(window)); in SetFocusedWindow()
253 DCHECK_EQ(window, rules_->GetFocusableWindow(window)); in SetFocusedWindow()
292 DCHECK(rules_->CanActivateWindow(window)); in SetActiveWindow()
[all …]
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_rule_unittest.cc18 : rules_(rules) {} in ListIterator()
23 return !rules_.empty(); in HasNext()
27 EXPECT_FALSE(rules_.empty()); in Next()
30 Rule rule = rules_.front(); in Next()
31 rules_.pop_front(); in Next()
36 std::list<Rule> rules_; member in content_settings::__anon02f487240111::ListIterator
/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_org/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
/external/chromium_org/chrome/browser/extensions/api/declarative/
Drules_registry.cc111 if (rules_.find(key) != rules_.end()) in AddRulesNoFill()
125 rules_[key] = *i; in AddRulesNoFill()
159 rules_.erase(lookup_key); in RemoveRules()
182 for (RulesDictionary::const_iterator i = rules_.begin(); in RemoveAllRulesNoStoreUpdate()
183 i != rules_.end();) { in RemoveAllRulesNoStoreUpdate()
187 rules_.erase(key); in RemoveAllRulesNoStoreUpdate()
202 RulesDictionary::iterator entry = rules_.find(lookup_key); in GetRules()
203 if (entry != rules_.end()) in GetRules()
212 for (RulesDictionary::const_iterator i = rules_.begin(); in GetAllRules()
213 i != rules_.end(); ++i) { in GetAllRules()
/external/chromium_org/net/dns/
Dmock_host_resolver.cc146 rules_ = CreateCatchAllHostResolverProc(); in MockHostResolverBase()
181 int rv = rules_->Resolve(info.hostname(), in ResolveProc()
270 rules_.push_back(rule); in AddRuleForAddressFamily()
288 rules_.push_back(rule); in AddIPLiteralRule()
305 rules_.push_back(rule); in AddRuleWithLatency()
319 rules_.push_back(rule); in AllowDirectLookup()
333 rules_.push_back(rule); in AddSimulatedFailure()
337 rules_.clear(); in ClearRules()
346 for (r = rules_.begin(); r != rules_.end(); ++r) { in Resolve()
Dmapped_host_resolver.h39 return rules_.AddRuleFromString(rule_string); in AddRuleFromString()
44 rules_.SetRulesFromString(rules_string); in SetRulesFromString()
69 HostMappingRules rules_; variable
Dmock_host_resolver.h60 RuleBasedHostResolverProc* rules() { return rules_.get(); } in rules()
61 void set_rules(RuleBasedHostResolverProc* rules) { rules_ = rules; } in set_rules()
133 scoped_refptr<RuleBasedHostResolverProc> rules_; variable
217 RuleList rules_; variable
/external/chromium_org/net/cert/
Dmock_cert_verifier.cc48 for (it = rules_.begin(); it != rules_.end(); ++it) { in Verify()
80 rules_.push_back(rule); in AddResultForCertAndHost()
/external/chromium_org/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/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_org/sandbox/win/src/
Dpolicy_low_level.cc44 rules_.push_back(node); in AddRule()
51 for (RuleNodes::iterator it = rules_.begin(); it != rules_.end(); ++it) { in ~LowLevelPolicy()
69 for (RuleNodes::iterator it = rules_.begin(); it != rules_.end(); ++it) { in Done()
/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()
/external/chromium_org/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()

12