Lines Matching defs:std

36 std::vector<std::shared_ptr<StackFrame>> toFramesVector(
40 int frameCount = std::min(v8StackTrace->GetFrameCount(), maxStackSize);
47 std::vector<std::shared_ptr<StackFrame>> frames(frameCount);
56 std::shared_ptr<AsyncStackTrace>* asyncParent,
70 std::unique_ptr<protocol::Runtime::StackTrace> buildInspectorObjectCommon(
72 const std::vector<std::shared_ptr<StackFrame>>& frames,
74 const std::shared_ptr<AsyncStackTrace>& asyncParent,
82 std::make_unique<protocol::Array<protocol::Runtime::CallFrame>>();
83 for (const std::shared_ptr<StackFrame>& frame : frames) {
89 std::unique_ptr<protocol::Runtime::StackTrace> stackTrace =
91 .setCallFrames(std::move(inspectorFrames))
123 const std::pair<int64_t, int64_t> debugger_id)
127 const std::pair<int64_t, int64_t> debugger_id,
134 std::vector<uint8_t> cbor;
160 std::unique_ptr<StringBuffer> V8StackTraceId::ToString() {
166 std::vector<uint8_t> json;
169 return StringBufferFrom(std::move(json));
175 : m_functionName(std::move(functionName)),
177 m_sourceURL(std::move(sourceURL)),
195 std::unique_ptr<protocol::Runtime::CallFrame> StackFrame::buildInspectorObject(
204 std::unique_ptr<StringBuffer> url =
226 std::unique_ptr<V8StackTraceImpl> V8StackTraceImpl::create(
234 std::vector<std::shared_ptr<StackFrame>> frames;
240 std::shared_ptr<AsyncStackTrace> asyncParent;
245 return std::unique_ptr<V8StackTraceImpl>(new V8StackTraceImpl(
246 std::move(frames), maxAsyncDepth, asyncParent, externalParent));
250 std::unique_ptr<V8StackTraceImpl> V8StackTraceImpl::capture(
270 std::vector<std::shared_ptr<StackFrame>> frames, int maxAsyncDepth,
271 std::shared_ptr<AsyncStackTrace> asyncParent,
273 : m_frames(std::move(frames)),
275 m_asyncParent(std::move(asyncParent)),
280 std::unique_ptr<V8StackTrace> V8StackTraceImpl::clone() {
281 return std::unique_ptr<V8StackTrace>(new V8StackTraceImpl(
282 m_frames, 0, std::shared_ptr<AsyncStackTrace>(), V8StackTraceId()));
316 std::unique_ptr<protocol::Runtime::StackTrace>
321 std::unique_ptr<protocol::Runtime::StackTrace>
329 std::unique_ptr<protocol::Runtime::API::StackTrace>
332 std::min(maxAsyncDepth, m_maxAsyncDepth));
335 std::unique_ptr<StringBuffer> V8StackTraceImpl::toString() const {
380 const std::vector<std::shared_ptr<StackFrame>>& frames = m_parent->frames();
396 std::shared_ptr<AsyncStackTrace> AsyncStackTrace::capture(
409 std::vector<std::shared_ptr<StackFrame>> frames;
419 std::shared_ptr<AsyncStackTrace> asyncParent;
434 return std::shared_ptr<AsyncStackTrace>(new AsyncStackTrace(
435 description, std::move(frames), asyncParent, externalParent));
440 std::vector<std::shared_ptr<StackFrame>> frames,
441 std::shared_ptr<AsyncStackTrace> asyncParent,
445 m_frames(std::move(frames)),
446 m_asyncParent(std::move(asyncParent)),
449 std::unique_ptr<protocol::Runtime::StackTrace>
458 std::shared_ptr<AsyncStackTrace> stack) {
466 std::weak_ptr<AsyncStackTrace> AsyncStackTrace::parent() const {