Home
last modified time | relevance | path

Searched refs:pipe2 (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/tools/test/stress2/misc/
H A Dpipe2.sh37 sed '1,/^EOF/d' < $odir/$0 > $dir/pipe2.c
38 mycc -o pipe2 -Wall -Wextra -O0 -g pipe2.c || exit 1
39 rm -f pipe2.c
45 su $testuser -c /tmp/pipe2
52 rm -rf /tmp/pipe2
/freebsd/contrib/netbsd-tests/kernel/kqueue/write/
H A Dt_pipe.c72 ATF_TC(pipe2);
73 ATF_TC_HEAD(pipe2, tc) in ATF_TC_HEAD() argument
79 ATF_TC_BODY(pipe2, tc) in ATF_TC_BODY() argument
143 ATF_TP_ADD_TC(tp, pipe2); in ATF_TP_ADD_TCS()
/freebsd/contrib/capsicum-test/
H A Dcapability-fd-pair.cc53 EXPECT_OK(pipe2(pipe1_fds, O_NONBLOCK)); in TEST()
55 EXPECT_OK(pipe2(pipe2_fds, O_NONBLOCK)); in TEST()
100 EXPECT_OK(pipe2(pipe1_fds, O_NONBLOCK)); in TEST()
102 EXPECT_OK(pipe2(pipe2_fds, O_NONBLOCK)); in TEST()
160 EXPECT_OK(pipe2(pipe_fds, O_NONBLOCK)); in TEST()
H A Dcapmode.cc426 rc = pipe2(fd2, 0); in FORK_TEST()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_pipe2.c62 ATF_REQUIRE(pipe2(fd, flags) == 0); in run()
143 err = pipe2(filedes, O_CLOEXEC); in ATF_TC_BODY()
193 ATF_REQUIRE_ERRNO(EINVAL, pipe2(fd, O_ASYNC) == -1); in ATF_TC_BODY()
/freebsd/tests/sys/kern/pipe/
H A Dpipe_kqueue_test.c48 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
146 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
190 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
248 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
301 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
/freebsd/lib/libc/gen/
H A Dwordexp.c145 if (pipe2(pdesw, O_CLOEXEC) < 0) in we_askshell()
148 if (pipe2(pdes, O_CLOEXEC) < 0) { in we_askshell()
H A Dpopen.c87 if (pipe2(pdes, O_CLOEXEC) < 0) in popen()
/freebsd/bin/sh/tests/set-e/
H A DMakefile31 ${PACKAGE}FILES+= pipe2.0
/freebsd/lib/libc/tests/stdio/
H A Dgetdelim_test.c293 ATF_REQUIRE(pipe2(pipedes, O_CLOEXEC) == 0); in _nonblock_eagain()
294 ATF_REQUIRE(pipe2(pipedes2, O_CLOEXEC) == 0); in _nonblock_eagain()
/freebsd/contrib/blocklist/port/
H A Dpopenve.c102 if (pipe2(pdes, flags) == -1) in pdes_get()
/freebsd/lib/libsys/
H A DSymbol.sys.map329 pipe2;
H A DMakefile.sys479 MLINKS+=pipe.2 pipe2.2
/freebsd/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp78 if (pipe2(InotifyPollingStopperFDs, O_CLOEXEC) == -1) in create()
/freebsd/include/
H A Dunistd.h548 int pipe2(int *, int);
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DPipePosix.cpp87 if (::pipe2(m_fds, (child_processes_inherit) ? 0 : O_CLOEXEC) == 0) in CreateNew()
/freebsd/sys/sys/
H A Dsyscall.mk389 pipe2.o \
/freebsd/sbin/dumpon/
H A Ddumpon.c327 if (pipe2(filedes, O_CLOEXEC) != 0) in genkey()
/freebsd/contrib/file/
H A Dconfigure.ac204 …temp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem pipe2 posix_spawnp)
/freebsd/usr.sbin/bhyve/
H A Dnet_backend_slirp.c559 error = pipe2(priv->wakeup, O_CLOEXEC | O_NONBLOCK); in _slirp_init()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp869 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { in INTERCEPTOR() argument
871 int res = REAL(pipe2)(pipefd, flags); in INTERCEPTOR()
1882 INTERCEPT_FUNCTION(pipe2); in InitializeInterceptors()
/freebsd/contrib/bmake/filemon/
H A Dfilemon_ktrace.c208 if (pipe2(ktrpipe, O_CLOEXEC|O_NONBLOCK) == -1) { in filemon_open()
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1879 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { in TSAN_INTERCEPTOR() argument
1880 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); in TSAN_INTERCEPTOR()
1881 int res = REAL(pipe2)(pipefd, flags); in TSAN_INTERCEPTOR()
3017 TSAN_INTERCEPT(pipe2); in InitializeInterceptors()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_diff.c764 if (pipe2(pipefd, O_CLOEXEC)) { in zfs_show_diffs()
/freebsd/contrib/file/src/
H A Dfuncs.c913 return pipe2(fds, O_CLOEXEC); in file_pipe_closexec()

12