Lines Matching defs:pfd
1243 struct pollfd pfd[1];
1244 pfd[0].fd = conn->sock[FIRSTSOCKET];
1245 pfd[0].events = POLLOUT;
1246 switch (Curl_poll(pfd, 1, -1)) {
1304 struct pollfd pfd[2];
1566 pfd[0].fd = sockfd;
1567 pfd[0].events = POLLIN;
1575 pfd[1].fd = fileno((FILE *)conn->fread_in);
1576 pfd[1].events = POLLIN;
1582 switch (Curl_poll(pfd, poll_cnt, interval_ms)) {
1587 pfd[0].revents = 0;
1588 pfd[1].revents = 0;
1591 if(pfd[0].revents & POLLIN) {
1628 if(pfd[1].revents & POLLIN) { /* read from in file */
1629 nread = read(pfd[1].fd, buf, BUFSIZE - 1);