Home
last modified time | relevance | path

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

/third_party/grpc/test/cpp/microbenchmarks/
Dbm_cq.cc185 class ShutdownCallback : public grpc_experimental_completion_queue_functor { class
187 explicit ShutdownCallback(bool* done) : done_(done) { in ShutdownCallback() function in grpc::testing::ShutdownCallback
188 functor_run = &ShutdownCallback::Run; in ShutdownCallback()
191 ~ShutdownCallback() {} in ~ShutdownCallback()
194 *static_cast<ShutdownCallback*>(cb)->done_ = static_cast<bool>(ok); in Run()
212 ShutdownCallback shutdown_cb(&got_shutdown); in BM_Callback_CQ_Pass1Core()
264 ShutdownCallback shutdown_cb(&got_shutdown); in BM_Callback_CQ_Pass1CoreHeapCompletion()
/third_party/grpc/src/cpp/client/
Dchannel_cc.cc209 class ShutdownCallback : public grpc_experimental_completion_queue_functor { class
211 ShutdownCallback() { in ShutdownCallback() function in grpc::__anon6dabe9460311::ShutdownCallback
212 functor_run = &ShutdownCallback::Run; in ShutdownCallback()
226 auto* callback = static_cast<ShutdownCallback*>(cb); in Run()
241 auto* shutdown_callback = new ShutdownCallback; in CallbackCQ()
/third_party/grpc/test/core/end2end/
Dinproc_callback_test.cc62 class ShutdownCallback : public grpc_experimental_completion_queue_functor { class
64 ShutdownCallback() : done_(false) { in ShutdownCallback() function in __anonf1ef90dd0111::ShutdownCallback
65 functor_run = &ShutdownCallback::StaticRun; in ShutdownCallback()
70 ~ShutdownCallback() { in ~ShutdownCallback()
76 auto* callback = static_cast<ShutdownCallback*>(cb); in StaticRun()
104 ShutdownCallback* g_shutdown_callback;
217 g_shutdown_callback = new ShutdownCallback(); in inproc_create_fixture()
/third_party/grpc/test/core/surface/
Dcompletion_queue_test.cc381 class ShutdownCallback : public grpc_experimental_completion_queue_functor { in test_callback() class
383 ShutdownCallback(bool* done) : done_(done) { in test_callback() function in test_callback::ShutdownCallback
384 functor_run = &ShutdownCallback::Run; in test_callback()
387 ~ShutdownCallback() {} in test_callback()
390 *static_cast<ShutdownCallback*>(cb)->done_ = static_cast<bool>(ok); in test_callback()
399 ShutdownCallback shutdown_cb(&got_shutdown); in test_callback()
/third_party/node/src/
Dnode_platform.h93 struct ShutdownCallback { struct
97 typedef std::vector<ShutdownCallback> ShutdownCbList; argument
Dspawn_sync.h115 static void ShutdownCallback(uv_shutdown_t* req, int result);
Dspawn_sync.cc163 int r = uv_shutdown(&shutdown_req_, uv_stream(), ShutdownCallback); in Start()
340 void SyncProcessStdioPipe::ShutdownCallback(uv_shutdown_t* req, int result) { in ShutdownCallback() function in node::SyncProcessStdioPipe
Dnode_platform.cc286 shutdown_callbacks_.emplace_back(ShutdownCallback { callback, data }); in AddShutdownCallback()
/third_party/grpc/src/cpp/server/
Dserver_cc.cc265 class ShutdownCallback : public grpc_experimental_completion_queue_functor { class
267 ShutdownCallback() { in ShutdownCallback() function in grpc::__anon2fd9673c0411::ShutdownCallback
268 functor_run = &ShutdownCallback::Run; in ShutdownCallback()
282 auto* callback = static_cast<ShutdownCallback*>(cb); in Run()
1352 auto* shutdown_callback = new grpc::ShutdownCallback; in CallbackCQ()