Home
last modified time | relevance | path

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

/bionic/tests/
Dunistd_test.cpp506 static __attribute__((__noinline__)) pid_t GetTidForTest() { in GetTidForTest() function
515 ASSERT_EQ(gettid_syscall_result, GetTidForTest()); in AssertGetTidCorrect()
520 pid_t parent_tid = GetTidForTest(); in TestGetTidCachingWithFork()
528 EXPECT_EQ(getpid(), GetTidForTest()) << "real tid is " << syscall(__NR_gettid) in TestGetTidCachingWithFork()
534 ASSERT_EQ(parent_tid, GetTidForTest()); in TestGetTidCachingWithFork()
565 pid_t parent_tid = GetTidForTest(); in CloneAndSetTid()
572 EXPECT_EQ(child_tid, GetTidForTest()); in CloneAndSetTid()
575 EXPECT_NE(child_tid, GetTidForTest()); in CloneAndSetTid()
577 EXPECT_EQ(GetTidForTest(), parent_tid); in CloneAndSetTid()
615 pid_t parent_tid = GetTidForTest(); in TEST()
[all …]