Lines Matching refs:m
262 CURL *curl = NULL; CURLM *m = NULL; in testone() local
288 multi_init(m); in testone()
290 multi_setopt(m, CURLMOPT_SOCKETFUNCTION, curlSocketCallback); in testone()
291 multi_setopt(m, CURLMOPT_SOCKETDATA, &sockets); in testone()
293 multi_setopt(m, CURLMOPT_TIMERFUNCTION, curlTimerCallback); in testone()
294 multi_setopt(m, CURLMOPT_TIMERDATA, &timeout); in testone()
296 multi_add_handle(m, curl); in testone()
298 if(socket_action(m, CURL_SOCKET_TIMEOUT, 0, "timeout")) { in testone()
303 while(!checkForCompletion(m, &success)) { in testone()
327 if(checkFdSet(m, &sockets.read, &readSet, CURL_CSELECT_IN, "read")) { in testone()
331 if(checkFdSet(m, &sockets.write, &writeSet, CURL_CSELECT_OUT, "write")) { in testone()
338 if(socket_action(m, CURL_SOCKET_TIMEOUT, 0, "timeout")) { in testone()
356 curl_multi_remove_handle(m, curl); in testone()
358 curl_multi_cleanup(m); in testone()