/dalvik/tests/051-thread/src/ |
Main.java | 26 MyThread[] threads = new MyThread[512]; 28 threads[i] = new MyThread(); 31 for (MyThread thread : threads) { 34 for (MyThread thread : threads) { 38 System.out.println("Thread count: " + MyThread.mCount); 64 static class MyThread extends Thread { 67 synchronized (MyThread.class) {
|
/external/valgrind/unittest/output_tests/ |
fun_hist_test.cc | 33 MyThread t1(Thread1, NULL, "test-thread-1"); 34 MyThread t2(Thread2, NULL, "test-thread-2");
|
output_test1.cc | 19 MyThread t1(Thread1, NULL, "test-thread-1"); 20 MyThread t2(Thread2, NULL, "test-thread-2");
|
/external/valgrind/unittest/ |
test_utils.h | 91 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];
|
thread_wrappers_win.h | 193 class MyThread { 197 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL) 199 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL) 201 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL) 204 ~MyThread(){ 219 static DWORD WINAPI ThreadBody(MyThread *my_thread) {
|
deadlock_unittest.cc | 107 ar_ = new MyThread* [count_]; 109 ar_[i] = new MyThread(f); 130 MyThread **ar_;
|
thread_wrappers_pthread.h | 334 class MyThread { 338 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL) 340 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL) 342 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL) 345 ~MyThread(){ w_ = NULL; arg_ = NULL;} 350 static void ThreadBody(MyThread *my_thread) {
|
demo_tests.cc | 59 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"),
|
thread_wrappers.h | 88 class MyThread; 237 MyThread *thread = new MyThread(&ThreadPool::Worker, this); 267 std::vector<MyThread*> workers_;
|
memory_unittest.cc | 79 MyThread mt(Noop);
|
racecheck_unittest.cc | 374 MyThread t(Signaller); 408 MyThread t(Worker); 1340 MyThread r(Reader); 1341 MyThread w(Writer); [all...] |
windows_tests.cc | 206 MyThread mt(SignalStealthNotification);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadGroupTest.java | 29 class MyThread extends Thread { 32 public MyThread(ThreadGroup group, String name) 136 List<MyThread> newThreads = populateGroupsWithThreads(group, groupSize); 139 for(MyThread thread : newThreads) { 153 for(MyThread thread : newThreads) { 195 List<MyThread> subThreads = populateGroupsWithThreads(thrGroup, 3); 202 for(MyThread thr:subThreads) { 213 List<MyThread> subThreads1 = populateGroupsWithThreads(subGroup1, 3); 220 for(MyThread thr:subThreads1) { 229 for(MyThread thr:subThreads) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldServerSocketChannelTest.java | 83 class MyThread extends Thread { 97 MyThread thread = new MyThread();
|
/external/valgrind/main/drd/tests/ |
tsan_thread_wrappers_pthread.h | 342 class MyThread { 346 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL) 348 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL) 350 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL) 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_;
|
tsan_unittest.cpp | 283 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); [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ThreadGroupTest.java | 24 class MyThread extends Thread { 27 public MyThread(ThreadGroup group, String name) 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 t = new MyThread(aGroup, name) [all...] |
ThreadTest.java | 297 class MyThread extends Thread { 298 MyThread(ThreadGroup tg, String name) { 363 MyThread t = new MyThread(tg, "top");
|
/frameworks/native/libs/gui/tests/ |
SurfaceTextureClient_test.cpp | 496 class MyThread : public Thread { 513 MyThread(const sp<GLConsumer>& mST) 520 ~MyThread() { 537 MyThread* thread = new MyThread(mST);
|