Home
last modified time | relevance | path

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

/system/core/libunwindstack/
DUnwinder.cpp53 size_t frame_num = frames_.size(); in FillInDexFrame() local
54 frames_.resize(frame_num + 1); in FillInDexFrame()
55 FrameData* frame = &frames_.at(frame_num); in FillInDexFrame()
56 frame->num = frame_num; in FillInDexFrame()
95 size_t frame_num = frames_.size(); in FillInFrame() local
96 frames_.resize(frame_num + 1); in FillInFrame()
97 FrameData* frame = &frames_.at(frame_num); in FillInFrame()
98 frame->num = frame_num; in FillInFrame()
347 std::string Unwinder::FormatFrame(size_t frame_num) { in FormatFrame() argument
348 if (frame_num >= frames_.size()) { in FormatFrame()
[all …]
/system/core/libbacktrace/include/backtrace/
DBacktrace.h181 virtual std::string FormatFrameData(size_t frame_num);
188 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame() argument
189 if (frame_num >= frames_.size()) { in GetFrame()
192 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.cpp201 size_t frame_num = 0; in VerifyLevelDump() local
204 frame_num = i; in VerifyLevelDump()
208 ASSERT_LT(static_cast<size_t>(0), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
209 ASSERT_LE(static_cast<size_t>(3), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
211 ASSERT_EQ(backtrace->GetFrame(frame_num)->func_name, "test_level_one") in VerifyLevelDump()
213 ASSERT_EQ(backtrace->GetFrame(frame_num-1)->func_name, "test_level_two") in VerifyLevelDump()
215 ASSERT_EQ(backtrace->GetFrame(frame_num-2)->func_name, "test_level_three") in VerifyLevelDump()
217 ASSERT_EQ(backtrace->GetFrame(frame_num-3)->func_name, "test_level_four") in VerifyLevelDump()
1359 static bool FindFuncFrameInBacktrace(Backtrace* backtrace, uint64_t test_func, size_t* frame_num) { in FindFuncFrameInBacktrace() argument
1367 *frame_num = 0; in FindFuncFrameInBacktrace()
[all …]
/system/core/libunwindstack/include/unwindstack/
DUnwinder.h90 std::string FormatFrame(size_t frame_num);