/art/test/051-thread/src/ |
Main.java | 43 TestCapacityThread[] threads = new TestCapacityThread[128]; local 44 for (int i = 0; i < threads.length; i++) { 45 threads[i] = new TestCapacityThread(); 48 for (TestCapacityThread thread : threads) { 51 for (TestCapacityThread thread : threads) { 168 Thread threads[] = new Thread[10]; local 170 current.getThreadGroup().enumerate(threads); 172 for (Thread t : threads) { 178 throw new RuntimeException("Did not find main thread: " + Arrays.toString(threads));
|
/art/test/626-const-class-linking/src/ |
Main.java | 123 final Thread[] threads = new Thread[4]; local 124 final Object[] results = new Object[threads.length]; 126 final RacyLoader racy_loader = new RacyLoader(system_loader, threads.length); 130 for (int i = 0; i != threads.length; ++i) { 145 threads[i] = t; 147 for (Thread t : threads) { 157 final Thread[] threads = new Thread[4]; local 158 final Object[] results = new Object[threads.length]; 160 final RacyLoader racy_loader = new RacyLoader(system_loader, threads.length); 166 for (int i = 0; i != threads.length; ++i) 194 final Thread[] threads = new Thread[4]; local 229 final Thread[] threads = new Thread[4]; local [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_mutex_test.cc | 107 pthread_t threads[kThreads]; local 109 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data); 111 PTHREAD_JOIN(threads[i], 0); 118 pthread_t threads[kThreads]; local 120 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data); 122 PTHREAD_JOIN(threads[i], 0); 129 pthread_t threads[kThreads]; local 131 PTHREAD_CREATE(&threads[i], 0, lock_thread<BlockingMutex>, &data); 133 PTHREAD_JOIN(threads[i], 0);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/math/ |
vsx_preempt.c | 11 * uses many threads and a long wait. As such, a successful test 31 * worker threads 96 int i, rc, threads; local 99 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; 100 tids = malloc(threads * sizeof(pthread_t)); 104 threads_starting = threads; 105 for (i = 0; i < threads; i++) { 127 for (i = 0; i < threads; i++) {
|
/external/linux-kselftest/tools/testing/selftests/sync/ |
sync_stress_consumer.c | 56 int threads; member in struct:__anon26889 112 int n = test_data_mpsc.threads; 143 /* Release the producer threads */ 145 "Failure releasing producer threads\n"); 160 pthread_t threads[n]; local 169 test_data_mpsc.threads = n; 174 pthread_create(&threads[i], NULL, (void * (*)(void *)) 182 pthread_join(threads[i], NULL);
|
/external/ltp/testcases/kernel/mem/mtest06/ |
mmap3.c | 26 * 1GB) this is done by multiple threads. 30 * specified number of hours by a certain number of threads. 46 static int threads = 40; variable 127 pthread_t thids[threads]; 132 for (i = 0; i < threads; i++) { 138 for (i = 0; i < threads; i++) 155 if (tst_parse_int(str_threads, &threads, 1, INT_MAX)) 156 tst_brk(TBROK, "Invalid number of threads '%s'", str_threads); 173 tst_res(TINFO, "Number of threads %i", threads); [all...] |
/external/tensorflow/tensorflow/python/training/ |
queue_runner_test.py | 52 threads = qr.create_threads(sess) 53 self.assertEqual(sorted(t.name for t in threads), 55 for t in threads: 57 for t in threads: 73 threads = qr.create_threads(sess) 74 self.assertEqual(sorted(t.name for t in threads), 78 for t in threads: 80 for t in threads: 91 threads = qr.create_threads(sess) 93 for t in threads [all...] |
/external/deqp/external/glslang/ |
osinclude.cpp | 94 void OS_WaitForAllThreads (void* threads, int numThreads) 98 const deThread thread = (deThread)(deUintptr)((void**)threads)[ndx];
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_queue.h | 63 pipe_thread *threads; member in struct:util_queue 96 return queue->threads != NULL;
|
/external/perfetto/protos/perfetto/trace/ps/ |
process_tree.proto | 47 // No longer used as of Apr 2018, when the dedicated |threads| field was 52 // List of processes and threads in the client. These lists are incremental 53 // and not exhaustive. A process and its threads might show up separately in 56 // #0 { processes: [{pid: 10, ...}], threads: [{pid: 11, tgid: 10}] } 57 // #1 { threads: [{pid: 12, tgid: 10}] } 58 // #2 { processes: [{pid: 20, ...}], threads: [{pid: 13, tgid: 10}] } 60 repeated Thread threads = 2;
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/ |
LazyThreadGroupReference.java | 68 @Override public List<ThreadReference> threads() { method in class:LazyThreadGroupReference 69 return getValue().threads();
|
/cts/suite/audio_quality/lib/include/ |
FileUtil.h | 24 #include <utils/threads.h>
|
/external/autotest/client/tests/monotonic_time/src/ |
threads.c | 14 #include "threads.h" 26 static thread_t threads[MAX_THREADS]; variable 48 * Create a set of threads each of which is bound to one of 50 * Returns the number of threads created. 64 thread = &threads[num_threads++]; 83 * Create nthreads threads. 84 * Returns the number of threads created. 95 thread = &threads[num_threads++]; 113 * Join with the set of previsouly created threads. 118 pthread_join(threads[--num_threads].thread, NULL) [all...] |
/external/skia/src/core/ |
SkTaskGroup.h | 38 explicit Enabler(int threads = -1); // -1 -> num_cores, 0 -> noop
|
/external/skqp/src/core/ |
SkTaskGroup.h | 38 explicit Enabler(int threads = -1); // -1 -> num_cores, 0 -> noop
|
/external/valgrind/none/tests/ |
tls.c | 90 pthread_t threads[NTESTS*2]; local 96 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); 97 pthread_create(&threads[curthread++], NULL, tls_ptr, (void *)&tests[i]); 101 pthread_join(threads[i], NULL);
|
/frameworks/av/include/common_time/ |
local_clock.h | 25 #include <utils/threads.h>
|
/frameworks/minikin/tests/stresstest/ |
MultithreadTest.cpp | 63 // Wait until all threads are created. 91 std::vector<std::thread> threads; local 95 threads.reserve(NUM_THREADS); 97 threads.emplace_back(&thread_main, i); 103 for (auto& thread : threads) {
|
/frameworks/native/libs/binder/include/private/binder/ |
Static.h | 20 #include <utils/threads.h>
|
/frameworks/native/opengl/libagl/ |
TokenManager.h | 24 #include <utils/threads.h>
|
/hardware/intel/img/hwcomposer/merrifield/common/base/ |
VsyncManager.h | 20 #include <utils/threads.h>
|
/hardware/qcom/display/msm8084/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|
qd_utils.h | 33 #include <utils/threads.h>
|
/hardware/qcom/display/msm8226/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|
/hardware/qcom/display/msm8960/libqdutils/ |
idle_invalidator.h | 34 #include <utils/threads.h>
|