Home
last modified time | relevance | path

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

12345678910>>...13

/external/strace/xlat/
Dopen_mode_flags.h32 #if defined(O_EXCL) || (defined(HAVE_DECL_O_EXCL) && HAVE_DECL_O_EXCL)
34 static_assert((O_EXCL) == (02000), "O_EXCL != 02000");
37 # define O_EXCL 02000
40 #if defined(O_EXCL) || (defined(HAVE_DECL_O_EXCL) && HAVE_DECL_O_EXCL)
42 static_assert((O_EXCL) == (04000), "O_EXCL != 04000");
45 # define O_EXCL 04000
48 #if defined(O_EXCL) || (defined(HAVE_DECL_O_EXCL) && HAVE_DECL_O_EXCL)
50 static_assert((O_EXCL) == (0200), "O_EXCL != 0200");
53 # define O_EXCL 0200
602 XLAT(O_EXCL),
[all …]
Dopen_mode_flags.in12 O_EXCL 02000
14 O_EXCL 04000
16 O_EXCL 0200
/external/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()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D16-1.c58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main()
88 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
105 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
/external/ltp/testcases/kernel/syscalls/open/
Dopen10.c224 ret = open(nosetgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main()
253 ret = open(setgid_A, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
299 ret = open(nosetgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_RWX); in main()
329 ret = open(setgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
378 ret = open(root_setgid_B, O_CREAT | O_EXCL | O_RDWR, MODE_SGID); in main()
/external/libgsm/inc/
Dtoast.h50 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY
52 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL
/external/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()
/external/ltp/testcases/kernel/syscalls/utils/
Dmq.h60 fd = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, 0700, NULL); in setup_common()
61 fd_nonblock = SAFE_MQ_OPEN(QUEUE_NAME_NONBLOCK, O_CREAT | O_EXCL | O_RDWR | in setup_common()
Dcommon_j_h.c151 O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR); in setup_file()
187 fd = open(path, O_CREAT | O_EXCL | O_RDWR, S_IRUSR | S_IWUSR); in setup_swapfile()
/external/libcups/cups/
Dtempfile.c122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); in cupsTempFd()
124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600); in cupsTempFd()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h26 #ifndef O_EXCL
27 #define O_EXCL 00000200 /* not fcntl */ macro
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c124 .oflag = O_CREAT | O_EXCL,
159 fd2 = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in create_queue()
211 fd3 = SAFE_MQ_OPEN(QUEUE_INIT, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in setup()
/external/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()
/external/u-boot/fs/yaffs2/
Dyportenv.h113 #ifndef O_EXCL
114 #define O_EXCL 0200 macro
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc171 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
186 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/
D8-1.c128 sem = sem_open(semname, O_CREAT | O_EXCL, 0777, 1); in main()
136 sem_1 = sem_open(semname_1, O_CREAT | O_EXCL, 0777, 3); in main()
/external/zlib/src/
Dgzlib.c102 #ifdef O_EXCL
149 #ifdef O_EXCL
233 #ifdef O_EXCL
234 (exclusive ? O_EXCL : 0) |
/external/python/cpython2/Modules/zlib/
Dgzlib.c102 #ifdef O_EXCL
149 #ifdef O_EXCL
233 #ifdef O_EXCL
234 (exclusive ? O_EXCL : 0) |
/external/google-breakpad/src/client/
Dminidump_file_writer.cc66 file_ = sys_open(path, O_WRONLY | O_CREAT | O_EXCL, 0600); in Open()
68 file_ = open(path, O_WRONLY | O_CREAT | O_EXCL, 0600); in Open()
/external/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c189 fd1 = SAFE_OPEN("testfile1", O_CREAT | O_EXCL | O_RDWR, in setup()
195 fd2 = SAFE_OPEN("testfile2", O_CREAT | O_EXCL | O_RDWR, in setup()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
D4-1.c39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1); in main()

12345678910>>...13