/external/ltp/testcases/kernel/device-drivers/rtc/ |
D | rtc01.c | 65 fd_set rfds; in read_alarm_test() local 135 FD_ZERO(&rfds); in read_alarm_test() 136 FD_SET(rtc_fd, &rfds); in read_alarm_test() 138 ret = select(rtc_fd + 1, &rfds, NULL, NULL, &tv); /*wait for alarm */ in read_alarm_test() 173 fd_set rfds; in update_interrupts_test() local 193 FD_ZERO(&rfds); in update_interrupts_test() 194 FD_SET(rtc_fd, &rfds); in update_interrupts_test() 196 ret = select(rtc_fd + 1, &rfds, NULL, NULL, &tv); in update_interrupts_test()
|
/external/libnl/src/ |
D | nf-log.c | 122 fd_set rfds; in main() local 125 FD_ZERO(&rfds); in main() 128 FD_SET(nffd, &rfds); in main() 131 FD_SET(rtfd, &rfds); in main() 136 retval = select(maxfd+1, &rfds, NULL, NULL, NULL); in main() 139 if (FD_ISSET(nffd, &rfds)) in main() 141 if (FD_ISSET(rtfd, &rfds)) in main()
|
D | nf-queue.c | 124 fd_set rfds; in main() local 127 FD_ZERO(&rfds); in main() 130 FD_SET(nffd, &rfds); in main() 133 FD_SET(rtfd, &rfds); in main() 138 retval = select(maxfd+1, &rfds, NULL, NULL, NULL); in main() 141 if (FD_ISSET(nffd, &rfds)) in main() 143 if (FD_ISSET(rtfd, &rfds)) in main()
|
D | nf-monitor.c | 88 fd_set rfds; in main() local 93 FD_ZERO(&rfds); in main() 94 FD_SET(fd, &rfds); in main() 96 retval = select(fd+1, &rfds, NULL, NULL, NULL); in main()
|
D | nl-monitor.c | 98 fd_set rfds; in main() local 103 FD_ZERO(&rfds); in main() 104 FD_SET(fd, &rfds); in main() 106 retval = select(fd+1, &rfds, NULL, NULL, NULL); in main()
|
/external/ltp/testcases/open_posix_testsuite/include/ |
D | mq_send.h | 50 fd_set rfds; in sync_pipe_wait_select() local 62 FD_ZERO(&rfds); in sync_pipe_wait_select() 63 FD_SET(fd[0], &rfds); in sync_pipe_wait_select() 65 r = select(fd[0] + 1, &rfds, NULL, NULL, &tv); in sync_pipe_wait_select() 68 if (FD_ISSET(fd[0], &rfds)) { in sync_pipe_wait_select()
|
/external/ltp/testcases/kernel/syscalls/personality/ |
D | personality02.c | 35 fd_set rfds; in verify_personality() local 37 FD_ZERO(&rfds); in verify_personality() 38 FD_SET(1, &rfds); in verify_personality() 41 ret = select(2, &rfds, NULL, NULL, &tv); in verify_personality()
|
/external/strace/tests-m32/ |
D | readv.test | 49 rfds='!!!0' 53 rfds="$rfds,$i" 66 -eread="$rfds" -ewrite="$wfds"
|
/external/strace/tests-mx32/ |
D | readv.test | 49 rfds='!!!0' 53 rfds="$rfds,$i" 66 -eread="$rfds" -ewrite="$wfds"
|
/external/strace/tests/ |
D | readv.test | 49 rfds='!!!0' 53 rfds="$rfds,$i" 66 -eread="$rfds" -ewrite="$wfds"
|
/external/ipsec-tools/src/racoon/ |
D | session.c | 119 fd_set rfds; in session() local 182 rfds = maskdying; in session() 184 rfds = mask0; in session() 195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); in session() 211 (FD_ISSET(lcconf->sock_admin, &rfds))) in session() 218 if (FD_ISSET(p->sock, &rfds)) in session() 222 if (FD_ISSET(lcconf->sock_pfkey, &rfds)) in session() 225 if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) { in session()
|
D | schedule.c | 334 fd_set rfds; in main() local 346 rfds = mask0; in main() 350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout); in main() 360 if (FD_ISSET(0, &rfds)) in main()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | socket_connection.c | 226 fd_set rfds; in conn_poll() 240 FD_ZERO(&rfds); in conn_poll() 241 FD_SET((SOCKET)conn->handle, &rfds); in conn_poll() 245 res = select((int)conn->handle+1, &rfds, NULL, NULL, NULL); in conn_poll() 251 res = select((int)conn->handle+1, &rfds, NULL, NULL, &tv); in conn_poll() 261 } else if (FD_ISSET(conn->handle, &rfds)) { in conn_poll()
|
/external/ltp/testcases/kernel/syscalls/recv/ |
D | recv01.c | 267 fd_set afds, rfds; in do_child() local 279 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 281 if (select(nfds, &rfds, NULL, NULL, in do_child() 285 if (FD_ISSET(sfd, &rfds)) { in do_child() 298 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 286 fd_set afds, rfds; in do_child() local 299 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 301 if (select(nfds, &rfds, NULL, NULL, in do_child() 305 if (FD_ISSET(sfd, &rfds)) { in do_child() 316 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
D | recvfrom01.c | 296 fd_set afds, rfds; in do_child() local 308 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 310 if (select(nfds, &rfds, NULL, NULL, in do_child() 314 if (FD_ISSET(sfd, &rfds)) { in do_child() 327 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/send/ |
D | send01.c | 210 fd_set afds, rfds; in do_child() local 223 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 225 if (select(nfds, &rfds, NULL, NULL, NULL) < 0) in do_child() 228 if (FD_ISSET(sfd, &rfds)) { in do_child() 239 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/u-boot/tools/ |
D | kwboot.c | 159 fd_set rfds; in kwboot_tty_recv() local 165 FD_ZERO(&rfds); in kwboot_tty_recv() 166 FD_SET(fd, &rfds); in kwboot_tty_recv() 176 nfds = select(fd + 1, &rfds, NULL, NULL, &tv); in kwboot_tty_recv() 533 fd_set rfds; in kwboot_terminal() local 536 FD_SET(tty, &rfds); in kwboot_terminal() 540 FD_SET(in, &rfds); in kwboot_terminal() 544 nfds = select(nfds + 1, &rfds, NULL, NULL, NULL); in kwboot_terminal() 548 if (FD_ISSET(tty, &rfds)) { in kwboot_terminal() 554 if (FD_ISSET(in, &rfds)) { in kwboot_terminal()
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 493 fd_set rfds; in wpa_ctrl_request() local 550 FD_ZERO(&rfds); in wpa_ctrl_request() 551 FD_SET(ctrl->s, &rfds); in wpa_ctrl_request() 552 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_request() 557 if (FD_ISSET(ctrl->s, &rfds)) { in wpa_ctrl_request() 633 fd_set rfds; in wpa_ctrl_pending() local 636 FD_ZERO(&rfds); in wpa_ctrl_pending() 637 FD_SET(ctrl->s, &rfds); in wpa_ctrl_pending() 638 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_pending() 639 return FD_ISSET(ctrl->s, &rfds); in wpa_ctrl_pending()
|
/external/boringssl/src/ssl/test/ |
D | handshake_util.cc | 175 fd_set rfds; in Proxy() local 176 FD_ZERO(&rfds); in Proxy() 177 FD_SET(wfd, &rfds); in Proxy() 178 FD_SET(control, &rfds); in Proxy() 180 if (select(fd_max + 1, &rfds, nullptr, nullptr, nullptr) == -1) { in Proxy() 187 if (FD_ISSET(wfd, &rfds) && in Proxy() 212 if (!FD_ISSET(control, &rfds)) { in Proxy()
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 281 fd_set afds, rfds; in do_child() local 293 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 295 if (select(nfds, &rfds, NULL, NULL, NULL) < 0 && errno != EINTR) in do_child() 298 if (FD_ISSET(sfd, &rfds)) { in do_child() 309 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 428 fd_set afds, rfds; in do_child() local 441 memcpy(&rfds, &afds, sizeof(rfds)); in do_child() 443 if (select(nfds, &rfds, NULL, NULL, in do_child() 451 if (FD_ISSET(sfd, &rfds)) { in do_child() 463 if (FD_ISSET(ufd, &rfds)) { in do_child() 474 if (fd != sfd && fd != ufd && FD_ISSET(fd, &rfds)) { in do_child()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_privsep.c | 140 fd_set rfds; in l2_packet_init() local 191 FD_ZERO(&rfds); in l2_packet_init() 192 FD_SET(l2->fd, &rfds); in l2_packet_init() 195 res = select(l2->fd + 1, &rfds, NULL, NULL, &tv); in l2_packet_init() 201 if (FD_ISSET(l2->fd, &rfds)) { in l2_packet_init()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_03.c | 298 fd_set rfds, rfds_saved; in so_test() local 314 memcpy(&rfds, &rfds_saved, sizeof(rfds)); in so_test() 315 nfds = select(sr + 1, &rfds, 0, 0, &tv); in so_test() 328 if (!FD_ISSET(sr, &rfds)) in so_test()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | forkserver.py | 197 rfds = [key.fileobj for (key, events) in selector.select()] 198 if rfds: 201 if alive_r in rfds: 206 if sig_r in rfds: 239 if listener in rfds:
|