Searched refs:GetTidForTest (Results 1 – 1 of 1) sorted by relevance
458 static __attribute__((__noinline__)) pid_t GetTidForTest() { in GetTidForTest() function467 ASSERT_EQ(gettid_syscall_result, GetTidForTest()); in AssertGetTidCorrect()472 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork()480 EXPECT_EQ(getpid(), GetTidForTest()) << "real tid is " << syscall(__NR_gettid) in TestGetTidCachingWithFork()486 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()517 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid()524 EXPECT_EQ(child_tid, GetTidForTest()); in CloneAndSetTid()527 EXPECT_NE(child_tid, GetTidForTest()); in CloneAndSetTid()529 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()567 pid_t parent_tid = GetTidForTest(); in TEST()[all …]