Lines Matching refs:loop
32 int loop; in display_engine_list() local
34 loop = 0; in display_engine_list()
37 loop++, ENGINE_get_id(h), ENGINE_get_name(h)); in display_engine_list()
56 int loop; in test_engines() local
149 for (loop = 0; loop < NUMTOADD; loop++) { in test_engines()
150 BIO_snprintf(buf, sizeof(buf), "id%d", loop); in test_engines()
151 eid[loop] = OPENSSL_strdup(buf); in test_engines()
152 BIO_snprintf(buf, sizeof(buf), "Fake engine type %d", loop); in test_engines()
153 ename[loop] = OPENSSL_strdup(buf); in test_engines()
154 if (!TEST_ptr(block[loop] = ENGINE_new()) in test_engines()
155 || !TEST_true(ENGINE_set_id(block[loop], eid[loop])) in test_engines()
156 || !TEST_true(ENGINE_set_name(block[loop], ename[loop]))) in test_engines()
159 for (loop = 0; loop < NUMTOADD; loop++) { in test_engines()
160 if (!TEST_true(ENGINE_add(block[loop]))) { in test_engines()
162 loop, ENGINE_get_id(block[loop]), in test_engines()
163 ENGINE_get_name(block[loop])); in test_engines()
174 for (loop = 0; loop < NUMTOADD; loop++) { in test_engines()
175 OPENSSL_free(eid[loop]); in test_engines()
176 OPENSSL_free(ename[loop]); in test_engines()
185 for (loop = 0; loop < NUMTOADD; loop++) in test_engines()
186 ENGINE_free(block[loop]); in test_engines()