Home
last modified time | relevance | path

Searched refs:system_error (Results 1 – 25 of 213) sorted by relevance

123456789

/netbsd-src/external/apache2/llvm/dist/libcxx/src/
H A Dsystem_error.cpp232 system_error::__init(const error_code& ec, string what_arg) in __init()
243 system_error::system_error(error_code ec, const string& what_arg) in system_error() function in system_error
249 system_error::system_error(error_code ec, const char* what_arg) in system_error() function in system_error
255 system_error::system_error(error_code ec) in system_error() function in system_error
261 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() function in system_error
267 system_error::system_error(int ev, const error_category& ecat, const char* what_arg) in system_error() function in system_error
273 system_error::system_error(int ev, const error_category& ecat) in system_error() function in system_error
279 system_error::~system_error() noexcept in ~system_error()
287 throw system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
/netbsd-src/external/bsd/atf/dist/tools/
H A Dexceptions.cpp38 tools::system_error::system_error(const std::string& who, in system_error() function in tools::system_error
46 tools::system_error::~system_error(void) in ~system_error()
52 tools::system_error::code(void) in code()
60 tools::system_error::what(void) in what()
H A Dfs.cpp86 throw tools::system_error(IMPL_NAME "::eaccess", in eaccess()
127 throw tools::system_error(IMPL_NAME "::eaccess", "Access check failed", in eaccess()
145 } catch (const tools::system_error& e) { in safe_access()
190 } catch (const tools::system_error& e) { in cleanup_aux()
210 throw tools::system_error(IMPL_NAME "::cleanup(" + in cleanup_aux_dir()
227 } catch (const tools::system_error& e) { in cleanup_aux_dir()
263 throw tools::system_error(IMPL_NAME "::cleanup(" + in_path.str() + in do_unmount()
424 throw system_error(IMPL_NAME "::file_info", in file_info()
439 throw system_error(IMPL_NAME "::file_info", "Unknown file type " in file_info()
554 throw system_error(IMPL_NAME "::directory::directory(" + in directory()
[all …]
H A Dexceptions.hpp79 class system_error : public std::runtime_error { class
84 system_error(const std::string&, const std::string&, int);
85 ~system_error(void) throw();
H A Dtimers.cpp84 throw tools::system_error(IMPL_NAME "::timer::timer", in timer()
95 throw tools::system_error(IMPL_NAME "::timer::timer", in timer()
107 throw tools::system_error(IMPL_NAME "::timer::timer", in timer()
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/
H A Dexceptions.cpp50 atf::system_error::system_error(const std::string& who, in system_error() function in atf::system_error
58 atf::system_error::~system_error(void) in ~system_error()
64 atf::system_error::code(void) in code()
72 atf::system_error::what(void) in what()
101 throw atf::system_error("XXX", msg, ecode); in throw_libc_error()
H A Dexceptions.hpp42 class system_error : public std::runtime_error { class
47 system_error(const std::string&, const std::string&, int);
48 ~system_error(void) throw();
/netbsd-src/external/bsd/kyua-cli/dist/utils/process/
H A Dexceptions.cpp57 process::system_error::system_error(const std::string& message_, in system_error() function in process::system_error
66 process::system_error::~system_error(void) throw() in ~system_error()
73 process::system_error::original_errno(void) const throw() in original_errno()
H A Dexceptions_test.cpp49 ATF_TEST_CASE_WITHOUT_HEAD(system_error);
50 ATF_TEST_CASE_BODY(system_error) in ATF_TEST_CASE_BODY() argument
52 const process::system_error e("Call failed", ENOENT); in ATF_TEST_CASE_BODY()
62 ATF_ADD_TEST_CASE(tcs, system_error); in ATF_INIT_TEST_CASES()
H A Dchild.cpp103 throw process::system_error(F("dup2(%s, %s) failed") % old_fd % new_fd, in safe_dup()
124 throw process::system_error(F("Failed to create %s because open(2) " in open_for_append()
149 throw process::system_error(F("Failed to wait for PID %s") % pid, in safe_wait()
263 throw process::system_error("pipe(2) failed", errno); in fork_capture_aux()
272 throw process::system_error("fork(2) failed", errno); in fork_capture_aux()
282 } catch (const system_error& e) { in fork_capture_aux()
327 throw process::system_error("fork(2) failed", errno); in fork_files_aux()
343 } catch (const system_error& e) { in fork_files_aux()
H A Dexceptions.hpp54 class system_error : public error { class
59 explicit system_error(const std::string&, const int);
60 ~system_error(void) throw();
/netbsd-src/external/bsd/kyua-cli/dist/utils/fs/
H A Doperations.cpp79 throw fs::system_error(F("Cannot get information about %s") % path, in safe_stat()
105 throw fs::system_error(F("Failed to get current working directory"), in current_path()
174 throw fs::system_error(F("Failed to create directory %s") % dir, in mkdir()
194 } catch (const fs::system_error& e) { in mkdir_p()
229 throw fs::system_error(F("Cannot create temporary directory using " in mkdtemp()
261 throw fs::system_error(F("Cannot create temporary file using template " in mkstemp()
282 throw fs::system_error(F("Failed to open directory %s") % in rm_r()
324 throw fs::system_error(F("Removal of %s failed") % file, in rmdir()
340 throw fs::system_error(F("Removal of %s failed") % file, in unlink()
H A Dexceptions.cpp127 fs::system_error::system_error(const std::string& message_, const int errno_) : in system_error() function in fs::system_error
135 fs::system_error::~system_error(void) throw() in ~system_error()
143 fs::system_error::original_errno(void) const throw() in original_errno()
H A Dexceptions_test.cpp70 ATF_TEST_CASE_WITHOUT_HEAD(system_error);
71 ATF_TEST_CASE_BODY(system_error) in ATF_TEST_CASE_BODY() argument
73 const fs::system_error e("Call failed", ENOENT); in ATF_TEST_CASE_BODY()
85 ATF_ADD_TEST_CASE(tcs, system_error); in ATF_INIT_TEST_CASES()
H A Dexceptions.hpp86 class system_error : public error { class
91 explicit system_error(const std::string&, const int);
92 ~system_error(void) throw();
/netbsd-src/external/bsd/kyua-cli/dist/utils/signals/
H A Dexceptions.cpp83 signals::system_error::system_error(const std::string& message_, in system_error() function in signals::system_error
92 signals::system_error::~system_error(void) throw() in ~system_error()
99 signals::system_error::original_errno(void) const throw() in original_errno()
H A Dexceptions_test.cpp58 ATF_TEST_CASE_WITHOUT_HEAD(system_error);
59 ATF_TEST_CASE_BODY(system_error) in ATF_TEST_CASE_BODY() argument
61 const signals::system_error e("Call failed", ENOENT); in ATF_TEST_CASE_BODY()
72 ATF_ADD_TEST_CASE(tcs, system_error); in ATF_INIT_TEST_CASES()
H A Dexceptions.hpp67 class system_error : public error { class
72 explicit system_error(const std::string&, const int);
73 ~system_error(void) throw();
H A Dprogrammer.cpp92 throw system_error(F("Could not install handler for signal %s") % in programmer()
109 } catch (const system_error& e) { in ~programmer()
134 throw system_error(F("Could not reset handler for signal %s") % in unprogram()
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dsystem_error2 //===---------------------------- system_error ----------------------------===//
14 system_error synopsis
107 class system_error
111 system_error(error_code ec, const string& what_arg);
112 system_error(error_code ec, const char* what_arg);
113 system_error(error_code ec);
114 system_error(int ev, const error_category& ecat, const string& what_arg);
115 system_error(int ev, const error_category& ecat, const char* what_arg);
116 system_error(int ev, const error_category& ecat);
461 // system_error
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dsystem_error1 // <system_error> -*- C++ -*-
25 /** @file include/system_error
56 class system_error;
101 * @headerfile system_error
218 * @headerfile system_error
348 * @headerfile system_error
548 * @headerfile system_error
552 class system_error : public std::runtime_error
558 system_error(error_code __ec = error_code())
561 system_error(error_code __ec, const string& __what)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dsystem_error1 // <system_error> -*- C++ -*-
25 /** @file include/system_error
56 class system_error;
428 class system_error : public std::runtime_error
434 system_error(error_code __ec = error_code())
437 system_error(error_code __ec, const string& __what)
440 system_error(error_code __ec, const char* __what)
443 system_error(int __v, const error_category& __ecat, const char* __what)
444 : system_error(error_code(__v, __ecat), __what) { }
446 system_error(int __v, const error_category& __ecat)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/
H A Dcxx11-ios_failure.cc88 : system_error(io_errc::stream, __str) { } in failure()
91 : system_error(__ec, __str) { } in failure()
94 : system_error(__ec, __str) { } in failure()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dcxx11-ios_failure.cc97 : system_error(io_errc::stream, __str) { } in failure()
100 : system_error(__ec, __str) { } in failure()
103 : system_error(__ec, __str) { } in failure()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Dsystem_error1 // Variable Templates For system_error -*- C++ -*-
25 /** @file experimental/system_error
41 #include <system_error>

123456789