Searched refs:N (Results 1 – 6 of 6) sorted by relevance
/nptl/ |
A D | tst-barrier5.c | 30 #define N 20 macro 32 #define START ((BARRIER_IN_THRESHOLD / N - ROUNDS_PER_RUN / 2) * N) 49 if (pthread_barrier_init (&b1, NULL, N) != 0) in tf() 71 if (pthread_barrier_init (&b2, NULL, N) != 0) in tf() 106 if (pthread_barrier_init (&b1, NULL, N) != 0) in do_test() 112 if (pthread_barrier_init (&b2, NULL, N) != 0) in do_test() 118 pthread_t th[N - 1]; in do_test() 119 for (cnt = 0; cnt < N - 1; ++cnt) in do_test() 134 for (cnt = 0; cnt < N - 1; ++cnt) in do_test()
|
A D | tst-signal3.c | 30 # define N 10 macro 37 static int received[N][N]; 38 static int nsig[N]; 39 static pthread_t th[N]; 49 for (i = 0; i < N; ++i) in handler() 53 if (i == N) in handler() 112 for (i = 0; i < N; ++i) in do_test() 148 for (i = 0; i < N; ++i) in do_test() 191 for (i = 0; i < N; ++i) in do_test() 212 for (i = 0; i < N; ++i) in do_test() [all …]
|
A D | tst-clock2.c | 57 # define N 10 in do_test() macro 68 || pthread_barrier_init (&bN, NULL, N + 1) != 0) in do_test() 77 pthread_t th[N + 1]; in do_test() 78 clockid_t cl[N + 1]; in do_test() 105 for (i = 0; i < N; ++i) in do_test() 137 struct timespec t[N + 1]; in do_test() 138 for (i = 0; i < N + 1; ++i) in do_test() 145 for (i = 0; i < N; ++i) in do_test() 171 for (i = 0; i < N + 1; ++i) in do_test() 178 for (i = 0; i < N + 1; ++i) in do_test()
|
A D | tst-stackguard1.c | 109 #define N 16 in do_test() macro 110 uintptr_t child_stack_chk_guards[N + 1]; in do_test() 111 child_stack_chk_guards[N] = stack_chk_guard_copy; in do_test() 113 for (i = 0; i < N; ++i) in do_test() 177 qsort (child_stack_chk_guards, N + 1, sizeof (uintptr_t), uintptr_t_cmp); in do_test() 193 for (i = 0; i < N; ++i) in do_test() 203 if (ndifferences < N / 2 && ndefaults < N / 2) in do_test()
|
A D | tst-context1.c | 27 #define N 4 macro 39 static char *stacks[N]; 41 static tst_context_t ctx[N][2]; 77 if (n < 0 || n >= N) in fct() 138 pthread_t th[N]; in do_test() 142 for (int i = 0; i < N; i++) in do_test() 186 for (n = 0; n < N; ++n) in do_test() 199 for (n = 0; n < N; ++n) in do_test() 206 for (int i = 0; i < N; i++) in do_test()
|
A D | tst-tls3.c | 37 #define N 10 macro 38 static pthread_t th[N]; 93 if (pthread_barrier_init (&b, NULL, N + 1) != 0) in do_test() 152 for (i = 0; i < N; ++i) in do_test() 198 for (i = 0; i < N; ++i) in do_test()
|
Completed in 8 milliseconds