/external/valgrind/main/memcheck/tests/linux/ |
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/ |
fcntl.h | 20 #define O_RDONLY 0x0000
|
/external/valgrind/main/none/tests/ |
fdleak_open.c | 9 (void) DO( open("/dev/null", O_RDONLY) );
|
fdleak_dup2.c | 12 s1 = DO( open("/dev/null", O_RDONLY) ); 13 s2 = DO( open("/dev/null", O_RDONLY) );
|
fdleak_dup.c | 11 s = DO( open("/dev/null", O_RDONLY) );
|
fdleak_fcntl.c | 12 s1 = DO( open("/dev/null", O_RDONLY) );
|
/external/strace/xlat/ |
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/ |
fd_close_norace.cc | 10 int f = open("/dev/random", O_RDONLY); 17 int f = open("/dev/random", O_RDONLY);
|
fd_dup_norace.cc | 24 fds[0] = open("/dev/random", O_RDONLY);
|
fd_stdout_race.cc | 13 int f = open("/dev/random", O_RDONLY);
|
/external/chromium_org/base/test/ |
test_file_util_linux.cc | 18 ScopedFD fd(open(file.value().c_str(), O_RDONLY));
|
/external/valgrind/main/memcheck/tests/ |
erringfds.c | 12 fd = open("foo/bar/xyzzy", O_RDONLY); /* fails */
|
mmaptest.c | 12 fd = open("dir", O_RDONLY);
|
/art/runtime/base/unix_file/ |
mapped_file.h | 36 kReadOnlyMode = O_RDONLY | O_LARGEFILE, 39 kReadOnlyMode = O_RDONLY,
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
flags.c | 60 m = O_RDONLY; 99 if (m == O_RDONLY) {
|
/external/chromium_org/third_party/sqlite/src/tool/ |
diffdb.c | 24 db1 = open(argv[1], O_RDONLY); 29 db2 = open(argv[2], O_RDONLY);
|
/external/e2fsprogs/lib/e2p/ |
fgetversion.c | 34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE) 36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
|
fsetversion.c | 34 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK|O_LARGEFILE) 36 #define OPEN_FLAGS (O_RDONLY|O_NONBLOCK)
|
/external/strace/test/ |
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/ |
fcntl.h | 43 #define O_RDONLY 0x0000 /* open for reading only */
|
/frameworks/compile/libbcc/include/bcc/Support/ |
FileMutex.h | 30 : FileBase(pFileToLock + ".lock", O_RDONLY | O_CREAT, kDeleteOnClose) { }
|
/external/chromium_org/base/ |
rand_util_posix.cc | 23 URandomFd() : fd_(open("/dev/urandom", O_RDONLY)) {
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
readv.cc | 26 int fd = open("/etc/hosts", O_RDONLY);
|
/external/compiler-rt/test/msan/ |
ioctl_sound.cc | 16 int fd = open("/dev/snd/controlC0", O_RDONLY);
|
/external/e2fsprogs/e2fsck/ |
flushb.c | 46 fd = open(argv[1], O_RDONLY, 0);
|