Lines Matching refs:asyncParent
38 std::shared_ptr<AsyncStackTrace>* asyncParent, in calculateAsyncChain() argument
40 *asyncParent = debugger->currentAsyncParent(); in calculateAsyncChain()
42 DCHECK(externalParent->IsInvalid() || !*asyncParent); in calculateAsyncChain()
48 if (contextGroupId && *asyncParent && in calculateAsyncChain()
49 (*asyncParent)->externalParent().IsInvalid() && in calculateAsyncChain()
50 (*asyncParent)->contextGroupId() != contextGroupId) { in calculateAsyncChain()
51 asyncParent->reset(); in calculateAsyncChain()
59 if (*asyncParent && (*asyncParent)->isEmpty()) { in calculateAsyncChain()
60 *asyncParent = (*asyncParent)->parent().lock(); in calculateAsyncChain()
68 const std::shared_ptr<AsyncStackTrace>& asyncParent, in buildInspectorObjectCommon() argument
70 if (asyncParent && frames.empty() && in buildInspectorObjectCommon()
71 description == asyncParent->description()) { in buildInspectorObjectCommon()
72 return asyncParent->buildInspectorObject(debugger, maxAsyncDepth); in buildInspectorObjectCommon()
88 if (asyncParent) { in buildInspectorObjectCommon()
91 asyncParent->buildInspectorObject(debugger, maxAsyncDepth - 1)); in buildInspectorObjectCommon()
96 AsyncStackTrace::store(debugger, asyncParent))) in buildInspectorObjectCommon()
195 std::shared_ptr<AsyncStackTrace> asyncParent; in create() local
197 calculateAsyncChain(debugger, contextGroupId, &asyncParent, &externalParent, in create()
199 if (frames.empty() && !asyncParent && externalParent.IsInvalid()) in create()
202 std::move(frames), maxAsyncDepth, asyncParent, externalParent)); in create()
222 std::shared_ptr<AsyncStackTrace> asyncParent, in V8StackTraceImpl() argument
226 m_asyncParent(asyncParent), in V8StackTraceImpl()
359 std::shared_ptr<AsyncStackTrace> asyncParent; in capture() local
361 calculateAsyncChain(debugger, contextGroupId, &asyncParent, &externalParent, in capture()
364 if (frames.empty() && !asyncParent && externalParent.IsInvalid()) in capture()
370 if (asyncParent && frames.empty() && in capture()
371 (asyncParent->m_description == description || description.isEmpty())) { in capture()
372 return asyncParent; in capture()
375 DCHECK(contextGroupId || asyncParent || !externalParent.IsInvalid()); in capture()
376 if (!contextGroupId && asyncParent) { in capture()
377 contextGroupId = asyncParent->m_contextGroupId; in capture()
382 asyncParent, externalParent)); in capture()
388 std::shared_ptr<AsyncStackTrace> asyncParent, in AsyncStackTrace() argument
395 m_asyncParent(asyncParent), in AsyncStackTrace()