Home
last modified time | relevance | path

Searched refs:FD_ISSET (Results 1 – 12 of 12) sorted by relevance

/xnu-12377.81.4/bsd/sys/_types/
H A D_fd_isset.h28 #ifndef FD_ISSET
30 #define FD_ISSET(n, p) __DARWIN_FD_ISSET(n, p) macro
/xnu-12377.81.4/tests/skywalk/
H A Dskt_badring.c98 assert(!FD_ISSET(channelfd, &rfdset)); in skt_badringtx_common()
99 assert(FD_ISSET(channelfd, &wfdset)); // XXX is it correct to return writable as well as error? in skt_badringtx_common()
100 assert(FD_ISSET(channelfd, &efdset)); in skt_badringtx_common()
217 assert(!FD_ISSET(channelfd, &rfdset)); in skt_badringrx_common()
218 assert(FD_ISSET(channelfd, &wfdset)); // XXX is it correct to return writable as well as error? in skt_badringrx_common()
219 assert(FD_ISSET(channelfd, &efdset)); in skt_badringrx_common()
H A Dskt_oneslot.c94 assert(!FD_ISSET(channelfd, &rfdset)); in skt_oneslot_common()
95 assert(FD_ISSET(channelfd, &wfdset)); in skt_oneslot_common()
96 assert(!FD_ISSET(channelfd, &efdset)); in skt_oneslot_common()
158 assert(!FD_ISSET(channelfd, &efdset)); in skt_oneslot_common()
159 assert(FD_ISSET(channelfd, &wfdset)); in skt_oneslot_common()
H A Dskt_shutdown.c93 assert(!FD_ISSET(channelfd, &rfdset)); in skt_shutdown_common()
94 assert(!FD_ISSET(channelfd, &wfdset)); in skt_shutdown_common()
95 assert(FD_ISSET(channelfd, &efdset)); in skt_shutdown_common()
260 assert(!FD_ISSET(channelfd, &rfdset)); in skt_shutdown_common()
261 assert(!FD_ISSET(channelfd, &wfdset)); in skt_shutdown_common()
262 assert(FD_ISSET(channelfd, &efdset)); in skt_shutdown_common()
H A Dskt_nslots.c139 assert(FD_ISSET(channelfd, &fdset)); in skt_nslots_common()
140 assert(!FD_ISSET(channelfd, &efdset)); in skt_nslots_common()
209 assert(FD_ISSET(channelfd, &fdset)); in skt_nslots_common()
210 assert(!FD_ISSET(channelfd, &efdset)); in skt_nslots_common()
H A Dskt_shutdown2.c95 assert(!FD_ISSET(channelfd, &rfdset)); in skt_shutdown2_common()
96 assert(FD_ISSET(channelfd, &efdset)); in skt_shutdown2_common()
H A Dskt_reass.c177 if (!FD_ISSET(utun_fd, &readfds) && retval == 0) { // timeout in reass_interface_send_rece()
182 assert(!FD_ISSET(utun_fd, &errorfds)); in reass_interface_send_rece()
185 if (FD_ISSET(utun_fd, &readfds)) { in reass_interface_send_rece()
H A Dskt_filter.c632 if (FD_ISSET(recv_server_fd, &server_fds)) { in filter_wait_for_clients()
638 } else if (FD_ISSET(send_server_fd, &server_fds)) { in filter_wait_for_clients()
848 if (FD_ISSET(recv_client_fd, &client_fds)) { in filter_loop()
850 } else if (FD_ISSET(send_client_fd, &client_fds)) { in filter_loop()
H A Dskywalk_test_utils.c953 assert(FD_ISSET(channelfd, &writefds)); in sktc_pump_ring_nslots_select()
956 assert(FD_ISSET(channelfd, &readfds)); in sktc_pump_ring_nslots_select()
2199 if (!FD_ISSET(utun_fd, &readfds) && retval == 0) { // timeout in sktu_utun_fd_rx_burst()
2203 assert(!FD_ISSET(utun_fd, &errorfds)); in sktu_utun_fd_rx_burst()
2206 if (!FD_ISSET(utun_fd, &readfds)) { in sktu_utun_fd_rx_burst()
2249 if (!FD_ISSET(utun_fd, &writefds) && retval == 0) { // timeout in sktu_utun_fd_tx_burst()
2253 assert(!FD_ISSET(utun_fd, &errorfds)); in sktu_utun_fd_tx_burst()
2256 if (!FD_ISSET(utun_fd, &writefds)) { in sktu_utun_fd_tx_burst()
/xnu-12377.81.4/bsd/man/man2/
H A DMakefile14 FD_ISSET.2 \
/xnu-12377.81.4/tests/
H A Dselect_stress.c226 if (FD_ISSET(ep->fd[0], &readfds)) { in do_select()
H A Dpoll_select_kevent_paired_fds.c613 T_QUIET; T_ASSERT_NE(FD_ISSET(fd, &read_fd), 0, in read_from_fd()