/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_rewrite_test.c | 71 close(open(REWRITE_PATH, O_WRONLY | O_APPEND | O_CREAT, 0600)); in stage_rewrite_test() 82 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test() 105 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 110 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test() 127 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 142 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test() 149 fd = open(REWRITE_PATH, O_WRONLY | O_APPEND); in stage_rewrite_test() 154 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND)); in stage_rewrite_test()
|
D | tomoyo_new_test.c | 220 result = open("/tmp/testfile4", O_APPEND | O_RDONLY, 0600); in test_file_open_4() 225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600); in test_file_open_5() 230 result = open("/tmp/testfile6", O_APPEND | O_TRUNC | O_RDONLY, 0600); in test_file_open_6() 236 O_APPEND | O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_7() 261 result = open("/tmp/testfile12", O_APPEND | O_WRONLY, 0600); in test_file_open_12() 266 result = open("/tmp/testfile13", O_APPEND | O_CREAT | O_WRONLY, 0600); in test_file_open_13() 271 result = open("/tmp/testfile14", O_APPEND | O_TRUNC | O_WRONLY, 0600); in test_file_open_14() 277 O_APPEND | O_TRUNC | O_CREAT | O_WRONLY, 0600); in test_file_open_15() 302 result = open("/tmp/testfile20", O_APPEND | O_RDWR, 0600); in test_file_open_20() 307 result = open("/tmp/testfile21", O_APPEND | O_CREAT | O_RDWR, 0600); in test_file_open_21() [all …]
|
D | tomoyo_new_file_test.c | 561 fd = open(filename, O_WRONLY | O_APPEND); in stage_file_test() 576 fd = open(filename, O_WRONLY | O_TRUNC | O_APPEND); in stage_file_test() 584 fd = open(filename, O_WRONLY | O_APPEND); in stage_file_test() 588 show_result(fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) & ~O_APPEND), 0); in stage_file_test()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl01.c | 111 if (fcntl(fd[2], F_SETFL, O_APPEND) == -1) in main() 115 if ((flags & (O_APPEND | O_WRONLY)) == 0) in main() 117 flags, O_APPEND | O_WRONLY); in main() 120 if (fcntl(fd[2], F_SETFL, O_NDELAY | O_APPEND) < 0) in main() 124 if ((flags & (O_NDELAY | O_APPEND | O_WRONLY)) == 0) in main() 127 O_NDELAY | O_APPEND | O_SYNC | O_WRONLY); in main()
|
D | fcntl08.c | 67 TEST(fcntl(fd, F_SETFL, O_NDELAY | O_APPEND | O_NONBLOCK)); in main()
|
/external/toybox/toys/posix/ |
D | nohup.c | 28 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY, in nohup_main() 34 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600); in nohup_main()
|
D | tee.c | 56 O_RDWR|O_CREAT|WARN_ONLY|(FLAG(a)?O_APPEND:O_TRUNC), in tee_main()
|
/external/strace/xlat/ |
D | open_mode_flags.h | 115 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND) 117 static_assert((O_APPEND) == (010), "O_APPEND != 010"); 120 # define O_APPEND 010 123 #if defined(O_APPEND) || (defined(HAVE_DECL_O_APPEND) && HAVE_DECL_O_APPEND) 125 static_assert((O_APPEND) == (02000), "O_APPEND != 02000"); 128 # define O_APPEND 02000 628 XLAT(O_APPEND), 630 XLAT(O_APPEND),
|
D | open_mode_flags.in | 38 O_APPEND 010 40 O_APPEND 02000
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 35 #ifndef O_APPEND 36 #define O_APPEND 00002000 macro
|
/external/vboot_reference/futility/ |
D | futility.c | 92 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/ltp/testcases/kernel/syscalls/utimensat/ |
D | utimensat01.c | 142 oflag = O_RDWR | O_APPEND; in main() 162 if (oflag & O_APPEND) in main()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open12.c | 124 TEST(open(TEST_FILE, O_RDWR | O_APPEND, 0777)); in test_append() 194 TEST(open(TEST_FILE, O_RDWR | O_APPEND | O_CLOEXEC, 0777)); in test_cloexec()
|
/external/libxml2/win32/wince/ |
D | wincecompat.h | 22 #define O_APPEND 0x0008 /* writes done at eof */ macro
|
/external/oj-libjdwp/src/solaris/javavm/export/ |
D | jvm_md.h | 75 #define JVM_O_O_APPEND O_APPEND
|
/external/python/cpython2/Lib/ |
D | posixfile.py | 127 if 'a' in which: l_flags = l_flags | os.O_APPEND 146 if os.O_APPEND & l_flags: which = which + 'a'
|
/external/toybox/toys/example/ |
D | logwrapper.c | 51 i = xcreate(log, O_RDWR|O_CREAT|O_APPEND, 0644); in logwrapper_main()
|
/external/libchrome/base/files/ |
D | file_posix.cc | 50 return (fcntl(file, F_GETFL) & O_APPEND) != 0; in IsOpenAppend() 488 open_flags |= O_APPEND | O_RDWR; in DoInitialize() 490 open_flags |= O_APPEND | O_WRONLY; in DoInitialize()
|
/external/libchrome/base/memory/ |
D | shared_memory_posix.cc | 134 open(path.value().c_str(), O_RDWR | O_APPEND | O_NOFOLLOW))); in Create() 138 fd.reset(HANDLE_EINTR(open(path.value().c_str(), O_RDWR | O_APPEND))); in Create()
|
/external/strace/tests-m32/ |
D | openat.c | 85 { ARG_STR(O_APPEND) }, in main()
|
/external/strace/tests/ |
D | openat.c | 85 { ARG_STR(O_APPEND) }, in main()
|
/external/strace/tests-mx32/ |
D | openat.c | 85 { ARG_STR(O_APPEND) }, in main()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice03.c | 72 appendfd = SAFE_OPEN(TEST_FILE3, O_RDWR | O_CREAT | O_APPEND, 0644); in setup()
|
/external/autotest/client/tests/synctest/src/ |
D | synctest.c | 69 fd = open("testfile", O_RDWR|O_CREAT|O_APPEND|O_NONBLOCK); in main()
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 42 fd = open(path, O_WRONLY | O_APPEND); in write_text() 417 fd = open(path, O_WRONLY | O_APPEND); in set_oom_adj_score()
|