/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_lock.py | 56 threads = [] 57 threads.append(Thread(target = self.theThread, 59 threads.append(Thread(target = self.theThread, 61 threads.append(Thread(target = self.theThread, 63 threads.append(Thread(target = self.theThread, 65 threads.append(Thread(target = self.theThread, 67 threads.append(Thread(target = self.theThread, 69 threads.append(Thread(target = self.theThread, 71 threads.append(Thread(target = self.theThread, 73 threads.append(Thread(target = self.theThread [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dummy_threading.py | 44 self.threads = [] 49 self.threads.append(t) 54 for t in self.threads:
|
test_threadedtempfile.py | 3 in each of NUM_THREADS threads, recording the number of successes and 49 threads = [] 54 threads.append(t) 61 for t in threads:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_lock.py | 56 threads = [] 57 threads.append(Thread(target = self.theThread, 59 threads.append(Thread(target = self.theThread, 61 threads.append(Thread(target = self.theThread, 63 threads.append(Thread(target = self.theThread, 65 threads.append(Thread(target = self.theThread, 67 threads.append(Thread(target = self.theThread, 69 threads.append(Thread(target = self.theThread, 71 threads.append(Thread(target = self.theThread, 73 threads.append(Thread(target = self.theThread [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dummy_threading.py | 44 self.threads = [] 49 self.threads.append(t) 54 for t in self.threads:
|
test_threadedtempfile.py | 3 in each of NUM_THREADS threads, recording the number of successes and 49 threads = [] 54 threads.append(t) 61 for t in threads:
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
inspector_importer_unittest.py | 139 threads = process.threads 140 self.assertEquals(2, len(threads)) 141 renderer_thread = threads[0] 145 second_thread = threads['2']
|
trace_event_importer_unittest.py | 56 self.assertEqual(1, len(p.threads)) 57 t = p.threads[53] 104 t = processes[0].threads[1] 125 self.assertEqual(1, len(p.threads)) 126 t = p.threads[53] 147 t = m.GetAllProcesses()[0].threads[1] 188 t1 = p.threads[1] 198 t2 = p.threads[2] 217 t = p.threads[1] 241 t = m.GetAllProcesses()[0].threads[1 [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
once_unittest.cc | 209 scoped_ptr<TestThread> threads[4]; local 212 threads[i].reset(RunInitOnceInNewThread()); 215 threads[i]->Join(); 226 scoped_ptr<TestThread> threads[8]; local 231 threads[i].reset(RunInitOnceInNewThread()); 234 threads[i].reset(RunInitRecursiveOnceInNewThread()); 246 threads[i]->Join();
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
mmap-basic.c | 22 struct thread_map *threads; local 35 threads = thread_map__new(-1, getpid(), UINT_MAX); 36 if (threads == NULL) { 62 perf_evlist__set_maps(evlist, cpus, threads); 79 if (perf_evsel__open(evsels[i], cpus, threads) < 0) { 143 perf_evsel__close_fd(evsels[i], 1, threads->nr); 149 thread_map__delete(threads);
|
perf-time-to-tsc.c | 59 struct thread_map *threads = NULL; local 71 threads = thread_map__new(-1, getpid(), UINT_MAX); 72 CHECK_NOT_NULL__(threads); 80 perf_evlist__set_maps(evlist, cpus, threads); 175 if (threads) 176 thread_map__delete(threads);
|
/external/lldb/test/functionalities/thread/concurrent_events/ |
main.cpp | 12 // from multiple threads. The test expects the debugger to set a breakpoint on 13 // the main thread (before any worker threads are spawned) and modify variables 28 // avoids a lot of messy context switching to get multiple threads synchronized. 61 // Wait until all threads are running 72 // Wait until all threads are running 122 void start_threads(thread_vector& threads, 130 threads.push_back(t); 177 // Create threads that handle instant actions 178 thread_vector threads; local 179 start_threads(threads, actions) [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
once_unittest.cc | 209 scoped_ptr<TestThread> threads[4]; local 212 threads[i].reset(RunInitOnceInNewThread()); 215 threads[i]->Join(); 226 scoped_ptr<TestThread> threads[8]; local 231 threads[i].reset(RunInitOnceInNewThread()); 234 threads[i].reset(RunInitRecursiveOnceInNewThread()); 246 threads[i]->Join();
|
/libcore/libart/src/main/java/java/lang/ |
ThreadGroup.java | 27 * {@code ThreadGroup} is a means of organizing threads into a hierarchical structure. 37 // Maximum priority for Threads inside this ThreadGroup 45 * Weak references to the threads in this group. 51 * View of the threads. 54 private final Iterable<Thread> threads = CollectionUtils.dereferenceIterable(threadRefs, true); field in class:ThreadGroup 125 for (Thread thread : threads) { 195 * to destroy a {@code ThreadGroup} that has no threads in it. Any daemon 196 * {@code ThreadGroup} is destroyed automatically when it becomes empty (no threads 201 * threads. 211 if (threads.iterator().hasNext()) [all...] |
/external/chromium_org/content/browser/ |
browser_thread_impl.cc | 27 // Friendly names for the well-known threads. 92 memset(threads, 0, BrowserThread::ID_COUNT * sizeof(threads[0])); 97 // This lock protects |threads|. Do not read or modify that array 101 // This array is protected by |lock|. The threads are not owned by this 102 // array. Typically, the threads are owned on the UI thread by 105 BrowserThreadImpl* threads[BrowserThread::ID_COUNT]; member in struct:content::__anon11361::BrowserThreadGlobals 279 DCHECK(globals.threads[identifier_] == NULL); 280 globals.threads[identifier_] = this; 291 globals.threads[identifier_] = NULL [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
ThreadGroupTest.java | 50 * debuggee threads by VirtualMachine.AllThreads command and looks for tested thread. 61 logWriter.println("get all threads"); 63 int threads = reply.getNextValueAsInt(); local 64 logWriter.println("exercise threads = " + threads); 70 for (int i = 0; i < threads; i++) {
|
/external/chromium_org/content/common/ |
gamepad_seqlock_unittest.cc | 70 BasicSeqLockTestThread threads[kNumReaderThreads]; local 74 threads[i].Init(&seqlock, &data, &ready); 76 ASSERT_TRUE(PlatformThread::Create(0, &threads[i], &handles[i]));
|
/external/libcxxabi/test/ |
test_exception_storage.cpp | 44 pthread_t threads [ NUMTHREADS ]; variable 61 // Make the threads, let them run, and wait for them to finish 63 pthread_create( threads + i, NULL, thread_code, (void *) (thread_globals + i)); 65 pthread_join ( threads [ i ], NULL );
|
/external/lldb/test/lang/objc/objc-checker/ |
TestObjCCheckers.py | 66 threads = lldbutil.get_threads_stopped_at_breakpoint (process, main_bkpt) 67 self.assertTrue (len(threads) == 1) 68 thread = threads[0]
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
test_exception_storage.cpp | 50 pthread_t threads [ NUMTHREADS ]; variable 67 // Make the threads, let them run, and wait for them to finish 69 pthread_create( threads + i, NULL, thread_code, (void *) (thread_globals + i)); 71 pthread_join ( threads [ i ], NULL );
|
/cts/suite/audio_quality/test/ |
AudioPlaybackLocalTest.cpp | 19 #include <utils/threads.h>
|
AudioRecordingLocalTest.cpp | 19 #include <utils/threads.h>
|
/development/ndk/platforms/android-3/include/linux/ |
kernel_stat.h | 17 #include <linux/threads.h>
|
/device/asus/fugu/libaudio/ |
AudioHotplugThread.h | 21 #include <utils/threads.h>
|
/frameworks/av/include/media/ |
IMediaDeathNotifier.h | 20 #include <utils/threads.h>
|