Home
last modified time | relevance | path

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

12345678910>>...14

/third_party/node/test/parallel/
Dtest-fs-open-flags.js35 O_EXCL = 0,
54 assert.strictEqual(stringToFlags('wx'), O_TRUNC | O_CREAT | O_WRONLY | O_EXCL);
55 assert.strictEqual(stringToFlags('xw'), O_TRUNC | O_CREAT | O_WRONLY | O_EXCL);
56 assert.strictEqual(stringToFlags('wx+'), O_TRUNC | O_CREAT | O_RDWR | O_EXCL);
57 assert.strictEqual(stringToFlags('xw+'), O_TRUNC | O_CREAT | O_RDWR | O_EXCL);
58 assert.strictEqual(stringToFlags('ax'), O_APPEND | O_CREAT | O_WRONLY | O_EXCL);
59 assert.strictEqual(stringToFlags('xa'), O_APPEND | O_CREAT | O_WRONLY | O_EXCL);
62 assert.strictEqual(stringToFlags('ax+'), O_APPEND | O_CREAT | O_RDWR | O_EXCL);
63 assert.strictEqual(stringToFlags('xa+'), O_APPEND | O_CREAT | O_RDWR | O_EXCL);
/third_party/musl/src/thread/
Dsem_open.c73 flags &= (O_CREAT|O_EXCL); in sem_open()
79 if (flags == (O_CREAT|O_EXCL) && access(name, F_OK) == 0) { in sem_open()
87 if (flags != (O_CREAT|O_EXCL)) { in sem_open()
119 fd = open(tmp, O_CREAT|O_EXCL|FLAGS, mode); in sem_open()
138 if (e != EEXIST || flags == (O_CREAT|O_EXCL)) in sem_open()
/third_party/musl/porting/liteos_a/user/src/thread/
Dsem_open.c73 flags &= (O_CREAT|O_EXCL); in sem_open()
79 if (flags == (O_CREAT|O_EXCL) && access(name, F_OK) == 0) { in sem_open()
87 if (flags != (O_CREAT|O_EXCL)) { in sem_open()
118 fd = open(tmp, O_CREAT|O_EXCL|FLAGS, mode); in sem_open()
136 if (e != EEXIST || flags == (O_CREAT|O_EXCL)) in sem_open()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
D6-1.c94 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
98 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
126 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3); in main()
D7-1.c109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main()
D9-1.c116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
D3-1.c137 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
141 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); in main()
D2-2.c138 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
142 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0); in main()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dfutimesat.c37 int fd = openat(dir_fd, "test.txt", O_CREAT | O_RDWR | O_EXCL, 0666); in futimesat_0100()
89 int fd = openat(dir_fd, "test.txt", O_CREAT | O_RDWR | O_EXCL, 0666); in futimesat_0200()
144 int fd = openat(dir_fd, "test.txt", O_CREAT | O_RDWR | O_EXCL, 0666); in futimesat_time64_0200()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D16-1.c59 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
93 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
110 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
/third_party/ffmpeg/libavutil/
Dfile_open.c134 # ifndef O_EXCL in avpriv_tempfile()
135 # define O_EXCL 0 in avpriv_tempfile() macro
137 fd = open(*filename, O_RDWR | O_BINARY | O_CREAT | O_EXCL, 0600); in avpriv_tempfile()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
D3-2.c98 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
102 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main()
/third_party/ltp/testcases/kernel/syscalls/utils/
Dmq.h48 fd = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, 0700, NULL); in setup_common()
49 fd_nonblock = SAFE_MQ_OPEN(QUEUE_NAME_NONBLOCK, O_CREAT | O_EXCL | O_RDWR | in setup_common()
/third_party/musl/libc-test/src/functional/
Dsem_open.c25 TEST((sem=sem_open(buf, O_CREAT|O_EXCL, 0700, 1)) != SEM_FAILED, in main()
28 TEST(sem_open(buf, O_CREAT|O_EXCL, 0700, 1) == SEM_FAILED, in main()
/third_party/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c111 .oflag = O_CREAT | O_EXCL,
146 fd2 = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in create_queue()
198 fd3 = SAFE_MQ_OPEN(QUEUE_INIT, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in setup()
/third_party/ntfs-3g/libntfs-3g/
Dunix_io.c70 #ifndef O_EXCL
71 # define O_EXCL 0 macro
142 flags |= O_EXCL; in ntfs_device_unix_io_open()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
D3-1.c68 fd = open(tmpfname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
69 fd2 = open(tmpfname2, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
/third_party/cups/
Dcups-usb-paperout.patch20 - return (open(uri + 4, O_RDWR | O_EXCL));
21 + fd = open(uri + 4, O_RDWR | O_EXCL);
/third_party/cups-filters/backend/
Dparallel.c170 device_fd = open(resource, O_WRONLY | O_EXCL); in main()
174 if ((device_fd = open(resource, O_RDWR | O_EXCL)) < 0) in main()
176 device_fd = open(resource, O_WRONLY | O_EXCL); in main()
411 if ((fd = open(device, O_RDWR | O_EXCL)) < 0) in list_devices()
/third_party/mesa3d/src/util/
Dos_file.c19 #define O_EXCL _O_EXCL macro
32 int fd = open(filename, O_CREAT | O_EXCL | O_WRONLY, filemode); in os_file_create_unique()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c129 sem = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main()
137 sem_1 = sem_open(semname_1, O_CREAT | O_EXCL, 0777, 3); in main()
/third_party/protobuf/src/google/protobuf/testing/
Dgoogletest.cc206 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
221 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/third_party/flutter/skia/third_party/externals/zlib/
Dgzlib.c102 #ifdef O_EXCL
149 #ifdef O_EXCL
233 #ifdef O_EXCL
234 (exclusive ? O_EXCL : 0) |
/third_party/node/deps/zlib/
Dgzlib.c102 #ifdef O_EXCL
149 #ifdef O_EXCL
233 #ifdef O_EXCL
234 (exclusive ? O_EXCL : 0) |
/third_party/zlib/
Dgzlib.c104 #ifdef O_EXCL
151 #ifdef O_EXCL
235 #ifdef O_EXCL
236 (exclusive ? O_EXCL : 0) |

12345678910>>...14