Home
last modified time | relevance | path

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

/external/libchrome/base/threading/
Dsimple_thread.cc84 DelegateSimpleThread::DelegateSimpleThread(Delegate* delegate, in DelegateSimpleThread() function in base::DelegateSimpleThread
86 : DelegateSimpleThread(delegate, name_prefix, Options()) {} in DelegateSimpleThread()
88 DelegateSimpleThread::DelegateSimpleThread(Delegate* delegate, in DelegateSimpleThread() function in base::DelegateSimpleThread
96 DelegateSimpleThread::~DelegateSimpleThread() = default;
98 void DelegateSimpleThread::Run() { in Run()
125 DelegateSimpleThread* thread = new DelegateSimpleThread(this, name_prefix_); in Start()
Dsimple_thread.h161 class BASE_EXPORT DelegateSimpleThread : public SimpleThread {
169 DelegateSimpleThread(Delegate* delegate,
171 DelegateSimpleThread(Delegate* delegate,
175 ~DelegateSimpleThread() override;
181 DISALLOW_COPY_AND_ASSIGN(DelegateSimpleThread);
194 : public DelegateSimpleThread::Delegate {
196 typedef DelegateSimpleThread::Delegate Delegate;
222 std::vector<DelegateSimpleThread*> threads_;
Dsimple_thread_unittest.cc19 class SetIntRunner : public DelegateSimpleThread::Delegate {
36 class ControlledRunner : public DelegateSimpleThread::Delegate {
69 class WaitEventRunner : public DelegateSimpleThread::Delegate {
86 class SeqRunner : public DelegateSimpleThread::Delegate {
101 class VerifyPoolRunner : public DelegateSimpleThread::Delegate {
131 DelegateSimpleThread thread(&runner, "int_setter"); in TEST()
152 DelegateSimpleThread thread(&runner, "event_waiter"); in TEST()
166 DelegateSimpleThread thread(&runner, "non_joinable", options); in TEST()
186 std::unique_ptr<DelegateSimpleThread> thread( in TEST()
187 new DelegateSimpleThread(runner.get(), "non_joinable", options)); in TEST()
Dthread_collision_warner_unittest.cc150 class QueueUser : public base::DelegateSimpleThread::Delegate { in TEST()
170 base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); in TEST()
171 base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); in TEST()
207 class QueueUser : public base::DelegateSimpleThread::Delegate { in TEST()
227 base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); in TEST()
228 base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); in TEST()
266 class QueueUser : public base::DelegateSimpleThread::Delegate { in TEST()
295 base::DelegateSimpleThread thread_a(&queue_user_a, "queue_user_thread_a"); in TEST()
296 base::DelegateSimpleThread thread_b(&queue_user_b, "queue_user_thread_b"); in TEST()
339 class QueueUser : public base::DelegateSimpleThread::Delegate { in TEST()
[all …]
Dthread_local_storage_unittest.cc57 class ThreadLocalStorageRunner : public DelegateSimpleThread::Delegate {
228 DelegateSimpleThread* threads[kNumThreads]; in TEST()
234 threads[index] = new DelegateSimpleThread(thread_delegates[index], in TEST()
/external/libchrome/base/
Dsync_socket_unittest.cc20 class HangingReceiveThread : public DelegateSimpleThread::Delegate {
60 DelegateSimpleThread thread_;
Dlazy_instance_unittest.cc61 class SlowDelegate : public base::DelegateSimpleThread::Delegate {