Home
last modified time | relevance | path

Searched refs:GetTidForTest (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dunistd_test.cpp527 static __attribute__((__noinline__)) pid_t GetTidForTest() { in GetTidForTest() function
536 ASSERT_EQ(gettid_syscall_result, GetTidForTest()); in AssertGetTidCorrect()
541 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork()
549 EXPECT_EQ(getpid(), GetTidForTest()) << "real tid is " << syscall(__NR_gettid) in TestGetTidCachingWithFork()
555 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()
586 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid()
593 EXPECT_EQ(child_tid, GetTidForTest()); in CloneAndSetTid()
596 EXPECT_NE(child_tid, GetTidForTest()); in CloneAndSetTid()
598 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()
637 pid_t parent_tid = GetTidForTest(); in TEST()
[all …]