Home
last modified time | relevance | path

Searched refs:kTotals (Results 1 – 8 of 8) sorted by relevance

/third_party/node/lib/
Dasync_hooks.js60 kInit, kBefore, kAfter, kDestroy, kTotals, kPromiseResolve,
96 const prev_kTotals = hook_fields[kTotals];
101 hook_fields[kTotals] = hook_fields[kInit] += +!!this[init_symbol];
102 hook_fields[kTotals] += hook_fields[kBefore] += +!!this[before_symbol];
103 hook_fields[kTotals] += hook_fields[kAfter] += +!!this[after_symbol];
104 hook_fields[kTotals] += hook_fields[kDestroy] += +!!this[destroy_symbol];
105 hook_fields[kTotals] +=
109 if (prev_kTotals === 0 && hook_fields[kTotals] > 0) {
125 const prev_kTotals = hook_fields[kTotals];
127 hook_fields[kTotals] = hook_fields[kInit] -= +!!this[init_symbol];
[all …]
/third_party/node/test/sequential/
Dtest-inspector-async-call-stack.js10 const { kTotals } = constants;
16 assert.strictEqual(async_hook_fields[kTotals], 0,
17 `${async_hook_fields[kTotals]} !== 0: ${message}`);
21 assert.strictEqual(async_hook_fields[kTotals], 4,
22 `${async_hook_fields[kTotals]} !== 4: ${message}`);
/third_party/node/lib/internal/
Dasync_hooks.js90 kInit, kBefore, kAfter, kDestroy, kTotals, kPromiseResolve,
579 kInit, kBefore, kAfter, kDestroy, kTotals, kPromiseResolve property
/third_party/node/src/api/
Dcallback.cc130 if (env_->async_hooks()->fields()[AsyncHooks::kTotals]) { in Close()
/third_party/node/src/
Dasync_wrap.cc455 SET_HOOKS_CONSTANT(kTotals); in Initialize()
Denv.h638 kTotals, enumerator
/third_party/node/doc/changelogs/
DCHANGELOG_V9.md358 …dejs/node/commit/71b1c7f79f)] - **async_hooks**: don't set hook\_fields\[kTotals\] to 0 (Daniel Be…
DCHANGELOG_V8.md3558 * [[`2122e2fe89`](https://github.com/nodejs/node/commit/2122e2fe89)] - **async_wrap**: use kTotals