Home
last modified time | relevance | path

Searched refs:O_EXCL (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/
H A Dcloexec-open.cpp4 #define O_EXCL 2 macro
26 open("filename", O_RDWR | O_EXCL); in a()
29 TEMP_FAILURE_RETRY(open("filename", O_RDWR | O_EXCL)); in a()
41 open64("filename", O_RDWR | O_EXCL); in b()
44 TEMP_FAILURE_RETRY(open64("filename", O_RDWR | O_EXCL)); in b()
56 openat(0, "filename", O_RDWR | O_EXCL); in c()
59 TEMP_FAILURE_RETRY(openat(0, "filename", O_RDWR | O_EXCL)); in c()
130 open("filename", O_RDWR | O_CLOEXEC | O_EXCL); in e()
132 TEMP_FAILURE_RETRY(open("filename", O_RDWR | O_CLOEXEC | O_EXCL)); in e()
142 open64("filename", O_RDWR | O_CLOEXEC | O_EXCL); in e()
[all …]
/llvm-project-15.0.7/libc/include/llvm-libc-macros/linux/
H A Dfcntl-macros.h22 #define O_EXCL 00000200 macro
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DGCDAProfiling.c309 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
315 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp68 shm_open(SharedMemoryName.c_str(), O_RDWR | O_CREAT | O_EXCL, 0700); in reserve()
/llvm-project-15.0.7/flang/runtime/
H A Dfile.cpp95 flags |= O_EXCL; in Open()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_linux.cpp168 uptr openrv = internal_open(name, O_RDWR | O_CREAT | O_EXCL, 0600); in MapRodata()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_platform_linux.cpp180 uptr openrv = internal_open(name, O_RDWR | O_CREAT | O_EXCL, 0600); in MapRodata()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileSystem.cpp405 open_flags |= O_CREAT | O_EXCL; in GetOpenFlags()
H A DFile.cpp760 mode |= O_CREAT | O_EXCL; in ConvertOpenOptionsForPOSIXOpen()
/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DPath.inc987 Result |= O_EXCL; // Fail if it does.
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_runtime.cpp6714 int fd1 = shm_open(shm_name, O_CREAT | O_EXCL | O_RDWR, 0666); in __kmp_register_library_startup()