Lines Matching defs:FileDescriptor
309 struct FileDescriptor { struct
310 const path& name;
311 int fd = -1;
312 StatT m_stat;
313 file_status m_status;
316 static FileDescriptor create(const path* p, error_code& ec, Args... args) { in create()
327 static FileDescriptor create_with_status(const path* p, error_code& ec, in create_with_status()
336 file_status get_status() const { return m_status; } in get_status()
337 StatT const& get_stat() const { return m_stat; } in get_stat()
339 bool status_known() const { return _VSTD_FS::status_known(m_status); } in status_known()
343 void close() noexcept { in close()
349 FileDescriptor(FileDescriptor&& other) in FileDescriptor() argument
356 ~FileDescriptor() { close(); } in ~FileDescriptor()
362 explicit FileDescriptor(const path* p, int fd = -1) : name(*p), fd(fd) {} in FileDescriptor() function