/external/valgrind/main/drd/tests/ |
qt4_atomic.cpp | 36 const int n_threads = 10; local 37 std::vector<int> thread_arg(n_threads); 38 std::vector<pthread_t> tid(n_threads); 42 pthread_barrier_init(&s_barrier, 0, n_threads); 44 for (i = 0; i < n_threads; i++) 49 for (i = 0; i < n_threads; i++) 55 if (*s_pAtomicInt == n_threads) 59 static_cast<int>(*s_pAtomicInt), n_threads);
|
pth_spinlock.c | 37 const int n_threads = 10; local 38 pthread_t tid[n_threads]; 43 pthread_barrier_init(&s_barrier, 0, n_threads); 45 for (i = 0; i < n_threads; i++) 47 for (i = 0; i < n_threads; i++) 51 if (s_counter == n_threads * s_iterations) 55 s_counter, n_threads * s_iterations);
|
qt4_mutex.cpp | 45 const int n_threads = 10; local 46 std::vector<QThread*> tid(n_threads); 69 pthread_barrier_init(&s_barrier, 0, n_threads); 71 for (i = 0; i < n_threads; i++) 76 for (i = 0; i < n_threads; i++) 85 if (s_counter == n_threads * s_iterations) 89 s_counter, n_threads * s_iterations);
|
qt4_rwlock.cpp | 54 const int n_threads = 10; local 55 std::vector<QThread*> tid(n_threads); 70 pthread_barrier_init(&s_barrier, 0, n_threads); 72 for (i = 0; i < n_threads; i++) 77 for (i = 0; i < n_threads; i++) 86 if (s_counter == n_threads * s_iterations) 90 s_counter, n_threads * s_iterations);
|
qt4_semaphore.cpp | 43 const int n_threads = 10; local 44 std::vector<QThread*> tid(n_threads); 59 pthread_barrier_init(&s_barrier, 0, n_threads); 61 for (i = 0; i < n_threads; i++) 66 for (i = 0; i < n_threads; i++) 75 if (s_counter == n_threads * s_iterations) 79 s_counter, n_threads * s_iterations);
|
atomic_var.c | 55 const int n_threads = 2; local 56 pthread_t tid[n_threads]; 61 for (i = 0; i < n_threads; i++)
|
tsan_thread_wrappers_pthread.h | 503 //! Create n_threads threads, but do not start. 504 explicit ThreadPool(int n_threads) 506 for (int i = 0; i < n_threads; i++) { 556 explicit Barrier(int n_threads) {CHECK(0 == pthread_barrier_init(&b_, 0, n_threads));}
|
tsan_unittest.cpp | 5972 const int n_threads = 3; member in namespace:test125 [all...] |
/external/bluetooth/glib/tests/refcount/ |
objects.c | 118 const guint n_threads = 5; local 132 for (i = 0; i < n_threads; i++) { 148 for (i = 0; i < 2 * n_threads; i++) {
|
properties.c | 199 const gint n_threads = 5; local 208 for (i = 0; i < n_threads; i++) { 222 for (i = 0; i < n_threads; i++) { 237 for (i = 0; i < n_threads; i++) { 246 for (i = 0; i < n_threads; i++) {
|
signals.c | 240 const gint n_threads = 1; local 258 for (i = 0; i < n_threads; i++) { 274 for (i = 0; i < 2 * n_threads; i++) {
|
/external/bluetooth/glib/tests/ |
slice-test.c | 207 g_print ("Usage: slice-test [n_threads] [G|S|M|O][f][c][~] [maxblocksize] [seed]\n"); 216 guint n_threads = 1; local 219 n_threads = g_ascii_strtoull (argv[1], NULL, 10); 280 g_print ("Starting %d threads allocating random blocks <= %u bytes with seed=%s using %s%s\n", n_threads, prime_size, strseed, mode, emode); 282 threads = g_alloca (sizeof(GThread*) * n_threads); 284 for (i = 0; i < n_threads; i++) 289 for (i = 0; i < n_threads; i++) 292 for (i = 0; i < n_threads; i++)
|
/external/valgrind/unittest/ |
thread_wrappers.h | 233 //! Create n_threads threads, but do not start. 234 explicit ThreadPool(int n_threads) 236 for (int i = 0; i < n_threads; i++) {
|
thread_wrappers_pthread.h | 366 explicit Barrier(int n_threads) {CHECK(0 == pthread_barrier_init(&b_, 0, n_threads));}
|
posix_tests.cc | 454 const int n_threads = 3; member in namespace:test125 456 int GLOB[n_threads]; 463 CHECK(my_num < n_threads); 473 for (int i = 0; i < n_threads; i++) {
|
racecheck_unittest.cc | [all...] |