/prebuilts/ndk/current/platforms/android-19/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-19/arch-x86/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-3/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-4/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-5/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-8/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/system/extras/libfec/ |
fec_process.cpp | 42 /* launches a maximum number of threads to process a read */ 54 int threads = sysconf(_SC_NPROCESSORS_ONLN); local 56 if (threads < WORK_MIN_THREADS) { 57 threads = WORK_MIN_THREADS; 58 } else if (threads > WORK_MAX_THREADS) { 59 threads = WORK_MAX_THREADS; 65 if ((size_t)threads > blocks) { 66 threads = (int)blocks; 69 size_t count_per_thread = fec_div_round_up(blocks, threads) * FEC_BLOCKSIZE; 74 debug("%d threads, %zu bytes per thread (total %zu)", threads [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
ThreadOnlyModifierDebuggee.java | 83 logWriter.println("Create threads"); 84 Thread[] threads = new Thread[10]; local 85 for (int i = 0; i < threads.length; ++i) { 86 threads[i] = new Thread(new TestThread(obj)); 87 threads[i].setName("TestThread#" + i); 91 THREAD_ONLY = threads[threads.length - 1]; 100 // Run all threads. 101 for (int i = 0; i < threads.length; ++i) { 102 runThread(threads[i]) [all...] |
/external/autotest/site_utils/ |
stats_poller.py | 20 threads = [] 25 threads.append(threading.Thread(target=f, args=(sam,))) 29 threads.append(threading.Thread(target=f, args=(drone,))) 33 threads.append(threading.Thread(target=f, args=(devserver,))) 36 threads.append(threading.Thread(target=f)) 38 for thread in threads: 43 # thread. If we notice that all of our threads disappeared though, there's
|
/external/skia/tests/ |
TLSTest.cpp | 34 SkThread* threads[8]; local 35 int N = SK_ARRAY_COUNT(threads); 39 threads[i] = new SkThread(proc); 43 threads[i]->start(); 47 threads[i]->join(); 51 delete threads[i];
|
/external/valgrind/helgrind/tests/ |
tls_threads.c | 18 /* ptr_to_badly_shared_local allows to have multiple threads seeing 59 pthread_t threads[NLEVEL2]; local 69 pthread_create(&threads[curthread++], NULL, level2, NULL); 73 pthread_join(threads[i], NULL); 81 pthread_t threads[NLEVEL1]; local 88 pthread_create(&threads[curthread++], NULL, level1, NULL); 94 pthread_join(threads[i], NULL);
|
/system/extras/memory_replay/ |
main.cpp | 34 #include "Threads.h" 72 Threads threads(&pointers, max_threads); 74 printf("Maximum threads available: %zu\n", threads.max_threads()); 103 Thread* thread = threads.FindThread(tid); 105 thread = threads.CreateThread(tid); 119 // Make sure that any other threads doing allocations are complete 122 threads.WaitForAllToQuiesce(); 130 threads.Finish(thread) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationThreadTest.java | 227 private void runThreads(Thread[] threads, Control control) { 228 for (int i = 0; i < threads.length; ++i) { 229 threads[i].start(); 242 for (int i = 0; i < threads.length; ++i) { 243 threads[i].join(); 259 Thread[] threads = new Thread[10]; local 260 for (int i = 0; i < threads.length; ++i) { 271 threads[i] = new Thread(test); 274 runThreads(threads, control); 283 Thread[] threads = new Thread[10] local [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationThreadTest.java | 223 private void runThreads(Thread[] threads, Control control) { 224 for (int i = 0; i < threads.length; ++i) { 225 threads[i].start(); 238 for (int i = 0; i < threads.length; ++i) { 239 threads[i].join(); 255 Thread[] threads = new Thread[10]; local 256 for (int i = 0; i < threads.length; ++i) { 267 threads[i] = new Thread(test); 270 runThreads(threads, control); 279 Thread[] threads = new Thread[10] local [all...] |
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_mutex_test.cc | 99 pthread_t threads[kThreads]; local 101 pthread_create(&threads[i], 0, write_mutex_thread<Mutex>, &data); 103 pthread_join(threads[i], 0); 109 pthread_t threads[kThreads]; local 111 pthread_create(&threads[i], 0, read_mutex_thread<Mutex>, &data); 113 pthread_join(threads[i], 0); 119 pthread_t threads[kThreads]; local 121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); 123 pthread_join(threads[i], 0);
|
/art/test/145-alloc-tracking-stress/src/ |
Main.java | 44 final Thread[] threads = new Thread[numberOfThreads]; local 45 for (int t = 0; t < threads.length; t++) { 46 threads[t] = new Thread(new Main(t)); 47 threads[t].start(); 49 for (Thread t : threads) {
|
/art/test/597-deopt-new-string/src/ |
Main.java | 34 final Thread[] threads = new Thread[numberOfThreads]; local 35 for (int t = 0; t < threads.length; t++) { 36 threads[t] = new Thread(new Main(t)); 37 threads[t].start(); 39 for (Thread t : threads) { 61 // This thread keeps doing deoptimization of all threads. 63 // StringFactory.newEmptyString() in one of the other threads.
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
Resume002Debuggee.java | 30 // The method used to suspend threads on breakpoint. 59 // Create tested threads. 60 Thread[] threads = new Thread[THREAD_COUNT]; local 61 for (int i = 0; i < threads.length; ++i) { 62 threads[i] = new ResumeThread(i); 65 // Start threads. 66 logWriter.println("Starting threads"); 67 for (Thread t : threads) { 71 // Wait for all tested threads to finish. 72 logWriter.println("Waiting end of threads"); [all...] |
/external/autotest/client/virt/tests/ |
nicdriver_unload.py | 43 threads = [] 48 threads.append(thread) 51 while threads[0].isAlive(): 58 for thread in threads: 62 for thread in threads:
|
/external/conscrypt/src/test/java/org/conscrypt/ |
FileClientSessionCacheTest.java | 35 Thread[] threads = new Thread[10]; local 37 for (int i = 0; i < threads.length; i++) { 39 threads[i] = new Thread() { 48 for (Thread thread : threads) { 51 for (Thread thread : threads) {
|
/external/eigen/demos/mandelbrot/ |
mandelbrot.h | 45 MandelbrotThread **threads; member in class:MandelbrotWidget 60 threads = new MandelbrotThread*[threadcount]; 61 for(int th = 0; th < threadcount; th++) threads[th] = new MandelbrotThread(this, th); 66 for(int th = 0; th < threadcount; th++) delete threads[th]; 67 delete[] threads;
|