/prebuilts/ndk/r11/platforms/android-19/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/prebuilts/ndk/r11/platforms/android-9/arch-mips/usr/include/asm/ |
hardirq.h | 21 #include <linux/threads.h>
|
/system/core/libbacktrace/ |
thread_utils.h | 23 #include <cutils/threads.h>
|
/external/autotest/client/tests/stress/ |
stress.py | 33 threads = 2 * utils.count_cpus() 39 memory_per_thread = (mb * 1024) / threads 46 if (0.9 * free_disk) < file_size_per_thread * threads: 47 file_size_per_thread = (0.9 * free_disk) / threads 50 args = '--cpu %d ' % threads 52 args += '--io %d ' % threads 54 args += '--vm %d ' % threads 58 args += '--hdd %d ' % threads
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
tsan_thread.cc | 50 pthread_t threads[kAlive] = {}; local 52 if (threads[i % kAlive]) 53 pthread_join(threads[i % kAlive], 0); 54 pthread_create(&threads[i % kAlive], 0, thread_alot_func, 0); 57 pthread_join(threads[i], 0);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetTest.java | 54 CheckerThread[] threads = new CheckerThread[10]; local 56 threads[i] = new CheckerThread((i % 2 == 0) ? "UTF-8" : "ISO-8859-1"); 59 for (CheckerThread ct : threads) { 63 for (CheckerThread ct : threads) { 67 for (CheckerThread ct : threads) {
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
ShouldNotDeadlockAnswerExecutionTest.java | 24 ExecutorService threads = Executors.newCachedThreadPool(); local 31 // execute verySlowMethod twice in separate threads 33 threads.execute(new ServiceRunner(service)); 34 threads.execute(new ServiceRunner(service)); 36 // waiting for threads to finish 38 threads.shutdown(); 40 if (!threads.awaitTermination(1000, TimeUnit.MILLISECONDS)) { 41 // threads were timed-out 50 ExecutorService threads = Executors.newCachedThreadPool(); local 58 // execute verySlowMethod twice in separate threads [all...] |
/development/tools/bugreport/src/com/android/bugreport/stacks/ |
ProcessSnapshot.java | 28 public ArrayList<ThreadSnapshot> threads = new ArrayList<ThreadSnapshot>(); field in class:ProcessSnapshot 43 final int N = that.threads.size(); 45 this.threads.add(that.threads.get(i).clone()); 58 * Compares the threads based on their tid. 68 for (ThreadSnapshot thread: this.threads) { 80 for (ThreadSnapshot thread: this.threads) { 91 for (ThreadSnapshot thread: this.threads) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
ThreadTest.java | 23 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in class:ThreadTest 39 threads.add(thread); 43 for (Worker thread: threads) { 50 errln("Threads gave differing results."); 81 ArrayList<Thread> threads = new ArrayList<Thread>(); local 83 threads.add(new Thread() { 89 for (Thread th:threads) { 92 for (Thread th:threads) {
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
ThreadTest.java | 22 private ArrayList<Worker> threads = new ArrayList<Worker>(); field in class:ThreadTest 38 threads.add(thread); 42 for (Worker thread: threads) { 49 errln("Threads gave differing results."); 80 ArrayList<Thread> threads = new ArrayList<Thread>(); local 82 threads.add(new Thread() { 88 for (Thread th:threads) { 91 for (Thread th:threads) {
|
/external/ltp/lib/newlib_tests/ |
test09.c | 23 #define THREADS 64 42 pthread_t threads[THREADS]; local 44 for (i = 0; i < THREADS; i++) 45 pthread_create(threads+i, NULL, worker, (void *)i); 47 for (i = 0; i < THREADS; i++) { 49 pthread_join(threads[i], NULL); 52 if (atomic == THREADS * ITERATIONS)
|
/external/mesa3d/src/gallium/tests/unit/ |
pipe_barrier_test.c | 32 * The test succeeds if no thread exits before all the other threads reach 45 static pipe_thread threads[NUM_THREADS]; variable 74 threads[i] = pipe_thread_create(thread_function, (void *) &thread_ids[i]); 78 pipe_thread_wait(threads[i]);
|
/external/mockito/src/test/java/org/mockitoutil/ |
ConcurrentTesting.java | 25 List<Thread> threads = new LinkedList<Thread>(); local 29 threads.add(t); 32 for (Thread t : threads) {
|
/frameworks/native/services/surfaceflinger/tests/ |
Stress_test.cpp | 41 std::vector<std::thread> threads; local 43 threads.push_back(std::thread(do_stress)); 45 for (auto& thread : threads) {
|
/development/ndk/platforms/android-9/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/external/ltp/testcases/kernel/sched/pthreads/ |
pth_str01.h | 26 pthread_t *threads; /* dynamic array of thread */ member in struct:child_info
|
/external/skia/include/core/ |
SkExecutor.h | 19 static std::unique_ptr<SkExecutor> MakeThreadPool(int threads = 0);
|
/frameworks/base/core/jni/ |
android_hardware_display_DisplayViewport.h | 23 #include <utils/threads.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|
/prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/linux/ |
percpu_counter.h | 17 #include <linux/threads.h>
|