HomeSort by relevance Sort by last modified time
    Searched refs:threads (Results 51 - 75 of 768) sorted by null

1 23 4 5 6 7 8 91011>>

  /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/eigen/Eigen/src/Core/products/
Parallelizer.h 47 /** Must be call first when calling Eigen from multiple threads */
56 /** \returns the max number of threads reserved for Eigen
65 /** Sets the max number of threads reserved for Eigen
101 // - the max number of threads we can create is greater than 1
112 // 2- compute the maximal number of threads from the size of the product:
116 // 3 - compute the number of threads we are going to use
117 Index threads = std::min<Index>(nbThreads(), max_threads);
119 if(threads==1)
128 Index blockCols = (cols / threads) & ~Index(0x3);
129 Index blockRows = (rows / threads) & ~Index(0x7)
    [all...]
  /external/chromium/base/threading/
thread_local_storage_unittest.cc 71 // threads that set the TLS, while the destructor cleans it up.
72 // After the threads finish, verify that the value is cleaned up.
76 DelegateSimpleThread* threads[kNumThreads]; local
80 // Spawn the threads.
84 threads[index] = new DelegateSimpleThread(thread_delegates[index],
86 threads[index]->Start();
89 // Wait for the threads to finish.
91 threads[index]->Join();
92 delete threads[index];
  /external/chromium/chrome/browser/net/
chrome_net_log_unittest.cc 42 // Only triggered once all threads have been created, to make it much less
57 ChromeNetLogTestThread threads[kThreads]; local
60 threads[i].Init(&log);
61 threads[i].Start();
65 threads[i].ReallyStart();
68 threads[i].Join();
  /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/valgrind/main/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
pth_once.c 4 * "Using POSIX Threads: Programming with Pthreads"
14 * A program spawns multiple threads and each one tries to
20 * exit of the threads using the pthread_join() operation.
57 pthread_t threads[NUM_THREADS]; local
65 if (( rtn = pthread_create(&threads[thread_num],
76 pthread_join(threads[thread_num], NULL);
thread-exits.stdout.exp 2 creating threads...
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
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/valgrind/main/helgrind/tests/
tc21_pthonce.c 15 * "Using POSIX Threads: Programming with Pthreads"
25 * A program spawns multiple threads and each one tries to
31 * exit of the threads using the pthread_join() operation.
43 /* With more than 2 threads, the precise error reports vary between
45 simple and just have 2 threads and so just 1 race. */
53 /* This is a hack: delay threads except the first enough so as to
54 ensure threads[0] gets to the pthread_once call first. This is so
80 pthread_t threads[NUM_THREADS]; local
86 r= pthread_create(&threads[i], NULL, child, &id_arg[i]);
91 pthread_join(threads[i], NULL)
    [all...]
  /system/extras/tests/bionic/libc/common/
test_pthread_once.c 65 pthread_t threads[N_THREADS]; local
69 if (pthread_create( &threads[nn], NULL, thread_function, (void*)(long int)nn) < 0) {
76 if (pthread_join(threads[nn], NULL)) {
  /external/linux-tools-perf/util/
evlist.h 32 struct thread_map *threads; member in struct:perf_evlist
39 struct thread_map *threads);
41 struct thread_map *threads);
64 struct thread_map *threads)
67 evlist->threads = threads;
  /external/webkit/Source/WebCore/page/
WorkerNavigator.idl 29 module threads {
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
SamplingProfiler.java 89 * The {@code ThreadSet} that identifies which threads to sample.
104 * The threads currently known to the profiler for detecting
110 * Map of currently active threads to their identifiers. When
111 * threads disappear they are removed and only referenced by their
112 * identifiers to prevent retaining garbage threads.
134 * specified depth from the threads specified by the specified
147 * @param threadSet The thread set specifies which threads to
148 * sample. In a general purpose program, all threads typically
177 * A ThreadSet specifies the set of threads to sample.
181 * Returns an array containing the threads to be sampled. Th
185 public Thread[] threads(); method in interface:SamplingProfiler.ThreadSet
204 private final Thread[] threads; field in class:SamplingProfiler.ArrayThreadSet
211 public Thread[] threads() { method in class:SamplingProfiler.ArrayThreadSet
231 private Thread[] threads; field in class:SamplingProfiler.ThreadGroupThreadSet
252 public Thread[] threads() { method in class:SamplingProfiler.ThreadGroupThreadSet
    [all...]
  /bionic/libc/kernel/arch-arm/asm/
hardirq.h 22 #include <linux/threads.h>
smp.h 21 #include <linux/threads.h>
  /bionic/libc/kernel/arch-x86/asm/
hardirq_32.h 21 #include <linux/threads.h>
smp_32.h 24 #include <linux/threads.h>
  /dalvik/tests/051-thread/src/
Main.java 26 MyThread[] threads = new MyThread[512]; local
28 threads[i] = new MyThread();
31 for (MyThread thread : threads) {
34 for (MyThread thread : threads) {
  /development/ndk/platforms/android-3/arch-arm/include/asm/
hardirq.h 16 #include <linux/threads.h>
smp.h 15 #include <linux/threads.h>
  /development/ndk/platforms/android-9/arch-x86/include/asm/
hardirq_32.h 21 #include <linux/threads.h>
smp_32.h 24 #include <linux/threads.h>
  /device/generic/goldfish/camera/
JpegCompressor.h 26 #include <utils/threads.h>
  /device/lge/mako/camera/
QCameraHWI_Display.cpp 23 #include <utils/threads.h>

Completed in 3229 milliseconds

1 23 4 5 6 7 8 91011>>