Lines Matching refs:parent_tid
541 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork() local
542 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TestGetTidCachingWithFork()
555 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()
586 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid() local
594 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
597 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
598 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()
637 pid_t parent_tid = GetTidForTest(); in TEST() local
638 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TEST()
643 ASSERT_EQ(parent_tid, GetTidForTest()); in TEST()
689 pid_t parent_tid = GetTidForTest(); in TEST() local
692 ASSERT_EQ(0, pthread_create(&t, nullptr, GetTidCachingPthreadStartRoutine, &parent_tid)); in TEST()
694 ASSERT_EQ(parent_tid, GetTidForTest()); in TEST()
698 ASSERT_NE(static_cast<uint64_t>(parent_tid), reinterpret_cast<uint64_t>(result)); in TEST()