Searched refs:MyThread (Results 1 - 16 of 16) sorted by relevance

/external/valgrind/unittest/output_tests/
H A Dfun_hist_test.cc33 MyThread t1(Thread1, NULL, "test-thread-1");
34 MyThread t2(Thread2, NULL, "test-thread-2");
H A Doutput_test1.cc19 MyThread t1(Thread1, NULL, "test-thread-1");
20 MyThread t2(Thread2, NULL, "test-thread-2");
/external/valgrind/unittest/
H A Dtest_utils.h91 ar_[0] = new MyThread(f1);
92 ar_[1] = f2 ? new MyThread(f2) : NULL;
93 ar_[2] = f3 ? new MyThread(f3) : NULL;
94 ar_[3] = f4 ? new MyThread(f4) : NULL;
95 ar_[4] = f5 ? new MyThread(f5) : NULL;
120 MyThread *ar_[kSize];
H A Dthread_wrappers_win.h193 class MyThread { class
197 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL) function in class:MyThread
199 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL) function in class:MyThread
201 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL) function in class:MyThread
204 ~MyThread(){
219 static DWORD WINAPI ThreadBody(MyThread *my_thread) {
H A Ddeadlock_unittest.cc107 ar_ = new MyThread* [count_];
109 ar_[i] = new MyThread(f);
130 MyThread **ar_;
H A Dthread_wrappers_pthread.h334 class MyThread { class
338 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL) function in class:MyThread
340 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL) function in class:MyThread
342 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL) function in class:MyThread
345 ~MyThread(){ w_ = NULL; arg_ = NULL;}
350 static void ThreadBody(MyThread *my_thread) {
H A Ddemo_tests.cc59 MyThread t1(Thread1, NULL, "test-thread-1");
60 MyThread t2(Thread2, NULL, "test-thread-2");
104 MyThread t1(Worker), t2(Worker);
194 MyThread t1(Worker1), t2(Worker2), t3(Worker3), t4(Worker4);
218 MyThread t1(Worker1), t2(Worker2), t3(Worker3);
319 MyThread t1(Worker1), t2(Worker2);
370 MyThread t1(Thread1, NULL, "writer1"),
432 MyThread t1(Thread1, NULL, "good writer1"),
H A Dthread_wrappers.h88 class MyThread;
237 MyThread *thread = new MyThread(&ThreadPool::Worker, this);
267 std::vector<MyThread*> workers_;
H A Dmemory_unittest.cc79 MyThread mt(Noop);
H A Dracecheck_unittest.cc374 MyThread t(Signaller);
408 MyThread t(Worker);
1340 MyThread r(Reader);
1341 MyThread w(Writer);
1391 std::vector<MyThread*> vec(Nlog);
1396 vec[i] = new MyThread(Worker);
3141 MyThread t1(WorkerY);
3142 MyThread t2(WorkerX);
3317 MyThread t1(Worker1);
3320 MyThread t
[all...]
H A Dwindows_tests.cc206 MyThread mt(SignalStealthNotification);
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h342 class MyThread { class
346 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL) function in class:MyThread
348 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL) function in class:MyThread
350 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL) function in class:MyThread
353 ~MyThread(){ w_ = NULL; arg_ = NULL;}
358 static void ThreadBody(MyThread *my_thread) {
507 MyThread *thread = new MyThread(&ThreadPool::Worker, this);
537 std::vector<MyThread*> workers_;
H A Dtsan_unittest.cpp283 ar_[0] = new MyThread(f1);
284 ar_[1] = f2 ? new MyThread(f2) : NULL;
285 ar_[2] = f3 ? new MyThread(f3) : NULL;
286 ar_[3] = f4 ? new MyThread(f4) : NULL;
287 ar_[4] = f5 ? new MyThread(f5) : NULL;
312 MyThread *ar_[kSize];
336 MyThread t(Worker);
616 MyThread t(Signaller);
650 MyThread t(Worker);
1650 MyThread
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DThreadGroupTest.java24 class MyThread extends Thread { class in class:ThreadGroupTest
27 public MyThread(ThreadGroup group, String name) method in class:ThreadGroupTest.MyThread
980 private boolean allSuspended(Vector<MyThread> threads) {
982 MyThread t = threads.elementAt(i);
1016 private Vector<MyThread> populateGroupsWithThreads(final ThreadGroup aGroup,
1018 Vector<MyThread> result = new Vector<MyThread>();
1025 final int threadCount, final Vector<MyThread> allCreated) {
1028 final String name = "(MyThread)N =" + iClone + "/" + threadCount
1031 MyThread
[all...]
H A DThreadTest.java297 class MyThread extends Thread {
298 MyThread(ThreadGroup tg, String name) {
363 MyThread t = new MyThread(tg, "top");
/external/chromium_org/components/nacl/loader/
H A Dnacl_ipc_adapter_unittest.cc277 class MyThread : public base::SimpleThread { class in inherits:base::SimpleThread
279 explicit MyThread(NaClIPCAdapter* adapter) function in class:MyThread
289 MyThread thread(adapter_.get());

Completed in 2255 milliseconds