HomeSort by relevance Sort by last modified time
    Searched refs:threads (Results 101 - 125 of 1579) sorted by null

1 2 3 45 6 7 8 91011>>

  /prebuilts/ndk/r11/platforms/android-5/arch-arm/usr/include/linux/
percpu_counter.h 17 #include <linux/threads.h>
  /prebuilts/ndk/r11/platforms/android-8/arch-arm/usr/include/linux/
percpu_counter.h 17 #include <linux/threads.h>
  /prebuilts/ndk/r11/platforms/android-9/arch-arm/usr/include/linux/
percpu_counter.h 17 #include <linux/threads.h>
  /prebuilts/ndk/r11/platforms/android-9/arch-mips/usr/include/linux/
percpu_counter.h 17 #include <linux/threads.h>
  /prebuilts/ndk/r11/platforms/android-9/arch-x86/usr/include/linux/
percpu_counter.h 17 #include <linux/threads.h>
  /system/libhwbinder/include/hwbinder/
Static.h 20 #include <utils/threads.h>
  /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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_atfork/
1-2.c 91 pthread_t threads[3]; variable
98 threads[0] = pthread_self();
103 threads[1] = pthread_self();
108 threads[2] = pthread_self();
139 if (!pthread_equal(ch, threads[0])) {
144 if (!pthread_equal(pthread_self(), threads[2])) {
153 if (!pthread_equal(ch, threads[0])) {
158 if (!pthread_equal(pthread_self(), threads[1])) {
  /art/test/911-get-stack-trace/src/art/
ThreadListTraces.java 22 System.out.println("### Other select threads (suspended) ###");
30 Thread threads[] = new Thread[N]; local
41 threads[i] = t;
63 threads[i].join();
67 public static void printList(Thread[] threads, int max) {
68 PrintThread.printAll(getThreadListStackTraces(threads, max));
71 // Similar to getAllStackTraces, but restricted to the given threads.
72 public static native Object[][] getThreadListStackTraces(Thread threads[], int max);
  /external/linux-kselftest/tools/testing/selftests/powerpc/math/
fpu_preempt.c 12 * no way to be sure preemption happened so this test just uses many threads
32 * worker threads
61 int i, rc, threads; local
64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR;
65 tids = malloc((threads) * sizeof(pthread_t));
69 threads_starting = threads;
70 for (i = 0; i < threads; i++) {
92 for (i = 0; i < threads; i++) {
vmx_preempt.c 12 * no way to be sure preemption happened so this test just uses many threads
32 * worker threads
61 int i, rc, threads; local
64 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR;
65 tids = malloc(threads * sizeof(pthread_t));
69 threads_starting = threads;
70 for (i = 0; i < threads; i++) {
92 for (i = 0; i < threads; i++) {
  /external/skia/tests/
TLSTest.cpp 35 SkThread* threads[8]; local
36 int N = SK_ARRAY_COUNT(threads);
40 threads[i] = new SkThread(proc);
44 threads[i]->start();
48 threads[i]->join();
52 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 222 private void runThreads(Thread[] threads, Control control) {
223 for (int i = 0; i < threads.length; ++i) {
224 threads[i].start();
237 for (int i = 0; i < threads.length; ++i) {
238 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);
280 Thread[] threads = new Thread[10] local
    [all...]
  /external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
CollationThreadTest.java 221 private void runThreads(Thread[] threads, Control control) {
222 for (int i = 0; i < threads.length; ++i) {
223 threads[i].start();
236 for (int i = 0; i < threads.length; ++i) {
237 threads[i].join();
254 Thread[] threads = new Thread[10]; local
255 for (int i = 0; i < threads.length; ++i) {
266 threads[i] = new Thread(test);
269 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);
  /external/libvpx/libvpx/test/
stress.sh 80 local readonly threads="$4"
94 "${YUV}" "-t ${threads} --limit=150 --test-decode=fatal --passes=1" \
104 "${YUV}" "-t ${threads} --limit=150 --test-decode=fatal --passes=2" \
114 "${YUV}" "-t ${threads} --limit=150 --test-decode=fatal " \
127 eval "${decoder}" "-t ${threads}" "${webm}" "--noblit" ${devnull} &
157 for threads in 4 8 100; do
158 vp9_stress "$threads" "--row-mt=0"
163 for threads in 4 8 100; do
164 vp9_stress "$threads" "--row-mt=1"
  /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/conscrypt/openjdk/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;
  /external/elfutils/tests/
dwfl-proc-attach.c 66 int *threads = (int *) thread_arg; local
69 (*threads)++;
78 /* Create two extra threads to iterate through. */
95 /* Did we see all 3 threads? */
96 int threads = 0; local
97 if (dwfl_getthreads (dwfl, thread_callback, &threads) != DWARF_CB_OK)
100 return (threads == 3) ? 0 : -1;
  /external/valgrind/none/tests/
pth_cvsimple.c 4 * "Using POSIX Threads: Programming with Pthreads"
65 pthread_t threads[3]; local
67 pthread_create(&threads[0], NULL, watch_count, NULL);
69 pthread_create(&threads[1], NULL, inc_count, NULL);
70 pthread_create(&threads[2], NULL, inc_count, NULL);
73 pthread_join(threads[i], NULL);
77 // inc_count threads could fully run before watch_count begins, and so

Completed in 2053 milliseconds

1 2 3 45 6 7 8 91011>>