Lines Matching refs:self
31 void Run(Thread* self) { in Run() argument
33 LOG(INFO) << "Running: " << *self; in Run()
62 Thread* self = Thread::Current(); in TEST_F() local
67 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
69 thread_pool.StartWorkers(self); in TEST_F()
71 thread_pool.Wait(self, true, false); in TEST_F()
77 Thread* self = Thread::Current(); in TEST_F() local
82 thread_pool.AddTask(self, new CountTask(&count)); in TEST_F()
88 thread_pool.StartWorkers(self); in TEST_F()
90 thread_pool.StopWorkers(self); in TEST_F()
92 thread_pool.AddTask(self, new CountTask(&bad_count)); in TEST_F()
97 thread_pool.StartWorkers(self); in TEST_F()
102 thread_pool.StopWorkers(self); in TEST_F()
112 void Run(Thread* self) { in Run() argument
114 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
115 thread_pool_->AddTask(self, new TreeTask(thread_pool_, count_, depth_ - 1)); in Run()
133 Thread* self = Thread::Current(); in TEST_F() local
137 thread_pool.AddTask(self, new TreeTask(&thread_pool, &count, depth)); in TEST_F()
138 thread_pool.StartWorkers(self); in TEST_F()
139 thread_pool.Wait(self, true, false); in TEST_F()