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()
35 thread->CreateAction(0x1234, "thread_done", ""); in TEST()
37 thread->SetPending(); in TEST()
39 threads.Finish(thread); in TEST()
90 Thread* thread = threads.CreateThread(900); in TEST() local
91 ASSERT_TRUE(thread != nullptr); in TEST()
97 thread->CreateAction(0x1234 + i, "malloc", "100"); in TEST()
98 thread->SetPending(); in TEST()
101 thread->CreateAction(0x1234 + i, "free", ""); in TEST()
102 thread->SetPending(); in TEST()
106 thread->CreateAction(0x1236, "thread_done", ""); in TEST()
107 thread->SetPending(); in TEST()
108 threads.Finish(thread); in TEST()
117 Thread* thread = threads.CreateThread(900+i); in TestTooManyThreads() local
118 ASSERT_EQ(thread, threads.FindThread(900+i)); in TestTooManyThreads()