/bionic/tests/ |
D | sys_statvfs_test.cpp | 54 int fd = open("/proc", O_RDONLY); in TEST() 62 int fd = open("/proc", O_RDONLY); in TEST()
|
D | sys_vfs_test.cpp | 55 int fd = open("/proc", O_RDONLY); in TEST() 63 int fd = open("/proc", O_RDONLY); in TEST()
|
D | fcntl_test.cpp | 34 int fd = open("/proc/version", O_RDONLY); in TEST() 54 fd = open("/proc/version", O_RDONLY); in TEST() 58 fd = open64("/proc/version", O_RDONLY); in TEST() 66 fd = openat(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 70 fd = openat64(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 151 int fd = open64("/proc/version", O_RDONLY); in TEST() 170 int in = open("/proc/cpuinfo", O_RDONLY); in TEST() 220 int in = open("/proc/version", O_RDONLY); in TEST()
|
D | dirent_test.cpp | 131 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() 141 int root_fd = open("/", O_DIRECTORY | O_RDONLY); in TEST() 154 int fd = open("/dev/null", O_RDONLY); in TEST() 162 int fd = open("/proc/self", O_RDONLY); in TEST()
|
D | unistd_test.cpp | 228 int fd = open("/proc/version", O_RDONLY); in TEST() 392 ASSERT_NE(-1, fd = open(tf.filename, O_RDONLY)); in TestFsyncFunction() 401 ASSERT_NE(-1, fd = open("/data/local/tmp", O_RDONLY)); in TestFsyncFunction() 407 ASSERT_NE(-1, fd = open("/proc/version", O_RDONLY)); in TestFsyncFunction() 1030 int fd = open("/proc/version", O_RDONLY); in TEST()
|
D | sys_stat_test.cpp | 94 int fd = open("/proc/version", O_RDONLY); in TEST()
|
D | fortify_test.cpp | 655 int fd = open("/dev/null", O_RDONLY); in TEST_F() 663 int fd = open("/dev/null", O_RDONLY); in TEST_F() 687 int fd = open("/dev/null", O_RDONLY); in TEST_F()
|
D | ifaddrs_test.cpp | 295 int fd = open("/dev/null", O_RDONLY|O_CLOEXEC); in TEST()
|
D | dlext_test.cpp | 110 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 128 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 154 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 449 relro_fd = open(relro_file, O_RDONLY); in CreateRelroFile()
|
D | stdio_test.cpp | 997 int fd = open("/proc/version", O_RDONLY); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 54 m = O_RDONLY; in __sflags()
|
/bionic/libc/bionic/ |
D | pthread_setname_np.cpp | 62 int fd = __open_task_comm_fd(t, O_RDONLY); in pthread_getname_np()
|
D | scandir.cpp | 103 int dir_fd = openat(parent_fd, dir_name, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in scandirat()
|
D | dirent.cpp | 91 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir()
|
D | fts.c | 166 if (!ISSET(FTS_NOCHDIR) && (sp->fts_rfd = open(".", O_RDONLY, 0)) < 0) in fts_open() 291 if ((p->fts_symfd = open(".", O_RDONLY, 0)) < 0) { in fts_read() 381 open(".", O_RDONLY, 0)) < 0) { in fts_read() 520 if ((fd = open(".", O_RDONLY, 0)) < 0) in fts_children() 1033 if (fd < 0 && (newfd = open(path, O_RDONLY, 0)) < 0) in fts_safe_changedir()
|
D | getentropy_linux.c | 226 flags = O_RDONLY; in getentropy_urandom()
|
D | system_properties.cpp | 297 int fd = open(filename, O_CLOEXEC | O_NOFOLLOW | O_RDONLY); in map_prop_area()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 24 #define O_RDONLY 00000000 macro
|
/bionic/tools/versioner/src/ |
D | VFS.cpp | 52 unique_fd fd(open(file_path, O_RDONLY | O_CLOEXEC)); in addDirectoryToVFS()
|
/bionic/libc/tzcode/ |
D | localtime.c | 55 #define OPEN_MODE (O_RDONLY | O_BINARY) 58 #define OPEN_MODE O_RDONLY 2378 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY | O_CLOEXEC)); in __bionic_open_tzdata_path()
|
/bionic/linker/ |
D | linker.cpp | 904 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC)); in get_or_open() 956 int fd = TEMP_FAILURE_RETRY(open(zip_path, O_RDONLY | O_CLOEXEC)); in open_library_in_zipfile() 1021 fd = TEMP_FAILURE_RETRY(open(buf, O_RDONLY | O_CLOEXEC)); in open_library_on_paths() 1054 fd = TEMP_FAILURE_RETRY(open(name, O_RDONLY | O_CLOEXEC)); in open_library()
|