Home
last modified time | relevance | path

Searched refs:fd_set (Results 1 – 25 of 230) sorted by relevance

12345678910

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dselect.d74 struct fd_set in version() struct
79 extern (D) void FD_CLR( int fd, fd_set* fdset ) pure in version()
84 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
89 extern (D) void FD_SET( int fd, fd_set* fdset ) pure in version()
94 extern (D) void FD_ZERO( fd_set* fdset ) pure in version()
107 : "a" (0), "0" (sizeof (fd_set) \ in version()
134 int pselect(int, fd_set*, fd_set*, fd_set*, const scope timespec*, const scope sigset_t*); in version()
135 int select(int, fd_set*, fd_set*, fd_set*, timeval*); in version()
147 struct fd_set in version() struct
152 extern (D) void FD_CLR( int fd, fd_set* fdset ) pure in version()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dsys_select.in.h160 rpl_fd_isset (SOCKET fd, fd_set * set)
271 (int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
274 (int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
279 (int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
286 fd_set *restrict, fd_set *restrict, fd_set *restrict,
306 (int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
309 (int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
313 (int, fd_set *restrict, fd_set *restrict, fd_set *restrict,
H A Dselect.c267 rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds, in rpl_select()
274 fd_set handle_rfds, handle_wfds, handle_xfds; in rpl_select()
327 rfds = (fd_set *) alloca (sizeof (fd_set)); in rpl_select()
342 wfds = (fd_set *) alloca (sizeof (fd_set)); in rpl_select()
352 xfds = (fd_set *) alloca (sizeof (fd_set)); in rpl_select()
433 memcpy (&handle_rfds, rfds, sizeof (fd_set)); in rpl_select()
434 memcpy (&handle_wfds, wfds, sizeof (fd_set)); in rpl_select()
435 memcpy (&handle_xfds, xfds, sizeof (fd_set)); in rpl_select()
509 memcpy (&handle_rfds, rfds, sizeof (fd_set)); in rpl_select()
510 memcpy (&handle_wfds, wfds, sizeof (fd_set)); in rpl_select()
[all …]
/netbsd-src/sys/compat/sys/
H A Dselect.h48 int pselect(int, fd_set * __restrict, fd_set * __restrict,
49 fd_set * __restrict, const struct timespec50 * __restrict,
51 int select(int, fd_set * __restrict, fd_set * __restrict,
52 fd_set * __restrict, struct timeval50 * __restrict);
53 int __pselect50(int, fd_set * __restrict, fd_set * __restrict,
54 fd_set * __restrict, const struct timespec * __restrict,
56 int __select50(int, fd_set * __restrict, fd_set * __restrict,
57 fd_set * __restrict, struct timeval * __restrict);
/netbsd-src/sys/sys/
H A Dselect.h52 int selcommon(register_t *, int, fd_set *, fd_set *, fd_set *,
69 int pselect(int, fd_set * __restrict, fd_set * __restrict,
70 fd_set * __restrict, const struct timespec * __restrict,
72 int select(int, fd_set * __restrict, fd_set * __restrict,
73 fd_set * __restrict, struct timeval * __restrict) __RENAME(__select50);
H A Dfd_set.h66 typedef struct fd_set { struct
68 } fd_set; typedef
80 fd_set *__fds = (p); \
99 fd_set *__f = (f), *__t = (t); \
/netbsd-src/lib/libc/compat/sys/
H A Dcompat_select.c78 select(int nfds, fd_set * __restrict readfds, fd_set * __restrict writefds, in select()
79 fd_set * __restrict exceptfds, struct timeval50 * __restrict tim50) in select()
91 pselect(int nfds, fd_set * __restrict readfds, fd_set * __restrict writefds, in pselect()
92 fd_set * __restrict exceptfds, const struct timespec50 *__restrict tim50, in pselect()
/netbsd-src/external/bsd/am-utils/dist/amd/
H A Dnfs_start.c98 do_select(sigset_t smask, int fds, fd_set *fdp, struct timeval *tvp) in do_select()
100 do_select(int smask, int fds, fd_set *fdp, struct timeval *tvp) in do_select()
135 nsel = select(fds, fdp, (fd_set *) NULL, (fd_set *) NULL, in do_select()
165 fd_set readfds; in rpc_pending_now()
171 nsel = select(FD_SETSIZE, &readfds, (fd_set *) NULL, (fd_set *) NULL, &tvv); in rpc_pending_now()
204 fd_set readfds; in run_rpc()
/netbsd-src/external/bsd/ntp/dist/include/
H A Dntp_select.h17 extern int select(int width, fd_set *pReadFds, fd_set *pWriteFds,
18 fd_set *pExceptFds, struct timeval *pTimeOut);
34 } fd_set; typedef
/netbsd-src/external/bsd/libevent/dist/
H A Dselect.c85 fd_set *event_readset_in;
86 fd_set *event_writeset_in;
87 fd_set *event_readset_out;
88 fd_set *event_writeset_out;
150 fd_set *readset_out=NULL, *writeset_out=NULL; in select_dispatch()
217 fd_set *readset_in = NULL; in select_resize()
218 fd_set *writeset_in = NULL; in select_resize()
/netbsd-src/include/rpc/
H A Dsvc.h296 extern fd_set svc_fdset;
326 extern fd_set *svc_fdset_get(void);
329 extern fd_set *svc_fdset_copy(const fd_set *);
337 extern void svc_getreqset (fd_set *);
338 extern void svc_getreqset2 (fd_set *, int);
/netbsd-src/sys/compat/linux/common/
H A Dlinux_oldselect.h43 fd_set *readfds;
44 fd_set *writefds;
45 fd_set *exceptfds;
H A Dlinux_misc.h184 int linux_select1(struct lwp *, register_t *, int, fd_set *, fd_set *,
185 fd_set *, struct linux_timeval *);
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Ddoze.c54 while (select(0, (fd_set *) 0, (fd_set *) 0, (fd_set *) 0, &tv) < 0) in doze()
H A Dpoll_fd.c153 fd_set req_fds; in poll_fd_bsd()
154 fd_set *read_fds; in poll_fd_bsd()
155 fd_set *write_fds; in poll_fd_bsd()
156 fd_set except_fds; in poll_fd_bsd()
H A Dfifo_rdwr_bug.c53 fd_set read_fds; in main()
54 fd_set except_fds; in main()
77 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) { in main()
H A Dfifo_rdonly_bug.c77 fd_set read_fds; in main()
78 fd_set except_fds; in main()
110 switch (select(fd + 1, &read_fds, (fd_set *) 0, &except_fds, &tv)) { in main()
/netbsd-src/sys/arch/zaurus/stand/zboot/
H A Dunixdev.h61 int uselect(int, fd_set *, fd_set *, fd_set *, struct linux_timeval *);
/netbsd-src/external/bsd/nsd/dist/compat/
H A Dpselect.c19 fd_set *readfds, in pselect()
20 fd_set *writefds, in pselect()
21 fd_set *exceptfds, in pselect()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dwinsock2.d66 int select(int nfds, fd_set* readfds, fd_set* writefds, fd_set* errorfds, const(timeval)* timeout);
367 alias fd_set = fd_set_custom!FD_SETSIZE; variable
370 void FD_CLR(SOCKET fd, fd_set* set) pure @nogc in FD_CLR()
394 int FD_ISSET(SOCKET fd, const(fd_set)* set) pure @nogc in FD_ISSET()
409 void FD_SET(SOCKET fd, fd_set* set) pure @nogc in FD_SET()
418 void FD_ZERO(fd_set* set) pure @nogc in FD_ZERO()
425 fd_set* FD_CREATE(uint capacity) pure in FD_CREATE()
430 auto set = cast(fd_set*)data.ptr; in FD_CREATE()
/netbsd-src/lib/libpthread/
H A Dpthread_cancelstub.c125 int _sys___pselect50(int, fd_set *, fd_set *, fd_set *,
139 int _sys___select50(int, fd_set *, fd_set *, fd_set *, struct timeval *);
497 __pselect50(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __pselect50()
599 __select50(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in __select50()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dsunos57-select.c56 rpl_select (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, in rpl_select()
76 fd_set null_rfds, null_wfds; in rpl_select()
/netbsd-src/usr.sbin/mopd/common/
H A Dloop-linux2.c98 fd_set fds, listeners; in Loop()
128 if (select(maxfd + 1, &listeners, (fd_set *) 0, in Loop()
129 (fd_set *) 0, (struct timeval *) 0) < 0) { in Loop()
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dparens.c120 fd_set readfds; in rl_insert_close()
138 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer); in rl_insert_close()
/netbsd-src/external/gpl3/gdb.old/dist/readline/readline/
H A Dparens.c120 fd_set readfds; in rl_insert_close()
138 ready = select (1, &readfds, (fd_set *)NULL, (fd_set *)NULL, &timer); in rl_insert_close()

12345678910