Lines Matching refs:uptr
20 static const uptr kStackTraceMax = 256;
34 uptr size;
35 uptr max_size;
36 uptr trace[kStackTraceMax];
37 static void PrintStack(const uptr *addr, uptr size,
40 void CopyTo(uptr *dst, uptr dst_size) { in CopyTo()
41 for (uptr i = 0; i < size && i < dst_size; i++) in CopyTo()
43 for (uptr i = size; i < dst_size; i++) in CopyTo()
47 void CopyFrom(uptr *src, uptr src_size) { in CopyFrom()
50 for (uptr i = 0; i < size; i++) { in CopyFrom()
55 void FastUnwindStack(uptr pc, uptr bp, uptr stack_top, uptr stack_bottom);
56 void SlowUnwindStack(uptr pc, uptr max_depth);
58 void PopStackFrames(uptr count);
60 static uptr GetCurrentPc();
61 static uptr GetPreviousInstructionPc(uptr pc);
63 static uptr CompressStack(StackTrace *stack,
64 u32 *compressed, uptr size);
66 u32 *compressed, uptr size);
73 void GetStackTrace(StackTrace *stack, uptr max_s, uptr pc, uptr bp,
74 uptr stack_top, uptr stack_bottom, bool fast);
81 uptr bp = GET_CURRENT_FRAME(); \
82 uptr pc = GET_CALLER_PC(); \
83 uptr local_stack; \
84 uptr sp = (uptr)&local_stack
89 uptr bp = GET_CURRENT_FRAME(); \
90 uptr pc = StackTrace::GetCurrentPc(); \
91 uptr local_stack; \
92 uptr sp = (uptr)&local_stack