Home
last modified time | relevance | path

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

/external/grpc-grpc/src/cpp/client/
Dchannel_cc.cc196 class ShutdownCallback : public grpc_experimental_completion_queue_functor { class
198 ShutdownCallback() { functor_run = &ShutdownCallback::Run; } in ShutdownCallback() function in grpc::__anond84bae970311::ShutdownCallback
206 auto* callback = static_cast<ShutdownCallback*>(cb); in Run()
221 auto* shutdown_callback = grpc_core::New<ShutdownCallback>(); in CallbackCQ()
/external/grpc-grpc/test/core/end2end/
Dinproc_callback_test.cc61 class ShutdownCallback : public grpc_experimental_completion_queue_functor { class
63 ShutdownCallback() : done_(false) { in ShutdownCallback() function in __anon9299b1ce0111::ShutdownCallback
64 functor_run = &ShutdownCallback::StaticRun; in ShutdownCallback()
68 ~ShutdownCallback() {} in ~ShutdownCallback()
71 auto* callback = static_cast<ShutdownCallback*>(cb); in StaticRun()
99 ShutdownCallback* g_shutdown_callback;
212 g_shutdown_callback = grpc_core::New<ShutdownCallback>(); in inproc_create_fixture()
/external/grpc-grpc/test/core/surface/
Dcompletion_queue_test.cc372 class ShutdownCallback : public grpc_experimental_completion_queue_functor { in test_callback() class
374 ShutdownCallback(bool* done) : done_(done) { in test_callback() function in test_callback::ShutdownCallback
375 functor_run = &ShutdownCallback::Run; in test_callback()
377 ~ShutdownCallback() {} in test_callback()
379 *static_cast<ShutdownCallback*>(cb)->done_ = static_cast<bool>(ok); in test_callback()
385 ShutdownCallback shutdown_cb(&got_shutdown); in test_callback()