Home
last modified time | relevance | path

Searched refs:runner_ (Results 1 – 23 of 23) sorted by relevance

/external/perfetto/test/
Dtest_helper.h61 if (!runner_) in ~ServiceThread()
63 runner_->PostTaskAndWaitForTesting([this]() { svc_.reset(); }); in ~ServiceThread()
67 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.svc"); in Start()
68 runner_->PostTaskAndWaitForTesting([this]() { in Start()
69 svc_ = ServiceIPCHost::CreateInstance(runner_->get()); in Start()
89 base::ThreadTaskRunner* runner() { return runner_ ? &*runner_ : nullptr; } in runner()
92 base::Optional<base::ThreadTaskRunner> runner_; // Keep first.
115 if (!runner_) in ~ProbesProducerThread()
117 runner_->PostTaskAndWaitForTesting([this]() { producer_.reset(); }); in ~ProbesProducerThread()
121 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.prd.probes"); in Connect()
[all …]
Dend_to_end_shared_memory_fuzzer.cc120 if (!runner_) in ~FuzzerFakeProducerThread()
122 runner_->PostTaskAndWaitForTesting([this]() { producer_.reset(); }); in ~FuzzerFakeProducerThread()
126 runner_ = base::ThreadTaskRunner::CreateAndStart("perfetto.prd.fake"); in Connect()
127 runner_->PostTaskAndWaitForTesting([this]() { in Connect()
130 producer_->Connect(TEST_PRODUCER_SOCK_NAME, runner_->get()); in Connect()
135 base::Optional<base::ThreadTaskRunner> runner_; // Keep first. member in perfetto::shm_fuzz::__anon983fe3950111::FuzzerFakeProducerThread
/external/libchrome/mojo/public/cpp/bindings/lib/
Dscoped_interface_endpoint_handle.cc47 runner_ = nullptr; in Close()
103 runner_ = nullptr; in SetAssociationEventHandler()
107 runner_ = base::SequencedTaskRunnerHandle::Get(); in SetAssociationEventHandler()
109 runner_->PostTask( in SetAssociationEventHandler()
113 this, runner_, ASSOCIATED)); in SetAssociationEventHandler()
115 runner_->PostTask( in SetAssociationEventHandler()
119 this, runner_, PEER_CLOSED_BEFORE_ASSOCIATION)); in SetAssociationEventHandler()
195 if (runner_->RunsTasksInCurrentSequence()) { in OnAssociated()
197 runner_ = nullptr; in OnAssociated()
199 runner_->PostTask(FROM_HERE, in OnAssociated()
[all …]
Dinterface_ptr_state.cc42 runner_.swap(other->runner_); in Swap()
58 runner_ = in Bind()
83 router_ = new MultiplexRouter(std::move(handle_), config, true, runner_); in InitializeEndpointClient()
86 std::move(payload_validator), false, std::move(runner_), in InitializeEndpointClient()
Dinterface_ptr_state.h97 scoped_refptr<base::SequencedTaskRunner> runner_; variable
/external/libchrome/base/
Ddeferred_sequenced_task_runner_unittest.cc45 runner_->PostTask(FROM_HERE, in PostExecuteTask()
51 runner_->Start(); in StartRunner()
60 runner_(new DeferredSequencedTaskRunner(loop_.task_runner())) {} in DeferredSequencedTaskRunnerTest()
63 scoped_refptr<DeferredSequencedTaskRunner> runner_; member in base::__anonc4c731810111::DeferredSequencedTaskRunnerTest
147 runner_ = new DeferredSequencedTaskRunner(thread.task_runner()); in TEST_F()
154 runner_->PostTask( in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dgpu_api_delegate.cc211 return builder->Build(&runner_); in Prepare()
218 runner_->SetInputObject(i++, GetTensorObject(index, context))); in SetInputsAndOutputs()
223 runner_->SetOutputObject(i++, GetTensorObject(index, context))); in SetInputsAndOutputs()
230 return runner_->Run(); in Invoke()
297 std::unique_ptr<InferenceRunner> runner_; member in tflite::gpu::cl::__anon7ea745220111::Delegate
/external/tensorflow/tensorflow/lite/delegates/gpu/
Ddelegate.cc177 return builder->Build(&runner_); in Prepare()
221 RETURN_IF_ERROR(runner_->Run()); in Invoke()
232 RETURN_IF_ERROR(runner_->SetInputObject( in SetInputsAndOutputs()
236 RETURN_IF_ERROR(runner_->SetOutputObject( in SetInputsAndOutputs()
347 std::unique_ptr<InferenceRunner> runner_; member in tflite::gpu::__anon84c75a400111::DelegateKernel
/external/tensorflow/tensorflow/core/data/
Dstandalone.cc113 op_params.runner = &runner_; in MakeIterator()
152 runner_ = [this](std::function<void()> c) { pool_->Schedule(std::move(c)); }; in Dataset()
Dstandalone.h121 std::function<void(std::function<void()>)> runner_; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dsingle_threaded_executor_test.cc73 runner_ = [](const std::function<void()>& fn) { fn(); }; in Create()
80 args.runner = runner_; in Run()
87 args.runner = runner_; in Run()
93 Executor::Args::Runner runner_; member in tensorflow::data::__anon06655fe30111::ExecutorTest
Ddataset_test_base.cc414 runner_ = [](const std::function<void()>& fn) { fn(); }; in InitFunctionLibraryRuntime()
416 runner_ = [this](std::function<void()> fn) { in InitFunctionLibraryRuntime()
468 exec_args.runner = runner_; in RunFunction()
502 params->runner = &runner_; in CreateOpKernelContext()
Ddataset_test_base.h766 std::function<void(std::function<void()>)> runner_; variable
/external/libchrome/ipc/
Dipc_channel_mojo_unittest.cc827 runner_.reset(new ChannelProxyRunner(TakeHandle(), true)); in Init()
829 void CreateProxy(IPC::Listener* listener) { runner_->CreateProxy(listener); } in CreateProxy()
831 runner_->RunProxy(); in RunProxy()
834 runner_.reset(); in DestroyProxy()
838 IPC::ChannelProxy* proxy() { return runner_->proxy(); } in proxy()
841 std::unique_ptr<ChannelProxyRunner> runner_; member in __anon81a6c5020111::IPCChannelProxyMojoTest
930 runner_.reset(new ChannelProxyRunner(std::move(handle), false)); in Init()
933 void CreateProxy(IPC::Listener* listener) { runner_->CreateProxy(listener); } in CreateProxy()
935 void RunProxy() { runner_->RunProxy(); } in RunProxy()
938 runner_.reset(); in DestroyProxy()
[all …]
/external/protobuf/conformance/
Dconformance_test.cc297 runner_->RunTest(test_name, serialized_request, &serialized_response); in RunTest()
372 runner_ = runner; in RunSuite()
Dconformance_test.h289 ConformanceTestRunner* runner_; variable
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.h121 runner_(runner) {} in KernelAndDevice()
186 std::function<void(std::function<void()>)>* const runner_; // can be null
Dkernel_and_device.cc79 if (runner_) { in get_runner()
80 return runner_; in get_runner()
Dcontext.h155 std::function<void(std::function<void()>)>* runner() { return &runner_; } in runner()
616 std::function<void(std::function<void()>)> runner_; variable
Dcontext.cc108 runner_ = [this](std::function<void()> closure) { in __anonceee8e1b0302()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller_unittest.cc179 runner_(std::move(runner)), in TestFtraceController()
182 MockTaskRunner* runner() { return runner_.get(); } in runner()
203 std::unique_ptr<MockTaskRunner> runner_; member in perfetto::TestFtraceController
/external/tensorflow/tensorflow/core/common_runtime/
Dexecutor.cc369 Executor::Args::Runner runner_; member in tensorflow::__anonce8950920111::ExecutorState
413 runner_(args.runner), in ExecutorState()
451 runner_([c = std::forward<Closure>(c)]() mutable { in RunTask()
712 params.runner = &runner_; in Process()
1229 auto runner = std::move(runner_); in Finish()
Dexecutor_test.cc86 runner_ = [this](std::function<void()> fn) { thread_pool_->Schedule(fn); }; in Create()
93 args.runner = runner_; in Run()
102 Executor::Args::Runner runner_; member in tensorflow::ExecutorTest