Home
last modified time | relevance | path

Searched refs:MakeRefCounted (Results 1 – 25 of 121) sorted by relevance

12345

/external/rust/crates/grpcio-sys/grpc/test/core/security/
Dgrpc_tls_credentials_options_test.cc75 auto options = MakeRefCounted<grpc_tls_credentials_options>(); in TEST_F()
76 auto provider = MakeRefCounted<StaticDataCertificateProvider>( in TEST_F()
82 auto credentials = MakeRefCounted<TlsCredentials>(options); in TEST_F()
98 auto options = MakeRefCounted<grpc_tls_credentials_options>(); in TEST_F()
99 auto provider = MakeRefCounted<StaticDataCertificateProvider>( in TEST_F()
104 auto credentials = MakeRefCounted<TlsCredentials>(options); in TEST_F()
120 auto options = MakeRefCounted<grpc_tls_credentials_options>(); in TEST_F()
121 auto provider = MakeRefCounted<StaticDataCertificateProvider>( in TEST_F()
126 auto credentials = MakeRefCounted<TlsCredentials>(options); in TEST_F()
140 auto options = MakeRefCounted<grpc_tls_credentials_options>(); in TEST_F()
[all …]
Dtls_security_connector_test.cc115 grpc_core::MakeRefCounted<grpc_tls_certificate_distributor>(); in TEST_F()
120 grpc_core::MakeRefCounted<TlsTestCertificateProvider>(distributor); in TEST_F()
122 grpc_core::MakeRefCounted<grpc_tls_credentials_options>(); in TEST_F()
129 grpc_core::MakeRefCounted<TlsCredentials>(options); in TEST_F()
156 grpc_core::MakeRefCounted<grpc_tls_certificate_distributor>(); in TEST_F()
161 grpc_core::MakeRefCounted<TlsTestCertificateProvider>(distributor); in TEST_F()
164 grpc_core::MakeRefCounted<grpc_tls_credentials_options>(); in TEST_F()
169 grpc_core::MakeRefCounted<TlsCredentials>(root_options); in TEST_F()
189 grpc_core::MakeRefCounted<grpc_tls_certificate_distributor>(); in TEST_F()
192 grpc_core::MakeRefCounted<TlsTestCertificateProvider>(distributor); in TEST_F()
[all …]
Dauth_context_test.cc30 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_empty_context()
52 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_simple_context()
91 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in test_chained_context()
94 grpc_core::MakeRefCounted<grpc_auth_context>(std::move(chained)); in test_chained_context()
/external/libchrome/base/test/
Dtest_mock_time_task_runner_unittest.cc31 auto mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(type); in TEST()
86 auto unbound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST()
93 auto bound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()
196 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()
207 auto task_runner2 = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()
216 auto bound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST()
229 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST()
237 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST()
267 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST()
279 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST()
/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc47 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); in TEST()
102 scoped_refptr<Sequence> background_sequence = MakeRefCounted<Sequence>(); in TEST()
127 scoped_refptr<Sequence> foreground_sequence = MakeRefCounted<Sequence>(); in TEST()
149 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); in TEST()
158 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); in TEST()
167 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); in TEST()
Dscheduler_worker_pool.cc66 MakeRefCounted<Sequence>()); in PostDelayedTask()
123 const scoped_refptr<Sequence> sequence_ = MakeRefCounted<Sequence>();
133 return MakeRefCounted<SchedulerParallelTaskRunner>(traits, this); in CreateTaskRunnerWithTraits()
139 return MakeRefCounted<SchedulerSequencedTaskRunner>(traits, this); in CreateSequencedTaskRunnerWithTraits()
Dscheduler_worker_unittest.cc85 worker_ = MakeRefCounted<SchedulerWorker>( in SetUp()
520 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
542 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
565 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
589 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
615 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
663 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
744 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::BACKGROUND, in TEST()
801 auto worker = MakeRefCounted<SchedulerWorker>(ThreadPriority::NORMAL, in TEST()
853 auto worker = MakeRefCounted<SchedulerWorker>( in TEST()
[all …]
/external/grpc-grpc/test/core/gprpp/
Dref_counted_ptr_test.cc154 TEST(MakeRefCounted, NoArgs) { in TEST() argument
155 RefCountedPtr<Foo> foo = MakeRefCounted<Foo>(); in TEST()
159 TEST(MakeRefCounted, Args) { in TEST() argument
160 RefCountedPtr<Foo> foo = MakeRefCounted<Foo>(3); in TEST()
195 RefCountedPtr<Subclass> s = MakeRefCounted<Subclass>(); in TEST()
203 RefCountedPtr<Subclass> s = MakeRefCounted<Subclass>(); in TEST()
226 RefCountedPtr<Subclass> p = MakeRefCounted<Subclass>(); in TEST()
235 RefCountedPtr<Subclass> p = MakeRefCounted<Subclass>(); in TEST()
/external/libchrome/base/threading/
Dthread_checker_unittest.cc66 MakeRefCounted<TestSimpleTaskRunner>()); in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle()
82 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
133 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
150 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
183 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
Dpost_task_and_reply_impl_unittest.cc107 MakeRefCounted<ObjectToDelete>(&delete_task_flag_)), in PostTaskAndReplyToMockObject()
109 MakeRefCounted<ObjectToDelete>(&delete_reply_flag_)))); in PostTaskAndReplyToMockObject()
119 MakeRefCounted<MockRunsTasksInCurrentSequenceTaskRunner>();
121 MakeRefCounted<MockRunsTasksInCurrentSequenceTaskRunner>(
/external/libchrome/base/memory/
Dref_counted_memory_unittest.cc21 auto mem = MakeRefCounted<RefCountedStaticMemory>("static mem00", 10); in TEST()
42 mem2 = MakeRefCounted<RefCountedBytes>(kData, arraysize(kData)); in TEST()
51 auto mem = base::MakeRefCounted<RefCountedBytes>(10); in TEST()
83 MakeRefCounted<RefCountedSharedMemory>(std::move(shm), sizeof(kData)); in TEST()
100 mem = MakeRefCounted<RefCountedSharedMemoryMapping>(std::move(ro_mapping)); in TEST()
Dref_counted_memory.cc48 auto bytes = MakeRefCounted<RefCountedBytes>(); in TakeVector()
72 auto self = MakeRefCounted<RefCountedString>(); in TakeString()
129 return MakeRefCounted<RefCountedSharedMemoryMapping>(std::move(mapping)); in CreateFromWholeRegion()
Dref_counted_unittest.cc583 scoped_refptr<Derived> derived2 = base::MakeRefCounted<Derived>(); in TEST()
590 base::MakeRefCounted<InitialRefCountIsOne>(); in TEST()
599 scoped_refptr<Other> obj3 = base::MakeRefCounted<Other>(); in TEST()
608 base::MakeRefCounted<HasPrivateDestructorWithDeleter>(); in TEST()
616 base::MakeRefCounted<ScopedRefPtrCountBase>(); in TEST()
647 scoped_refptr<CheckRefptrNull> obj = base::MakeRefCounted<CheckRefptrNull>(); in TEST()
669 base::MakeRefCounted<InitialRefCountIsOne>(); in TEST()
/external/libchrome/base/timer/
Dmock_timer.cc28 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockOneShotTimer()
47 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRepeatingTimer()
66 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRetainingOneShotTimer()
/external/grpc-grpc/test/core/client_channel/
Dretry_throttle_test.cc34 MakeRefCounted<ServerRetryThrottleData>(4000, 1600, nullptr); in TEST()
74 MakeRefCounted<ServerRetryThrottleData>(4000, 1000, nullptr); in TEST()
81 auto throttle_data = MakeRefCounted<ServerRetryThrottleData>( in TEST()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/insecure/
Dinsecure_credentials.cc39 return MakeRefCounted<InsecureChannelSecurityConnector>( in create_security_connector()
51 return MakeRefCounted<InsecureServerSecurityConnector>(Ref()); in create_security_connector()
/external/grpc-grpc/test/core/channel/
Dchannel_trace_test.cc169 MakeRefCounted<ChannelNode>(channel1.channel(), GetParam(), true); in TEST_P()
188 MakeRefCounted<ChannelNode>(channel2.channel(), GetParam(), true); in TEST_P()
217 MakeRefCounted<ChannelNode>(channel1.channel(), GetParam(), true); in TEST_P()
226 MakeRefCounted<ChannelNode>(channel2.channel(), GetParam(), true); in TEST_P()
240 MakeRefCounted<ChannelNode>(channel3.channel(), GetParam(), true); in TEST_P()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/xds/
Dxds_credentials.cc124 MakeRefCounted<grpc_tls_credentials_options>(); in create_security_connector()
135 MakeRefCounted<grpc_tls_server_authorization_check_config>( in create_security_connector()
139 MakeRefCounted<TlsCredentials>(std::move(tls_credentials_options)); in create_security_connector()
/external/rust/crates/grpcio-sys/grpc/src/core/ext/xds/
Dfile_watcher_certificate_provider_factory.cc68 auto config = MakeRefCounted<FileWatcherCertificateProviderFactory::Config>(); in Parse()
130 return MakeRefCounted<FileWatcherCertificateProvider>( in CreateCertificateProvider()
/external/libchrome/libchrome_tools/patch/
Dobserver_list_unittest.patch40 auto observer_list = MakeRefCounted<ObserverListThreadSafe<Foo>>();
56 auto observer_list = MakeRefCounted<ObserverListThreadSafe<Foo>>();
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc53 grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in local_auth_context_create()
266 return grpc_core::MakeRefCounted<grpc_local_channel_security_connector>( in grpc_local_channel_security_connector_create()
279 return grpc_core::MakeRefCounted<grpc_local_server_security_connector>( in grpc_local_server_security_connector_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc236 auto ctx = grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in grpc_alts_auth_context_from_tsi_peer()
286 return grpc_core::MakeRefCounted<grpc_alts_channel_security_connector>( in grpc_alts_channel_security_connector_create()
299 return grpc_core::MakeRefCounted<grpc_alts_server_security_connector>( in grpc_alts_server_security_connector_create()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/fake/
Dfake_security_connector.cc255 *auth_context = grpc_core::MakeRefCounted<grpc_auth_context>(nullptr); in fake_check_peer()
309 return grpc_core::MakeRefCounted<grpc_fake_channel_security_connector>( in grpc_fake_channel_security_connector_create()
317 return grpc_core::MakeRefCounted<grpc_fake_server_security_connector>( in grpc_fake_server_security_connector_create()
/external/libchrome/base/message_loop/
Dmessage_loop_task_runner_perftest.cc55 base::MakeRefCounted<internal::IncomingTaskQueue>( in Run()
58 base::MakeRefCounted<internal::MessageLoopTaskRunner>(queue)); in Run()
/external/openscreen/third_party/chromium_quic/demo/
Dclient.cc85 base::MakeRefCounted<FakeTaskRunner>(&tasks); in main()
153 auto buffer = base::MakeRefCounted<net::IOBuffer>(sizeof(data) - 1); in main()

12345