Lines Matching refs:hasHooks
120 if (asyncId !== 0 && hasHooks(kBefore))
131 if (asyncId !== 0 && hasHooks(kAfter))
346 if (hasHooks(kAfter)) {
468 function hasHooks(key) { function
473 return hasHooks(kCheck);
477 return hasHooks(kInit);
481 return hasHooks(kAfter);
485 return hasHooks(kDestroy);
489 return hasHooks(kPromiseResolve);
496 if (!hasHooks(kInit))
510 if (hasHooks(kBefore))
516 if (hasHooks(kAfter))
525 if (!hasHooks(kDestroy) || asyncId <= 0)
532 return hasHooks(kStackLength);