/external/mesa3d/src/gallium/tests/unit/ |
D | pipe_barrier_test.c | 45 #define NUM_THREADS 10 macro 49 static pipe_thread threads[NUM_THREADS]; 51 static int thread_ids[NUM_THREADS]; 82 CHECK(p_atomic_read(&waiting) == NUM_THREADS); in PIPE_THREAD_ROUTINE() 111 pipe_barrier_init(&barrier, NUM_THREADS); in main() 113 for (i = 0; i < NUM_THREADS; i++) { in main() 118 for (i = 0; i < NUM_THREADS; i++ ) { in main() 122 CHECK(p_atomic_read(&proceeded) == NUM_THREADS); in main()
|
/external/mesa3d/src/intel/vulkan/tests/ |
D | block_pool_no_free.c | 28 #define NUM_THREADS 16 macro 38 } jobs[NUM_THREADS]; 76 unsigned next[NUM_THREADS]; in validate_monotonic() 84 for (unsigned i = 0; i < NUM_THREADS; i++) { in validate_monotonic() 116 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test() 122 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test() 126 uint32_t *block_ptrs[NUM_THREADS]; in run_test() 127 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test() 132 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test()
|
D | state_pool_no_free.c | 28 #define NUM_THREADS 16 macro 37 } jobs[NUM_THREADS]; 65 pthread_barrier_init(&barrier, NULL, NUM_THREADS); in run_test() 67 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test() 73 for (unsigned i = 0; i < NUM_THREADS; i++) in run_test() 77 unsigned next[NUM_THREADS]; in run_test() 85 for (unsigned i = 0; i < NUM_THREADS; i++) { in run_test()
|
D | state_pool_free_list_only.c | 28 #define NUM_THREADS 8 macro 51 struct anv_state states[NUM_THREADS * STATES_PER_THREAD]; in main() 52 for (unsigned i = 0; i < NUM_THREADS * STATES_PER_THREAD; i++) { in main() 57 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()
|
D | state_pool.c | 28 #define NUM_THREADS 8 macro
|
/external/valgrind/helgrind/tests/ |
D | tc21_pthonce.c | 46 #define NUM_THREADS 2 macro 59 assert(myid >= 0 && myid < NUM_THREADS); in maybe_stall() 80 pthread_t threads[NUM_THREADS]; in main() 82 id_arg = (int *)malloc(NUM_THREADS*sizeof(int)); in main() 85 for (i = 0; i < NUM_THREADS; i++) { in main() 91 for (i = 0; i < NUM_THREADS; i++) { in main()
|
/external/valgrind/none/tests/ |
D | pth_once.c | 31 #define NUM_THREADS 10 macro 57 pthread_t threads[NUM_THREADS]; in main() 59 id_arg = (int *)malloc(NUM_THREADS*sizeof(int)); in main() 61 for (thread_num = 0; thread_num < NUM_THREADS; (thread_num)++) { in main() 75 for (thread_num = 0; thread_num < NUM_THREADS; thread_num++) { in main()
|
D | pth_cvsimple.c | 19 #define NUM_THREADS 3 macro 72 for (i = 0; i < NUM_THREADS; i++) { in main()
|
/external/valgrind/drd/tests/ |
D | thread_name.c | 11 #define NUM_THREADS 10 macro 49 pthread_t tid[NUM_THREADS]; in main() 51 pthread_barrier_init(&s_barrier, NULL, NUM_THREADS); in main() 55 for (i = 0; i < NUM_THREADS; i++) in main() 58 for (i = 0; i < NUM_THREADS; i++) in main()
|
/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/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/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 | 21 NUM_THREADS = 4 variable 50 for i in range(NUM_THREADS): 57 self.assertEqual(a, 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/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
D | ExecutionListBenchmark.java | 49 private static final int NUM_THREADS = 10; // make a param? field in ExecutionListBenchmark 167 executorService = new ThreadPoolExecutor(NUM_THREADS, 168 NUM_THREADS, 174 for (int i = 0; i < NUM_THREADS * 10; i++) { 242 listenerLatch = new CountDownLatch(numListeners * NUM_THREADS); 243 for (int j = 0; j < NUM_THREADS; j++) { 264 listenerLatch = new CountDownLatch(numListeners * NUM_THREADS); 266 for (int j = 0; j < NUM_THREADS; j++) {
|
/external/ltp/testcases/realtime/func/pi-tests/ |
D | sbrk_mutex.c | 51 #define NUM_THREADS 50 macro 135 for (t = 0; t < NUM_THREADS; t++) { in main()
|
/external/ltp/testcases/realtime/ |
D | 00_Descriptions.txt | 141 - Uses NUM_THREADS to walk through an array of malloc'd pthread mutexes.
|