Lines Matching defs:fd
128 * Receive a file descriptor from ADB. The fd can be used to communicate
514 int fd;
519 fd = netState->controlSock;
520 if (fd >= 0) {
521 FD_SET(fd, &readfds);
522 if (maxfd < fd)
523 maxfd = fd;
525 fd = netState->clientSock;
526 if (fd >= 0) {
527 FD_SET(fd, &readfds);
528 if (maxfd < fd)
529 maxfd = fd;
531 fd = netState->wakeFds[0];
532 if (fd >= 0) {
533 FD_SET(fd, &readfds);
534 if (maxfd < fd)
535 maxfd = fd;
552 * EINTR, (2) open an additional fd ("wakePipe") and write to