Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 161) sorted by relevance

1234567

/external/strace/xlat/
Dopen_access_modes.h7 #if defined(O_WRONLY) || (defined(HAVE_DECL_O_WRONLY) && HAVE_DECL_O_WRONLY)
8 XLAT(O_WRONLY),
Dopen_access_modes.in2 O_WRONLY
Dopenmodessol.in3 { 2, "O_WRONLY" },
/external/toybox/toys/posix/
Dnohup.c27 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()
Dcpio.c95 int perm = (toys.optflags & FLAG_o) ? O_CREAT|O_WRONLY|O_TRUNC : O_RDONLY; in cpio_main()
144 int fd = test ? 0 : open(name, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode); in cpio_main()
183 int fd = open(name, O_WRONLY|O_NOFOLLOW); in cpio_main()
/external/toybox/toys/other/
Dnsenter.c81 int bytes = sprintf(toybuf, "0 %u 1", eugid), fd = xopen(map, O_WRONLY);
91 if ((fd = open("/proc/self/setgroups", O_WRONLY)) >= 0) { in handle_r()
Dtruncate.c63 loopfiles_rw(toys.optargs, O_WRONLY|O_CLOEXEC|(cr ? O_CREAT : 0), 0666, cr, in truncate_main()
/external/vboot_reference/futility/
Dfutility.c92 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666); in log_open()
94 log_fd = open(LOGFILE, O_WRONLY | O_APPEND); in log_open()
103 log_fd = open(LOGFILE, O_WRONLY | O_APPEND | O_CREAT, 0666); in log_open()
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.cc159 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
174 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/bison/lib/
Dfcntl.in.h284 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
286 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
/external/toybox/toys/pending/
Dbootchartd.c161 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/valgrind/memcheck/tests/
Dfwrite.c8 int fd = open("/dev/null", O_WRONLY); in main()
/external/e2fsprogs/e2fsck/
Dlogfile.c251 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/libvncserver/vncterm/
DLinuxVNC.c57 tty_inject_device=open(device,O_WRONLY); in do_key()
103 if((tty_inject_device=open(tty_device,O_WRONLY))<0) { in main()
/external/libselinux/src/
Dbooleans.c181 fd = open(fname, O_WRONLY); in hidden_def()
217 fd = open(path, O_WRONLY); in hidden_def()
Ddisable.c24 fd = open(path, O_WRONLY); in security_disable()
/external/selinux/libselinux/src/
Ddisable.c24 fd = open(path, O_WRONLY); in security_disable()
/external/bison/djgpp/
Dsubpipe.c151 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/bison/m4/
Dfcntl-o.m445 O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
57 int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0);
/external/compiler-rt/test/tsan/
Drace_on_write.cc23 fd = open("/dev/null", O_WRONLY); in main()
/external/jemalloc/test/unit/
Dprof_idump.c18 fd = open("/dev/null", O_WRONLY); in prof_dump_open_intercept()
/external/strace/tests/
Duio.c23 assert((fd = open("/dev/null", O_WRONLY)) >= 0); in main()
/external/libxml2/win32/wince/
Dwincecompat.h20 #define O_WRONLY 0x0001 /* open for writing only */ macro
Dwincecompat.c36 if ( oflag==(O_WRONLY|O_CREAT) ) in open()
/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()

1234567