Lines Matching refs:i
40 int i; in test() local
67 for(i = 0; i < NUM_HANDLES; i++) { in test()
69 easy_init(curl[i]); in test()
73 port, i + 1); in test()
75 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
77 easy_setopt(curl[i], CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in test()
79 easy_setopt(curl[i], CURLOPT_SSL_VERIFYPEER, 0L); in test()
80 easy_setopt(curl[i], CURLOPT_SSL_VERIFYHOST, 0L); in test()
82 easy_setopt(curl[i], CURLOPT_PIPEWAIT, 1L); in test()
84 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
86 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()
88 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test()
90 easy_setopt(curl[i], CURLOPT_STREAM_WEIGHT, (long)128 + i); in test()
95 for(i = 0; i < NUM_HANDLES; i++) { in test()
97 multi_add_handle(m, curl[i]); in test()
133 for(i = 0; i < NUM_HANDLES; i++) { in test()
134 curl_multi_remove_handle(m, curl[i]); in test()
135 curl_easy_cleanup(curl[i]); in test()