Searched refs:read_fds (Results 1 – 5 of 5) sorted by relevance
/external/boringssl/src/tool/ |
D | transport_common.cc | 222 fd_set read_fds; in TransferData() local 223 FD_ZERO(&read_fds); in TransferData() 231 FD_SET(0, &read_fds); in TransferData() 233 FD_SET(sock, &read_fds); in TransferData() 235 int ret = select(sock + 1, &read_fds, NULL, NULL, NULL); in TransferData() 241 if (FD_ISSET(0, &read_fds)) { in TransferData() 250 FD_CLR(0, &read_fds); in TransferData() 282 if (FD_ISSET(sock, &read_fds)) { in TransferData()
|
/external/lldb/source/Core/ |
D | ConnectionFileDescriptor.cpp | 676 llvm::SmallVector<fd_set, 1> read_fds; in BytesAvailable() local 677 read_fds.resize((nfds/FD_SETSIZE) + 1); in BytesAvailable() 678 for (size_t i=0; i<read_fds.size(); ++i) in BytesAvailable() 679 FD_ZERO (&read_fds[i]); in BytesAvailable() 683 FD_SET (data_fd, read_fds.data()); in BytesAvailable() 685 FD_SET (pipe_fd, read_fds.data()); in BytesAvailable() 699 const int num_set_fds = ::select (nfds, read_fds.data(), NULL, NULL, tv_ptr); in BytesAvailable() 746 if (FD_ISSET(data_fd, read_fds.data())) in BytesAvailable() 748 if (have_pipe_fd && FD_ISSET(pipe_fd, read_fds.data())) in BytesAvailable() 835 fd_set read_fds; in BytesAvailable() local [all …]
|
/external/iptables/libipq/ |
D | libipq.c | 140 fd_set read_fds; in ipq_netlink_recvfrom() local 151 FD_ZERO(&read_fds); in ipq_netlink_recvfrom() 152 FD_SET(h->fd, &read_fds); in ipq_netlink_recvfrom() 153 ret = select(h->fd+1, &read_fds, NULL, NULL, &tv); in ipq_netlink_recvfrom() 162 if (!FD_ISSET(h->fd, &read_fds)) { in ipq_netlink_recvfrom()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 365 fd_set read_fds; 367 FD_ZERO(&read_fds); 370 FD_SET(child_stdout_, &read_fds); 376 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { 403 if (child_stdout_ != -1 && FD_ISSET(child_stdout_, &read_fds)) {
|
/external/lldb/tools/debugserver/source/MacOSX/ |
D | MachProcess.cpp | 1292 fd_set read_fds; in STDIOThread() local 1293 FD_ZERO (&read_fds); in STDIOThread() 1295 FD_SET (stdout_fd, &read_fds); in STDIOThread() 1297 FD_SET (stderr_fd, &read_fds); in STDIOThread() 1300 int num_set_fds = select (nfds, &read_fds, NULL, NULL, NULL); in STDIOThread() 1333 if (stdout_fd >= 0 && FD_ISSET (stdout_fd, &read_fds)) in STDIOThread() 1357 if (stderr_fd >= 0 && FD_ISSET (stderr_fd, &read_fds)) in STDIOThread()
|