Home
last modified time | relevance | path

Searched refs:frame_num (Results 1 – 5 of 5) sorted by relevance

/system/core/libunwindstack/
DUnwinder.cpp48 size_t frame_num = frames_.size(); in FillInDexFrame() local
49 frames_.resize(frame_num + 1); in FillInDexFrame()
50 FrameData* frame = &frames_.at(frame_num); in FillInDexFrame()
51 frame->num = frame_num; in FillInDexFrame()
87 size_t frame_num = frames_.size(); in FillInFrame() local
88 frames_.resize(frame_num + 1); in FillInFrame()
89 FrameData* frame = &frames_.at(frame_num); in FillInFrame()
90 frame->num = frame_num; in FillInFrame()
253 std::string Unwinder::FormatFrame(size_t frame_num) { in FormatFrame() argument
254 if (frame_num >= frames_.size()) { in FormatFrame()
[all …]
/system/core/libbacktrace/include/backtrace/
DBacktrace.h179 virtual std::string FormatFrameData(size_t frame_num);
186 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame() argument
187 if (frame_num >= frames_.size()) { in GetFrame()
190 return &frames_[frame_num]; in GetFrame()
/system/core/libbacktrace/
DBacktrace.cpp78 std::string Backtrace::FormatFrameData(size_t frame_num) { in FormatFrameData() argument
79 if (frame_num >= frames_.size()) { in FormatFrameData()
82 return FormatFrameData(&frames_[frame_num]); in FormatFrameData()
Dbacktrace_test.cpp182 size_t frame_num = 0; in VerifyLevelDump() local
185 frame_num = i; in VerifyLevelDump()
189 ASSERT_LT(static_cast<size_t>(0), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
190 ASSERT_LE(static_cast<size_t>(3), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
192 ASSERT_EQ(backtrace->GetFrame(frame_num)->func_name, "test_level_one") in VerifyLevelDump()
194 ASSERT_EQ(backtrace->GetFrame(frame_num-1)->func_name, "test_level_two") in VerifyLevelDump()
196 ASSERT_EQ(backtrace->GetFrame(frame_num-2)->func_name, "test_level_three") in VerifyLevelDump()
198 ASSERT_EQ(backtrace->GetFrame(frame_num-3)->func_name, "test_level_four") in VerifyLevelDump()
1348 static bool FindFuncFrameInBacktrace(Backtrace* backtrace, uint64_t test_func, size_t* frame_num) { in FindFuncFrameInBacktrace() argument
1356 *frame_num = 0; in FindFuncFrameInBacktrace()
[all …]
/system/core/libunwindstack/include/unwindstack/
DUnwinder.h73 std::string FormatFrame(size_t frame_num);