Home
last modified time | relevance | path

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

123456

/external/libcups/backend/
Drunloop.c65 if (!FD_ISSET(print_fd, &input)) in backendDrainOutput()
255 if (side_cb && FD_ISSET(CUPS_SC_FD, &input)) in backendRunLoop()
271 if (FD_ISSET(device_fd, &input)) in backendRunLoop()
294 if (FD_ISSET(print_fd, &input)) in backendRunLoop()
333 if (print_bytes && FD_ISSET(device_fd, &output)) in backendRunLoop()
483 if (FD_ISSET(0, &input)) in backendWaitLoop()
490 if (side_cb && FD_ISSET(CUPS_SC_FD, &input)) in backendWaitLoop()
/external/openssh/openbsd-compat/
Dbsd-poll.c98 if (FD_ISSET(fd, readfds)) { in poll()
101 if (FD_ISSET(fd, writefds)) { in poll()
104 if (FD_ISSET(fd, exceptfds)) { in poll()
/external/skqp/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()
/external/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()
756 if(FD_ISSET(wsasock, &readsock)) in select_ws()
758 if(FD_ISSET(wsasock, &writesock)) in select_ws()
760 if(FD_ISSET(wsasock, &exceptsock)) in select_ws()
848 if(FD_ISSET(wsasock, readfds) || FD_ISSET(wsasock, writefds) || in select_ws()
849 FD_ISSET(wsasock, exceptfds)) { in select_ws()
865 if(FD_ISSET(fd, readfds)) in select_ws()
867 if(FD_ISSET(fd, writefds)) in select_ws()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_nowarn.h47 # undef FD_ISSET
48 # define FD_ISSET(a,b) aresx_FD_ISSET((a),(b)) macro
/external/libwebsockets/lib/plat/freertos/
Dfreertos-service.c155 if (FD_ISSET(pt->fds[m].fd, &readfds)) { in _lws_plat_service_tsi()
159 if (FD_ISSET(pt->fds[m].fd, &writefds)) { in _lws_plat_service_tsi()
163 if (FD_ISSET(pt->fds[m].fd, &errfds)) { in _lws_plat_service_tsi()
/external/openscreen/platform/impl/
Dsocket_handle_waiter_posix.cc65 if (FD_ISSET(handle.get().fd, &read_handles)) { in AwaitSocketsReadable()
68 if (FD_ISSET(handle.get().fd, &write_handles)) { in AwaitSocketsReadable()
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c366 if (FD_ISSET(STDOUT_FILENO, &writefds)) { in main()
381 if (FD_ISSET(pty_master, &writefds)) { in main()
396 if (FD_ISSET(STDIN_FILENO, &readfds)) { in main()
411 if (FD_ISSET(pty_master, &readfds)) { in main()
/external/ipsec-tools/src/racoon/
Dsession.c211 (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()
/external/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()
585 if (FD_ISSET(evfd, &readfds)) in overflow_select_test()
/external/grpc-grpc/third_party/cares/config_android/
Dares_config.h441 #undef FD_ISSET
456 #define FD_ISSET(d, set) \ macro
/external/drm_hwcomposer/drm/
DDrmEventListener.cpp127 if (FD_ISSET(drm_->fd(), &fds_)) { in Routine()
135 if (FD_ISSET(uevent_fd_.get(), &fds_)) in Routine()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/config_android/
Dares_config.h444 #undef FD_ISSET
459 #define FD_ISSET(d, set) \ macro
/external/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()
/external/llvm-project/lldb/source/Utility/
DSelectHelper.cpp238 if (FD_ISSET(fd, read_fdset_ptr)) in Select()
242 if (FD_ISSET(fd, write_fdset_ptr)) in Select()
246 if (FD_ISSET(fd, error_fdset_ptr)) in Select()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/config_linux/
Dares_config.h444 #undef FD_ISSET
459 #define FD_ISSET(d, set) \ macro
/external/libnl/src/
Dnf-queue.c143 if (FD_ISSET(nffd, &rfds)) in main()
145 if (FD_ISSET(rtfd, &rfds)) in main()
Dnf-log.c141 if (FD_ISSET(nffd, &rfds)) in main()
143 if (FD_ISSET(rtfd, &rfds)) in main()
/external/grpc-grpc/third_party/cares/config_linux/
Dares_config.h441 #undef FD_ISSET
456 #define FD_ISSET(d, set) \ macro
/external/dnsmasq/src/
Ddnsmasq.c543 if (FD_ISSET(piperead, &rset)) async_event(piperead, now); in main()
546 if (FD_ISSET(daemon->netlinkfd, &rset)) netlink_multicast(); in main()
556 if (daemon->dhcp && FD_ISSET(daemon->dhcpfd, &rset)) dhcp_packet(now); in main()
559 if (daemon->helperfd != -1 && FD_ISSET(daemon->helperfd, &wset)) helper_write(); in main()
805 if (FD_ISSET(STDIN_FILENO, set)) { in check_android_listeners()
895 if (FD_ISSET(serverfdp->fd, set)) in check_dns_listeners()
900 if (daemon->randomsocks[i].refcount != 0 && FD_ISSET(daemon->randomsocks[i].fd, set)) in check_dns_listeners()
904 if (listener->fd != -1 && FD_ISSET(listener->fd, set)) receive_query(listener, now); in check_dns_listeners()
906 if (listener->tcpfd != -1 && FD_ISSET(listener->tcpfd, set)) { in check_dns_listeners()
1082 if (FD_ISSET(fd, &rset) && in icmp_ping()
/external/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()
/external/toybox/toys/pending/
Dtelnetd.c327 if (!FLAG(i) && FD_ISSET(master_fd, &rd)) { //accept new connection in telnetd_main()
348 if (FD_ISSET(tm->pty_fd, &rd)) { in telnetd_main()
356 if (FD_ISSET(tm->new_fd, &rd)) { in telnetd_main()
373 if (FD_ISSET(tm->pty_fd, &wr)) { in telnetd_main()
378 if (FD_ISSET(tm->new_fd, &wr)) { in telnetd_main()
/external/webrtc/examples/peerconnection/server/
Dmain.cc120 if (FD_ISSET(s->socket(), &socket_set)) { in main()
176 if (FD_ISSET(listener.socket(), &socket_set)) { in main()
/external/ltp/testcases/network/can/filter-tests/
Dcan_rcv_own_msgs.c102 if (FD_ISSET(s, &rdfs)) { in test_sockets()
117 if (FD_ISSET(t, &rdfs)) { in test_sockets()
/external/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()

123456