Searched refs:fd_set (Results 1 - 25 of 286) sorted by relevance

1234567891011>>

/freebsd-11-stable/lib/libc/sys/
H A Dpselect.c44 pselect(int n, fd_set *rs, fd_set *ws, fd_set *es, const struct timespec *t,
48 return (((int (*)(int, fd_set *, fd_set *, fd_set *,
H A Dselect.c44 select(int n, fd_set *rs, fd_set *ws, fd_set *es, struct timeval *t)
47 return (((int (*)(int, fd_set *, fd_set *, fd_set *, struct timeval *))
/freebsd-11-stable/usr.sbin/ppp/
H A Ddescriptor.h46 int (*UpdateSet)(struct fdescriptor *, fd_set *, fd_set *, fd_set *, int *);
47 int (*IsSet)(struct fdescriptor *, const fd_set *);
48 void (*Read)(struct fdescriptor *, struct bundle *, const fd_set *);
49 int (*Write)(struct fdescriptor *, struct bundle *, const fd_set *);
H A Dphysical.h64 int (*removefromset)(struct physical *, fd_set *, fd_set *, fd_set *);
159 extern int physical_doUpdateSet(struct fdescriptor *, fd_set *, fd_set *,
160 fd_set *, int *, int);
161 extern int physical_IsSet(struct fdescriptor *, const fd_set *);
163 const fd_set *);
165 extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *,
[all...]
H A Ddatalink.h153 extern int datalink_RemoveFromSet(struct datalink *, fd_set *, fd_set *,
154 fd_set *);
H A Ddefs.h143 extern fd_set *mkfdset(void);
144 extern void zerofdset(fd_set *);
/freebsd-11-stable/sys/sys/
H A Dselect.h71 typedef struct fd_set { struct
73 } fd_set; typedef in typeref:struct:fd_set
86 fd_set *_p; \
98 int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
103 int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dkludge-fd_set.c19 void kludge_FD_SET(int n, fd_set *set) {
22 int kludge_FD_ISSET(int n, fd_set *set) {
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_select.h15 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
16 fd_set *pExceptFds, struct timeval *pTimeOut);
32 } fd_set; typedef in typeref:struct:__anon4778
H A Dl_stdlib.h111 extern int select (int, fd_set *, fd_set *, fd_set *, struct timeval *);
/freebsd-11-stable/lib/libc/rpc/
H A Drpc_commondata.c46 fd_set svc_fdset;
H A Drtime.c74 fd_set readfds;
111 (fd_set *)NULL, (fd_set *)NULL, timeout);
H A Drpc_com.h84 bool_t __svc_clean_idle(fd_set *, int, bool_t);
/freebsd-11-stable/contrib/ntp/lib/isc/win32/include/isc/
H A Dnet.h159 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
160 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET) fd) { \
161 while (__i < ((fd_set FAR *)(set))->fd_count-1) { \
162 ((fd_set FAR *)(set))->fd_array[__i] = \
163 ((fd_set FAR *)(set))->fd_array[__i+1]; \
166 ((fd_set FAR *)(set))->fd_count--; \
175 for (__i = 0; __i < ((fd_set FAR *)(set))->fd_count; __i++) { \
176 if (((fd_set FAR *)(set))->fd_array[__i] == (SOCKET)(fd)) { \
180 if (__i == ((fd_set FAR *)(set))->fd_count) { \
181 if (((fd_set FA
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DSelectHelper.cpp132 fd_set *read_fdset_ptr = nullptr;
133 fd_set *write_fdset_ptr = nullptr;
134 fd_set *error_fdset_ptr = nullptr;
137 llvm::SmallVector<fd_set, 1> read_fdset;
138 llvm::SmallVector<fd_set, 1> write_fdset;
139 llvm::SmallVector<fd_set, 1> error_fdset;
153 for (auto &fd_set : read_fdset)
154 FD_ZERO(&fd_set);
155 for (auto &fd_set : write_fdset)
156 FD_ZERO(&fd_set);
[all...]
/freebsd-11-stable/contrib/telnet/telnet/
H A Dnetwork.c83 fd_set excepts;
89 value = select(net+1, (fd_set *)0, (fd_set *)0, &excepts, &timeout);
/freebsd-11-stable/contrib/gdb/gdb/config/rs6000/
H A Dxm-rs6000.h25 * # `extern fd_set svc_fdset;' without ever defining the type fd_set.
28 * # We circumvent this bug by #define-ing fd_set here, but undefining it in
34 #undef fd_set macro
/freebsd-11-stable/tests/sys/kern/pipe/
H A Dpipe_reverse2_test.c42 fd_set set;
/freebsd-11-stable/contrib/amd/amd/
H A Dnfs_start.c96 do_select(sigset_t smask, int fds, fd_set *fdp, struct timeval *tvp)
98 do_select(int smask, int fds, fd_set *fdp, struct timeval *tvp)
133 nsel = select(fds, fdp, (fd_set *) NULL, (fd_set *) NULL,
163 fd_set readfds;
169 nsel = select(FD_SETSIZE, &readfds, (fd_set *) NULL, (fd_set *) NULL, &tvv);
202 fd_set readfds;
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/
H A Dbthidd.h51 fd_set rfdset; /* read descriptor set */
52 fd_set wfdset; /* write descriptor set */
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Dselect.c82 fd_set *event_readset_in;
83 fd_set *event_writeset_in;
84 fd_set *event_readset_out;
85 fd_set *event_writeset_out;
147 fd_set *readset_out=NULL, *writeset_out=NULL;
214 fd_set *readset_in = NULL;
215 fd_set *writeset_in = NULL;
/freebsd-11-stable/lib/libc/include/
H A Dlibc_private.h307 struct fd_set;
345 int __sys_pselect(int, struct fd_set *, struct fd_set *,
346 struct fd_set *, const struct timespec *,
360 int __sys_select(int, struct fd_set *, struct fd_set *,
361 struct fd_set *, struct timeval *);
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dcmds.c85 fd_set ready;
106 i = select(sock+1, &ready, (fd_set *)0,
107 (fd_set *)0, &tout);
265 fd_set ready;
314 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0,
422 fd_set ready;
468 if (select(FD_SETSIZE, &ready, (fd_set *)0, (fd_set *)0, &tout)) {
/freebsd-11-stable/contrib/libreadline/
H A Dparens.c120 fd_set readfds;
139 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer);
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.h70 int rselect(int nfds, fd_set *readfds, fd_set *writefds,
71 fd_set *exceptfds, struct timeval *timeout);

Completed in 491 milliseconds

1234567891011>>