Home
last modified time | relevance | path

Searched refs:StackFrame (Results 1 – 25 of 122) sorted by relevance

12345

/external/libchrome/base/trace_event/
Dheap_profiler_allocation_context_tracker_unittest.cc47 void AssertBacktraceEquals(const StackFrame(&expected_backtrace)[N]) { in AssertBacktraceEquals()
69 StackFrame t = StackFrame::FromThreadName(kThreadName); in AssertBacktraceContainsOnlyThreadName()
99 StackFrame t = StackFrame::FromThreadName(kThreadName); in TEST_F()
100 StackFrame c = StackFrame::FromTraceEventName(kCupcake); in TEST_F()
101 StackFrame d = StackFrame::FromTraceEventName(kDonut); in TEST_F()
102 StackFrame e = StackFrame::FromTraceEventName(kEclair); in TEST_F()
103 StackFrame f = StackFrame::FromTraceEventName(kFroyo); in TEST_F()
109 StackFrame frame_c[] = {t, c}; in TEST_F()
114 StackFrame frame_cd[] = {t, c, d}; in TEST_F()
122 StackFrame frame_ce[] = {t, c, e}; in TEST_F()
[all …]
Dheap_profiler_allocation_context.h44 struct BASE_EXPORT StackFrame { struct
51 static StackFrame FromTraceEventName(const char* name) { in FromTraceEventName() argument
54 static StackFrame FromThreadName(const char* name) { in FromThreadName() argument
57 static StackFrame FromProgramCounter(const void* pc) { in FromProgramCounter() argument
65 bool BASE_EXPORT operator < (const StackFrame& lhs, const StackFrame& rhs); argument
66 bool BASE_EXPORT operator == (const StackFrame& lhs, const StackFrame& rhs);
67 bool BASE_EXPORT operator != (const StackFrame& lhs, const StackFrame& rhs);
76 StackFrame frames[kMaxFrameCount];
116 struct BASE_EXPORT hash<base::trace_event::StackFrame> {
117 size_t operator()(const base::trace_event::StackFrame& frame) const;
Dheap_profiler_allocation_context.cc15 bool operator < (const StackFrame& lhs, const StackFrame& rhs) { in operator <()
19 bool operator == (const StackFrame& lhs, const StackFrame& rhs) { in operator ==()
23 bool operator != (const StackFrame& lhs, const StackFrame& rhs) { in operator !=()
59 using base::trace_event::StackFrame;
61 size_t hash<StackFrame>::operator()(const StackFrame& frame) const { in operator ()()
/external/tensorflow/tensorflow/python/util/
Dtf_stack.cc44 struct StackFrame; // Forward declaration.
47 PYBIND11_MAKE_OPAQUE(std::vector<StackFrame>);
79 py::str LineContents(const StackFrame& frame) { in LineContents()
112 const StackFrame& frame, in StackFrameToString()
142 explicit StackTraceWrapper(absl::Span<StackFrame const> stack_frames) in StackTraceWrapper()
143 : stack_frames_cache_(std::vector<StackFrame>(stack_frames.begin(), in StackTraceWrapper()
152 absl::Span<StackFrame const> ToFrames() const override { in ToFrames()
168 std::vector<StackFrame> GetUserFrames(int limit = -1) const { in GetUserFrames()
170 std::vector<StackFrame> user_frames = captured_.ToStackFrames( in GetUserFrames()
184 StackFrame LastUserFrame() const override { in LastUserFrame()
[all …]
/external/google-breakpad/src/google_breakpad/processor/
Dstack_frame.h42 struct StackFrame { struct
57 StackFrame() in StackFrame() argument
66 virtual ~StackFrame() {} in ~StackFrame() argument
72 case StackFrame::FRAME_TRUST_CONTEXT: in trust_description() argument
74 case StackFrame::FRAME_TRUST_PREWALKED: in trust_description()
76 case StackFrame::FRAME_TRUST_CFI: in trust_description()
78 case StackFrame::FRAME_TRUST_CFI_SCAN: in trust_description()
80 case StackFrame::FRAME_TRUST_FP: in trust_description()
82 case StackFrame::FRAME_TRUST_SCAN: in trust_description()
Dstack_frame_cpu.h52 struct StackFrameX86 : public StackFrame {
100 struct StackFramePPC : public StackFrame {
126 struct StackFramePPC64 : public StackFrame {
152 struct StackFrameAMD64 : public StackFrame {
197 struct StackFrameSPARC : public StackFrame {
221 struct StackFrameARM : public StackFrame {
273 struct StackFrameARM64 : public StackFrame {
337 struct StackFrameMIPS : public StackFrame {
Dsource_line_resolver_interface.h45 struct StackFrame;
95 virtual void FillSourceLineInfo(StackFrame *frame) = 0;
102 virtual WindowsFrameInfo *FindWindowsFrameInfo(const StackFrame *frame) = 0;
108 virtual CFIFrameInfo *FindCFIFrameInfo(const StackFrame *frame) = 0;
Dstack_frame_symbolizer.h50 struct StackFrame;
82 StackFrame* stack_frame);
84 virtual WindowsFrameInfo* FindWindowsFrameInfo(const StackFrame* frame);
86 virtual CFIFrameInfo* FindCFIFrameInfo(const StackFrame* frame);
/external/google-breakpad/src/processor/
Dstackwalker_address_list.cc61 StackFrame* StackwalkerAddressList::GetContextFrame() { in GetContextFrame()
65 StackFrame* frame = new StackFrame(); in GetContextFrame()
67 frame->trust = StackFrame::FRAME_TRUST_PREWALKED; in GetContextFrame()
71 StackFrame* StackwalkerAddressList::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
86 StackFrame* frame = new StackFrame(); in GetCallerFrame()
88 frame->trust = StackFrame::FRAME_TRUST_PREWALKED; in GetCallerFrame()
Dstackwalker_x86.cc120 StackFrame* StackwalkerX86::GetContextFrame() { in GetContextFrame()
132 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
139 const vector<StackFrame*> &frames, in GetCallerByWindowsFrameInfo()
142 StackFrame::FrameTrust trust = StackFrame::FRAME_TRUST_NONE; in GetCallerByWindowsFrameInfo()
244 last_frame->trust == StackFrame::FRAME_TRUST_CONTEXT && in GetCallerByWindowsFrameInfo()
271 trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByWindowsFrameInfo()
401 trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByWindowsFrameInfo()
441 trust = StackFrame::FRAME_TRUST_CFI_SCAN; in GetCallerByWindowsFrameInfo()
460 (trust != StackFrame::FRAME_TRUST_CFI && ebp <= raSearchStart + offset); in GetCallerByWindowsFrameInfo()
517 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
[all …]
Dstackwalker_arm64.h75 virtual StackFrame* GetContextFrame();
76 virtual StackFrame* GetCallerFrame(const CallStack* stack,
82 StackFrameARM64* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
87 StackFrameARM64* GetCallerByFramePointer(const vector<StackFrame*> &frames);
91 StackFrameARM64* GetCallerByStackScan(const vector<StackFrame*> &frames);
97 void CorrectRegLRByFramePointer(const vector<StackFrame*>& frames,
Dstackwalker_arm.h71 virtual StackFrame* GetContextFrame();
72 virtual StackFrame* GetCallerFrame(const CallStack* stack,
78 StackFrameARM* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
83 StackFrameARM* GetCallerByFramePointer(const vector<StackFrame*> &frames);
87 StackFrameARM* GetCallerByStackScan(const vector<StackFrame*> &frames);
Dstackwalker_amd64.h71 virtual StackFrame* GetContextFrame();
72 virtual StackFrame* GetCallerFrame(const CallStack* stack,
78 StackFrameAMD64* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
87 const vector<StackFrame*>& frames);
91 StackFrameAMD64* GetCallerByStackScan(const vector<StackFrame*> &frames);
Dstackwalker_x86.h76 virtual StackFrame* GetContextFrame();
77 virtual StackFrame* GetCallerFrame(const CallStack* stack,
84 const vector<StackFrame*> &frames,
91 StackFrameX86* GetCallerByCFIFrameInfo(const vector<StackFrame*> &frames,
99 StackFrameX86* GetCallerByEBPAtBase(const vector<StackFrame*> &frames,
Dstackwalker_amd64.cc110 StackFrame* StackwalkerAMD64::GetContextFrame() { in GetContextFrame()
122 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
129 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
146 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
157 const vector<StackFrame*>& frames) { in GetCallerByFramePointerRecovery()
205 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointerRecovery()
220 const vector<StackFrame*> &frames) { in GetCallerByStackScan()
235 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
269 StackFrame* StackwalkerAMD64::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
276 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame()
Dstackwalker_arm64.cc81 StackFrame* StackwalkerARM64::GetContextFrame() { in GetContextFrame()
93 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
102 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
173 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
178 const vector<StackFrame*> &frames) { in GetCallerByStackScan()
198 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
209 const vector<StackFrame*> &frames) { in GetCallerByFramePointer()
240 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointer()
255 const vector<StackFrame*>& frames, in CorrectRegLRByFramePointer()
290 StackFrame* StackwalkerARM64::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
[all …]
Dstackwalker_arm.cc62 StackFrame* StackwalkerARM::GetContextFrame() { in GetContextFrame()
74 frame->trust = StackFrame::FRAME_TRUST_CONTEXT; in GetContextFrame()
81 const vector<StackFrame*> &frames, in GetCallerByCFIFrameInfo()
160 frame->trust = StackFrame::FRAME_TRUST_CFI; in GetCallerByCFIFrameInfo()
165 const vector<StackFrame*> &frames) { in GetCallerByStackScan()
185 frame->trust = StackFrame::FRAME_TRUST_SCAN; in GetCallerByStackScan()
196 const vector<StackFrame*> &frames) { in GetCallerByFramePointer()
227 frame->trust = StackFrame::FRAME_TRUST_FP; in GetCallerByFramePointer()
241 StackFrame* StackwalkerARM::GetCallerFrame(const CallStack* stack, in GetCallerFrame()
248 const vector<StackFrame*> &frames = *stack->frames(); in GetCallerFrame()
Dstackwalker_mips.h64 virtual StackFrame* GetContextFrame();
65 virtual StackFrame* GetCallerFrame(const CallStack* stack,
71 StackFrameMIPS* GetCallerByCFIFrameInfo(const vector<StackFrame*>& frames,
76 StackFrameMIPS* GetCallerByStackScan(const vector<StackFrame*>& frames);
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/
DStackFrameImpl.java39 implements StackFrame, ThreadListener
130 ps = JDWP.StackFrame.ThisObject. in thisObject()
136 thisObject = JDWP.StackFrame.ThisObject. in thisObject()
209 JDWP.StackFrame.GetValues.SlotInfo[] slots = in getValues()
210 new JDWP.StackFrame.GetValues.SlotInfo[count]; in getValues()
218 slots[i] = new JDWP.StackFrame.GetValues.SlotInfo(variable.slot(), in getValues()
227 ps = JDWP.StackFrame.GetValues.enqueueCommand(vm, thread, id, slots); in getValues()
233 values = JDWP.StackFrame.GetValues.waitForReply(vm, ps).values; in getValues()
276 JDWP.StackFrame.SetValues.SlotInfo[] slotVals = in setValue()
277 new JDWP.StackFrame.SetValues.SlotInfo[1]; in setValue()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Misc/
DErrorManager.cs40 using StackFrame = System.Diagnostics.StackFrame; typedef
48 StackFrame location = GetLastNonErrorManagerCodeLocation(e); in InternalError()
56 StackFrame location = GetLastNonErrorManagerCodeLocation(new Exception()); in InternalError()
67 private static StackFrame GetLastNonErrorManagerCodeLocation(Exception e) in GetLastNonErrorManagerCodeLocation()
73 StackFrame f = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
79 StackFrame location = stackTrace.GetFrame(i); in GetLastNonErrorManagerCodeLocation()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_conditionaljumptracker.cpp41 struct StackFrame { struct
43 StackFrame(r600_bytecode_cf *s, JumpType t): in StackFrame() function
48 virtual ~StackFrame();
58 using PStackFrame = shared_ptr<StackFrame>;
60 struct IfFrame : public StackFrame {
66 struct LoopFrame : public StackFrame {
150 StackFrame (s, jt_if) in IfFrame()
154 StackFrame::~StackFrame() in ~StackFrame()
174 StackFrame(s, jt_loop) in LoopFrame()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DSignals.inc225 STACKFRAME64 StackFrame = StackFrameOrig;
236 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
239 if (StackFrame.AddrFrame.Offset == 0)
241 StackTrace[Depth++] = (void *)(uintptr_t)StackFrame.AddrPC.Offset;
294 HANDLE hThread, STACKFRAME64 &StackFrame,
304 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
310 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
316 if (StackFrame.AddrFrame.Offset == 0)
321 DWORD64 PC = StackFrame.AddrPC.Offset;
331 StackFrame.Params[0], StackFrame.Params[1], StackFrame.Params[2],
[all …]
/external/llvm/lib/Support/Windows/
DSignals.inc224 STACKFRAME64 StackFrame = StackFrameOrig;
235 while (fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
238 if (StackFrame.AddrFrame.Offset == 0)
240 StackTrace[Depth++] = (void *)(uintptr_t)StackFrame.AddrPC.Offset;
293 HANDLE hThread, STACKFRAME64 &StackFrame,
302 if (printStackTraceWithLLVMSymbolizer(OS, hProcess, hThread, StackFrame,
308 if (!fStackWalk64(NativeMachineType, hProcess, hThread, &StackFrame,
314 if (StackFrame.AddrFrame.Offset == 0)
319 DWORD64 PC = StackFrame.AddrPC.Offset;
329 StackFrame.Params[0], StackFrame.Params[1], StackFrame.Params[2],
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DThreadReference.java198 List<StackFrame> frames() throws IncompatibleThreadStateException; in frames()
215 StackFrame frame(int index) throws IncompatibleThreadStateException; in frame()
239 List<StackFrame> frames(int start, int length) in frames()
392 void popFrames(StackFrame frame) throws IncompatibleThreadStateException; in popFrames()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DExceptionExtensions.cs51 public static StackFrame[] getStackTrace( this Exception e ) in getStackTrace()
54 StackFrame[] frames = trace.GetFrames(); in getStackTrace()
65 public static string getMethodName( this StackFrame frame ) in getMethodName()
71 public static string getClassName( this StackFrame frame ) in getClassName()

12345