/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/googletest/googlemock/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/libmojo/third_party/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/skia/tools/ |
git-sync-deps | 228 threads = [] 232 threads.append(thread) 233 for thread in threads:
|
/external/v8/testing/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...] |
/frameworks/base/tools/bit/ |
make.cpp | 42 unsigned int threads = std::thread::hardware_concurrency(); local 44 return threads == 0 ? 4 : static_cast<unsigned int>(threads * 1.3f);
|
/frameworks/native/libs/vr/libpdx_uds/ |
client_channel_tests.cpp | 147 // Start client threads. 150 std::vector<std::thread> threads; local 154 threads.emplace_back(worker, client_, data); 157 // Wait for threads to finish. 158 for (auto& thread : 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...] |
/test/vts-testcase/performance/binder_throughput_test/ |
BinderThroughputBenchmark.py | 28 # number of threads to use when running the throughput tests on target. 96 labels, iterations_per_second, x_axis_label="Number of Threads", 102 labels, time_average, x_axis_label="Number of Threads", 107 labels, time_best, x_axis_label="Number of Threads", 111 labels, time_worst, x_axis_label="Number of Threads", 117 labels, time_percentile_50, x_axis_label="Number of Threads", 122 labels, time_percentile_90, x_axis_label="Number of Threads", 127 labels, time_percentile_95, x_axis_label="Number of Threads", 132 labels, time_percentile_99, x_axis_label="Number of Threads", 136 def RunBenchmark(self, bits, threads) [all...] |
/test/vts-testcase/performance/hwbinder_throughput_test/ |
HwBinderThroughputBenchmark.py | 28 # number of threads to use when running the throughput tests on target. 98 labels, iterations_per_second, x_axis_label="Number of Threads", 104 labels, time_average, x_axis_label="Number of Threads", 109 labels, time_best, x_axis_label="Number of Threads", 113 labels, time_worst, x_axis_label="Number of Threads", 119 labels, time_percentile_50, x_axis_label="Number of Threads", 124 labels, time_percentile_90, x_axis_label="Number of Threads", 129 labels, time_percentile_95, x_axis_label="Number of Threads", 134 labels, time_percentile_99, x_axis_label="Number of Threads", 138 def RunBenchmark(self, bits, 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.
|
/external/libchrome/base/trace_event/ |
memory_dump_manager_unittest.cc | 462 // threads and registering a MemoryDumpProvider on each of them. At each 468 std::vector<std::unique_ptr<Thread>> threads; local 471 // Create the threads and setup the expectations. Given that at each iteration 475 threads.push_back(WrapUnique(new Thread("test thread"))); 476 auto* thread = threads.back().get(); 492 while (!threads.empty()) { 507 threads.back()->task_runner()->PostTaskAndReply(FROM_HERE, unregistration, 512 threads.back()->Stop(); 513 threads.pop_back(); 673 std::vector<std::unique_ptr<TestIOThread>> threads; local 723 std::vector<std::unique_ptr<TestIOThread>> threads; local [all...] |
/build/make/tools/releasetools/ |
blockimgdiff.py | 279 def __init__(self, tgt, src=None, threads=None, version=4, 281 if threads is None: 282 threads = multiprocessing.cpu_count() // 2 283 if threads == 0: 284 threads = 1 285 self.threads = threads 712 if self.threads > 1: 713 print("Computing patches (using %d threads)..." % (self.threads,)) [all...] |
/frameworks/rs/script_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,
|
/bionic/tools/versioner/src/ |
Driver.cpp | 201 std::vector<std::thread> threads; local 203 threads.emplace_back([type, &vfs, &reqs]() { 213 for (auto& thread : threads) {
|
/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 | 106 private boolean inListOfThreads(Thread[] threads) { 107 for (int i = 0; i < threads.length; i++) { 108 if (Thread.currentThread() == threads[i]) { 122 assertTrue("Current thread must be in enumeration of threads", 134 // start some the threads and see how the count changes 143 Thread.sleep(500); // starting threads isn't instant! 153 // kill the threads and count 'em again 157 Thread.sleep(500); // killing threads isn't instant 338 // Make sure we stop any MyThread threads that may have been left running. 342 // Make sure the threads have stopped [all...] |