Home
last modified time | relevance | path

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

/system/core/include/backtrace/
DBacktrace.h92 virtual std::string FormatFrameData(size_t frame_num);
99 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame() argument
100 if (frame_num >= frames_.size()) { in GetFrame()
103 return &frames_[frame_num]; in GetFrame()
/system/core/libbacktrace/
DBacktrace.cpp87 std::string Backtrace::FormatFrameData(size_t frame_num) { in FormatFrameData() argument
88 if (frame_num >= frames_.size()) { in FormatFrameData()
91 return FormatFrameData(&frames_[frame_num]); in FormatFrameData()
Dbacktrace_test.cpp140 size_t frame_num = 0; in VerifyLevelDump() local
143 frame_num = i; in VerifyLevelDump()
147 ASSERT_LT(static_cast<size_t>(0), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
148 ASSERT_LE(static_cast<size_t>(3), frame_num) << DumpFrames(backtrace); in VerifyLevelDump()
150 ASSERT_EQ(backtrace->GetFrame(frame_num)->func_name, "test_level_one") in VerifyLevelDump()
152 ASSERT_EQ(backtrace->GetFrame(frame_num-1)->func_name, "test_level_two") in VerifyLevelDump()
154 ASSERT_EQ(backtrace->GetFrame(frame_num-2)->func_name, "test_level_three") in VerifyLevelDump()
156 ASSERT_EQ(backtrace->GetFrame(frame_num-3)->func_name, "test_level_four") in VerifyLevelDump()
1263 bool FindFuncFrameInBacktrace(Backtrace* backtrace, uintptr_t test_func, size_t* frame_num) { in FindFuncFrameInBacktrace() argument
1271 *frame_num = 0; in FindFuncFrameInBacktrace()
[all …]