Lines Matching refs:fd
207 pfd[num].fd = readfd0; in Curl_socket_check()
213 pfd[num].fd = readfd1; in Curl_socket_check()
219 pfd[num].fd = writefd; in Curl_socket_check()
284 if(ufds[i].fd != CURL_SOCKET_BAD) { in Curl_poll()
322 if(ufds[i].fd == CURL_SOCKET_BAD) in Curl_poll()
339 if(ufds[i].fd == CURL_SOCKET_BAD) in Curl_poll()
341 VERIFY_SOCK(ufds[i].fd); in Curl_poll()
344 if(ufds[i].fd > maxfd) in Curl_poll()
345 maxfd = ufds[i].fd; in Curl_poll()
347 FD_SET(ufds[i].fd, &fds_read); in Curl_poll()
349 FD_SET(ufds[i].fd, &fds_write); in Curl_poll()
351 FD_SET(ufds[i].fd, &fds_err); in Curl_poll()
372 if(ufds[i].fd == CURL_SOCKET_BAD) in Curl_poll()
374 if(FD_ISSET(ufds[i].fd, &fds_read)) { in Curl_poll()
380 if(FD_ISSET(ufds[i].fd, &fds_write)) { in Curl_poll()
386 if(FD_ISSET(ufds[i].fd, &fds_err)) { in Curl_poll()
447 if(sock == cpfds->pfds[i].fd) { in cpfds_add_sock()
458 cpfds->pfds[cpfds->n].fd = sock; in cpfds_add_sock()
509 if(sock == cwfds->wfds[i].fd) { in cwfds_add_sock()
518 cwfds->wfds[cwfds->n].fd = sock; in cwfds_add_sock()