sanitizer_thread_registry_test.cc | 48 static uptr get_uid(u32 tid) { function in namespace:__sanitizer 69 EXPECT_EQ(0U, registry->CreateThread(get_uid(0), true, -1, 0)); 73 EXPECT_EQ(i, registry->CreateThread(get_uid(i), is_detached(i), 0, 0)); 93 registry->CreateThread(get_uid(i), is_detached(i), 0, 0)); 104 EXPECT_EQ(0U, registry->FindThread(HasUid, (void*)get_uid(0))); 105 EXPECT_EQ(10U, registry->FindThread(HasUid, (void*)get_uid(10))); 135 HasUid, (void*)get_uid(0)));
|