Home
last modified time | relevance | path

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

/hardware/interfaces/automotive/can/1.0/default/libc++fs/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.cpp389 file_status create_file_status(error_code& m_ec, path const& p, in create_file_status() argument
392 *ec = m_ec; in create_file_status()
393 if (m_ec && (m_ec.value() == ENOENT || m_ec.value() == ENOTDIR)) { in create_file_status()
395 } else if (m_ec) { in create_file_status()
397 err.report(m_ec, "failed to determine attributes for the specified path"); in create_file_status()
426 error_code m_ec; in posix_stat() local
428 m_ec = detail::capture_errno(); in posix_stat()
429 return create_file_status(m_ec, p, path_stat, ec); in posix_stat()
438 error_code m_ec; in posix_lstat() local
440 m_ec = detail::capture_errno(); in posix_lstat()
[all …]
Dfilesystem_common.h154 T report(const error_code& m_ec) const { in report()
156 *ec = m_ec; in report()
162 __throw_filesystem_error(what, m_ec); in report()
164 __throw_filesystem_error(what, *p1, m_ec); in report()
166 __throw_filesystem_error(what, *p1, *p2, m_ec); in report()
172 T report(const error_code& m_ec, const char* msg, Args const&... args) const { in report()
174 *ec = m_ec; in report()
181 __throw_filesystem_error(what, m_ec); in report()
183 __throw_filesystem_error(what, *p1, m_ec); in report()
185 __throw_filesystem_error(what, *p1, *p2, m_ec); in report()