| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/ |
| H A D | cloexec-pipe2.cpp | 19 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 D | cloexec-pipe2.rst | 1 .. 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 D | cloexec-pipe.rst | 6 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 D | PipePosix.cpp | 82 if (::pipe2(m_fds, (child_processes_inherit) ? 0 : O_CLOEXEC) == 0) in CreateNew()
|
| /llvm-project-15.0.7/clang/lib/DirectoryWatcher/linux/ |
| H A D | DirectoryWatcher-linux.cpp | 77 if (pipe2(InotifyPollingStopperFDs, O_CLOEXEC) == -1) in create()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/ |
| H A D | msan_interceptors.cpp | 770 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 D | tsan_interceptors_posix.cpp | 1809 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 D | tsan_interceptors_posix.cpp | 1809 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 D | list.rst | 75 `android-cloexec-pipe2 <android/cloexec-pipe2.html>`_, "Yes"
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 787 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 D | sanitizer_common_syscalls.inc | 1337 PRE_SYSCALL(pipe2)(void *fildes, long flags) {} 1339 POST_SYSCALL(pipe2)(long res, void *fildes, long flags) {
|
| H A D | sanitizer_syscalls_netbsd.inc | 3390 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 D | libc_ubuntu1404_abilist.txt | 2473 fun:pipe2=uninstrumented
|