Home
last modified time | relevance | path

Searched refs:NumFrames (Results 1 – 19 of 19) sorted by relevance

/system/core/libunwindstack/tests/
DVerifyBionicTerminationTest.cpp42 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in DumpFrames()
102 ASSERT_LT(0U, unwinder.NumFrames()); in TEST()
110 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in TEST()
114 ASSERT_EQ(unwinder.NumFrames(), i + 1) << "__libc_init is not last frame."; in TEST()
DUnwinderTest.cpp173 ASSERT_EQ(3U, unwinder.NumFrames()); in TEST_F()
238 ASSERT_EQ(3U, unwinder.NumFrames()); in TEST_F()
298 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
328 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
358 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
389 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
426 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
459 ASSERT_EQ(20U, unwinder.NumFrames()); in TEST_F()
502 ASSERT_EQ(3U, unwinder.NumFrames()); in TEST_F()
564 ASSERT_EQ(2U, unwinder.NumFrames()); in TEST_F()
[all …]
DUnwindOfflineTest.cpp203 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in DumpFrames()
217 ASSERT_EQ(4U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
239 ASSERT_EQ(4U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
257 ASSERT_EQ(2U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
278 ASSERT_EQ(6U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
321 ASSERT_EQ(69U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
623 ASSERT_EQ(76U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
944 ASSERT_EQ(76U, unwinder.NumFrames()); in OfflineUnwind()
974 ASSERT_EQ(5U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
1003 ASSERT_EQ(5U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
[all …]
DUnwindTest.cpp104 for (size_t i = 0; i < unwinder->NumFrames(); i++) { in ErrorMsg()
467 frames[i] = unwinder.NumFrames(); in TEST_F()
/system/core/libbacktrace/
DUnwindStack.cpp100 if (num_ignore_frames >= unwinder.NumFrames()) { in Unwind()
106 frames->resize(unwinder.NumFrames() - num_ignore_frames); in Unwind()
108 for (size_t i = num_ignore_frames; i < unwinder.NumFrames(); i++) { in Unwind()
Dbacktrace_test.cpp124 if (backtrace->NumFrames() == 0) { in DumpFrames()
129 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in DumpFrames()
194 ASSERT_GT(backtrace->NumFrames(), static_cast<size_t>(0)) in VerifyLevelDump()
196 ASSERT_LT(backtrace->NumFrames(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)) in VerifyLevelDump()
202 for (size_t i = backtrace->NumFrames()-1; i > 2; i--) { in VerifyLevelDump()
232 return (backtrace->NumFrames() == MAX_BACKTRACE_FRAMES); in ReadyMaxBacktrace()
236 ASSERT_EQ(backtrace->NumFrames(), static_cast<size_t>(MAX_BACKTRACE_FRAMES)) in VerifyMaxDump()
280 ASSERT_TRUE(backtrace->NumFrames() != 0); in TEST_F()
301 ASSERT_TRUE(backtrace->NumFrames() != 0); in TEST_F()
330 ASSERT_EQ(bt_all->NumFrames(), bt_ign1->NumFrames() + 1) << "All backtrace:\n" in VerifyIgnoreFrames()
[all …]
/system/core/libunwindstack/tools/
Dunwind.cpp102 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in DoUnwind()
Dunwind_for_offline.cpp299 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in SaveData()
/system/core/libutils/
DCallStack.cpp48 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in update()
/system/bt/vendor_libs/test_vendor_lib/desktop/
Droot_canal_main.cc60 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in crash_callback()
/system/core/libunwindstack/benchmarks/
Dunwind_benchmarks.cpp36 return unwinder.NumFrames(); in Call6()
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp67 if (unwinder->NumFrames() == 0) { in dump_backtrace_thread()
Dutility.cpp451 for (size_t i = 0; i < unwinder->NumFrames(); i++) { in log_backtrace()
Dtombstone.cpp410 if (unwinder->NumFrames() == 0) { in dump_thread()
/system/bt/gd/facade/
Dfacade_main.cc78 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in crash_callback()
/system/core/init/
Dreboot_utils.cpp138 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in InitFatalReboot()
Dinit.cpp255 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in UnwindMainThreadStack()
/system/core/libbacktrace/include/backtrace/
DBacktrace.h163 size_t NumFrames() const { return frames_.size(); } in NumFrames() function
/system/core/libunwindstack/include/unwindstack/
DUnwinder.h80 size_t NumFrames() const { return frames_.size(); } in NumFrames() function