Lines Matching refs:parent_tid
520 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork() local
521 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TestGetTidCachingWithFork()
534 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()
565 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid() local
573 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
576 EXPECT_NE(child_tid, parent_tid); in CloneAndSetTid()
577 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()
615 pid_t parent_tid = GetTidForTest(); in TEST() local
616 ASSERT_EQ(syscall(__NR_gettid), parent_tid); in TEST()
621 ASSERT_EQ(parent_tid, GetTidForTest()); in TEST()
667 pid_t parent_tid = GetTidForTest(); in TEST() local
670 ASSERT_EQ(0, pthread_create(&t, nullptr, GetTidCachingPthreadStartRoutine, &parent_tid)); in TEST()
672 ASSERT_EQ(parent_tid, GetTidForTest()); in TEST()
676 ASSERT_NE(static_cast<uint64_t>(parent_tid), reinterpret_cast<uint64_t>(result)); in TEST()