Lines Matching refs:bt_all
328 static void VerifyIgnoreFrames(Backtrace* bt_all, Backtrace* bt_ign1, Backtrace* bt_ign2, in VerifyIgnoreFrames() argument
330 ASSERT_EQ(bt_all->NumFrames(), bt_ign1->NumFrames() + 1) << "All backtrace:\n" in VerifyIgnoreFrames()
331 << DumpFrames(bt_all) in VerifyIgnoreFrames()
334 ASSERT_EQ(bt_all->NumFrames(), bt_ign2->NumFrames() + 2) << "All backtrace:\n" in VerifyIgnoreFrames()
335 << DumpFrames(bt_all) in VerifyIgnoreFrames()
347 EXPECT_EQ(bt_ign2->GetFrame(i)->pc, bt_all->GetFrame(i+2)->pc); in VerifyIgnoreFrames()
348 EXPECT_EQ(bt_ign2->GetFrame(i)->sp, bt_all->GetFrame(i+2)->sp); in VerifyIgnoreFrames()
349 EXPECT_EQ(bt_ign2->GetFrame(i)->stack_size, bt_all->GetFrame(i+2)->stack_size); in VerifyIgnoreFrames()
452 static void VerifyProcessIgnoreFrames(Backtrace* bt_all, create_func_t create_func, in VerifyProcessIgnoreFrames() argument
454 std::unique_ptr<BacktraceMap> map(map_create_func(bt_all->Pid(), false)); in VerifyProcessIgnoreFrames()
455 std::unique_ptr<Backtrace> ign1(create_func(bt_all->Pid(), BACKTRACE_CURRENT_THREAD, map.get())); in VerifyProcessIgnoreFrames()
460 std::unique_ptr<Backtrace> ign2(create_func(bt_all->Pid(), BACKTRACE_CURRENT_THREAD, map.get())); in VerifyProcessIgnoreFrames()
465 VerifyIgnoreFrames(bt_all, ign1.get(), ign2.get(), nullptr); in VerifyProcessIgnoreFrames()