/dports/textproc/fcitx5/fcitx5-5.0.11/test/ |
H A D | testunixfd.cpp | 28 int fdnum = -1; in main() local 34 fdnum = fd.fd(); in main() 38 FCITX_ASSERT(!fd_is_valid(fdnum)); in main() 43 fdnum = fd.release(); in main() 46 FCITX_ASSERT(fd_is_valid(fdnum)); in main() 47 close(fdnum); in main() 48 FCITX_ASSERT(!fd_is_valid(fdnum)); in main() 53 fdnum = fd1.release(); in main() 56 FCITX_ASSERT(fd_is_valid(fdnum)); in main() 61 FCITX_ASSERT(!fd_is_valid(fdnum)); in main() [all …]
|
/dports/news/inn/inn-2.6.4/lib/ |
H A D | reservedfd.c | 16 fdreserve(int fdnum) in fdreserve() argument 21 if (fdnum <= 0) { in fdreserve() 34 Reserved_fd = xmalloc(fdnum * sizeof(FILE *)); in fdreserve() 35 allocated = fdnum; in fdreserve() 37 if (allocated < fdnum) { in fdreserve() 38 Reserved_fd = xrealloc(Reserved_fd, fdnum * sizeof(FILE *)); in fdreserve() 39 allocated = fdnum; in fdreserve() 40 } else if (Maxfd > fdnum) { in fdreserve() 41 for (i = fdnum ; i < Maxfd ; i++) { in fdreserve() 46 for (i = start ; i < fdnum ; i++) { in fdreserve() [all …]
|
/dports/news/inn-current/inn-2.7-20211226/lib/ |
H A D | reservedfd.c | 12 fdreserve(int fdnum) in fdreserve() argument 17 if (fdnum <= 0) { in fdreserve() 30 Reserved_fd = xmalloc(fdnum * sizeof(FILE *)); in fdreserve() 31 allocated = fdnum; in fdreserve() 33 if (allocated < fdnum) { in fdreserve() 34 Reserved_fd = xrealloc(Reserved_fd, fdnum * sizeof(FILE *)); in fdreserve() 35 allocated = fdnum; in fdreserve() 36 } else if (Maxfd > fdnum) { in fdreserve() 37 for (i = fdnum; i < Maxfd; i++) { in fdreserve() 42 for (i = start; i < fdnum; i++) { in fdreserve() [all …]
|
/dports/sysutils/shlock/inn-2.6.4/lib/ |
H A D | reservedfd.c | 16 fdreserve(int fdnum) in fdreserve() argument 21 if (fdnum <= 0) { in fdreserve() 34 Reserved_fd = xmalloc(fdnum * sizeof(FILE *)); in fdreserve() 35 allocated = fdnum; in fdreserve() 37 if (allocated < fdnum) { in fdreserve() 38 Reserved_fd = xrealloc(Reserved_fd, fdnum * sizeof(FILE *)); in fdreserve() 39 allocated = fdnum; in fdreserve() 40 } else if (Maxfd > fdnum) { in fdreserve() 41 for (i = fdnum ; i < Maxfd ; i++) { in fdreserve() 46 for (i = start ; i < fdnum ; i++) { in fdreserve() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/rpc/ |
H A D | svc_fdset.c | 69 int fdnum; member 182 fds->fdnum = FD_SETSIZE; in svc_pollfd_alloc() 186 svc_pollfd_init(fds->fdp, fds->fdnum); in svc_pollfd_alloc() 199 for (int i = 0; i < fds->fdnum; i++) in svc_pollfd_add() 213 svc_pollfd_init(pfd + fds->fdnum, FD_SETSIZE); in svc_pollfd_add() 214 pfd[fds->fdnum].fd = fd; in svc_pollfd_add() 215 fds->fdused = fds->fdnum + 1; in svc_pollfd_add() 217 fds->fdnum += FD_SETSIZE; in svc_pollfd_add() 230 for (int i = 0; i < fds->fdnum; i++) { in svc_pollfd_del() 334 fds->fdnum = fds->fdused = 0; in svc_fdset_zero() [all …]
|
/dports/www/anyterm/anyterm-1.1.29/libpbe/include/ |
H A D | FileMonitor.hh | 43 int fdnum; member in pbe::FileMonitor 48 fdnum(check_inotify_init()), in FileMonitor() 49 fd(fdnum,"inotify handle") in FileMonitor() 51 int rc = ::inotify_add_watch(fdnum,fn.c_str(),IN_MODIFY); in FileMonitor()
|
/dports/net-p2p/c-lightning/lightning-0.10.2/lightningd/ |
H A D | subd.c | 217 if (fdnum == dev_disconnect_fd) { in subd() 221 if (fdnum == execfail[1]) { in subd() 226 if (!move_fd(actual_fd, fdnum)) in subd() 228 fdnum++; in subd() 234 if (fdnum == execfail[1]) { in subd() 240 dev_disconnect_fd = fdnum; in subd() 241 fdnum++; in subd() 246 if (!move_fd(execfail[1], fdnum)) in subd() 248 execfail[1] = fdnum; in subd() 249 fdnum++; in subd() [all …]
|
/dports/sysutils/burp/burp-2.4.0/src/server/ |
H A D | main.c | 896 for(int fdnum=SD_LISTEN_FDS_START; in socket_activated_init_listen_sockets() local 897 fdnum<SD_LISTEN_FDS_START+n; fdnum++) in socket_activated_init_listen_sockets() 906 fdnum, &addr)) in socket_activated_init_listen_sockets() 912 fdnum, &addr)) in socket_activated_init_listen_sockets() 919 logp("Strange socket activation fd: %d\n", fdnum); in socket_activated_init_listen_sockets() 923 fd=fdnum; in socket_activated_init_listen_sockets()
|
/dports/sysutils/burp-devel/burp-2.5.4/src/server/ |
H A D | main.c | 896 for(int fdnum=SD_LISTEN_FDS_START; in socket_activated_init_listen_sockets() local 897 fdnum<SD_LISTEN_FDS_START+n; fdnum++) in socket_activated_init_listen_sockets() 906 fdnum, &addr)) in socket_activated_init_listen_sockets() 912 fdnum, &addr)) in socket_activated_init_listen_sockets() 919 logp("Strange socket activation fd: %d\n", fdnum); in socket_activated_init_listen_sockets() 923 fd=fdnum; in socket_activated_init_listen_sockets()
|
/dports/dns/totd/totd-1.5.1/ |
H A D | totd.c | 449 int max_fd, fdnum, i; in totd_eventloop() local 538 fdnum = select (max_fd + 1, &fd_read, &fd_write, NULL, tvp); in totd_eventloop() 539 if (fdnum < 0) { in totd_eventloop()
|
/dports/irc/srvx/srvx-1.3.1/src/ |
H A D | ioset.c | 255 int put_avail, nbr, fdnum; in ioset_buffered_read() local 291 fdnum = fd->fd; in ioset_buffered_read() 294 if (!fds[fdnum]) in ioset_buffered_read()
|
/dports/news/inn/inn-2.6.4/include/inn/ |
H A D | libinn.h | 177 extern bool fdreserve(int fdnum);
|
/dports/sysutils/shlock/inn-2.6.4/include/inn/ |
H A D | libinn.h | 177 extern bool fdreserve(int fdnum);
|
/dports/net/socat/socat-1.7.4.2/Config/ |
H A D | Makefile.AIX-5-3 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.MacOSX-10-5 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.NetBSD-5-1 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.OpenBSD-4-3 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.Cygwin-1-5-25 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.FreeBSD-6-1 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.Linux-2-6-24 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.SunOS-5-10 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
H A D | Makefile.DragonFly-2-8-2 | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 65 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
/dports/news/inn-current/inn-2.7-20211226/include/inn/ |
H A D | libinn.h | 180 extern bool fdreserve(int fdnum);
|
/dports/net/socat/socat-1.7.4.2/ |
H A D | Makefile.in | 46 xio-process.c xio-fd.c xio-fdnum.c xio-stdio.c xio-pipe.c \ 64 xiomodes.h xiolayer.h xio-process.h xio-fd.h xio-fdnum.h xio-stdio.h \
|
/dports/www/websocat/websocat-1.9.0/src/ |
H A D | unix_peer.rs | 352 let fdnum: libc::c_int = match addr.to_str().map(|x|x.parse()) { in unix_listen_peer() localVariable 360 let l = unsafe { std::os::unix::net::UnixListener::from_raw_fd(fdnum) } ; in unix_listen_peer()
|