Home
last modified time | relevance | path

Searched refs:SetImmediate (Results 1 - 13 of 13) sorted by relevance

/third_party/node/test/node-api/test_uv_loop/
H A Dtest_uv_loop.cc11 void* SetImmediate(napi_env env, T&& cb) { in SetImmediate() function
61 SetImmediate(env, [=]() -> char* { in SetImmediateBinding()
80 DECLARE_NODE_API_PROPERTY("SetImmediate", SetImmediateBinding) in Init()
/third_party/node/src/
H A Dnode_dir.cc132 // warning will be emitted using a SetImmediate to avoid calling back to
151 env()->SetImmediate([detail](Environment* env) { in GCClose()
154 // it is being thrown from within the SetImmediate handler and in GCClose()
167 env()->SetImmediate([](Environment* env) { in GCClose()
H A Dnode_perf.cc185 env->SetImmediate([entry = std::move(entry)](Environment* env) { in MarkGarbageCollectionEnd()
H A Dstream_pipe.cc67 // Delay the JS-facing part with SetImmediate, because this might be from in Unpipe()
71 env()->SetImmediate([this, strong_ref](Environment* env) { in Unpipe()
H A Dnode_api.cc60 node_env()->SetImmediate([this](node::Environment* node_env) { in EnqueueFinalizer()
801 static_cast<node_jsvm_env>(env_)->node_env()->SetImmediate( in ~jsvm_async_cleanup_hook_handle__()
H A Dnode_http2.cc652 env()->SetImmediate([entry = std::move(entry)](Environment* env) { in EmitStatistics()
672 env()->SetImmediate([entry = std::move(entry)](Environment* env) { in EmitStatistics()
723 env()->SetImmediate( in Close()
1622 // on the next iteration of the Node.js event loop (using the SetImmediate
1634 env()->SetImmediate([this, strong_ref](Environment* env) { in MaybeScheduleWrite()
2131 // using the SetImmediate queue.
2146 env()->SetImmediate([this, strong_ref = std::move(strong_ref)]( in Destroy()
H A Dcares_wrap.h353 env()->SetImmediate([this, strong_ref](Environment*) { in QueueResponseCallback()
H A Dasync_wrap.cc551 env->SetImmediate(&DestroyAsyncIdsCallback, CallbackFlags::kUnrefed); in EmitDestroy()
H A Denv-inl.h529 void Environment::SetImmediate(Fn&& cb, CallbackFlags::Flags flags) { in SetImmediate() function in node::Environment
H A Denv.h846 // Unlike the JS setImmediate() function, nested SetImmediate() calls will
849 inline void SetImmediate(
852 // This behaves like SetImmediate() but can be called from any thread.
856 // the event loop (i.e. combines the V8 function with SetImmediate()).
H A Dnode_file.cc324 // warning will be emitted using a SetImmediate to avoid calling back to
344 env()->SetImmediate([detail](Environment* env) { in Close()
350 // it is being thrown from within the SetImmediate handler and in Close()
363 env()->SetImmediate([detail](Environment* env) { in Close()
/third_party/node/test/cctest/
H A Dtest_environment.cc356 (*env)->SetImmediate([&](node::Environment* env_arg) { in TEST_F()
360 (*env)->SetImmediate([&](node::Environment* env_arg) { in TEST_F()
576 (*env)->SetImmediate([&](node::Environment* env_arg) { in TEST_F()
/third_party/node/src/crypto/
H A Dcrypto_tls.cc645 env()->SetImmediate([this, strong_ref](Environment* env) { in EncOut()
677 env()->SetImmediate([this, strong_ref](Environment* env) { in EncOut()
999 env()->SetImmediate([this, strong_ref](Environment* env) { in DoWrite()

Completed in 29 milliseconds