Searched refs:NUM_THREADS (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/
H A Dpipe_barrier_test.c43 #define NUM_THREADS 10 macro
45 static pipe_thread threads[NUM_THREADS];
47 static int thread_ids[NUM_THREADS];
70 pipe_barrier_init(&barrier, NUM_THREADS);
72 for (i = 0; i < NUM_THREADS; i++) {
77 for (i = 0; i < NUM_THREADS; i++ ) {
/external/mesa3d/src/gallium/tests/unit/
H A Dpipe_barrier_test.c43 #define NUM_THREADS 10 macro
45 static pipe_thread threads[NUM_THREADS];
47 static int thread_ids[NUM_THREADS];
70 pipe_barrier_init(&barrier, NUM_THREADS);
72 for (i = 0; i < NUM_THREADS; i++) {
77 for (i = 0; i < NUM_THREADS; i++ ) {
/external/compiler-rt/test/asan/TestCases/Windows/
H A Dthread_stress.cc15 const int NUM_THREADS = 8; local
16 HANDLE thr[NUM_THREADS];
17 for (int i = 0; i < NUM_THREADS; ++i) {
22 for (int i = 0; i < NUM_THREADS; ++i) {
/external/valgrind/main/none/tests/
H A Dpth_once.c31 #define NUM_THREADS 10 macro
57 pthread_t threads[NUM_THREADS];
59 id_arg = (int *)malloc(NUM_THREADS*sizeof(int));
61 for (thread_num = 0; thread_num < NUM_THREADS; (thread_num)++) {
75 for (thread_num = 0; thread_num < NUM_THREADS; thread_num++) {
H A Dpth_cvsimple.c19 #define NUM_THREADS 3 macro
72 for (i = 0; i < NUM_THREADS; i++) {
/external/valgrind/main/helgrind/tests/
H A Dtc21_pthonce.c46 #define NUM_THREADS 2 macro
59 assert(myid >= 0 && myid < NUM_THREADS);
80 pthread_t threads[NUM_THREADS];
82 id_arg = (int *)malloc(NUM_THREADS*sizeof(int));
85 for (i = 0; i < NUM_THREADS; i++) {
91 for (i = 0; i < NUM_THREADS; i++) {
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestsem.c11 #define NUM_THREADS 10 macro
60 SDL_Thread *threads[NUM_THREADS];
80 printf("Running %d threads, semaphore value = %d\n", NUM_THREADS, init_sem);
82 for( i = 0; i < NUM_THREADS; ++i ) {
92 for( i = 0; i < NUM_THREADS; ++i ) {
/external/valgrind/main/drd/tests/
H A Dthread_name.c11 #define NUM_THREADS 10 macro
49 pthread_t tid[NUM_THREADS];
51 pthread_barrier_init(&s_barrier, NULL, NUM_THREADS);
55 for (i = 0; i < NUM_THREADS; i++)
58 for (i = 0; i < NUM_THREADS; i++)
/external/strace/test/
H A Dthreaded_execve.c2 * Create NUM_THREADS threads which print "1" and sleep in pause().
33 #define NUM_THREADS 1 macro
102 int cnt = NUM_THREADS;
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Devent_test.cc123 const int NUM_THREADS = 10; variable
125 pthread_t threads[NUM_THREADS];
127 for (int a = 0; a < NUM_THREADS; a++)
134 while (waiting_ < NUM_THREADS)
162 for (int a = 0; a < NUM_THREADS; a++)

Completed in 225 milliseconds