Home
last modified time | relevance | path

Searched refs:async_wrap (Results 1 – 21 of 21) sorted by relevance

/third_party/node/src/
Ddebug_utils-inl.h182 void COLD_NOINLINE UnconditionalAsyncWrapDebug(AsyncWrap* async_wrap, in UnconditionalAsyncWrapDebug() argument
185 Debug(async_wrap->env(), in UnconditionalAsyncWrapDebug()
186 static_cast<DebugCategory>(async_wrap->provider_type()), in UnconditionalAsyncWrapDebug()
187 async_wrap->diagnostic_name() + " " + format + "\n", in UnconditionalAsyncWrapDebug()
192 inline void FORCE_INLINE Debug(AsyncWrap* async_wrap, in Debug() argument
195 DCHECK_NOT_NULL(async_wrap); in Debug()
196 DebugCategory cat = static_cast<DebugCategory>(async_wrap->provider_type()); in Debug()
197 if (!UNLIKELY(async_wrap->env()->enabled_debug_list()->enabled(cat))) return; in Debug()
198 UnconditionalAsyncWrapDebug(async_wrap, format, std::forward<Args>(args)...); in Debug()
202 inline void FORCE_INLINE Debug(AsyncWrap* async_wrap, in Debug() argument
[all …]
Ddebug_utils.h121 void COLD_NOINLINE UnconditionalAsyncWrapDebug(AsyncWrap* async_wrap,
126 inline void FORCE_INLINE Debug(AsyncWrap* async_wrap,
131 inline void FORCE_INLINE Debug(AsyncWrap* async_wrap,
Dstream_base.cc710 AsyncWrap* async_wrap = req_wrap->GetAsyncWrap(); in OnStreamAfterReqFinished() local
713 CHECK(!async_wrap->persistent().IsEmpty()); in OnStreamAfterReqFinished()
714 Local<Object> req_wrap_obj = async_wrap->object(); in OnStreamAfterReqFinished()
729 async_wrap->MakeCallback(env->oncomplete_string(), arraysize(argv), argv); in OnStreamAfterReqFinished()
819 AsyncWrap* async_wrap = GetAsyncWrap(); in Done() local
820 Environment* env = async_wrap->env(); in Done()
823 if (async_wrap->object() in Done()
Dnode_external_reference.h60 V(async_wrap) \
Dasync_wrap.cc712 NODE_BINDING_CONTEXT_AWARE_INTERNAL(async_wrap, node::AsyncWrap::Initialize)
713 NODE_BINDING_EXTERNAL_REFERENCE(async_wrap,
Dnode_internals.h230 explicit InternalCallbackScope(AsyncWrap* async_wrap, int flags = 0);
Denv.cc245 AsyncWrap* async_wrap) in DefaultTriggerAsyncIdScope() argument
246 : DefaultTriggerAsyncIdScope(async_wrap->env(), in DefaultTriggerAsyncIdScope()
247 async_wrap->get_async_id()) {} in DefaultTriggerAsyncIdScope()
Dnode_binding.cc42 V(async_wrap) \
DREADME.md891 directly from the event loop. It is defined in [`async_wrap.h`][].
894 maintained in `src/async_wrap.h`.
1094 [`async_wrap.h`]: async_wrap.h
Denv.h293 explicit DefaultTriggerAsyncIdScope(AsyncWrap* async_wrap);
/third_party/node/lib/internal/
Dasync_hooks.js13 const async_wrap = internalBinding('async_wrap'); constant
14 const { setCallbackTrampoline } = async_wrap;
44 } = async_wrap;
55 } = async_wrap;
82 const { registerDestroyHook } = async_wrap;
93 } = async_wrap.constants;
528 async_wrap.queueDestroyAsyncId(asyncId);
541 if (offset * 2 >= async_wrap.async_ids_stack.length)
543 async_wrap.async_ids_stack[offset * 2] = async_id_fields[kExecutionAsyncId];
544 async_wrap.async_ids_stack[offset * 2 + 1] = async_id_fields[kTriggerAsyncId];
[all …]
Dtrace_events_async_hooks.js11 const async_wrap = internalBinding('async_wrap'); constant
32 const nativeProviders = new SafeSet(ObjectKeys(async_wrap.Providers));
/third_party/node/test/parallel/
Dtest-async-wrap-destroyid.js6 const async_wrap = internalBinding('async_wrap'); constant
37 async_wrap.queueDestroyAsyncId(test_id);
/third_party/node/src/api/
Dcallback.cc40 InternalCallbackScope::InternalCallbackScope(AsyncWrap* async_wrap, int flags) in InternalCallbackScope() argument
41 : InternalCallbackScope(async_wrap->env(), in InternalCallbackScope()
42 async_wrap->object(), in InternalCallbackScope()
43 { async_wrap->get_async_id(), in InternalCallbackScope()
44 async_wrap->get_trigger_async_id() }, in InternalCallbackScope()
/third_party/node/test/common/
Dindex.js155 const async_wrap = internalBinding('async_wrap'); constant
163 const _queueDestroyAsyncId = async_wrap.queueDestroyAsyncId;
164 async_wrap.queueDestroyAsyncId = function queueDestroyAsyncId(id) {
/third_party/node/
Dnode.gyp484 'src/async_wrap.cc',
581 'src/async_wrap.h',
582 'src/async_wrap-inl.h',
/third_party/node/doc/api/
Dasync_hooks.md839 This feature suppresses the deprecated usage of `process.binding('async_wrap').Providers`.
/third_party/node/doc/contributing/
Dpull-requests.md175 * `src: fix typos in async_wrap.h`
Dcollaborator-guide.md852 | `src/async_wrap.*` | @nodejs/async\_hooks…
/third_party/node/doc/changelogs/
DCHANGELOG_V16.md1520 …s/node/commit/60a2b31c68)] - **src**: add cosmetic space character to `async_wrap.h` file (Juan Jo…
DCHANGELOG_V14.md488 …s/node/commit/495cd02c20)] - **src**: add cosmetic space character to `async_wrap.h` file (Juan Jo…