Home
last modified time | relevance | path

Searched refs:m_ec (Results 1 – 3 of 3) sorted by relevance

/freebsd-src/contrib/llvm-project/libcxx/src/filesystem/
H A Ddirectory_iterator.cpp153 error_code m_ec; in close() local
155 m_ec = detail::capture_errno(); in close()
157 return m_ec; in close()
173 error_code m_ec; in directory_iterator() local
174 __imp_ = make_shared<__dir_stream>(p, opts, m_ec); in directory_iterator()
176 *ec = m_ec; in directory_iterator()
179 if (m_ec) in directory_iterator()
180 err.report(m_ec); in directory_iterator()
188 error_code m_ec; in __increment() local
189 if (!__imp_->advance(m_ec)) { in __increment()
[all …]
H A Doperations.cpp263 error_code m_ec; in __copy_file()
264 FileDescriptor from_fd = FileDescriptor::create_with_status(&from, m_ec, O_RDONLY | O_NONBLOCK | O_BINARY); in __copy_file()
265 if (m_ec) in __copy_file()
266 return err.report(m_ec); in __copy_file() local
271 if (not m_ec) in __copy_file()
272 m_ec = make_error_code(errc::not_supported); in __copy_file()
273 return err.report(m_ec); in __copy_file()
281 file_status to_st = detail::posix_stat(to, to_stat_path, &m_ec); in __copy_file()
283 return err.report(m_ec); in __copy_file()
317 FileDescriptor to_fd = FileDescriptor::create_with_status(&to, m_ec, to_open_flag in __copy_file()
274 if (not m_ec) __copy_file() local
363 error_code m_ec; __create_directories() local
521 error_code m_ec; __file_size() local
537 error_code m_ec; __hard_link_count() local
548 error_code m_ec; __fs_is_empty() local
570 error_code m_ec; __last_write_time() local
593 error_code m_ec; __last_write_time() local
631 error_code m_ec; __permissions() local
915 error_code m_ec; __temp_directory_path() local
941 error_code m_ec; __weakly_canonical() local
[all...]
H A Dfile_descriptor.h194 inline file_status create_file_status(error_code& m_ec, path const& p, const StatT& path_stat, erro… in create_file_status() argument
196 *ec = m_ec; in create_file_status()
197 if (m_ec && (m_ec.value() == ENOENT || m_ec.value() == ENOTDIR)) { in create_file_status()
199 } else if (m_ec) { in create_file_status()
201 err.report(m_ec, "failed to determine attributes for the specified path"); in create_file_status()
230 error_code m_ec; in posix_stat() local
232 m_ec = detail::capture_errno(); in posix_stat()
233 return create_file_status(m_ec, p, path_stat, ec); in posix_stat()
242 error_code m_ec; in posix_lstat() local
244 m_ec = detail::capture_errno(); in posix_lstat()
[all …]