Searched refs:CallbackWrapper (Results 1 – 3 of 3) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/ |
D | work_serializer.cc | 27 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/ |
D | memory_dump_scheduler_unittest.cc | 26 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/ |
D | adaptive_shared_batch_scheduler.h | 179 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
|