Lines Matching refs:thread
28 Thread* thread = threads.CreateThread(900); in TEST() local
29 ASSERT_TRUE(thread != nullptr); in TEST()
33 ASSERT_EQ(thread, found_thread); in TEST()
36 thread->SetAllocEntry(&thread_done); in TEST()
38 thread->SetPending(); in TEST()
40 threads.Finish(thread); in TEST()
92 Thread* thread = threads.CreateThread(900); in TEST() local
93 ASSERT_TRUE(thread != nullptr); in TEST()
105 thread->SetAllocEntry(&mallocs[i]); in TEST()
106 thread->SetPending(); in TEST()
111 thread->SetAllocEntry(&frees[i]); in TEST()
112 thread->SetPending(); in TEST()
117 thread->SetAllocEntry(&thread_done); in TEST()
118 thread->SetPending(); in TEST()
119 threads.Finish(thread); in TEST()
128 Thread* thread = threads.CreateThread(900+i); in TestTooManyThreads() local
129 ASSERT_EQ(thread, threads.FindThread(900+i)); in TestTooManyThreads()