| /llvm-project-15.0.7/compiler-rt/test/tsan/libdispatch/ |
| H A D | io-cleanup.c | 19 dispatch_fd_t fd = open(path, O_CREAT | O_WRONLY, 0666); in main() 31 …channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY, 0666, queue, … in main() 41 …dispatch_io_t other_channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_W… in main()
|
| H A D | io.c | 17 …dispatch_io_t channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY,… in test_dispatch_io_write() 39 dispatch_fd_t fd = open(path, O_CREAT | O_WRONLY, 0666); in test_dispatch_write()
|
| H A D | io-barrier.c | 25 …dispatch_io_t channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY,… in main()
|
| H A D | io-barrier-race.c | 26 …dispatch_io_t channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY,… in main()
|
| H A D | io-race.c | 26 …dispatch_io_t channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY,… in main()
|
| H A D | fd.c | 18 dispatch_io_t channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY, in main()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | enable_if.c | 4 #define O_CREAT 0x100 macro 10 int open(const char *pathname, int flags) __attribute__((enable_if(!(flags & O_CREAT), "must specif… 15 open("path", O_CREAT); // expected-error{{no matching function for call to 'open'}} in test1() 17 open("path", O_CREAT, 0660); in test1()
|
| /llvm-project-15.0.7/libc/src/fcntl/linux/ |
| H A D | creat.cpp | 22 int fd = __llvm_libc::syscall(SYS_open, path, O_CREAT | O_WRONLY | O_TRUNC, 26 O_CREAT | O_WRONLY | O_TRUNC, mode_flags);
|
| H A D | openat.cpp | 25 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) {
|
| H A D | open.cpp | 25 if ((flags & O_CREAT) || (flags & O_TMPFILE) == O_TMPFILE) {
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | unix-fns.c | 73 #ifndef O_CREAT 74 #define O_CREAT 0x0200 macro 87 …fd = open(path, O_CREAT); // expected-warning{{Call to 'open' requires a 3rd argument when the 'O_… in test_open() 98 …fd = openat(directory_fd, relative_path, O_CREAT); // expected-warning{{Call to 'openat' requires … in test_open_at()
|
| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | FileAction.cpp | 38 m_arg = O_NOCTTY | O_CREAT | O_RDWR; in Open() 42 m_arg = O_NOCTTY | O_CREAT | O_WRONLY; in Open()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | sem_open.cpp | 16 sem_t *s = sem_open(name, O_CREAT, 0644, 123); in main()
|
| H A D | sanitizer_set_report_fd_test.cpp | 28 int fd = open(argv[1], O_CREAT | O_WRONLY | O_TRUNC, S_IRWXU); in main()
|
| /llvm-project-15.0.7/clang/docs/analyzer/checkers/ |
| H A D | unix_api_example.c | 4 int fd = open(path, O_CREAT); in test()
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/ |
| H A D | onprint.cpp | 29 f = open(argv[1], O_CREAT | O_TRUNC | O_WRONLY, 0666); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/tsan/Darwin/ |
| H A D | variadic-open.cpp | 12 int fd = open(argv[1], O_RDWR | O_CREAT, 0600); in main()
|
| /llvm-project-15.0.7/libc/src/__support/File/ |
| H A D | linux_file.cpp | 124 open_flags = O_CREAT | O_APPEND; in openfile() 130 open_flags = O_CREAT | O_TRUNC; in openfile()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/ |
| H A D | asan-sigbus.cpp | 23 int fd = open((std::string(argv[0]) + ".m").c_str(), O_RDWR | O_CREAT, 0700); in main()
|
| /llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/android/ |
| H A D | cloexec-creat.rst | 16 int fd = open(path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, mode);
|
| /llvm-project-15.0.7/libc/include/llvm-libc-macros/linux/ |
| H A D | fcntl-macros.h | 14 #define O_CREAT 00000100 macro
|
| /llvm-project-15.0.7/libc/test/src/unistd/ |
| H A D | unlink_test.cpp | 21 int write_fd = __llvm_libc::open(TEST_FILE, O_WRONLY | O_CREAT, S_IRWXU); in TEST()
|
| H A D | unlinkat_test.cpp | 27 __llvm_libc::openat(dir_fd, TEST_FILE, O_WRONLY | O_CREAT, S_IRWXU); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix.cpp | 162 case WrOnly: flags = O_WRONLY | O_CREAT | O_TRUNC; break; in OpenFile() 163 case RdWr: flags = O_RDWR | O_CREAT; break; in OpenFile() 360 internal_open(shmname, O_RDWR | O_CREAT | O_TRUNC | o_cloexec, S_IRWXU)); in GetNamedMappingFd()
|
| /llvm-project-15.0.7/compiler-rt/lib/profile/ |
| H A D | InstrProfilingUtil.c | 210 fd = open(ProfileName, O_RDWR | O_CREAT, 0666); in lprofOpenFileEx() 246 fd = open(ProfileName, O_RDWR | O_CREAT, 0666); in lprofOpenFileEx()
|