Home
last modified time | relevance | path

Searched refs:AddRule (Results 1 – 25 of 41) sorted by relevance

12

/external/perfetto/src/protozero/filtering/
Dstring_filter_unittest.cc27 filter.AddRule(StringFilter::Policy::kMatchRedactGroups, in TEST()
37 filter.AddRule(StringFilter::Policy::kMatchRedactGroups, in TEST()
47 filter.AddRule(StringFilter::Policy::kMatchRedactGroups, in TEST()
57 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
67 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
77 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
87 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
97 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
107 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
117 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, R"(E\|\d+)", in TEST()
[all …]
Dstring_filter.h36 void AddRule(Policy policy,
Dstring_filter.cc95 void StringFilter::AddRule(Policy policy, in AddRule() function in protozero::StringFilter
Dstring_filter_benchmark.cc60 rewriter.AddRule(policy, regex, atrace); in Benchmark()
/external/cronet/net/dns/
Dmapped_host_resolver_unittest.cc45 resolver_impl->rules()->AddRule("baz.com", "192.168.1.5"); in TEST()
46 resolver_impl->rules()->AddRule("foo.com", "192.168.1.8"); in TEST()
47 resolver_impl->rules()->AddRule("proxy", "192.168.1.11"); in TEST()
112 resolver_impl->rules()->AddRule("remapped.test", "192.168.1.22"); in TEST()
138 resolver_impl->rules()->AddRule("host.test", "192.168.1.22"); in TEST()
167 resolver_impl->rules()->AddRule("remapped.test", "192.168.1.23"); in TEST()
193 resolver_impl->rules()->AddRule("remapped.test", "192.168.1.24"); in TEST()
219 resolver_impl->rules()->AddRule("unmapped.test", "192.168.1.23"); in TEST()
245 resolver_impl->rules()->AddRule("baz", "192.168.1.5"); in TEST()
246 resolver_impl->rules()->AddRule("www.google.com", "192.168.1.3"); in TEST()
[all …]
Dmock_host_resolver.cc576 void MockHostResolverBase::RuleResolver::AddRule(RuleKey key, in AddRule() function in net::MockHostResolverBase::RuleResolver
587 void MockHostResolverBase::RuleResolver::AddRule(RuleKey key, in AddRule() function in net::MockHostResolverBase::RuleResolver
592 AddRule(std::move(key), RuleResult(std::move(endpoints))); in AddRule()
595 void MockHostResolverBase::RuleResolver::AddRule( in AddRule() function in net::MockHostResolverBase::RuleResolver
600 AddRule(std::move(key), std::move(result)); in AddRule()
603 void MockHostResolverBase::RuleResolver::AddRule( in AddRule() function in net::MockHostResolverBase::RuleResolver
609 AddRule(hostname_pattern, RuleResult(std::move(endpoints))); in AddRule()
612 void MockHostResolverBase::RuleResolver::AddRule( in AddRule() function in net::MockHostResolverBase::RuleResolver
618 AddRule(std::move(key), error); in AddRule()
635 AddRule(std::move(key), RuleResult(std::move(endpoints), std::move(aliases))); in AddIPLiteralRule()
[all …]
Dmock_host_resolver.h178 void AddRule(RuleKey key, RuleResultOrError result);
179 void AddRule(RuleKey key, base::StringPiece ip_literal);
181 void AddRule(base::StringPiece hostname_pattern, RuleResultOrError result);
182 void AddRule(base::StringPiece hostname_pattern,
185 void AddRule(base::StringPiece hostname_pattern, Error error);
539 void AddRule(base::StringPiece host_pattern, base::StringPiece ip_literal);
/external/webrtc/rtc_base/
Dfirewall_socket_server.cc144 void FirewallSocketServer::AddRule(bool allow, in AddRule() function in rtc::FirewallSocketServer
150 AddRule(allow, p, any, addr); in AddRule()
153 AddRule(allow, p, addr, any); in AddRule()
157 void FirewallSocketServer::AddRule(bool allow, in AddRule() function in rtc::FirewallSocketServer
249 void FirewallManager::AddRule(bool allow, in AddRule() function in rtc::FirewallManager
256 (*it)->AddRule(allow, p, d, addr); in AddRule()
Dfirewall_socket_server.h55 void AddRule(bool allow,
59 void AddRule(bool allow,
116 void AddRule(bool allow,
/external/cronet/net/nqe/
Dnetwork_quality_estimator_util_unittest.cc44 mock_host_resolver.rules()->AddRule("example1.com", "127.0.0.3"); in TEST()
47 mock_host_resolver.rules()->AddRule("example2.com", "27.0.0.3"); in TEST()
104 mock_host_resolver.rules()->AddRule("example3.com", "127.0.0.3"); in TEST()
152 mock_host_resolver.rules()->AddRule("example3.com", "127.0.0.3"); in TEST()
Dthroughput_analyzer_unittest.cc58 host_resolver->rules()->AddRule("local.com", "127.0.0.1"); in CreateMockHostResolver()
216 mock_host_resolver->rules()->AddRule(kUrl.host(), "1.2.3.4"); in TEST_F()
223 mock_host_resolver->rules()->AddRule(kUrl.host(), "127.0.0.1"); in TEST_F()
/external/cronet/net/socket/
Dsocks_client_socket_fuzzer.cc43 mock_host_resolver.rules()->AddRule("*", "127.0.0.1"); in LLVMFuzzerTestOneInput()
45 mock_host_resolver.rules()->AddRule("*", net::ERR_NAME_NOT_RESOLVED); in LLVMFuzzerTestOneInput()
Dtransport_connect_job_unittest.cc496 host_resolver_.rules()->AddRule( in TEST_F()
536 host_resolver_.rules()->AddRule( in TEST_F()
588 host_resolver_.rules()->AddRule( in TEST_F()
651 host_resolver_.rules()->AddRule( in TEST_F()
689 host_resolver_.rules()->AddRule( in TEST_F()
728 host_resolver_.rules()->AddRule( in TEST_F()
782 host_resolver_.rules()->AddRule( in TEST_F()
808 host_resolver_.rules()->AddRule( in TEST_F()
862 host_resolver_.rules()->AddRule( in TEST_F()
901 host_resolver_.rules()->AddRule( in TEST_F()
[all …]
Dssl_connect_job_unittest.cc1285 host_resolver_.rules()->AddRule( in TEST_F()
1360 host_resolver_.rules()->AddRule( in TEST_F()
1422 host_resolver_.rules()->AddRule( in TEST_F()
1481 host_resolver_.rules()->AddRule( in TEST_F()
1532 host_resolver_.rules()->AddRule( in TEST_F()
1579 host_resolver_.rules()->AddRule( in TEST_F()
1657 host_resolver_.rules()->AddRule( in TEST_F()
Dsocks_client_socket_unittest.cc227 host_resolver_->rules()->AddRule("socks.test", "127.0.0.1"); in TEST_F()
456 host_resolver.rules()->AddRule("doh.test", "127.0.0.1"); in TEST_F()
/external/pdfium/core/fxcrt/css/
Dcfx_cssrulecollection.cpp31 AddRule(sheet->GetRule(i)); in SetRulesFromSheet()
34 void CFX_CSSRuleCollection::AddRule(CFX_CSSStyleRule* pStyleRule) { in AddRule() function in CFX_CSSRuleCollection
Dcfx_cssrulecollection.h40 void AddRule(CFX_CSSStyleRule* pRule);
/external/libtextclassifier/native/utils/grammar/utils/
Dir.h152 return AddRule(lhs, rhs, &shards_[shard].unary_rules);
160 return AddRule(lhs, {rhs_1, rhs_2}, &shards_[shard].binary_rules);
202 Nonterm AddRule(const Lhs& lhs, const R& rhs, in AddRule() function
Dir.cc237 return AddRule(lhs, terminal, &shards_[shard].terminal_rules); in Add()
239 return AddRule(lhs, terminal, &shards_[shard].lowercase_terminal_rules); in Add()
/external/cronet/net/test/
Dnet_test_suite.cc76 host_resolver_proc_->AddRule("*", "127.0.0.1"); in InitializeTestThreadNoNetworkChangeNotifier()
/external/cronet/net/proxy_resolution/
Dpac_file_decider_unittest.cc378 host_resolver().rules()->AddRule("wpad", "1.2.3.4"); in TEST_F()
392 host_resolver().rules()->AddRule("wpad", "1.2.3.4"); in TEST_F()
417 host_resolver().rules()->AddRule("wpad", ERR_NAME_NOT_RESOLVED); in TEST_F()
479 host_resolver().rules()->AddRule("wpad", ERR_NAME_NOT_RESOLVED); in TEST_F()
480 host_resolver().rules()->AddRule("custom", "1.2.3.4"); in TEST_F()
/external/webrtc/p2p/base/
Dp2p_transport_channel_unittest.cc566 fw()->AddRule(false, rtc::FP_ANY, rtc::FD_ANY, addr); in RemoveAddress()
1175 fw()->AddRule(false, rtc::FP_UDP, rtc::FD_ANY, kPublicAddrs[endpoint]); in ConfigureEndpoint()
1178 fw()->AddRule(false, rtc::FP_TCP, SocketAddress(), in ConfigureEndpoint()
1182 fw()->AddRule(true, rtc::FP_TCP, kPublicAddrs[endpoint], in ConfigureEndpoint()
1184 fw()->AddRule(true, rtc::FP_TCP, kPublicAddrs[endpoint], in ConfigureEndpoint()
1186 fw()->AddRule(false, rtc::FP_TCP, rtc::FD_ANY, in ConfigureEndpoint()
1190 fw()->AddRule(true, rtc::FP_TCP, kPublicAddrs[endpoint], in ConfigureEndpoint()
1192 fw()->AddRule(false, rtc::FP_TCP, rtc::FD_ANY, in ConfigureEndpoint()
1197 fw()->AddRule(true, rtc::FP_TCP, kPublicAddrs[endpoint], in ConfigureEndpoint()
1199 fw()->AddRule(false, rtc::FP_TCP, rtc::FD_ANY, in ConfigureEndpoint()
[all …]
/external/cronet/net/websockets/
Dwebsocket_end_to_end_test.cc658 host_resolver->rules()->AddRule(std::move(unencrypted_resolve_key), in TEST_F()
662 host_resolver->rules()->AddRule(std::move(encrypted_resolve_key), in TEST_F()
696 host_resolver->rules()->AddRule( in TEST_F()
749 host_resolver->rules()->AddRule( in TEST_F()
/external/webrtc/pc/
Dslow_peer_connection_integration_test.cc390 firewall()->AddRule(false, rtc::FP_ANY, rtc::FD_ANY, caller_address); in TEST_P()
415 firewall()->AddRule(false, rtc::FP_ANY, rtc::FD_ANY, caller_address); in TEST_P()
/external/cronet/components/metrics/content/
Dsubprocess_metrics_provider_browsertest.cc94 host_resolver()->AddRule("*", "127.0.0.1"); in SetUpOnMainThread()

12