Home
last modified time | relevance | path

Searched refs:fdset (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dselect.d79 extern (D) void FD_CLR( int fd, fd_set* fdset ) pure in version()
81 fdset.fds_bits[__FDELT( fd )] &= ~__FDMASK( fd ); in version()
84 extern (D) bool FD_ISSET( int fd, const(fd_set)* fdset ) pure in version()
86 return (fdset.fds_bits[__FDELT( fd )] & __FDMASK( fd )) != 0; in version()
89 extern (D) void FD_SET( int fd, fd_set* fdset ) pure in version()
91 fdset.fds_bits[__FDELT( fd )] |= __FDMASK( fd ); in version()
94 extern (D) void FD_ZERO( fd_set* fdset ) pure in version()
96 fdset.fds_bits[0 .. $] = 0; in version()
152 extern (D) void FD_CLR( int fd, fd_set* fdset ) pure in version()
154 fdset.fds_bits[fd / __DARWIN_NFDBITS] &= ~(1 << (fd % __DARWIN_NFDBITS)); in version()
[all …]
/netbsd-src/lib/libc/rpc/
H A Dsvc_fdset.c64 fd_set *fdset; member
100 fprintf(stderr, "%p[%d] fd_set<", fds->fdset, fds->fdmax); in svc_fdset_print()
102 if (!FD_ISSET(i, fds->fdset)) in svc_fdset_print()
144 while (fds->fdmax >= 0 && !FD_ISSET(fds->fdmax, fds->fdset)) in svc_fdset_sanitize()
149 svc_fdset = *(__fd_set_256 *)(void *)__svc_fdset.fdset; in svc_fdset_sanitize()
162 free(fds->fdset); in svc_fdset_free()
255 if (fds->fdset && fd < fds->fdsize) { in svc_fdset_resize()
262 char *newfdset = realloc(fds->fdset, __NFD_BYTES(fd)); in svc_fdset_resize()
270 fds->fdset = (void *)newfdset; in svc_fdset_resize()
298 DPRINTF("switching to %p", fds->fdset); in svc_fdset_alloc()
[all …]
/netbsd-src/games/hunt/huntd/
H A Ddriver.c246 while (poll(fdset, 3+MAXPL+MAXMON, INFTIM) < 0) in main()
252 if (!localmode && fdset[2].revents & POLLIN) { in main()
313 if (fdset[0].revents & POLLIN) in main()
320 if (fdset[1].revents & POLLIN) in main()
323 if (fdset[i + 3].revents & POLLIN) in main()
330 if (fdset[i + MAXPL + 3].revents & POLLIN) in main()
338 if (poll(fdset, 3+MAXPL+MAXMON, linger) > 0) { in main()
477 fdset[0].fd = huntsock; in init()
478 fdset[0].events = POLLIN; in init()
479 fdset[1].fd = statsock; in init()
[all …]
H A Dextern.c48 struct pollfd fdset[3+MAXPL+MAXMON]; variable
H A Dhunt.h141 extern struct pollfd fdset[];
H A Danswer.c207 fdset[i].fd = newsock; in answer()
208 fdset[i].events = POLLIN; in answer()
/netbsd-src/usr.sbin/sdpd/
H A Dserver.c102 FD_ZERO(&srv->fdset); in server_init()
204 FD_SET(fd, &srv->fdset); in server_open_control()
264 FD_SET(fd, &srv->fdset); in server_open_l2cap()
307 fd_set fdset; in server_do() local
312 memcpy(&fdset, &srv->fdset, sizeof(fdset)); in server_do()
313 n = select(srv->fdmax + 1, &fdset, NULL, NULL, NULL); in server_do()
319 srv->fdmax + 1, &fdset, strerror(errno), errno); in server_do()
325 if (!FD_ISSET(fd, &fdset)) in server_do()
371 assert(!FD_ISSET(cfd, &srv->fdset)); in server_accept_client()
393 FD_SET(cfd, &srv->fdset); in server_accept_client()
[all …]
H A Dsdpd.h115 fd_set fdset; /* current descriptor set */ member
/netbsd-src/sys/arch/zaurus/stand/zboot/
H A Dunixcons.c128 fd_set fdset; in common_getc() local
135 FD_ZERO(&fdset); in common_getc()
138 FD_SET(fd, &fdset); in common_getc()
140 n = uselect(nfds, &fdset, NULL, NULL, &tv); in common_getc()
147 if (FD_ISSET(fd, &fdset)) { in common_getc()
/netbsd-src/distrib/alpha/instkernel/
H A DNote.Results2 fdset/obj/disk1of3
3 fdset/obj/disk2of3
4 fdset/obj/disk3of3
H A DMakefile3 SUBDIR= ramdisk .WAIT instkernel .WAIT fdset cd-hd-tape
/netbsd-src/crypto/external/bsd/openssl.old/dist/util/perl/TLSProxy/
H A DProxy.pm358 my $fdset = IO::Select->new($self->{proxy_sock});
359 if (!$fdset->can_read(60)) {
376 $fdset = IO::Select->new($server_sock, $client_sock);
381 while($fdset->count && $ctr < 10) {
388 if (!(@ready = $fdset->can_read(1))) {
400 $fdset->remove($server_sock);
410 $fdset->remove($client_sock);
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_script.c225 fd_set fdset; in sscr_getprompt() local
232 FD_ZERO(&fdset); in sscr_getprompt()
233 FD_SET(master, &fdset); in sscr_getprompt()
234 switch (select(master + 1, &fdset, NULL, NULL, &tv)) { in sscr_getprompt()
337 sscr_check_input(SCR *sp, fd_set *fdset, int maxfd) in sscr_check_input() argument
345 loop: memcpy(&rdfd, fdset, sizeof(fd_set)); in sscr_check_input()
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Devt.h141 #define evt_get_fdmask(nfds, fdset) nfds argument
142 #define evt_handle_fdmask(fdset) ; argument
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dchangepw.c590 fd_set fdset; in change_password_loop() local
620 FD_ZERO(&fdset); in change_password_loop()
621 FD_SET(sock, &fdset); in change_password_loop()
625 ret = select (sock + 1, &fdset, NULL, NULL, &tv); in change_password_loop()
/netbsd-src/crypto/external/bsd/heimdal/dist/kpasswd/
H A Dkpasswdd.c799 fd_set fdset = real_fdset; in doit() local
801 retx = select(maxfd + 1, &fdset, NULL, NULL, NULL); in doit()
809 if (FD_ISSET(sockets[i], &fdset)) { in doit()
/netbsd-src/share/doc/psd/05.sysman/
H A Dspell.ok239 fdset
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dsocket.d2402 auto fdset = set.toFd_set();
2404 assert(cast(bool) set.isSet(fd) == cast(bool)(() @trusted => FD_ISSET(fd, fdset))());
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dsocket.d2424 auto fdset = set.toFd_set();
2426 assert(cast(bool) set.isSet(fd) == cast(bool)(() @trusted => FD_ISSET(fd, fdset))());
/netbsd-src/external/bsd/openldap/dist/include/
H A Dportable.hin1189 #include "ac/fdset.h"
/netbsd-src/usr.sbin/makemandb/
H A Dnostem.txt1097 fdset
/netbsd-src/external/bsd/openldap/dist/
H A Dconfigure.ac182 #include "ac/fdset.h"
/netbsd-src/external/bsd/nsd/dist/doc/
H A DChangeLog3976 - Bug #153: now checks for FD_SETSIZE when adding fd to select fdset.