Lines Matching refs:O_RDONLY

414     fbl::unique_fd fd(open(mount_path, O_RDONLY | O_DIRECTORY));
434 int flags = read_only_ ? O_RDONLY : O_RDWR;
607 fbl::unique_fd fd(open(MOUNT_PATH, O_RDONLY | O_DIRECTORY));
651 fd.reset(open(info->path, O_RDONLY));
686 fd.reset(open(info->path, O_RDONLY));
715 fd.reset(open(info->path, O_RDONLY));
730 fd.reset(open(info->path, O_RDONLY));
750 fd.reset(open(info->path, O_RDONLY));
773 fd.reset(open(info->path, O_RDONLY));
789 fd.reset(open(info->path, O_RDONLY));
825 fd.reset(open(info[i]->path, O_RDONLY));
974 ASSERT_LT(open(info->path, O_RDONLY), 0, "Expected blob to be deleted");
1020 ASSERT_LT(open(info->path, O_RDONLY), 0);
1083 ASSERT_LT(open(info->path, O_RDONLY), 0, "Cannot access partial blob");
1183 fd.reset(open(info->path, O_RDONLY));
1208 fd.reset(open(info->path, O_RDONLY));
1234 fd.reset(open(info->path, O_RDONLY));
1256 fd.reset(open(info->path, O_RDONLY));
1490 fbl::unique_fd dirfd(open(MOUNT_PATH "/.", O_RDONLY));
1563 fd_complete.reset(open(info_complete->path, O_RDONLY));
1571 fd_partial.reset(open(info_partial->path, O_RDONLY));
1729 fbl::unique_fd fd(open(state->info->path, O_RDONLY));
1793 fd.reset(open(info->path, O_RDONLY));
1808 fd.reset(open(info->path, O_RDONLY));
1834 fd.reset(open(info->path, O_RDONLY));
1849 fd.reset(open(info->path, O_RDONLY));
1903 fbl::unique_fd fd(open(state.info->path, O_RDONLY));
1911 ASSERT_LT(open(state.info->path, O_RDONLY), 0);
1984 fbl::unique_fd fd(open(state.info->path, O_RDONLY));
1992 ASSERT_LT(open(state.info->path, O_RDONLY), 0);
2038 fbl::unique_fd dirfd(open(MOUNT_PATH "/.", O_RDONLY | O_ADMIN));
2058 dirfd.reset(open(MOUNT_PATH "/.", O_RDONLY));
2086 blob_fd.reset(open(info->path, O_RDONLY));
2222 fbl::unique_fd fd(open(dat->path, O_RDONLY));