/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_file_permission.cc | 159 if (!allow_create_ && (flags & O_CREAT)) { in CheckOpen() 164 if ((flags & O_CREAT) && !(flags & O_EXCL)) { in CheckOpen() 169 if (unlink_ && !(flags & O_CREAT)) { in CheckOpen() 182 const int known_flags = O_APPEND | O_ASYNC | O_CLOEXEC | O_CREAT | O_DIRECT | in CheckOpen()
|
D | broker_file_permission_unittest.cc | 156 case O_CREAT: in CheckPerm() 164 ASSERT_TRUE(perm.CheckOpen(path, O_CREAT | O_EXCL | access_flags, in CheckPerm() 168 ASSERT_FALSE(perm.CheckOpen(path, O_CREAT | O_EXCL | access_flags, in CheckPerm() 219 ASSERT_FALSE(perm.CheckOpen(path, access_flags | O_CREAT, NULL, &unlink)); in CheckUnlink() 221 perm.CheckOpen(path, access_flags | O_CREAT | O_EXCL, NULL, &unlink)); in CheckUnlink()
|
/external/clang/test/Sema/ |
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()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 22 #ifndef O_CREAT 23 #define O_CREAT 00000100 /* not fcntl */ macro 93 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/external/dnsmasq/contrib/dynamic-dnsmasq/ |
D | dynamic-dnsmasq.pl | 64 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH; 143 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH; 151 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH; 163 my $X = tie my %h, "DB_File", $accountdb, O_RDWR|O_CREAT, 0600, $DB_HASH;
|
/external/toybox/toys/posix/ |
D | nohup.c | 27 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY, in nohup_main() 33 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600); in nohup_main()
|
/external/clang/test/Analysis/ |
D | unix-fns.c | 42 #ifndef O_CREAT 43 #define O_CREAT 0x0200 macro 55 …fd = open(path, O_CREAT); // expected-warning{{Call to 'open' requires a third argument when the '… in test_open()
|
/external/bison/lib/ |
D | open.c | 59 if (flags & O_CREAT) in open() 107 if (flags & (O_CREAT | O_WRONLY | O_RDWR)) in open()
|
/external/valgrind/none/tests/linux/ |
D | pthread-stack.c | 75 fd = open(file_name, O_CREAT|O_WRONLY, in main() 86 fd = open(file_name, O_CREAT|O_RDWR, in main()
|
/external/valgrind/none/tests/solaris/ |
D | pthread-stack.c | 70 int fd = open(file_name, O_CREAT|O_WRONLY, in main() 80 fd = open(file_name, O_CREAT|O_RDWR, in main()
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_open.c | 61 m = O_RDWR|O_CREAT; in _TIFFgetMode() 127 tif->tif_mode = m &~ (O_CREAT|O_TRUNC); 222 if (m&O_CREAT) 228 if ((m&O_CREAT)) 264 if (m&O_CREAT)
|
D | tif_win32.c | 246 case O_RDWR|O_CREAT: dwMode = OPEN_ALWAYS; break; in TIFFOpen() 248 case O_RDWR|O_CREAT|O_TRUNC: dwMode = CREATE_ALWAYS; break; in TIFFOpen() 287 case O_RDWR|O_CREAT: dwMode = OPEN_ALWAYS; break; in TIFFOpenW() 289 case O_RDWR|O_CREAT|O_TRUNC: dwMode = CREATE_ALWAYS; break; in TIFFOpenW()
|
/external/pdfium/third_party/libtiff/ |
D | tif_open.c | 61 m = O_RDWR|O_CREAT; in _TIFFgetMode() 127 tif->tif_mode = m &~ (O_CREAT|O_TRUNC); 222 if (m&O_CREAT) 228 if ((m&O_CREAT)) 264 if (m&O_CREAT)
|
/external/strace/xlat/ |
D | open_mode_flags.h | 10 #if defined(O_CREAT) || (defined(HAVE_DECL_O_CREAT) && HAVE_DECL_O_CREAT) 11 XLAT(O_CREAT),
|
D | openmodessol.in | 6 { 0x100, "O_CREAT" },
|
/external/protobuf/src/google/protobuf/testing/ |
D | googletest.cc | 159 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout() 174 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
|
/external/valgrind/none/tests/ |
D | fdleak_cmsg.c | 41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) ); in server() 42 fd2 = DO( open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750) ); in server()
|
/external/toybox/toys/pending/ |
D | bootchartd.c | 161 O_WRONLY | O_CREAT | O_TRUNC, 0644); in start_logging() 163 O_WRONLY | O_CREAT | O_TRUNC, 0644); in start_logging() 169 int kp_fd = xcreate("kernel_procs_acct", O_WRONLY | O_CREAT | O_TRUNC,0666); in start_logging()
|
/external/e2fsprogs/e2fsck/ |
D | logfile.c | 251 fd = open(s0, O_WRONLY|O_CREAT|O_TRUNC, 0644); in save_output() 253 fd = open(s1, O_WRONLY|O_CREAT|O_TRUNC, 0644); in save_output() 255 fd = open(s2, O_WRONLY|O_CREAT|O_TRUNC, 0644); in save_output()
|
/external/strace/tests/ |
D | mq.c | 45 if (mq_open("/strace-mq.test", O_CREAT, S_IRWXU, 0) || in main()
|
D | mq.expected | 1 mq_open\("strace-mq.test", O_RDONLY\|O_CREAT, 0700, NULL\) += 0
|
/external/toybox/toys/other/ |
D | fallocate.c | 28 int fd = xcreate(*toys.optargs, O_RDWR | O_CREAT, 0644);
|
/external/bison/m4/ |
D | fcntl-o.m4 | 44 O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, 57 int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
|
/external/bison/djgpp/ |
D | subpipe.c | 151 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); in create_subpipe() 182 …int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to … in end_of_output_subpipe()
|
/external/zlib/src/examples/ |
D | gzlog.c | 354 while ((fd = open(log->path, O_CREAT | O_EXCL, 0644)) < 0) { in log_lock() 829 log->fd = open(log->path, O_RDWR | O_CREAT, 0644); in log_open() 953 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_compress() 963 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_compress() 1014 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_write()
|