Home
last modified time | relevance | path

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

123

/freebsd-14.2/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-14.2/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-14.2/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-14.2/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-14.2/tests/sys/kern/pipe/
H A Dpipe_kqueue_test.c49 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
147 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
191 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
249 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
302 ATF_REQUIRE(pipe2(p, O_CLOEXEC | O_NONBLOCK) == 0); in ATF_TC_BODY()
/freebsd-14.2/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.c89 if (pipe2(pdes, O_CLOEXEC) < 0) in popen()
/freebsd-14.2/bin/sh/tests/set-e/
H A DMakefile32 ${PACKAGE}FILES+= pipe2.0
/freebsd-14.2/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-14.2/contrib/blocklist/port/
H A Dpopenve.c102 if (pipe2(pdes, flags) == -1) in pdes_get()
/freebsd-14.2/sys/contrib/device-tree/Bindings/phy/
H A Dqcom,msm8996-qmp-pcie-phy.yaml77 - pipe2
/freebsd-14.2/contrib/llvm-project/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp78 if (pipe2(InotifyPollingStopperFDs, O_CLOEXEC) == -1) in create()
/freebsd-14.2/include/
H A Dunistd.h546 int pipe2(int *, int);
/freebsd-14.2/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-14.2/lib/libc/sys/
H A DMakefile.inc465 MLINKS+=pipe.2 pipe2.2
H A DSymbol.map363 pipe2;
/freebsd-14.2/contrib/file/
H A Dconfigure.ac184 …temp mkostemp utimes utime wcwidth strtof newlocale uselocale freelocale memmem pipe2 posix_spawnp)
/freebsd-14.2/sys/sys/
H A Dsyscall.mk389 pipe2.o \
/freebsd-14.2/sbin/dumpon/
H A Ddumpon.c339 if (pipe2(filedes, O_CLOEXEC) != 0) in genkey()
/freebsd-14.2/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()
1880 INTERCEPT_FUNCTION(pipe2); in InitializeInterceptors()
/freebsd-14.2/contrib/bmake/filemon/
H A Dfilemon_ktrace.c208 if (pipe2(ktrpipe, O_CLOEXEC|O_NONBLOCK) == -1) { in filemon_open()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1868 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { in TSAN_INTERCEPTOR() argument
1869 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); in TSAN_INTERCEPTOR()
1870 int res = REAL(pipe2)(pipefd, flags); in TSAN_INTERCEPTOR()
2971 TSAN_INTERCEPT(pipe2); in InitializeInterceptors()
/freebsd-14.2/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_diff.c764 if (pipe2(pipefd, O_CLOEXEC)) { in zfs_show_diffs()
/freebsd-14.2/contrib/file/src/
H A Dfuncs.c896 return pipe2(fds, O_CLOEXEC); in file_pipe_closexec()

123