Lines Matching refs:i
101 size_t i; in test_thread_internal() local
165 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
166 local[0] = i + 1; in test_thread_internal()
168 t[i] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[0]); in test_thread_internal()
169 if (!TEST_ptr(t[i])) in test_thread_internal()
178 if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[0]), 1)) in test_thread_internal()
180 if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[0]), 1)) in test_thread_internal()
183 if (!TEST_int_eq(retval[0], i + 1) || !TEST_int_eq(local[0], i + 2)) in test_thread_internal()
186 if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 1)) in test_thread_internal()
188 t[i] = NULL; in test_thread_internal()
190 if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 0)) in test_thread_internal()
199 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
200 local[i] = i + 1; in test_thread_internal()
201 t[i] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[i]); in test_thread_internal()
202 if (!TEST_ptr(t[i])) in test_thread_internal()
205 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
206 if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[i]), 1)) in test_thread_internal()
209 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
210 if (!TEST_int_eq(retval[i], i + 1) || !TEST_int_eq(local[i], i + 2)) in test_thread_internal()
212 if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 1)) in test_thread_internal()
221 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
222 local[i] = i + 1; in test_thread_internal()
223 t[i] = ossl_crypto_thread_start(NULL, test_thread_native_fn, &local[i]); in test_thread_internal()
224 if (!TEST_ptr(t[i])) in test_thread_internal()
227 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
228 if (!TEST_int_eq(ossl_crypto_thread_join(t[i], &retval[i]), 1)) in test_thread_internal()
231 for (i = 0; i < OSSL_NELEM(t); ++i) { in test_thread_internal()
232 if (!TEST_int_eq(retval[i], i + 1) || !TEST_int_eq(local[i], i + 2)) in test_thread_internal()
234 if (!TEST_int_eq(ossl_crypto_thread_clean(t[i]), 1)) in test_thread_internal()