Home
last modified time | relevance | path

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

/system/core/include/backtrace/
DBacktrace.h89 virtual std::string FormatFrameData(size_t frame_num);
96 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame() argument
97 if (frame_num >= frames_.size()) { in GetFrame()
100 return &frames_[frame_num]; in GetFrame()
/system/core/libbacktrace/
DBacktraceImpl.cpp93 std::string Backtrace::FormatFrameData(size_t frame_num) { in FormatFrameData() argument
94 if (frame_num >= frames_.size()) { in FormatFrameData()
97 return FormatFrameData(&frames_[frame_num]); in FormatFrameData()
Dbacktrace_test.cpp128 size_t frame_num = 0; in VerifyLevelDump() local
131 frame_num = i; in VerifyLevelDump()
135 ASSERT_LT(static_cast<size_t>(0), frame_num); in VerifyLevelDump()
136 ASSERT_LE(static_cast<size_t>(3), frame_num); in VerifyLevelDump()
138 ASSERT_EQ(backtrace->GetFrame(frame_num)->func_name, "test_level_one"); in VerifyLevelDump()
139 ASSERT_EQ(backtrace->GetFrame(frame_num-1)->func_name, "test_level_two"); in VerifyLevelDump()
140 ASSERT_EQ(backtrace->GetFrame(frame_num-2)->func_name, "test_level_three"); in VerifyLevelDump()
141 ASSERT_EQ(backtrace->GetFrame(frame_num-3)->func_name, "test_level_four"); in VerifyLevelDump()