Home
last modified time | relevance | path

Searched refs:MAX_BACKTRACE_FRAMES (Results 1 – 6 of 6) sorted by relevance

/system/core/include/backtrace/
Dbacktrace_constants.h28 #define MAX_BACKTRACE_FRAMES 64 macro
/system/core/libbacktrace/
Dbacktrace_offline_test.cpp164 ASSERT_LE(pc_values.size(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)); in TEST()
183 test_recursive_call, MAX_BACKTRACE_FRAMES + 10, std::placeholders::_1, std::placeholders::_2); in TEST()
187 ASSERT_EQ(static_cast<size_t>(MAX_BACKTRACE_FRAMES), pc_values.size()); in TEST()
DUnwindPtrace.cpp127 } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); in Unwind()
Dbacktrace_test.cpp135 ASSERT_LT(backtrace->NumFrames(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)) in VerifyLevelDump()
171 return (backtrace->NumFrames() == MAX_BACKTRACE_FRAMES); in ReadyMaxBacktrace()
175 ASSERT_EQ(backtrace->NumFrames(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)) in VerifyMaxDump()
178 ASSERT_EQ(backtrace->GetFrame(MAX_BACKTRACE_FRAMES-1)->func_name, "test_recursive_call") in VerifyMaxDump()
296 ASSERT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, VerifyMaxBacktrace, nullptr), 0); in TEST()
369 ASSERT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, nullptr, nullptr), 0); in TEST()
495 ASSERT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, VerifyMaxThread, nullptr), 0); in TEST()
593 EXPECT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, ThreadSetState, data), 0); in ThreadMaxRun()
1316 ASSERT_LT(backtrace->NumFrames(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)) in VerifyUnreadableElfFrame()
DUnwindCurrent.cpp130 } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); in UnwindFromContext()
DBacktraceOffline.cpp184 } while (ret > 0 && num_frames < MAX_BACKTRACE_FRAMES); in Unwind()