/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
ThreadGroup002Test.java | 53 * groups and starts some tested threads which belong to different created thread groups. 54 * <BR>After the tested threads start, at first the test wait for the some first 55 * tested threads to finish. 61 * <BR> - all threads with status ZOMBIE are only finished tested threads; 62 * <BR> - all threads without status ZOMBIE are only NOT finished tested threads; 75 ("## FAILURE: Exception while getting number of started threads from debuggee = " + exception); 77 printErrorAndFail("\n## Can NOT get number of started threads from debuggee! "); 80 logWriter.println("==> Number of threads in debuggee to test = " + testedThreadsNumber) 107 int threads = allThreadIDReply.getNextValueAsInt(); local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
ResumeTest.java | 53 // We need to finish the tested threads before detaching. 54 logWriter.println("Finish debuggee tested threads"); 62 * <BR>At first the test starts ResumeDebuggee which starts and runs some tested threads. 64 * ThreadReference.Status command that all debuggee tested threads are suspended. 66 * ThreadReference.Status command that all debuggee tested threads are resumed. 74 // All the threads we're interested in. 77 // Suspend all threads with VirtualMachine.Suspend command. 80 // Check all threads are suspended now. 81 logWriter.println("\n==> Check that all tested threads are suspended " + 85 // Resume all threads with VirtualMachine.Resume command 302 int threads = allThreadIDReply.getNextValueAsInt(); local [all...] |
/external/autotest/client/tests/sysbench/ |
sysbench.py | 86 ' --num-threads=' + str(num_threads) + \ 131 ' --num-threads=' + str(num_threads) + \ 152 threads = 0 157 threads_re = re.search('Number of threads: (\d+)', line) 159 threads = threads_re.group(1) 166 out.write('threads=%s\ntps=%s' % (threads, tps))
|
/external/chromium-trace/catapult/devil/devil/utils/ |
reraiser_thread.py | 89 def __init__(self, threads=None): 93 threads: a list of ReraiserThread objects; defaults to empty. 100 if threads: 101 for thread in threads: 115 """Start all threads. 123 # Multiple threads blocking on the same outer thread should not happen in 131 """Join all threads without stack dumps. 133 Reraises exceptions raised by the child threads and supports breaking 140 operation. This will not time out the threads. 150 raise TimeoutError('Timed out waiting for %d of %d threads.' [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_thread_registry_test.cc | 71 // Create a bunch of threads. 81 // Finish, create and start more threads. 108 // Detach and finish and join remaining threads. 204 pthread_t threads[kNumShards]; local 209 PTHREAD_CREATE(&threads[i], 0, RunThread, &args[i]); 212 PTHREAD_JOIN(threads[i], 0); 215 // of "threads" in thread_registry.
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_mutex.cc | 192 // Create reader threads. 193 pthread_t threads[kThreadCount]; local 195 pthread_create(&threads[t], 0, singleton_thread, &singleton); 197 pthread_join(threads[t], 0);
|
/external/gmock/test/ |
gmock_stress_test.cc | 33 // threads concurrently. 44 // The maximum number of test threads (not including helper threads) 147 // threads. This should generate no Google Test failure. 172 // Tests invoking methods of the same mock object in multiple threads. 227 // Tests using the same mock object in multiple threads when the 276 // Tests using Google Mock constructs in many threads concurrently. 289 ThreadWithParam<Dummy>* threads[kTestThreads] = {}; local 292 threads[i] = 297 // At this point, we have many threads running [all...] |
/external/google-breakpad/src/testing/test/ |
gmock_stress_test.cc | 33 // threads concurrently. 44 // The maximum number of test threads (not including helper threads) 147 // threads. This should generate no Google Test failure. 172 // Tests invoking methods of the same mock object in multiple threads. 227 // Tests using the same mock object in multiple threads when the 276 // Tests using Google Mock constructs in many threads concurrently. 289 ThreadWithParam<Dummy>* threads[kTestThreads] = {}; local 292 threads[i] = 297 // At this point, we have many threads running [all...] |
/external/skia/tools/ |
git-sync-deps | 208 threads = [] 212 threads.append(thread) 213 for thread in threads:
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_threading_local.py | 51 # Issue 3088: if there is a threads switch inside the __init__ 66 threads= [] 70 threads.append(t) 72 for t in threads:
|
test_threading.py | 74 # Create a bunch of threads, let each do some work, wait until all are 86 threads = [] 90 threads.append(t) 97 for t in threads: 108 # The ident still must work for the main thread and dummy threads. 681 # start a bunch of threads that will fork() child processes 682 threads = [] 685 threads.append(t) 688 for t in threads: 742 # for threads [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_threading_local.py | 51 # Issue 3088: if there is a threads switch inside the __init__ 66 threads= [] 70 threads.append(t) 72 for t in threads:
|
test_threading.py | 74 # Create a bunch of threads, let each do some work, wait until all are 86 threads = [] 90 threads.append(t) 97 for t in threads: 108 # The ident still must work for the main thread and dummy threads. 681 # start a bunch of threads that will fork() child processes 682 threads = [] 685 threads.append(t) 688 for t in threads: 742 # for threads [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_threading_local.py | 51 # Issue 3088: if there is a threads switch inside the __init__ 66 threads= [] 70 threads.append(t) 72 for t in threads:
|
test_threading.py | 74 # Create a bunch of threads, let each do some work, wait until all are 86 threads = [] 90 threads.append(t) 97 for t in threads: 108 # The ident still must work for the main thread and dummy threads. 681 # start a bunch of threads that will fork() child processes 682 threads = [] 685 threads.append(t) 688 for t in threads: 742 # for threads [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_threading_local.py | 51 # Issue 3088: if there is a threads switch inside the __init__ 66 threads= [] 70 threads.append(t) 72 for t in threads:
|
test_threading.py | 74 # Create a bunch of threads, let each do some work, wait until all are 86 threads = [] 90 threads.append(t) 97 for t in threads: 108 # The ident still must work for the main thread and dummy threads. 681 # start a bunch of threads that will fork() child processes 682 threads = [] 685 threads.append(t) 688 for t in threads: 742 # for threads [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
gold-threads.cc | 1 // gold-threads.cc -- thread support for gold 33 #include "gold-threads.h" 148 if (!parameters->options().threads()) 262 if (!parameters->options().threads()) 366 // If there is no threads support, we don't need to use pthread_once. 372 if (parameters->options_valid() && !parameters->options().threads()) 374 // If we are not using threads, we don't need to lock.
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
BluetoothBaseTest.py | 94 threads = [] 98 threads.append(thread) 100 for t in threads:
|
/build/tools/releasetools/ |
blockimgdiff.py | 264 def __init__(self, tgt, src=None, threads=None, version=4, 266 if threads is None: 267 threads = multiprocessing.cpu_count() // 2 268 if threads == 0: 269 threads = 1 270 self.threads = threads 771 if self.threads > 1: 772 print("Computing patches (using %d threads)..." % (self.threads,)) [all...] |
/frameworks/rs/api/ |
rs_atomic.spec | 20 To update values shared between multiple threads, use the functions below. 28 threads even though you did not explicitely create them. The RenderScript 30 threads. Updating globals should be done with atomic functions. If possible,
|
/external/autotest/server/site_tests/firmware_ECThermal/ |
firmware_ECThermal.py | 237 def _stress_dut(self, threads=4): 243 until _stop_stressing is called to kill the stress threads. This 247 threads: Number of threads (processes) when stressing forever. 252 logging.info("Stressing DUT with %d threads...", threads) 259 for _ in xrange(threads):
|
/external/v8/tools/testrunner/network/ |
network_execution.py | 142 threads = [] 145 threads.append(thread) 148 for thread in threads: 157 # remaining threads...
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadGroupTest.java | 105 private boolean inListOfThreads(Thread[] threads) { 106 for (int i = 0; i < threads.length; i++) { 107 if (Thread.currentThread() == threads[i]) { 121 assertTrue("Current thread must be in enumeration of threads", 133 // start some the threads and see how the count changes 142 Thread.sleep(500); // starting threads isn't instant! 152 // kill the threads and count 'em again 156 Thread.sleep(500); // killing threads isn't instant 337 // Give the threads a chance to die.
|
/system/core/toolbox/ |
ps.c | 120 nexttok(&ptr); // threads 265 int threads = 0; local 269 threads = 1; 327 if(threads) ps_threads(pid);
|