/third_party/node/test/parallel/ |
D | test-fs-open-flags.js | 35 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/ |
D | sem_open.c | 73 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/ |
D | sem_open.c | 73 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/ |
D | 6-1.c | 94 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()
|
D | 7-1.c | 109 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()
|
D | 9-1.c | 116 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()
|
D | 3-1.c | 137 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()
|
D | 2-2.c | 138 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/ |
D | futimesat.c | 37 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/ |
D | 16-1.c | 59 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/ |
D | file_open.c | 134 # 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/ |
D | 3-2.c | 98 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/ |
D | mq.h | 48 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/ |
D | sem_open.c | 25 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/ |
D | mq_open01.c | 111 .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/ |
D | unix_io.c | 70 #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/ |
D | 3-1.c | 68 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/ |
D | cups-usb-paperout.patch | 20 - return (open(uri + 4, O_RDWR | O_EXCL)); 21 + fd = open(uri + 4, O_RDWR | O_EXCL);
|
/third_party/cups-filters/backend/ |
D | parallel.c | 170 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/ |
D | os_file.c | 19 #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/ |
D | 8-1.c | 129 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/ |
D | googletest.cc | 206 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/ |
D | gzlib.c | 102 #ifdef O_EXCL 149 #ifdef O_EXCL 233 #ifdef O_EXCL 234 (exclusive ? O_EXCL : 0) |
|
/third_party/node/deps/zlib/ |
D | gzlib.c | 102 #ifdef O_EXCL 149 #ifdef O_EXCL 233 #ifdef O_EXCL 234 (exclusive ? O_EXCL : 0) |
|
/third_party/zlib/ |
D | gzlib.c | 104 #ifdef O_EXCL 151 #ifdef O_EXCL 235 #ifdef O_EXCL 236 (exclusive ? O_EXCL : 0) |
|