Lines Matching refs:loop
31 int loop; in display_engine_list() local
33 loop = 0; in display_engine_list()
36 loop++, ENGINE_get_id(h), ENGINE_get_name(h)); in display_engine_list()
55 int loop; in test_engines() local
148 for (loop = 0; loop < NUMTOADD; loop++) { in test_engines()
149 sprintf(buf, "id%d", loop); in test_engines()
150 eid[loop] = OPENSSL_strdup(buf); in test_engines()
151 sprintf(buf, "Fake engine type %d", loop); in test_engines()
152 ename[loop] = OPENSSL_strdup(buf); in test_engines()
153 if (!TEST_ptr(block[loop] = ENGINE_new()) in test_engines()
154 || !TEST_true(ENGINE_set_id(block[loop], eid[loop])) in test_engines()
155 || !TEST_true(ENGINE_set_name(block[loop], ename[loop]))) in test_engines()
158 for (loop = 0; loop < NUMTOADD; loop++) { in test_engines()
159 if (!TEST_true(ENGINE_add(block[loop]))) { in test_engines()
161 loop, ENGINE_get_id(block[loop]), in test_engines()
162 ENGINE_get_name(block[loop])); in test_engines()
173 for (loop = 0; loop < NUMTOADD; loop++) { in test_engines()
174 OPENSSL_free(eid[loop]); in test_engines()
175 OPENSSL_free(ename[loop]); in test_engines()
184 for (loop = 0; loop < NUMTOADD; loop++) in test_engines()
185 ENGINE_free(block[loop]); in test_engines()