Home
last modified time | relevance | path

Searched refs:N_THREADS (Results 1 – 3 of 3) sorted by relevance

/external/dbus/test/internals/
Drefs.c48 #define N_THREADS 200 macro
50 G_STATIC_ASSERT (((unsigned) N_THREADS * (unsigned) N_REFS) < G_MAXINT32);
64 GThread *threads[N_THREADS];
180 for (i = 0; i < N_THREADS; i++) in wait_for_all_threads()
282 for (i = 0; i < N_THREADS; i++) in test_connection()
294 for (i = 0; i < N_THREADS; i++) in test_connection()
306 for (i = 0; i < N_THREADS; i++) in test_connection()
361 for (i = 0; i < N_THREADS; i++) in test_server()
373 for (i = 0; i < N_THREADS; i++) in test_server()
385 for (i = 0; i < N_THREADS; i++) in test_server()
[all …]
/external/valgrind/helgrind/tests/
Dtc24_nonzero_sem.c13 #define N_THREADS 3 macro
30 pthread_t child[N_THREADS]; in main()
32 sem= my_sem_init("sem1", 0, N_THREADS); assert(sem); in main()
34 for (i = 0; i < N_THREADS; i++) { in main()
39 for (i = 0; i < N_THREADS; i++) { in main()
/external/valgrind/drd/tests/
Dtsan_unittest.cpp7445 const int N_THREADS = 2, variable
7468 int lower_bound = ARRAY_SIZE * (myId-1) / N_THREADS, in Worker()
7469 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; in Worker()
7492 const int N_THREADS = 2, variable
7513 int lower_bound = ARRAY_SIZE * (myId-1) / N_THREADS, in Worker()
7514 upper_bound = ARRAY_SIZE * ( myId ) / N_THREADS; in Worker()
7583 const int N_THREADS = 1, variable
7609 ThreadPool pool(N_THREADS); in Run()
7611 for (int i = 0; i < N_THREADS; i++) { in Run()
7622 const int N_THREADS = 1, variable
[all …]