Lines Matching refs:path
148 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() argument
149 : FdFile(fd, path, check_usage, false) {} in FdFile()
151 FdFile::FdFile(int fd, const std::string& path, bool check_usage, in FdFile() argument
155 file_path_(path), in FdFile()
164 FdFile::FdFile(const std::string& path, int flags, mode_t mode, in FdFile() argument
166 Open(path, flags, mode); in FdFile()
287 bool FdFile::Open(const std::string& path, int flags) { in Open() argument
288 return Open(path, flags, 0640); in Open()
291 bool FdFile::Open(const std::string& path, int flags, mode_t mode) { in Open() argument
293 DCHECK_EQ(fd_, -1) << path; in Open()
295 fd_ = TEMP_FAILURE_RETRY(open(path.c_str(), flags, mode)); in Open()
304 file_path_ = path; in Open()