Searched refs:AsyncHooks (Results 1 – 19 of 19) sorted by relevance
/third_party/node/src/ |
D | env-inl.h | 73 inline AsyncHooks::AsyncHooks() in AsyncHooks() function 90 async_id_fields_[AsyncHooks::kDefaultTriggerAsyncId] = -1; in AsyncHooks() 94 async_id_fields_[AsyncHooks::kAsyncIdCounter] = 1; in AsyncHooks() 96 inline AliasedUint32Array& AsyncHooks::fields() { in fields() 100 inline AliasedFloat64Array& AsyncHooks::async_id_fields() { in async_id_fields() 104 inline AliasedFloat64Array& AsyncHooks::async_ids_stack() { in async_ids_stack() 108 v8::Local<v8::Array> AsyncHooks::js_execution_async_resources() { in js_execution_async_resources() 116 v8::Local<v8::Object> AsyncHooks::native_execution_async_resource(size_t i) { in native_execution_async_resource() 121 inline void AsyncHooks::SetJSPromiseHooks(v8::Local<v8::Function> init, in SetJSPromiseHooks() 140 inline v8::Local<v8::String> AsyncHooks::provider_string(int idx) { in provider_string() [all …]
|
D | async_wrap.cc | 128 void Emit(Environment* env, double async_id, AsyncHooks::Fields type, in Emit() 130 AsyncHooks* async_hooks = env->async_hooks(); in Emit() 143 Emit(env, async_id, AsyncHooks::kPromiseResolve, in EmitPromiseResolve() 165 Emit(env, async_id, AsyncHooks::kBefore, in EmitBefore() 189 Emit(env, async_id, AsyncHooks::kAfter, in EmitAfter() 448 constants, #name, Integer::New(isolate, AsyncHooks::name)) in Initialize() 568 if (env->async_hooks()->fields()[AsyncHooks::kDestroy] == 0 || in EmitDestroy() 657 AsyncHooks* async_hooks = env->async_hooks(); in EmitAsyncInit() 660 if (async_hooks->fields()[AsyncHooks::kInit] == 0) { in EmitAsyncInit()
|
D | env.h | 624 class AsyncHooks : public MemoryRetainer { 626 SET_MEMORY_INFO_NAME(AsyncHooks) 627 SET_SELF_SIZE(AsyncHooks) 681 AsyncHooks(const AsyncHooks&) = delete; 682 AsyncHooks& operator=(const AsyncHooks&) = delete; 683 AsyncHooks(AsyncHooks&&) = delete; 684 AsyncHooks& operator=(AsyncHooks&&) = delete; 685 ~AsyncHooks() = default; 705 AsyncHooks* async_hooks_; 711 inline AsyncHooks(); [all …]
|
D | async_wrap-inl.h | 85 inline AsyncHooks::DefaultTriggerAsyncIdScope ::DefaultTriggerAsyncIdScope( in DefaultTriggerAsyncIdScope()
|
D | stream_base-inl.h | 141 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(GetAsyncWrap()); in Shutdown() 193 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(GetAsyncWrap()); in Write()
|
D | tcp_wrap.cc | 58 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(parent); in Instantiate() 311 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(wrap); in Connect()
|
D | pipe_wrap.cc | 52 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(parent); in Instantiate()
|
D | udp_wrap.cc | 577 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(this); in Send() 726 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(parent); in Instantiate()
|
D | node_worker.cc | 767 AsyncHooks::DefaultTriggerAsyncIdScope trigger_id_scope(w); in TakeHeapSnapshot() 787 AsyncHooks::DefaultTriggerAsyncIdScope trigger_id_scope(taker.get()); in TakeHeapSnapshot()
|
D | env.cc | 1003 void AsyncHooks::MemoryInfo(MemoryTracker* tracker) const { in MemoryInfo() 1010 void AsyncHooks::grow_async_ids_stack() { in grow_async_ids_stack()
|
D | stream_base.cc | 467 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(wrap->GetAsyncWrap()); in JSMethod()
|
D | node_file.cc | 442 AsyncHooks::DefaultTriggerAsyncIdScope trigger_scope(this); in ReadStart()
|
/third_party/node/src/api/ |
D | callback.cc | 130 if (env_->async_hooks()->fields()[AsyncHooks::kTotals]) { in Close() 172 AsyncHooks* async_hooks = env->async_hooks(); in InternalMakeCallback() 178 async_hooks->fields()[AsyncHooks::kBefore] + in InternalMakeCallback() 179 async_hooks->fields()[AsyncHooks::kAfter] + in InternalMakeCallback() 180 async_hooks->fields()[AsyncHooks::kUsesExecutionAsyncResource] > 0; in InternalMakeCallback()
|
/third_party/node/test/async-hooks/ |
D | coverage.md | 1 # AsyncHooks Coverage Overview
|
/third_party/node/doc/api/ |
D | async_hooks.md | 151 ### Printing in AsyncHooks callbacks 154 will cause the AsyncHooks callbacks to be called. Using `console.log()` or 155 similar asynchronous operations inside an AsyncHooks callback function will thus 158 This will print to the file and will not invoke AsyncHooks recursively because 166 // Use a function like this one when debugging inside an AsyncHooks callback 173 provided by AsyncHooks itself. The logging should then be skipped when 174 it was the logging itself that caused AsyncHooks callback to call. By 685 // * trigger the AsyncHooks before callbacks 687 // * trigger the AsyncHooks after callbacks 691 // Call AsyncHooks destroy callbacks. [all …]
|
D | deprecations.md | 1676 ### DEP0085: AsyncHooks sensitive API 1691 The AsyncHooks sensitive API was never documented and had various minor issues. 1844 ### DEP0098: AsyncHooks embedder `AsyncResource.emitBefore` and `AsyncResource.emitAfter` APIs 1860 The embedded API provided by AsyncHooks exposes `.emitBefore()` and
|
D | errors.md | 654 `AsyncHooks` callback. 1373 An invalid `asyncId` or `triggerAsyncId` was passed using `AsyncHooks`. An id
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V9.md | 1107 …* deprecate AsyncHooks Sensitive API and runInAsyncIdScope. Neither API were documented. (Andreas …
|
D | CHANGELOG_V11.md | 347 * [[`4af9ff00ff`](https://github.com/nodejs/node/commit/4af9ff00ff)] - **src**: move AsyncHooks out…
|