• Home
  • Raw
  • Download

Lines Matching refs:uptr

20 uptr StackTrace::GetNextInstructionPc(uptr pc) {  in GetNextInstructionPc()
30 uptr StackTrace::GetCurrentPc() { in GetCurrentPc()
34 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) { in Init()
46 static inline uhwptr *GetCanonicFrame(uptr bp, in GetCanonicFrame()
47 uptr stack_top, in GetCanonicFrame()
48 uptr stack_bottom) { in GetCanonicFrame()
52 if (IsValidFrame((uptr)bp_prev[0], stack_top, stack_bottom)) return bp_prev; in GetCanonicFrame()
55 if (IsValidFrame((uptr)bp_prev[-1], stack_top, stack_bottom)) in GetCanonicFrame()
67 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, in FastUnwindStack()
68 uptr stack_bottom, u32 max_depth) { in FastUnwindStack()
69 const uptr kPageSize = GetPageSizeCached(); in FastUnwindStack()
77 uptr bottom = stack_bottom; in FastUnwindStack()
79 while (IsValidFrame((uptr)frame, stack_top, bottom) && in FastUnwindStack()
80 IsAligned((uptr)frame, sizeof(*frame)) && in FastUnwindStack()
87 if (!IsValidFrame((uptr)caller_frame, stack_top, bottom) || in FastUnwindStack()
88 !IsAligned((uptr)caller_frame, sizeof(uhwptr))) in FastUnwindStack()
102 trace_buffer[size++] = (uptr) pc1; in FastUnwindStack()
104 bottom = (uptr)frame; in FastUnwindStack()
105 frame = GetCanonicFrame((uptr)frame[0], stack_top, bottom); in FastUnwindStack()
109 static bool MatchPc(uptr cur_pc, uptr trace_pc, uptr threshold) { in MatchPc()
113 void BufferedStackTrace::PopStackFrames(uptr count) { in PopStackFrames()
116 for (uptr i = 0; i < size; ++i) { in PopStackFrames()
121 uptr BufferedStackTrace::LocatePcInTrace(uptr pc) { in LocatePcInTrace()
125 for (uptr i = 0; i < size; ++i) { in LocatePcInTrace()