Lines Matching refs:open
35 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in QueryInfo()
107 int fd = open(path, O_CREAT | O_RDWR); in TestQueryInfo()
122 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in ToggleMetrics()
133 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in GetMetricsUnavailable()
146 fbl::unique_fd fd(open(kMountPath, O_RDONLY | O_DIRECTORY)); in GetMetrics()
171 fbl::unique_fd fd(open(path, O_CREAT | O_RDWR)); in TestMetrics()
177 fd.reset(open(path, O_CREAT | O_RDWR | O_EXCL)); in TestMetrics()
266 fbl::unique_fd mnt_fd(open(kMountPath, O_RDONLY)); in TestFullOperations()
319 mnt_fd.reset(open(kMountPath, O_RDONLY)); in TestFullOperations()
384 mnt_fd.reset(open(kMountPath, O_RDONLY)); in TestFullOperations()
427 mnt_fd.reset(open(kMountPath, O_RDONLY)); in TestFullOperations()
455 fds[i].reset(open(filename, O_CREAT | O_RDWR | O_EXCL)); in TestUnlinkFail()
470 fbl::unique_fd fd(open(filename, O_CREAT)); in TestUnlinkFail()