Home
last modified time | relevance | path

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

12

/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()
Dtest_utils.cc20 scoped_refptr<Sequence> sequence = MakeRefCounted<Sequence>(); in CreateSequenceWithTask()
/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()
/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/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/libchrome/libchrome_tools/patch/
Dobserver_list_unittest.patch40 auto observer_list = MakeRefCounted<ObserverListThreadSafe<Foo>>();
56 auto observer_list = MakeRefCounted<ObserverListThreadSafe<Foo>>();
/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()
Dmessage_loop.cc326 incoming_task_queue_(MakeRefCounted<internal::IncomingTaskQueue>( in MessageLoop()
328 unbound_task_runner_(MakeRefCounted<internal::MessageLoopTaskRunner>( in MessageLoop()
/external/libchrome/mojo/public/cpp/base/
Dref_counted_memory_mojom_traits.cc42 base::MakeRefCounted<base::RefCountedBytes>(buffer.data(), buffer.size()); in Read()
/external/grpc-grpc/src/core/tsi/ssl/session_cache/
Dssl_session_cache.h53 return grpc_core::MakeRefCounted<SslSessionLRUCache>(capacity); in Create()
/external/grpc-grpc/src/core/lib/slice/
Dslice_weak_hash_table.h44 return MakeRefCounted<SliceWeakHashTable<T, Size>>(); in Create()
/external/libchrome/ipc/
Dipc_channel_proxy_unittest.cc291 base::MakeRefCounted<MessageCountFilter>(TestMsgStart)); in TEST_F()
293 base::MakeRefCounted<MessageCountFilter>(AutomationMsgStart)); in TEST_F()
/external/grpc-grpc/test/core/end2end/
Dno_server_test.cc41 grpc_core::MakeRefCounted<grpc_core::FakeResolverResponseGenerator>(); in run_test()
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc178 result = MakeRefCounted<ServerRetryThrottleData>( in GetDataForServer()
Dclient_channel_channelz.cc111 return MakeRefCounted<ClientChannelNode>(channel, channel_tracer_max_nodes, in MakeClientChannelNode()
Dmethod_params.cc153 MakeRefCounted<ClientChannelMethodParams>(); in CreateFromJson()
/external/grpc-grpc/src/core/lib/gprpp/
Dref_counted_ptr.h163 inline RefCountedPtr<T> MakeRefCounted(Args&&... args) { in MakeRefCounted() function
/external/grpc-grpc/src/core/lib/channel/
Dchannelz.cc146 return MakeRefCounted<grpc_core::channelz::ChannelNode>( in MakeChannelNode()

12