Home
last modified time | relevance | path

Searched refs:CallbackWrapper (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dwork_serializer.cc27 struct CallbackWrapper { struct
28 CallbackWrapper(std::function<void()> cb, const grpc_core::DebugLocation& loc) in CallbackWrapper() argument
71 CallbackWrapper* cb_wrapper = in Run()
72 new CallbackWrapper(std::move(callback), location); in Run()
123 CallbackWrapper* cb_wrapper = nullptr; in DrainQueue()
125 while ((cb_wrapper = reinterpret_cast<CallbackWrapper*>( in DrainQueue()
/external/libchrome/base/trace_event/
Dmemory_dump_scheduler_unittest.cc26 struct CallbackWrapper { struct
45 CallbackWrapper on_tick_;
55 config.callback = Bind(&CallbackWrapper::OnTick, Unretained(&on_tick_)); in TEST_F()
90 config.callback = Bind(&CallbackWrapper::OnTick, Unretained(&on_tick_)); in TEST_F()
128 light_config.callback = Bind(&CallbackWrapper::OnTick, Unretained(&on_tick_)); in TEST_F()
134 Bind(&CallbackWrapper::OnTick, Unretained(&on_tick_)); in TEST_F()
166 config.callback = Bind(&CallbackWrapper::OnTick, Unretained(&on_tick_)); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dadaptive_shared_batch_scheduler.h179 void CallbackWrapper(const internal::ASBSBatch<TaskType>* batch,
495 std::bind(&AdaptiveSharedBatchScheduler<TaskType>::CallbackWrapper, this, in MaybeScheduleNextBatch()
520 std::bind(&AdaptiveSharedBatchScheduler<TaskType>::CallbackWrapper, in MaybeScheduleClosedBatchesLocked()
531 void AdaptiveSharedBatchScheduler<TaskType>::CallbackWrapper( in CallbackWrapper() function