/external/virglrenderer/vtest/ |
D | util.c | 32 fd_set read_fds; in vtest_wait_for_fd_read() local 35 FD_ZERO(&read_fds); in vtest_wait_for_fd_read() 36 FD_SET(fd, &read_fds); in vtest_wait_for_fd_read() 38 ret = select(fd + 1, &read_fds, NULL, NULL, NULL); in vtest_wait_for_fd_read() 42 if (FD_ISSET(fd, &read_fds)) { in vtest_wait_for_fd_read()
|
D | vtest_server.c | 72 fd_set read_fds; in wait_for_socket_accept() local 75 FD_ZERO(&read_fds); in wait_for_socket_accept() 76 FD_SET(sock, &read_fds); in wait_for_socket_accept() 78 ret = select(sock + 1, &read_fds, NULL, NULL, NULL); in wait_for_socket_accept() 82 if (FD_ISSET(sock, &read_fds)) { in wait_for_socket_accept()
|
/external/ltp/testcases/kernel/syscalls/pselect/ |
D | pselect02.c | 37 static fd_set read_fds; variable 46 {128, &read_fds, NULL, EBADF}, 87 FD_ZERO(&read_fds); in setup() 88 FD_SET(fd, &read_fds); in setup()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-udpserver.c | 198 fd_set read_fds; /* list of file descriptor for reading */ in main() local 339 FD_ZERO(&read_fds); in main() 340 FD_SET(sock_fd, &read_fds); in main() 351 active_fds = read_fds; in main()
|
D | ns-tcpserver.c | 384 fd_set read_fds; /* list of file descriptor for reading */ in handle_client() local 388 FD_ZERO(&read_fds); in handle_client() 389 FD_SET(info_p->listen_sd, &read_fds); in handle_client() 416 active_fds = read_fds; in handle_client()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | subprocess.cc | 367 fd_set read_fds; 369 FD_ZERO(&read_fds); 372 FD_SET(child_stdout_, &read_fds); 378 if (select(max_fd + 1, &read_fds, &write_fds, NULL, NULL) < 0) { 405 if (child_stdout_ != -1 && FD_ISSET(child_stdout_, &read_fds)) {
|
/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/boringssl/src/tool/ |
D | client.cc | 189 fd_set read_fds; in WaitForSession() local 190 FD_ZERO(&read_fds); in WaitForSession() 202 FD_SET(static_cast<SOCKET>(sock), &read_fds); in WaitForSession() 204 FD_SET(sock, &read_fds); in WaitForSession() 206 int ret = select(sock + 1, &read_fds, NULL, NULL, NULL); in WaitForSession()
|
D | transport_common.cc | 393 fd_set read_fds, write_fds; in Wait() local 394 FD_ZERO(&read_fds); in Wait() 399 FD_SET(STDIN_FILENO, &read_fds); in Wait() 401 FD_SET(sock_, &read_fds); in Wait() 402 if (select(sock_ + 1, &read_fds, &write_fds, NULL, NULL) <= 0) { in Wait() 407 if (FD_ISSET(STDIN_FILENO, &read_fds) || FD_ISSET(sock_, &write_fds)) { in Wait() 410 if (FD_ISSET(sock_, &read_fds)) { in Wait()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | cmd_helper.py | 275 read_fds, _, _ = select.select( 277 if child_fd in read_fds: 287 read_fds, _, _ = select.select( 289 if child_fd in read_fds:
|
/external/ltp/testcases/kernel/logging/kmsg/ |
D | kmsg01.c | 161 fd_set read_fds; in timed_read() local 163 FD_ZERO(&read_fds); in timed_read() 164 FD_SET(fd, &read_fds); in timed_read() 168 ret = select(fd + 1, &read_fds, 0, 0, &timeout); in timed_read()
|
/external/libbrillo/brillo/streams/ |
D | file_stream.cc | 127 fd_set read_fds; in WaitForDataBlocking() local 131 FD_ZERO(&read_fds); in WaitForDataBlocking() 136 FD_SET(fd_, &read_fds); in WaitForDataBlocking() 147 int res = HANDLE_EINTR(select(fd_ + 1, &read_fds, &write_fds, &error_fds, in WaitForDataBlocking() 150 *out_mode = stream_utils::MakeAccessMode(FD_ISSET(fd_, &read_fds), in WaitForDataBlocking()
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 2186 read_fds = list(map(int, read_bytes.decode('ascii'))) 2192 self.assertEqual([to_fd], read_fds, msg)
|