/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/syslinux/com32/lib/sys/ |
openconsole.c | 44 if (opendev(idev, odev, O_WRONLY) != 1) 47 if (opendev(idev, odev, O_WRONLY) != 2)
|
zfopen.c | 22 flags = O_WRONLY | O_CREAT | O_TRUNC; 25 flags = O_WRONLY | O_CREAT | O_APPEND; 35 flags = (flags & ~(O_RDONLY | O_WRONLY)) | O_RDWR;
|
err_write.c | 52 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
null_write.c | 51 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
/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);
|
/external/syslinux/com32/lib/ |
fopen.c | 21 flags = O_WRONLY | O_CREAT | O_TRUNC; 24 flags = O_WRONLY | O_CREAT | O_APPEND; 34 flags = (flags & ~(O_RDONLY | O_WRONLY)) | O_RDWR;
|
fopendev.c | 21 flags = O_WRONLY | O_CREAT | O_TRUNC; 24 flags = O_WRONLY | O_CREAT | O_APPEND; 34 flags = (flags & ~(O_RDONLY | O_WRONLY)) | O_RDWR;
|
creat.c | 11 return open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
/external/syslinux/com32/include/ |
fcntl.h | 15 #define O_WRONLY 2
|
/external/ltp/testcases/kernel/security/tomoyo/ |
tomoyo_rewrite_test.c | 71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600)); 81 show_prompt("open(O_WRONLY | O_APPEND)"); 82 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); 87 show_prompt("open(O_WRONLY)"); 88 fd = open(REWRITE_PATH, O_WRONLY); 92 show_prompt("open(O_WRONLY | O_TRUNC)"); 93 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); 97 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); 98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); 105 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND) [all...] |
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl32.c | 44 {O_RDONLY, O_WRONLY}, 46 {O_WRONLY, O_RDONLY}, 47 {O_WRONLY, O_WRONLY}, 48 {O_WRONLY, O_RDWR}, 50 {O_RDWR, O_WRONLY},
|
fcntl01.c | 65 open(fname, O_WRONLY | O_CREAT, 0666)) == -1) 97 if ((flags & O_WRONLY) == 0) 99 flags, O_WRONLY); 106 if ((flags & (O_NDELAY | O_WRONLY)) == 0) 108 flags, O_NDELAY | O_WRONLY); 115 if ((flags & (O_APPEND | O_WRONLY)) == 0) 117 flags, O_APPEND | O_WRONLY); 124 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0) 127 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY); 134 if ((flags & O_WRONLY) == 0 [all...] |
/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);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
flags.c | 79 m = O_WRONLY;
85 m = O_WRONLY;
|
/external/strace/tests/ |
open.c | 55 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); 56 printf("open(\"%s\", O_WRONLY|O_NONBLOCK|0x80000000) = %s\n", 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); 62 printf("open(\"%s\", O_WRONLY|O_TMPFILE, 0600) = %s\n",
|
/external/strace/tests-m32/ |
open.c | 55 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); 56 printf("open(\"%s\", O_WRONLY|O_NONBLOCK|0x80000000) = %s\n", 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); 62 printf("open(\"%s\", O_WRONLY|O_TMPFILE, 0600) = %s\n",
|
/external/strace/tests-mx32/ |
open.c | 55 fd = syscall(__NR_open, sample, O_WRONLY|O_NONBLOCK|0x80000000); 56 printf("open(\"%s\", O_WRONLY|O_NONBLOCK|0x80000000) = %s\n", 61 fd = syscall(__NR_open, sample, O_WRONLY|O_TMPFILE, 0600); 62 printf("open(\"%s\", O_WRONLY|O_TMPFILE, 0600) = %s\n",
|
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
sanitizer_set_report_fd_test.cc | 29 int fd = open(argv[1], O_CREAT | O_WRONLY | O_TRUNC, S_IRWXU);
|
/external/ltp/testcases/kernel/syscalls/splice/ |
splice02.c | 40 fd = SAFE_OPEN("splice02-temp", O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/toolchain/binutils/binutils-2.27/ld/ |
sysdep.h | 86 #ifndef O_WRONLY 87 #define O_WRONLY 1 93 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
/external/honggfuzz/libcommon/ |
ns.c | 57 O_WRONLY) == false) { 65 "/proc/self/gid_map", (const uint8_t*)gid_map, strlen(gid_map), O_WRONLY) == false) { 73 "/proc/self/uid_map", (const uint8_t*)uid_map, strlen(uid_map), O_WRONLY) == false) {
|
/external/ltp/testcases/kernel/containers/userns/ |
userns02.c | 94 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644); 100 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644); 107 fd = SAFE_OPEN(cleanup, path, O_WRONLY, 0644);
|
/device/google/marlin/recovery/nanohub/ |
nanohub_recovery_ui.cpp | 37 fd = open("/sys/class/nanohub/nanohub/erase_shared", O_WRONLY);
|