Lines Matching refs:nullptr

163   ASSERT_TRUE(backtrace.get() != nullptr);  in VerifyLevelBacktrace()
185 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyMaxBacktrace()
203 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyThreadTest()
224 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
240 ASSERT_NE(test_level_one(1, 2, 3, 4, VerifyLevelBacktrace, nullptr), 0); in TEST()
252 bool check = (cur_proc == nullptr); in VerifyIgnoreFrames()
272 ASSERT_TRUE(all.get() != nullptr); in VerifyLevelIgnoreFrames()
278 ASSERT_TRUE(ign1.get() != nullptr); in VerifyLevelIgnoreFrames()
284 ASSERT_TRUE(ign2.get() != nullptr); in VerifyLevelIgnoreFrames()
292 ASSERT_NE(test_level_one(1, 2, 3, 4, VerifyLevelIgnoreFrames, nullptr), 0); in TEST()
296 ASSERT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, VerifyMaxBacktrace, nullptr), 0); in TEST()
322 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyProcTest()
342 ASSERT_NE(test_level_one(1, 2, 3, 4, nullptr, nullptr), 0); in TEST()
355 ASSERT_NE(test_level_one(1, 2, 3, 4, nullptr, nullptr), 0); in TEST()
369 ASSERT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, nullptr, nullptr), 0); in TEST()
381 ASSERT_TRUE(ign1.get() != nullptr); in VerifyProcessIgnoreFrames()
386 ASSERT_TRUE(ign2.get() != nullptr); in VerifyProcessIgnoreFrames()
390 VerifyIgnoreFrames(bt_all, ign1.get(), ign2.get(), nullptr); in VerifyProcessIgnoreFrames()
396 ASSERT_NE(test_level_one(1, 2, 3, 4, nullptr, nullptr), 0); in TEST()
408 EXPECT_NE(test_level_one(1, 2, 3, 4, nullptr, nullptr), 0); in PtraceThreadLevelRun()
409 return nullptr; in PtraceThreadLevelRun()
418 ASSERT_TRUE(tasks_dir != nullptr); in GetThreads()
420 while ((entry = readdir(tasks_dir)) != nullptr) { in GetThreads()
439 ASSERT_TRUE(pthread_create(&thread, &attr, PtraceThreadLevelRun, nullptr) == 0); in TEST()
441 ASSERT_NE(test_level_one(1, 2, 3, 4, nullptr, nullptr), 0); in TEST()
474 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyLevelThread()
482 ASSERT_NE(test_level_one(1, 2, 3, 4, VerifyLevelThread, nullptr), 0); in TEST()
487 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyMaxThread()
495 ASSERT_NE(test_recursive_call(MAX_BACKTRACE_FRAMES+10, VerifyMaxThread, nullptr), 0); in TEST()
503 return nullptr; in ThreadLevelRun()
511 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST()
526 ASSERT_TRUE(sigaction(THREAD_SIGNAL, nullptr, &cur_action) == 0); in TEST()
529 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
540 ASSERT_TRUE(sigaction(THREAD_SIGNAL, nullptr, &new_action) == 0); in TEST()
561 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST()
569 ASSERT_TRUE(all.get() != nullptr); in TEST()
574 ASSERT_TRUE(ign1.get() != nullptr); in TEST()
579 ASSERT_TRUE(ign2.get() != nullptr); in TEST()
583 VerifyIgnoreFrames(all.get(), ign1.get(), ign2.get(), nullptr); in TEST()
594 return nullptr; in ThreadMaxRun()
602 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST()
610 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
634 return nullptr; in ThreadDump()
678 ASSERT_TRUE(dumpers[i].backtrace != nullptr); in TEST()
682 dumpers[i].backtrace = nullptr; in TEST()
718 ASSERT_TRUE(dumpers[i].backtrace != nullptr); in TEST()
722 dumpers[i].backtrace = nullptr; in TEST()
737 ASSERT_TRUE(back1 != nullptr); in TEST()
744 ASSERT_TRUE(back2 != nullptr); in TEST()
751 ASSERT_TRUE(back3 != nullptr); in TEST()
779 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
886 ASSERT_TRUE(map_file != nullptr); in VerifyMap()
930 ASSERT_EQ(waitpid(pid, nullptr, 0), pid); in TEST()
982 return nullptr; in ThreadReadTest()
1028 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST()
1034 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
1088 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
1115 ASSERT_EQ(waitpid(pid, nullptr, 0), pid); in TEST()
1155 return nullptr; in CopySharedLibrary()
1170 ASSERT_TRUE(tmp_so_name != nullptr); in TEST()
1187 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
1212 ASSERT_TRUE(tmp_so_name != nullptr); in TEST()
1259 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
1291 ASSERT_EQ(waitpid(pid, nullptr, 0), pid); in TEST()
1330 ASSERT_TRUE(backtrace.get() != nullptr); in VerifyUnreadableElfBacktrace()
1344 ASSERT_TRUE(tmp_so_name != nullptr); in TEST()
1346 ASSERT_TRUE(lib_handle != nullptr); in TEST()
1351 ASSERT_TRUE(test_func != nullptr); in TEST()
1361 ASSERT_TRUE(tmp_so_name != nullptr); in TEST()
1363 ASSERT_TRUE(lib_handle != nullptr); in TEST()
1368 ASSERT_TRUE(test_func != nullptr); in TEST()
1387 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
1408 ASSERT_EQ(waitpid(pid, nullptr, 0), pid); in TEST()
1416 ASSERT_TRUE(backtrace.get() != nullptr); in TEST()
1430 ASSERT_TRUE(backtrace != nullptr); in CheckForLeak()
1441 ASSERT_TRUE(backtrace != nullptr); in CheckForLeak()
1458 thread_t thread_data = { 0, 0, 0, nullptr }; in TEST()
1460 ASSERT_TRUE(pthread_create(&thread, nullptr, ThreadLevelRun, &thread_data) == 0); in TEST()
1470 ASSERT_TRUE(pthread_join(thread, nullptr) == 0); in TEST()
1493 ASSERT_EQ(waitpid(pid, nullptr, 0), pid); in TEST()