/third_party/libnl/src/ |
D | nf-queue.c | 126 fd_set rfds; in main() local 129 FD_ZERO(&rfds); in main() 132 FD_SET(nffd, &rfds); in main() 135 FD_SET(rtfd, &rfds); in main() 140 retval = select(maxfd+1, &rfds, NULL, NULL, NULL); in main() 143 if (FD_ISSET(nffd, &rfds)) in main() 145 if (FD_ISSET(rtfd, &rfds)) in main()
|
D | nf-log.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 | 92 fd_set rfds; in main() local 97 FD_ZERO(&rfds); in main() 98 FD_SET(fd, &rfds); in main() 100 retval = select(fd+1, &rfds, NULL, NULL, NULL); in main()
|
D | nl-monitor.c | 133 fd_set rfds; in main() local 138 FD_ZERO(&rfds); in main() 139 FD_SET(fd, &rfds); in main() 141 retval = select(fd+1, &rfds, NULL, NULL, NULL); in main()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/musl/src/select/ |
D | select.c | 10 int select(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timev… in select() argument 31 r = __syscall_cp(SYS_pselect6_time64, n, rfds, wfds, efds, in select() 38 return syscall_cp(SYS_select, n, rfds, wfds, efds, in select() 41 return syscall_cp(SYS_pselect6, n, rfds, wfds, efds, in select()
|
D | pselect.c | 10 int pselect(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, const struc… in pselect() argument 18 r = __syscall_cp(SYS_pselect6_time64, n, rfds, wfds, efds, in pselect() 24 return syscall_cp(SYS_pselect6, n, rfds, wfds, efds, in pselect()
|
/third_party/musl/porting/liteos_a/user/src/select/ |
D | select.c | 10 int select(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, struct timev… in select() argument 31 r = __syscall_cp(SYS_pselect6_time64, n, rfds, wfds, efds, in select() 38 return syscall_cp(SYS_select, n, rfds, wfds, efds, in select() 41 return syscall_cp(SYS_pselect6, n, rfds, wfds, efds, in select()
|
/third_party/pulseaudio/src/pulsecore/ |
D | poll-win32.c | 297 compute_revents (int fd, int sought, fd_set *rfds, fd_set *wfds, fd_set *efds) in compute_revents() argument 300 if (FD_ISSET (fd, rfds)) in compute_revents() 357 fd_set rfds, wfds, efds; in pa_poll() local 414 FD_ZERO (&rfds); in pa_poll() 423 FD_SET (pfd[i].fd, &rfds); in pa_poll() 447 rc = select (maxfd + 1, &rfds, &wfds, &efds, ptv); in pa_poll() 459 &rfds, &wfds, &efds); in pa_poll() 473 fd_set rfds, wfds, xfds; in pa_poll() local 484 FD_ZERO (&rfds); in pa_poll() 509 FD_SET ((SOCKET) h, &rfds); in pa_poll() [all …]
|
/third_party/cef/patch/patches/ |
D | linux_poll_2466.patch | 33 - fd_set rfds; 34 - FD_ZERO(&rfds); 35 - FD_SET(inotify_fd_, &rfds); 39 - HANDLE_EINTR(select(inotify_fd_ + 1, &rfds, nullptr, nullptr, nullptr));
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/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()
|
/third_party/musl/compat/time32/ |
D | select_time32.c | 6 int __select_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, str… in __select_time32() argument 8 return select(n, rfds, wfds, efds, !tv32 ? 0 : (&(struct timeval){ in __select_time32()
|
D | pselect_time32.c | 5 int __pselect_time32(int n, fd_set *restrict rfds, fd_set *restrict wfds, fd_set *restrict efds, co… in __pselect_time32() argument 7 return pselect(n, rfds, wfds, efds, !ts32 ? 0 : (&(struct timespec){ in __pselect_time32()
|
/third_party/uboot/u-boot-2020.01/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() 539 fd_set rfds; in kwboot_terminal() local 542 FD_SET(tty, &rfds); in kwboot_terminal() 546 FD_SET(in, &rfds); in kwboot_terminal() 550 nfds = select(nfds + 1, &rfds, NULL, NULL, NULL); in kwboot_terminal() 554 if (FD_ISSET(tty, &rfds)) { in kwboot_terminal() 560 if (FD_ISSET(in, &rfds)) { in kwboot_terminal()
|
/third_party/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()
|
/third_party/node/test/pseudo-tty/ |
D | pty_helper.py | 89 rfds, _, _ = select.select(fds, [], []) variable 96 if STDIN in rfds: 100 if parent_fd in rfds:
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | wpa_ctrl.c | 489 fd_set rfds; in wpa_ctrl_request() local 546 FD_ZERO(&rfds); in wpa_ctrl_request() 547 FD_SET(ctrl->s, &rfds); in wpa_ctrl_request() 548 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_request() 553 if (FD_ISSET(ctrl->s, &rfds)) { in wpa_ctrl_request() 629 fd_set rfds; in wpa_ctrl_pending() local 632 FD_ZERO(&rfds); in wpa_ctrl_pending() 633 FD_SET(ctrl->s, &rfds); in wpa_ctrl_pending() 634 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_pending() 635 return FD_ISSET(ctrl->s, &rfds); in wpa_ctrl_pending()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_ctrl.c | 495 fd_set rfds; in wpa_ctrl_request() local 552 FD_ZERO(&rfds); in wpa_ctrl_request() 553 FD_SET(ctrl->s, &rfds); in wpa_ctrl_request() 554 res = select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_request() 559 if (FD_ISSET(ctrl->s, &rfds)) { in wpa_ctrl_request() 635 fd_set rfds; in wpa_ctrl_pending() local 638 FD_ZERO(&rfds); in wpa_ctrl_pending() 639 FD_SET(ctrl->s, &rfds); in wpa_ctrl_pending() 640 select(ctrl->s + 1, &rfds, NULL, NULL, &tv); in wpa_ctrl_pending() 641 return FD_ISSET(ctrl->s, &rfds); in wpa_ctrl_pending()
|
/third_party/libuv/src/win/ |
D | poll.c | 274 uv_single_fd_set_t rfds, wfds, efds; in uv__slow_poll_thread_proc() local 281 rfds.fd_count = 1; in uv__slow_poll_thread_proc() 282 rfds.fd_array[0] = handle->socket; in uv__slow_poll_thread_proc() 284 rfds.fd_count = 0; in uv__slow_poll_thread_proc() 302 r = select(1, (fd_set*) &rfds, (fd_set*) &wfds, (fd_set*) &efds, &timeout); in uv__slow_poll_thread_proc() 313 if (rfds.fd_count > 0) { in uv__slow_poll_thread_proc() 314 assert(rfds.fd_count == 1); in uv__slow_poll_thread_proc() 315 assert(rfds.fd_array[0] == handle->socket); in uv__slow_poll_thread_proc()
|
/third_party/boringssl/src/ssl/test/ |
D | handshake_util.cc | 183 fd_set rfds; in Proxy() local 184 FD_ZERO(&rfds); in Proxy() 185 FD_SET(wfd, &rfds); in Proxy() 186 FD_SET(control, &rfds); in Proxy() 188 if (select(fd_max + 1, &rfds, nullptr, nullptr, nullptr) == -1) { in Proxy() 195 if (FD_ISSET(wfd, &rfds) && in Proxy() 220 if (!FD_ISSET(control, &rfds)) { in Proxy()
|