Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/
H A Dcloexec-pipe2.cpp19 pipe2(pipefd, O_NONBLOCK); in warning()
29 pipe2(pipefd, 3); in warningInMacroArugment()
32 TEMP_FAILURE_RETRY(pipe2(pipefd, 3)); in warningInMacroArugment()
37 pipe2(pipefd, flag); in warningInMacroArugment()
38 TEMP_FAILURE_RETRY(pipe2(pipefd, flag)); in warningInMacroArugment()
42 int pipe2(int pipefd[2], int flags);
46 pipe2(pipefd, O_NONBLOCK); in noWarning()
54 pipe2(pipefd, O_CLOEXEC); in noWarning()
56 pipe2(pipefd, O_NONBLOCK | O_CLOEXEC); in noWarning()
62 int pipe2(int pipefd[2], int flags);
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/android/
H A Dcloexec-pipe2.rst1 .. title:: clang-tidy - android-cloexec-pipe2
3 android-cloexec-pipe2
6 This check ensures that pipe2() is called with the O_CLOEXEC flag. The check also
15 pipe2(pipefd, O_NONBLOCK);
21 pipe2(pipefd, O_NONBLOCK | O_CLOEXEC);
H A Dcloexec-pipe.rst6 This check detects usage of ``pipe()``. Using ``pipe()`` is not recommended, ``pipe2()`` is the
21 pipe2(pipefd, O_CLOEXEC);
/llvm-project-15.0.7/lldb/source/Host/posix/
H A DPipePosix.cpp82 if (::pipe2(m_fds, (child_processes_inherit) ? 0 : O_CLOEXEC) == 0) in CreateNew()
/llvm-project-15.0.7/clang/lib/DirectoryWatcher/linux/
H A DDirectoryWatcher-linux.cpp77 if (pipe2(InotifyPollingStopperFDs, O_CLOEXEC) == -1) in create()
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp770 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { in INTERCEPTOR() argument
772 int res = REAL(pipe2)(pipefd, flags); in INTERCEPTOR()
1729 INTERCEPT_FUNCTION(pipe2); in InitializeInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_posix.cpp1809 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { in TSAN_INTERCEPTOR() argument
1810 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); in TSAN_INTERCEPTOR()
1811 int res = REAL(pipe2)(pipefd, flags); in TSAN_INTERCEPTOR()
2878 TSAN_INTERCEPT(pipe2); in InitializeInterceptors()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_posix.cpp1809 TSAN_INTERCEPTOR(int, pipe2, int *pipefd, int flags) { in TSAN_INTERCEPTOR() argument
1810 SCOPED_TSAN_INTERCEPTOR(pipe2, pipefd, flags); in TSAN_INTERCEPTOR()
1811 int res = REAL(pipe2)(pipefd, flags); in TSAN_INTERCEPTOR()
2904 TSAN_INTERCEPT(pipe2); in InitializeInterceptors()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/
H A Dlist.rst75 `android-cloexec-pipe2 <android/cloexec-pipe2.html>`_, "Yes"
/llvm-project-15.0.7/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp787 TEST(MemorySanitizer, pipe2) { in TEST() argument
789 int res = pipe2(pipefd, O_NONBLOCK); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc1337 PRE_SYSCALL(pipe2)(void *fildes, long flags) {}
1339 POST_SYSCALL(pipe2)(long res, void *fildes, long flags) {
H A Dsanitizer_syscalls_netbsd.inc3390 PRE_SYSCALL(pipe2)(void *fildes_, long long flags_) { /* Nothing to do */ }
3391 POST_SYSCALL(pipe2)(long long res, void *fildes_, long long flags_) {
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2473 fun:pipe2=uninstrumented