Lines Matching refs:pfd
1262 struct pollfd pfd[1]; in send_telnet_data() local
1263 pfd[0].fd = conn->sock[FIRSTSOCKET]; in send_telnet_data()
1264 pfd[0].events = POLLOUT; in send_telnet_data()
1265 switch(Curl_poll(pfd, 1, -1)) { in send_telnet_data()
1314 struct pollfd pfd[2]; in telnet_do() local
1519 pfd[0].fd = sockfd; in telnet_do()
1520 pfd[0].events = POLLIN; in telnet_do()
1528 pfd[1].fd = fileno((FILE *)data->state.in); in telnet_do()
1529 pfd[1].events = POLLIN; in telnet_do()
1532 if(pfd[1].fd < 0) { in telnet_do()
1541 switch(Curl_poll(pfd, (unsigned int)poll_cnt, interval_ms)) { in telnet_do()
1546 pfd[0].revents = 0; in telnet_do()
1547 pfd[1].revents = 0; in telnet_do()
1550 if(pfd[0].revents & POLLIN) { in telnet_do()
1595 if(pfd[1].revents & POLLIN) { /* read from in file */ in telnet_do()
1596 nread = read(pfd[1].fd, buffer, sizeof(buffer)); in telnet_do()