Searched refs:O_RDONLY (Results 1 - 25 of 518) sorted by relevance

1234567891011>>

/external/valgrind/main/memcheck/tests/linux/
H A Dsys-openat.c11 int dfd = open ("/tmp", O_RDONLY);
12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY);
14 __attribute__((unused)) int fd2 = openat (0x12345678, "/tmp/abc", O_RDONLY);
15 __attribute__((unused)) int fd3 = openat (AT_FDCWD, "abc", O_RDONLY);
17 __attribute__((unused)) int fd4 = openat (0x12345678, "abc", O_RDONLY);
/external/compiler-rt/SDKs/linux/usr/include/sys/
H A Dfcntl.h20 #define O_RDONLY 0x0000 macro
/external/valgrind/main/none/tests/
H A Dfdleak_open.c9 (void) DO( open("/dev/null", O_RDONLY) );
H A Dfdleak_dup2.c12 s1 = DO( open("/dev/null", O_RDONLY) );
13 s2 = DO( open("/dev/null", O_RDONLY) );
H A Dfdleak_dup.c11 s = DO( open("/dev/null", O_RDONLY) );
H A Dfdleak_fcntl.c12 s1 = DO( open("/dev/null", O_RDONLY) );
/external/strace/xlat/
H A Dopen_access_modes.h4 #if defined(O_RDONLY) || (defined(HAVE_DECL_O_RDONLY) && HAVE_DECL_O_RDONLY)
5 XLAT(O_RDONLY),
/external/compiler-rt/test/tsan/
H A Dfd_close_norace.cc10 int f = open("/dev/random", O_RDONLY);
17 int f = open("/dev/random", O_RDONLY);
H A Dfd_dup_norace.cc24 fds[0] = open("/dev/random", O_RDONLY);
H A Dfd_stdout_race.cc13 int f = open("/dev/random", O_RDONLY);
/external/chromium_org/base/test/
H A Dtest_file_util_linux.cc18 ScopedFD fd(open(file.value().c_str(), O_RDONLY));
/external/valgrind/main/memcheck/tests/
H A Derringfds.c12 fd = open("foo/bar/xyzzy", O_RDONLY); /* fails */
H A Dmmaptest.c12 fd = open("dir", O_RDONLY);
/external/chromium_org/third_party/sqlite/src/tool/
H A Ddiffdb.c24 db1 = open(argv[1], O_RDONLY);
29 db2 = open(argv[2], O_RDONLY);
/external/e2fsprogs/lib/e2p/
H A Dfgetversion.c34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
H A Dfsetversion.c34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE)
36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
/external/strace/test/
H A Dx32_mmap.c26 if (open("/etc/passwd", O_RDONLY))
41 int fd = open(buf, O_RDONLY);
/external/compiler-rt/SDKs/darwin/usr/include/sys/
H A Dfcntl.h43 #define O_RDONLY 0x0000 /* open for reading only */ macro
/external/chromium_org/base/
H A Drand_util_posix.cc23 URandomFd() : fd_(open("/dev/urandom", O_RDONLY)) {
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Ddev_fs_for_testing.h25 if (Open(nacl_io::Path(filename), O_RDONLY, &node))
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dreadv.cc26 int fd = open("/etc/hosts", O_RDONLY);
/external/compiler-rt/test/msan/
H A Dioctl_sound.cc16 int fd = open("/dev/snd/controlC0", O_RDONLY);
/external/e2fsprogs/e2fsck/
H A Dflushb.c46 fd = open(argv[1], O_RDONLY, 0);
/external/e2fsprogs/tests/progs/
H A Dhold_inode.c41 if (open(filename, O_RDONLY) < 0) {
/external/libselinux/src/
H A Ddeny_unknown.c24 fd = open(path, O_RDONLY);

Completed in 6719 milliseconds

1234567891011>>