/external/valgrind/main/memcheck/tests/linux/ |
H A D | sys-openat.c | 11 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 D | fcntl.h | 20 #define O_RDONLY 0x0000 macro
|
/external/valgrind/main/none/tests/ |
H A D | fdleak_open.c | 9 (void) DO( open("/dev/null", O_RDONLY) );
|
H A D | fdleak_dup2.c | 12 s1 = DO( open("/dev/null", O_RDONLY) ); 13 s2 = DO( open("/dev/null", O_RDONLY) );
|
H A D | fdleak_dup.c | 11 s = DO( open("/dev/null", O_RDONLY) );
|
H A D | fdleak_fcntl.c | 12 s1 = DO( open("/dev/null", O_RDONLY) );
|
/external/strace/xlat/ |
H A D | open_access_modes.h | 4 #if defined(O_RDONLY) || (defined(HAVE_DECL_O_RDONLY) && HAVE_DECL_O_RDONLY) 5 XLAT(O_RDONLY),
|
/external/compiler-rt/test/tsan/ |
H A D | fd_close_norace.cc | 10 int f = open("/dev/random", O_RDONLY); 17 int f = open("/dev/random", O_RDONLY);
|
H A D | fd_dup_norace.cc | 24 fds[0] = open("/dev/random", O_RDONLY);
|
H A D | fd_stdout_race.cc | 13 int f = open("/dev/random", O_RDONLY);
|
/external/chromium_org/base/test/ |
H A D | test_file_util_linux.cc | 18 ScopedFD fd(open(file.value().c_str(), O_RDONLY));
|
/external/valgrind/main/memcheck/tests/ |
H A D | erringfds.c | 12 fd = open("foo/bar/xyzzy", O_RDONLY); /* fails */
|
H A D | mmaptest.c | 12 fd = open("dir", O_RDONLY);
|
/external/chromium_org/third_party/sqlite/src/tool/ |
H A D | diffdb.c | 24 db1 = open(argv[1], O_RDONLY); 29 db2 = open(argv[2], O_RDONLY);
|
/external/e2fsprogs/lib/e2p/ |
H A D | fgetversion.c | 34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE) 36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
|
H A D | fsetversion.c | 34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE) 36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
|
/external/strace/test/ |
H A D | x32_mmap.c | 26 if (open("/etc/passwd", O_RDONLY)) 41 int fd = open(buf, O_RDONLY);
|
/external/compiler-rt/SDKs/darwin/usr/include/sys/ |
H A D | fcntl.h | 43 #define O_RDONLY 0x0000 /* open for reading only */ macro
|
/external/chromium_org/base/ |
H A D | rand_util_posix.cc | 23 URandomFd() : fd_(open("/dev/urandom", O_RDONLY)) {
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | dev_fs_for_testing.h | 25 if (Open(nacl_io::Path(filename), O_RDONLY, &node))
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | readv.cc | 26 int fd = open("/etc/hosts", O_RDONLY);
|
/external/compiler-rt/test/msan/ |
H A D | ioctl_sound.cc | 16 int fd = open("/dev/snd/controlC0", O_RDONLY);
|
/external/e2fsprogs/e2fsck/ |
H A D | flushb.c | 46 fd = open(argv[1], O_RDONLY, 0);
|
/external/e2fsprogs/tests/progs/ |
H A D | hold_inode.c | 41 if (open(filename, O_RDONLY) < 0) {
|
/external/libselinux/src/ |
H A D | deny_unknown.c | 24 fd = open(path, O_RDONLY);
|