/external/strace/xlat/ |
open_access_modes.h | 9 #if defined(O_WRONLY) || (defined(HAVE_DECL_O_WRONLY) && HAVE_DECL_O_WRONLY) 10 XLAT(O_WRONLY),
|
/external/toybox/toys/posix/ |
nohup.c | 27 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY, 33 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
flags.c | 60 m = O_WRONLY; 66 m = O_WRONLY;
|
/external/valgrind/memcheck/tests/ |
fwrite.c | 8 int fd = open("/dev/null", O_WRONLY);
|
/hardware/libhardware_legacy/qemu_tracing/ |
qemu_tracing.c | 42 int fd = open(SYS_QEMU_TRACE_STATE, O_WRONLY); 52 int fd = open(SYS_QEMU_TRACE_STATE, O_WRONLY); 66 int fd = open(SYS_QEMU_TRACE_SYMBOL, O_WRONLY); 79 int fd = open(SYS_QEMU_TRACE_SYMBOL, O_WRONLY);
|
/toolchain/binutils/binutils-2.25/ld/ |
sysdep.h | 86 #ifndef O_WRONLY 87 #define O_WRONLY 1 93 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
/device/google/marlin/recovery/nanohub/ |
nanohub_recovery_ui.cpp | 37 fd = open("/sys/class/nanohub/nanohub/erase_shared", O_WRONLY);
|
/device/huawei/angler/recovery/nanohub/ |
nanohub_recovery_ui.cpp | 37 fd = open("/sys/class/nanohub/nanohub/erase_shared", O_WRONLY);
|
/device/lge/bullhead/recovery/nanohub/ |
nanohub_recovery_ui.cpp | 37 fd = open("/sys/class/nanohub/nanohub/erase_shared", O_WRONLY);
|
/external/autotest/client/site_tests/security_Minijail_seccomp/src/ |
open.c | 13 fprintf(stderr, "\tAccess mode: 0-O_RDONLY, 1-O_WRONLY, 2-O_RDWR\n"); 39 flags = O_WRONLY;
|
/external/compiler-rt/test/tsan/ |
race_on_write.cc | 23 fd = open("/dev/null", O_WRONLY);
|
/external/jemalloc/test/unit/ |
prof_idump.c | 18 fd = open("/dev/null", O_WRONLY);
|
/external/libselinux/src/ |
disable.c | 24 fd = open(path, O_WRONLY);
|
/external/libxml2/win32/wince/ |
wincecompat.c | 36 if ( oflag==(O_WRONLY|O_CREAT) )
|
/external/selinux/libselinux/src/ |
disable.c | 24 fd = open(path, O_WRONLY);
|
/external/strace/tests/ |
uio.c | 50 assert(open("/dev/null", O_WRONLY) == 0);
|
/system/extras/tests/cpueater/ |
cpueater.c | 53 if(open("/dev/null", O_WRONLY) < 0) {
|
daemonize.c | 72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) { 78 if(open("/dev/null", O_WRONLY) < 0) {
|
/external/libchrome/sandbox/linux/services/ |
namespace_utils.cc | 40 int fd = HANDLE_EINTR(open(map_file, O_WRONLY)); 106 int fd = HANDLE_EINTR(open(kProcSelfSetgroups, O_WRONLY));
|
/external/libchrome/sandbox/linux/suid/ |
process_util_linux.c | 55 int fd = openat(dirfd, "oom_score_adj", O_WRONLY); 59 fd = openat(dirfd, "oom_adj", O_WRONLY);
|
/system/core/libcutils/ |
klog.c | 43 klog_fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC); 50 klog_fd = open(name, O_WRONLY | O_CLOEXEC);
|
sched_policy.c | 117 fg_cgroup_fd = open(filename, O_WRONLY | O_CLOEXEC); 123 bg_cgroup_fd = open(filename, O_WRONLY | O_CLOEXEC); 135 fg_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC); 137 bg_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC); 139 system_bg_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC); 141 ta_cpuset_fd = open(filename, O_WRONLY | O_CLOEXEC); 145 ta_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC); 147 fg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC); 149 bg_schedboost_fd = open(filename, O_WRONLY | O_CLOEXEC);
|
/toolchain/binutils/binutils-2.25/bfd/ |
sysdep.h | 102 #ifndef O_WRONLY 103 #define O_WRONLY 1 109 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
/bionic/libc/bionic/ |
pthread_setname_np.cpp | 68 int fd = open(comm_name, O_CLOEXEC | O_WRONLY);
|
/external/autotest/client/deps/fakegudev/src/ |
fakesyscalls-exercise.c | 28 f = open (argv[1], O_CREAT | O_WRONLY | O_TRUNC, S_IRWXU | S_IROTH);
|