Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DVerifyBionicTerminationTest.cpp42 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in DumpFrames()
101 ASSERT_LT(0U, unwinder.NumFrames()); in TEST()
109 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in TEST()
113 ASSERT_EQ(unwinder.NumFrames(), i + 1) << "__libc_init is not last frame."; in TEST()
DUnwinderTest.cpp213 ASSERT_EQ(3U, unwinder.NumFrames()); in TEST_F()
279 ASSERT_EQ(3U, unwinder.NumFrames()); in TEST_F()
340 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
371 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
402 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
434 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
472 ASSERT_EQ(1U, unwinder.NumFrames()); in TEST_F()
506 ASSERT_EQ(20U, unwinder.NumFrames()); in TEST_F()
550 ASSERT_EQ(3U, unwinder.NumFrames()); in TEST_F()
613 ASSERT_EQ(2U, unwinder.NumFrames()); in TEST_F()
[all …]
DUnwindOfflineTest.cpp208 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in DumpFrames()
222 ASSERT_EQ(4U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
244 ASSERT_EQ(4U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
262 ASSERT_EQ(2U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
283 ASSERT_EQ(6U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
326 ASSERT_EQ(69U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
628 ASSERT_EQ(76U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
950 ASSERT_EQ(76U, unwinder.NumFrames()); in OfflineUnwind()
980 ASSERT_EQ(5U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
1009 ASSERT_EQ(5U, unwinder.NumFrames()) << "Unwind:\n" << frame_info; in TEST_F()
[all …]
DUnwindTest.cpp106 for (size_t i = 0; i < unwinder->NumFrames(); i++) { in ErrorMsg()
478 frames[i] = unwinder.NumFrames(); in TEST_F()
542 EXPECT_EQ(0U, unwinder.NumFrames()); in TEST_F()
/system/unwinding/libbacktrace/
DUnwindStack.cpp112 if (num_ignore_frames >= unwinder.NumFrames()) { in Unwind()
118 frames->resize(unwinder.NumFrames() - num_ignore_frames); in Unwind()
120 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/unwinding/libunwindstack/tools/
Dunwind.cpp97 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in DoUnwind()
Dunwind_for_offline.cpp295 for (size_t i = 0; i < unwinder.NumFrames(); i++) { in SaveData()
/system/unwinding/libunwindstack/benchmarks/
Dthread_unwind_benchmarks.cpp75 if (unwinder.NumFrames() < 5) { in BM_thread_unwind()
Dremote_unwind_benchmarks.cpp127 if (unwinder.NumFrames() < 5) { in RemoteUnwind()
Dlocal_unwind_benchmarks.cpp75 return unwinder.NumFrames(); in Unwind()
/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.cc71 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in crash_callback()
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp70 if (unwinder->NumFrames() == 0) { in dump_backtrace_thread()
Dutility.cpp459 for (size_t i = 0; i < unwinder->NumFrames(); i++) { in log_backtrace()
Dtombstone.cpp417 if (unwinder->NumFrames() == 0) { in dump_thread()
Dtombstone_proto.cpp403 if (unwinder->NumFrames() == 0) { in dump_thread()
/system/unwinding/libbacktrace/include/backtrace/
DBacktrace.h163 size_t NumFrames() const { return frames_.size(); } in NumFrames() function
/system/core/init/
Dreboot_utils.cpp165 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in InitFatalReboot()
Dinit.cpp260 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in UnwindMainThreadStack()
/system/bt/gd/facade/
Dfacade_main.cc87 for (size_t i = 0; i < backtrace->NumFrames(); i++) { in crash_callback()
/system/unwinding/libunwindstack/include/unwindstack/
DUnwinder.h82 size_t NumFrames() const { return frames_.size(); } in NumFrames() function