Home
last modified time | relevance | path

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

12345

/third_party/musl/libc-test/src/functionalext/supplement/select/
Dpselect.c37 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(i, &set)); in pselect_fdset_0100()
40 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDIN_FILENO, &set)); in pselect_fdset_0100()
41 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_fdset_0100()
43 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDIN_FILENO, &set)); in pselect_fdset_0100()
44 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_fdset_0100()
46 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(STDIN_FILENO, &set)); in pselect_fdset_0100()
47 EXPECT_TRUE("pselect_fdset_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_fdset_0100()
49 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(STDIN_FILENO, &set)); in pselect_fdset_0100()
50 EXPECT_FALSE("pselect_fdset_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_fdset_0100()
69 EXPECT_TRUE("pselect_normal_0100", FD_ISSET(STDOUT_FILENO, &set)); in pselect_normal_0100()
[all …]
/third_party/NuttX/fs/vfs/
Dfs_select.c122 if ((readfds && FD_ISSET(fd, readfds)) || in do_select()
123 (writefds && FD_ISSET(fd, writefds)) || in do_select()
124 (exceptfds && FD_ISSET(fd, exceptfds))) in do_select()
197 if (readfds && FD_ISSET(fd, readfds)) in do_select()
208 if (writefds && FD_ISSET(fd, writefds)) in do_select()
217 if (exceptfds && FD_ISSET(fd, exceptfds)) in do_select()
/third_party/alsa-utils/axfer/
Dwaiter-select.c86 if (FD_ISSET(pfd->fd, &state->rfds_rd)) in select_wait_event()
88 if (FD_ISSET(pfd->fd, &state->rfds_wr)) in select_wait_event()
90 if (FD_ISSET(pfd->fd, &state->rfds_ex)) in select_wait_event()
/third_party/flutter/skia/experimental/Networking/
DSkSockets.cpp56 if (FD_ISSET(sockfd, &fMasterSet)) { in closeSocket()
59 while (FD_ISSET(fMaxfd, &fMasterSet) == false && fMaxfd > 0) in closeSocket()
92 if (!FD_ISSET (i, &fMasterSet)) in readPacket()
179 if (!FD_ISSET (i, &fMasterSet)) in writePacket()
304 if (FD_ISSET(i, &fMasterSet)) in disconnectAll()
/third_party/curl/tests/server/
Dsockfilt.c701 if(FD_ISSET(wsasock, readfds)) { in select_ws()
706 if(FD_ISSET(wsasock, writefds)) { in select_ws()
711 if(FD_ISSET(wsasock, exceptfds)) { in select_ws()
762 if(FD_ISSET(wsasock, &readsock)) in select_ws()
764 if(FD_ISSET(wsasock, &writesock)) in select_ws()
766 if(FD_ISSET(wsasock, &exceptsock)) in select_ws()
855 if(FD_ISSET(wsasock, readfds) || FD_ISSET(wsasock, writefds) || in select_ws()
856 FD_ISSET(wsasock, exceptfds)) { in select_ws()
872 if(FD_ISSET(fd, readfds)) in select_ws()
874 if(FD_ISSET(fd, writefds)) in select_ws()
[all …]
/third_party/musl/libc-test/src/api/
Dsys_time.c19 #ifndef FD_ISSET in f()
20 {int(*p)(int,fd_set*) = FD_ISSET;} in f()
Dsys_select.c21 #ifndef FD_ISSET in f()
22 {int(*p)(int,fd_set*) = FD_ISSET;} in f()
/third_party/node/deps/cares/src/lib/
Dares_nowarn.h47 # undef FD_ISSET
48 # define FD_ISSET(a,b) aresx_FD_ISSET((a),(b)) macro
/third_party/pulseaudio/src/pulsecore/
Dpoll-win32.c300 if (FD_ISSET (fd, rfds)) in compute_revents()
340 if (FD_ISSET (fd, wfds)) in compute_revents()
343 if (FD_ISSET (fd, efds)) in compute_revents()
613 if (FD_ISSET ((SOCKET) h, &rfds) in pa_poll()
616 if (FD_ISSET ((SOCKET) h, &wfds)) in pa_poll()
618 if (FD_ISSET ((SOCKET) h, &xfds)) in pa_poll()
Dpoll-posix.c195 if (FD_ISSET (f->fd, &rset)) { in pa_poll()
222 if (FD_ISSET (f->fd, &wset)) in pa_poll()
224 if (FD_ISSET (f->fd, &xset)) in pa_poll()
/third_party/ltp/testcases/kernel/syscalls/select/
Dselect04.c52 if ((tc->readfds && FD_ISSET(*tc->fd, tc->readfds)) || in run()
53 (tc->writefds && FD_ISSET(*tc->fd, tc->writefds))) { in run()
Dselect01.c72 if (FD_ISSET(*tc->readfd, tc->readfds)) in run()
80 if (FD_ISSET(*tc->writefd, tc->writefds)) in run()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-service.c158 if (FD_ISSET(pt->fds[m].fd, &readfds)) { in _lws_plat_service_tsi()
162 if (FD_ISSET(pt->fds[m].fd, &writefds)) { in _lws_plat_service_tsi()
166 if (FD_ISSET(pt->fds[m].fd, &errfds)) { in _lws_plat_service_tsi()
/third_party/ltp/testcases/kernel/syscalls/eventfd/
Deventfd01.c313 if (FD_ISSET(fd, &readfds)) in readfd_set_test()
345 if (!FD_ISSET(fd, &readfds)) in readfd_not_set_test()
379 if (FD_ISSET(fd, &writefds)) in writefd_set_test()
411 if (!FD_ISSET(fd, &writefds)) in writefd_not_set_test()
590 if (FD_ISSET(evfd, &readfds)) in overflow_select_test()
/third_party/grpc/third_party/cares/config_android/
Dares_config.h444 #undef FD_ISSET
459 #define FD_ISSET(d, set) \ macro
/third_party/ltp/testcases/kernel/syscalls/recv/
Drecv01.c208 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
285 if (FD_ISSET(sfd, &rfds)) { in do_child()
298 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
/third_party/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c42 if (FD_ISSET(s, &rdfs)) { in test_sockets()
53 if (FD_ISSET(t, &rdfs)) { in test_sockets()
/third_party/libnl/src/
Dnf-log.c141 if (FD_ISSET(nffd, &rfds)) in main()
143 if (FD_ISSET(rtfd, &rfds)) in main()
Dnf-queue.c143 if (FD_ISSET(nffd, &rfds)) in main()
145 if (FD_ISSET(rtfd, &rfds)) in main()
/third_party/grpc/third_party/cares/config_linux/
Dares_config.h444 #undef FD_ISSET
459 #define FD_ISSET(d, set) \ macro
/third_party/ffmpeg/libavformat/
Dos_support.c287 if (FD_ISSET(fds[i].fd, &read_set)) in ff_poll()
289 if (FD_ISSET(fds[i].fd, &write_set)) in ff_poll()
291 if (FD_ISSET(fds[i].fd, &exception_set)) in ff_poll()
/third_party/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c230 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
314 if (FD_ISSET(sfd, &rfds)) { in do_child()
327 if (fd != sfd && FD_ISSET(fd, &rfds)) { in do_child()
/third_party/toybox/toys/pending/
Dtelnetd.c360 if (!inetd_m && FD_ISSET(master_fd, &rd)) { //accept new connection in telnetd_main()
381 if (FD_ISSET(tm->pty_fd, &rd)) { in telnetd_main()
389 if (FD_ISSET(tm->new_fd, &rd)) { in telnetd_main()
398 if (FD_ISSET(tm->pty_fd, &wr)) { in telnetd_main()
403 if (FD_ISSET(tm->new_fd, &wr)) { in telnetd_main()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c310 if (n != 1 || !FD_ISSET(s, &rdfds)) in setup1()
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()
/third_party/curl/lib/
Dselect.c427 if(FD_ISSET(ufds[i].fd, &fds_read)) { in Curl_poll()
433 if(FD_ISSET(ufds[i].fd, &fds_write)) { in Curl_poll()
439 if(FD_ISSET(ufds[i].fd, &fds_err)) { in Curl_poll()

12345