Home
last modified time | relevance | path

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

/external/libcxx/src/filesystem/
Ddirectory_iterator.cpp217 error_code m_ec; in close() local
219 m_ec = detail::capture_errno(); in close()
221 return m_ec; in close()
238 error_code m_ec; in directory_iterator() local
239 __imp_ = make_shared<__dir_stream>(p, opts, m_ec); in directory_iterator()
241 *ec = m_ec; in directory_iterator()
244 if (m_ec) in directory_iterator()
245 err.report(m_ec); in directory_iterator()
253 error_code m_ec; in __increment() local
254 if (!__imp_->advance(m_ec)) { in __increment()
[all …]
Doperations.cpp382 file_status create_file_status(error_code& m_ec, path const& p, in create_file_status() argument
385 *ec = m_ec; in create_file_status()
386 if (m_ec && (m_ec.value() == ENOENT || m_ec.value() == ENOTDIR)) { in create_file_status()
388 } else if (m_ec) { in create_file_status()
390 err.report(m_ec, "failed to determine attributes for the specified path"); in create_file_status()
419 error_code m_ec; in posix_stat() local
421 m_ec = detail::capture_errno(); in posix_stat()
422 return create_file_status(m_ec, p, path_stat, ec); in posix_stat()
431 error_code m_ec; in posix_lstat() local
433 m_ec = detail::capture_errno(); in posix_lstat()
[all …]
Dfilesystem_common.h150 T report(const error_code& m_ec) const { in report()
152 *ec = m_ec; in report()
158 __throw_filesystem_error(what, m_ec); in report()
160 __throw_filesystem_error(what, *p1, m_ec); in report()
162 __throw_filesystem_error(what, *p1, *p2, m_ec); in report()
168 T report(const error_code& m_ec, const char* msg, Args const&... args) const { in report()
170 *ec = m_ec; in report()
177 __throw_filesystem_error(what, m_ec); in report()
179 __throw_filesystem_error(what, *p1, m_ec); in report()
181 __throw_filesystem_error(what, *p1, *p2, m_ec); in report()