/external/mesa3d/src/gallium/tests/unit/ |
D | pipe_barrier_test.c | 46 #define NUM_THREADS 10 macro 50 static thrd_t threads[NUM_THREADS]; 52 static int thread_ids[NUM_THREADS]; 84 CHECK(p_atomic_read(&waiting) == NUM_THREADS); in thread_function() 113 util_barrier_init(&barrier, NUM_THREADS); in main() 115 for (i = 0; i < NUM_THREADS; i++) { in main() 120 for (i = 0; i < NUM_THREADS; i++ ) { in main() 124 CHECK(p_atomic_read(&proceeded) == NUM_THREADS); in main()
|
/external/mesa3d/src/intel/vulkan/tests/ |
D | block_pool_no_free.c | 29 #define NUM_THREADS 16 macro 39 } jobs[NUM_THREADS]; 79 unsigned next[NUM_THREADS]; in validate_monotonic() 87 for (unsigned i = 0; i < NUM_THREADS; i++) { in validate_monotonic() 123 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test() 129 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test() 133 int32_t *block_ptrs[NUM_THREADS]; in run_test() 134 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test() 139 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test()
|
D | state_pool_no_free.c | 29 #define NUM_THREADS 16 macro 38 } jobs[NUM_THREADS]; 68 pthread_barrier_init(&barrier, NULL, NUM_THREADS); in run_test() 70 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test() 76 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test() 80 unsigned next[NUM_THREADS]; in run_test() 88 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test()
|
D | state_pool_free_list_only.c | 29 #define NUM_THREADS 8 macro 54 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; in main() 55 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++) { in main() 60 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++) in main()
|
D | state_pool_test_helper.h | 30 } jobs[NUM_THREADS]; 61 pthread_barrier_init(&barrier, NULL, NUM_THREADS); in run_state_pool_test() 63 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_state_pool_test() 69 for (unsigned i = 0; i < NUM_THREADS; i++) in run_state_pool_test()
|
/external/stressapptest/src/ |
D | findmask.c | 50 #define NUM_THREADS 128 // keep this a power of two macro 62 for (mask = num; mask < (1ULL << (NUM_BITS + 1)); mask += NUM_THREADS) { in thread_func() 129 pthread_t threads[NUM_THREADS]; in main() 133 for (i = 0; i < NUM_THREADS; i++) in main() 136 for (i = 0; i < NUM_THREADS; i++) in main()
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
D | thread_stress.cc | 15 const int NUM_THREADS = 8; in main() local 16 HANDLE thr[NUM_THREADS]; in main() 17 for (int i = 0; i < NUM_THREADS; ++i) { in main() 22 for (int i = 0; i < NUM_THREADS; ++i) { in main()
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_threaded_access_tiled.c | 43 #define NUM_THREADS 2 macro 52 static struct thread_ctx tctx[NUM_THREADS]; 73 pthread_t thr[NUM_THREADS]; in copy_tile_threaded() 76 for (i = 0; i < NUM_THREADS; i++) { in copy_tile_threaded() 82 for (i = 0; i < NUM_THREADS; i++) { in copy_tile_threaded()
|
/external/libevent/test/ |
D | regress_thread.c | 93 #define NUM_THREADS 100 macro 133 if (count >= NUM_THREADS * NUM_ITERATIONS) in basic_thread() 169 THREAD_T threads[NUM_THREADS]; in thread_basic() 228 for (i = 0; i < NUM_THREADS; ++i) in thread_basic() 238 for (i = 0; i < NUM_THREADS; ++i) in thread_basic() 243 tt_int_op(count, ==, NUM_THREADS * NUM_ITERATIONS); in thread_basic() 257 #undef NUM_THREADS 258 #define NUM_THREADS 10 macro 293 struct alerted_record alerted[NUM_THREADS]; in thread_conditions_simple() 294 THREAD_T threads[NUM_THREADS]; in thread_conditions_simple() [all …]
|
/external/ltp/testcases/kernel/mem/mtest07/ |
D | mallocstress.c | 27 #define NUM_THREADS 60 macro 156 for (thread_index = 0; thread_index < NUM_THREADS; thread_index++) { in stress_malloc() 162 TST_CHECKPOINT_WAKE2(0, NUM_THREADS); in stress_malloc() 165 for (thread_index = 0; thread_index < NUM_THREADS; thread_index++) { in stress_malloc() 180 thread_id = SAFE_MALLOC(sizeof(pthread_t) * NUM_THREADS); in setup()
|
/external/curl/tests/libtest/ |
D | lib1541.c | 33 #define NUM_THREADS 67 macro 105 pthread_t tid[NUM_THREADS]; in test() 108 struct initurl url[NUM_THREADS]; in test() 120 for(i = 0; i< NUM_THREADS; i++) { in test() 133 for(i = 0; i< NUM_THREADS; i++) { in test()
|
/external/curl/docs/examples/ |
D | threaded-shared-conn.c | 47 #define NUM_THREADS 67 macro 118 pthread_t tid[NUM_THREADS]; in main() 121 struct initurl url[NUM_THREADS]; in main() 133 for(i = 0; i< NUM_THREADS; i++) { in main() 146 for(i = 0; i< NUM_THREADS; i++) { in main()
|
/external/mesa3d/src/util/tests/sparse_array/ |
D | multi_threaded.c | 32 #define NUM_THREADS 16 macro 58 thrd_t threads[NUM_THREADS]; in run_test() 59 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test() 64 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test()
|
/external/grpc-grpc/test/core/gprpp/ |
D | thd_test.cc | 32 #define NUM_THREADS 100 macro 55 grpc_core::Thread thds[NUM_THREADS]; in test1() 59 t.n = NUM_THREADS; in test1() 80 grpc_core::Thread thds[NUM_THREADS]; in test2()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_init/ |
D | 3-1.c | 24 #define NUM_THREADS 5 macro 34 pthread_t new_threads[NUM_THREADS]; in main() 46 for (i = 0; i < NUM_THREADS; i++) { in main()
|
/external/python/cpython3/Lib/test/ |
D | fork_wait.py | 19 NUM_THREADS = 4 variable 59 for i in range(NUM_THREADS): 66 while len(self.alive) < NUM_THREADS: 72 self.assertEqual(a, list(range(NUM_THREADS)))
|
D | test_threadedtempfile.py | 25 NUM_THREADS = 20 variable 52 threads = [TempFileGreedy() for i in range(NUM_THREADS)] 62 self.assertEqual(ok, NUM_THREADS * FILES_PER_THREAD)
|
/external/python/cpython2/Lib/test/ |
D | test_threadedtempfile.py | 16 NUM_THREADS = 20 variable 49 threads = [TempFileGreedy() for i in range(NUM_THREADS)] 59 self.assertEqual(ok, NUM_THREADS * FILES_PER_THREAD)
|
D | fork_wait.py | 22 NUM_THREADS = 4 variable 62 for i in range(NUM_THREADS): 71 self.assertEqual(a, range(NUM_THREADS))
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_kernel_arg_changes.cpp | 33 #define NUM_THREADS 2048 macro 46 cl_int resultArray[ NUM_THREADS * 2 ]; in test_kernel_arg_changes() 67 threads[0] = NUM_THREADS; in test_kernel_arg_changes() 118 for( int j = 0; j < NUM_THREADS; j++ ) in test_kernel_arg_changes()
|
/external/python/cpython2/Lib/test/crashers/ |
D | warnings_del_crasher.py | 16 NUM_THREADS = 10 variable 26 for i in range(NUM_THREADS):
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 5-1.c | 24 #define NUM_THREADS 5 macro 39 for (i = 1; i < NUM_THREADS + 1; i++) { in main()
|
/external/grpc-grpc/test/core/surface/ |
D | concurrent_connectivity_test.cc | 43 #define NUM_THREADS 100 macro 178 grpc_core::Thread threads[NUM_THREADS]; in run_concurrent_connectivity_test() 202 grpc_core::Thread threads[NUM_THREADS]; in run_concurrent_connectivity_test() 228 grpc_core::Thread threads[NUM_THREADS]; in run_concurrent_connectivity_test() 284 grpc_core::Thread threads[NUM_THREADS]; in run_concurrent_watches_with_short_timeouts_test()
|
/external/grpc-grpc/test/core/gpr/ |
D | tls_test.cc | 32 #define NUM_THREADS 100 macro 51 grpc_core::Thread threads[NUM_THREADS]; in main()
|
/external/guava/android/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | ExecutionListBenchmark.java | 46 private static final int NUM_THREADS = 10; // make a param? field in ExecutionListBenchmark 246 NUM_THREADS, 247 NUM_THREADS, 254 for (int i = 0; i < NUM_THREADS * 10; i++) { 335 listenerLatch = new CountDownLatch(numListeners * NUM_THREADS); 336 for (int j = 0; j < NUM_THREADS; j++) { 362 listenerLatch = new CountDownLatch(numListeners * NUM_THREADS); 365 for (int j = 0; j < NUM_THREADS; j++) {
|