Lines Matching refs:i
91 int i; in test_thread() local
95 for(i = 0; i < PER_THREAD_SIZE; i++) { in test_thread()
147 int i; in execute() local
150 for(i = 0; i < CURL_LOCK_DATA_LAST - 1; i++) { in execute()
151 Curl_mutex_init(&mutexes[i]); in execute()
158 for(i = 0; i < THREAD_SIZE; i++) { in execute()
159 thread[i] = Curl_thread_create(test_thread, (void *)&ctx[i]); in execute()
161 for(i = 0; i < THREAD_SIZE; i++) { in execute()
162 if(thread[i]) { in execute()
163 Curl_thread_join(&thread[i]); in execute()
164 Curl_thread_destroy(thread[i]); in execute()
169 for(i = 0; i < CURL_LOCK_DATA_LAST - 1; i++) { in execute()
170 Curl_mutex_destroy(&mutexes[i]); in execute()
178 int i; in execute() local
180 for(i = 0; i < THREAD_SIZE; i++) { in execute()
181 test_thread((void *)&ctx[i]); in execute()
190 int i; in test() local
202 for(i = 0; i < THREAD_SIZE; i++) { in test()
203 ctx[i].share = share; in test()
204 ctx[i].URL = URL; in test()
205 ctx[i].thread_id = i; in test()
206 ctx[i].result = 0; in test()
207 ctx[i].contents = NULL; in test()
212 for(i = 0; i < THREAD_SIZE; i++) { in test()
213 if(ctx[i].result) { in test()
214 res = ctx[i].result; in test()
217 struct curl_slist *item = ctx[i].contents; in test()
223 curl_slist_free_all(ctx[i].contents); in test()