HomeSort by relevance Sort by last modified time
    Searched refs:O_CREAT (Results 126 - 150 of 1185) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
5-1.c 123 sem = sem_open(sem_name, O_CREAT, 0777, 1);
176 sem = sem_open(sem_name, O_CREAT, 0777, 1);
7-1.c 109 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
113 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1);
9-1.c 116 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
120 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 0);
  /external/ltp/testcases/kernel/security/tomoyo/
tomoyo_new_test.c 205 result = open("/tmp/testfile1", O_CREAT | O_RDONLY, 0600);
215 result = open("/tmp/testfile3", O_TRUNC | O_CREAT | O_RDONLY, 0600);
225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600);
236 O_APPEND | O_TRUNC | O_CREAT | O_RDONLY, 0600);
246 result = open("/tmp/testfile9", O_CREAT | O_WRONLY, 0600);
256 result = open("/tmp/testfile11", O_TRUNC | O_CREAT | O_WRONLY, 0600);
266 result = open("/tmp/testfile13", O_APPEND | O_CREAT | O_WRONLY, 0600);
277 O_APPEND | O_TRUNC | O_CREAT | O_WRONLY, 0600);
287 result = open("/tmp/testfile17", O_CREAT | O_RDWR, 0600);
297 result = open("/tmp/testfile19", O_TRUNC | O_CREAT | O_RDWR, 0600)
    [all...]
tomoyo_accept_test.c 57 static const int create_flags[3] = { 0, O_CREAT /* nonexistent */ ,
58 O_CREAT /* existent */
80 close(open(buffer, O_CREAT, 0644));
  /external/ltp/testcases/kernel/io/direct_io/
diotest5.c 217 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) {
221 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) {
239 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) {
243 if ((fd_r = open64(filename, O_RDONLY | O_CREAT, 0666)) < 0) {
260 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) {
264 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) {
295 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) {
diotest1.c 122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666);
129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666);
130 fd2 = SAFE_OPEN(cleanup, outfile, O_DIRECT | O_RDWR | O_CREAT, 0666);
  /external/ltp/testcases/kernel/syscalls/open/
open11.c 30 * 22. Open link file O_RDONLY | O_CREAT
31 * 23. Open symlink file O_RDONLY | O_CREAT
32 * 24. Open regular file O_RDONLY | O_CREAT
33 * 25. Open symlink dir O_RDONLY | O_CREAT, expect EISDIR
34 * 26. Open dir O_RDONLY | O_CREAT, expect EISDIR
219 .flags = O_RDWR | O_CREAT,
223 /* test open(2) with O_CREAT */
224 { /* open hard link file O_RDONLY | O_CREAT */
225 .desc = "Open link file O_RDONLY | O_CREAT",
227 .flags = O_RDONLY | O_CREAT,
    [all...]
  /external/libdrm/tests/etnaviv/
write_bmp.c 108 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666);
124 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666);
140 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666);
  /external/ltp/testcases/kernel/syscalls/asyncio/
asyncio02.c 102 #define FLAG O_RDWR | O_CREAT | O_TRUNC /* Flags used when opening temp tile */
131 O_RDWR | O_CREAT | O_TRUNC,
132 O_RDWR | O_CREAT | O_TRUNC
  /external/ltp/testcases/misc/math/float/exp_log/
genldexp.c 80 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
121 fp = open(F_named, O_RDWR | O_CREAT | O_TRUNC, 0777);
122 fpi = open(F_namei, O_RDWR | O_CREAT | O_TRUNC, 0777);
  /external/ltp/testcases/misc/math/float/power/
genfmod.c 75 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
109 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
110 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777);
genpow.c 66 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
101 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
102 fp2 = open(F_name_pow, O_RDWR | O_CREAT | O_TRUNC, 0777);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
16-1.c 10 * Test that tests to check if O_CREAT and O_EXCL are set that no other
13 * Test case will just attempt to call mq_open() with O_CREAT and O_EXCL
58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR);
88 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
105 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
  /bionic/libc/kernel/uapi/asm-mips/asm/
fcntl.h 25 #define O_CREAT 0x0100
  /external/autotest/client/deps/fakegudev/src/
fakesyscalls-exercise.c 28 f = open (argv[1], O_CREAT | O_WRONLY | O_TRUNC, S_IRWXU | S_IROTH);
  /external/clang/test/Sema/
enable_if.c 4 #define O_CREAT 0x100
10 int open(const char *pathname, int flags) __attribute__((enable_if(!(flags & O_CREAT), "must specify mode when using O_CREAT"))) __attribute__((overloadable)); // expected-note{{candidate disabled: must specify mode when using O_CREAT}}
15 open("path", O_CREAT); // expected-error{{no matching function for call to 'open'}}
17 open("path", O_CREAT, 0660);
  /external/dtc/tests/
dumptrees.c 59 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0666);
  /external/kernel-headers/original/uapi/asm-mips/asm/
fcntl.h 17 #define O_CREAT 0x0100 /* not fcntl */
  /external/libxml2/win32/wince/
wincecompat.h 24 #define O_CREAT 0x0100 /* create and open file */
  /external/ltp/lib/
tst_fill_file.c 61 fd = open(path, O_CREAT|O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR);
tst_fill_fs.c 43 fd = open(file, O_WRONLY | O_CREAT, 0700);
  /external/ltp/testcases/kernel/syscalls/close/
close08.c 141 if ((fd = open(fname, O_RDWR | O_CREAT, 0700)) == -1) {
143 "open(%s, O_RDWR|O_CREAT,0700) failed", fname);
  /external/ltp/testcases/kernel/syscalls/dup/
dup01.c 175 if ((fd = open(filename, O_RDWR | O_CREAT, 0700)) == -1)
  /external/ltp/testcases/kernel/syscalls/fchmod/
fchmod01.c 49 fd = SAFE_OPEN(TESTFILE, O_RDWR | O_CREAT, FILE_MODE);

Completed in 843 milliseconds

1 2 3 4 56 7 8 91011>>