Home
last modified time | relevance | path

Searched refs:fds1 (Results 1 – 25 of 40) sorted by relevance

12

/dports/benchmarks/stress-ng/stress-ng-0.13.09/
H A Dstress-splice.c171 if (pipe(fds1) < 0) { in stress_splice()
219 ret = splice(fd_in, NULL, fds1[1], NULL, in stress_splice()
234 ret = stress_splice_write(fds1[1], buffer, in stress_splice()
241 ret = splice(fds1[0], NULL, fds2[1], NULL, in stress_splice()
253 ret = splice(fds1[0], &off_in, fds1[1], &off_out, in stress_splice()
268 ret = splice(fd_in, NULL, fds1[1], NULL, in stress_splice()
273 ret = splice(fd_in, NULL, fds1[1], NULL, in stress_splice()
278 ret = splice(fd_in, NULL, fds1[1], NULL, in stress_splice()
285 ret = splice(fds1[1], &off_in, fds1[1], &off_out, in stress_splice()
314 (void)close(fds1[0]); in stress_splice()
[all …]
/dports/dns/knot3/knot-3.1.5/tests/knot/
H A Dtest_fdset.c50 int fds0[2], fds1[2], fds2[2]; in main() local
57 ret = pipe(fds1); in main()
59 ret = fdset_add(&fdset, fds1[0], FDSET_POLLIN, NULL); in main()
72 ret = pthread_create(&t1, 0, thr_action1, &fds1[1]); in main()
88 ok(fd == fds1[0], "fdset_it fd check"); in main()
98 close(fds1[1]); in main()
/dports/dns/knot3-lib/knot-3.1.5/tests/knot/
H A Dtest_fdset.c50 int fds0[2], fds1[2], fds2[2]; in main() local
57 ret = pipe(fds1); in main()
59 ret = fdset_add(&fdset, fds1[0], FDSET_POLLIN, NULL); in main()
72 ret = pthread_create(&t1, 0, thr_action1, &fds1[1]); in main()
88 ok(fd == fds1[0], "fdset_it fd check"); in main()
98 close(fds1[1]); in main()
/dports/sysutils/busybox/busybox-1.26.2/shell/ash_test/ash-redir/
H A Dredir_script.tests15 fds1="$fds"
23 test x"$fds1" = x"$fds" && { echo "Ok: script fd is not closed"; exit 0; }
26 echo "fds1:$fds1"
/dports/sysutils/busybox/busybox-1.26.2/shell/hush_test/hush-redir/
H A Dredir_script.tests15 fds1="$fds"
23 test x"$fds1" = x"$fds" && { echo "Ok: script fd is not closed"; exit 0; }
26 echo "fds1:$fds1"
/dports/lang/sbcl/sbcl-1.3.13/tests/
H A Dserve-event.pure.lisp39 (sb-int:binding* (((fds1 map1) (try list nil))
49 fds1 map1)
56 (assert (eql (car (elt fds1 fd-index))
60 (assert (equalp fds1 fds2))
/dports/net/quoted/quoted-1.01/
H A Dquoted.c517 fd_set fds1, fds2, fds3; in Daemonize() local
519 FD_ZERO(&fds1); in Daemonize()
620 FD_ZERO(&fds1); in Daemonize()
621 FD_SET(sListen, &fds1); in Daemonize()
622 FD_SET(sUDP, &fds1); in Daemonize()
635 i1 = select(MAX(2,MAX(sUDP + 1, sListen + 1)), &fds1, NULL, NULL, &tmvWait); in Daemonize()
648 if(FD_ISSET(sUDP, &fds1)) in Daemonize()
665 if(FD_ISSET(sListen, &fds1)) in Daemonize()
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/cygnal/testsuite/libnet.all/
H A Dtest_handler.cpp129 struct pollfd fds1;
131 fds1.fd = 3;
132 fds1.events = POLLIN | POLLRDHUP;
134 hand.addPollFD(fds1, test1);
/dports/x11-wm/amiwm/amiwm0.21pl2/
H A Dmodule.c186 int fds1[2], fds2[2]; local
221 if(pipe(fds1)>=0) {
224 close(fds1[0]);
232 m->out_fd=fds1[1];
248 close(fds1[1]);
250 sprintf(fd1num, "%d", fds1[0]);
259 close(fds1[0]);
260 close(fds1[1]);
/dports/databases/gqlplus/gqlplus-1.16/gqlplus-1.15/
H A Dgqlplus.c534 static int fds1[2]; variable
2370 tables = get_completion_names(fds2[0], fds1[1], line); in install_completion()
2731 status = pipe(fds1); /* parent to child pipe */ in main()
2732 pipe_size = fpathconf (fds1[0], _PC_PIPE_BUF); in main()
2771 fd = dup2(fds1[0], STDIN_FILENO); in main()
2819 close(fds1[0]); in main()
2922 write(fds1[1], rline, strlen(rline)); in main()
2923 write(fds1[1], "\n", 1); in main()
2958 write(fds1[1], rline, strlen(rline)); in main()
2989 write(fds1[1], rline, strlen(rline)); in main()
[all …]
/dports/databases/gqlplus/gqlplus-1.16/
H A Dgqlplus.c534 static int fds1[2]; variable
2370 tables = get_completion_names(fds2[0], fds1[1], line); in install_completion()
2731 status = pipe(fds1); /* parent to child pipe */ in main()
2732 pipe_size = fpathconf (fds1[0], _PC_PIPE_BUF); in main()
2771 fd = dup2(fds1[0], STDIN_FILENO); in main()
2819 close(fds1[0]); in main()
2922 write(fds1[1], rline, strlen(rline)); in main()
2923 write(fds1[1], "\n", 1); in main()
2958 write(fds1[1], rline, strlen(rline)); in main()
2989 write(fds1[1], rline, strlen(rline)); in main()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/nsprpub/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
200 other_fds = fds1; in main()
H A Dprselect.c93 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
291 other_fds = fds1; in main()
/dports/www/firefox/firefox-99.0/nsprpub/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
200 other_fds = fds1; in main()
H A Dprselect.c93 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
291 other_fds = fds1; in main()
/dports/lang/spidermonkey60/firefox-60.9.0/nsprpub/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
196 other_fds = fds1; in main()
H A Dprselect.c91 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
263 other_fds = fds1; in main()
/dports/www/firefox-legacy/firefox-52.8.0esr/nsprpub/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
196 other_fds = fds1; in main()
H A Dprselect.c91 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
263 other_fds = fds1; in main()
/dports/devel/nspr/nspr-4.33/nspr/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
200 other_fds = fds1; in main()
H A Dprselect.c93 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
291 other_fds = fds1; in main()
/dports/mail/thunderbird/thunderbird-91.8.0/nsprpub/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
200 other_fds = fds1; in main()
H A Dprselect.c93 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
291 other_fds = fds1; in main()
/dports/lang/spidermonkey78/firefox-78.9.0/nsprpub/pr/tests/
H A Dselct_nm.c70 PRFileDesc *fds0[10], *fds1[10], **fds, **other_fds; in main() local
200 other_fds = fds1; in main()
/dports/www/nostromo/nostromo-1.9.6/src/nhttpd/
H A Dhttp.c273 int cpid, file, fds1[2], fds2[2]; in http_proc() local
463 if (pipe(fds1) == -1) { in http_proc()
484 close(fds1[1]); in http_proc()
492 dup2(fds1[0], STDIN_FILENO); in http_proc()
586 close(fds1[0]); in http_proc()
600 sys_write(fds1[1], body, r); in http_proc()
602 sys_write(fds1[1], body, blen); in http_proc()
622 sys_write(fds1[1], buf, in http_proc()
626 sys_write(fds1[1], buf, in http_proc()
633 close(fds1[1]); in http_proc()

12