Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/libcxx/include/__system_error/
H A Dsystem_error.h26 class _LIBCPP_EXPORTED_FROM_ABI system_error : public runtime_error {
30 system_error(error_code __ec, const string& __what_arg);
31 system_error(error_code __ec, const char* __what_arg);
32 system_error(error_code __ec);
33 system_error(int __ev, const error_category& __ecat, const string& __what_arg);
34 system_error(int __ev, const error_category& __ecat, const char* __what_arg);
35 system_error(int __ev, const error_category& __ecat);
36 _LIBCPP_HIDE_FROM_ABI system_error(const system_error&) _NOEXCEPT = default;
37 ~system_error() _NOEXCEPT override;
45 throw system_error(__ec, __what_arg); in __throw_system_error()
/freebsd/contrib/llvm-project/libcxx/src/
H A Dsystem_error.cpp194 system_error::system_error(error_code ec, const string& what_arg) in system_error() function in system_error
197 system_error::system_error(error_code ec, const char* what_arg) in system_error() function in system_error
200 system_error::system_error(error_code ec) : runtime_error(make_error_str(ec)), __ec_(ec) {} in system_error() function in system_error
202 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() function in system_error
205 system_error::system_error(int ev, const error_category& ecat, const char* what_arg) in system_error() function in system_error
208 system_error::system_error(int ev, const error_category& ecat) in system_error() function in system_error
211 system_error::~system_error() noexcept {} in ~system_error()
/freebsd/contrib/atf/atf-c++/detail/
H A Dexceptions.cpp47 atf::system_error::system_error(const std::string& who, in system_error() function in atf::system_error
55 atf::system_error::~system_error(void) in ~system_error()
61 atf::system_error::code(void) in code()
69 atf::system_error::what(void) in what()
98 throw atf::system_error("XXX", msg, ecode); in throw_libc_error()
H A Dexceptions.hpp38 class system_error : public std::runtime_error { class
43 system_error(const std::string&, const std::string&, int);
44 ~system_error(void) throw();
H A Dfs.cpp420 throw system_error(IMPL_NAME "::directory::directory(" + in directory()
430 throw system_error(IMPL_NAME "::directory::directory(" + in directory()
498 throw atf::system_error(IMPL_NAME "::remove(" + p.str() + ")", in remove()
502 throw atf::system_error(IMPL_NAME "::remove(" + p.str() + ")", in remove()
/freebsd/contrib/kyua/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 Dexceptions.hpp54 class system_error : public error { class
59 explicit system_error(const std::string&, const int);
60 ~system_error(void) throw();
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()
203 throw process::system_error("pipe(2) failed", errno); in fork_capture_aux()
212 throw process::system_error("fork(2) failed", errno); in fork_capture_aux()
222 } catch (const system_error& e) { in fork_capture_aux()
267 throw process::system_error("fork(2) failed", errno); in fork_files_aux()
283 } catch (const system_error& e) { in fork_files_aux()
H A Doperations.cpp82 throw process::system_error("Failed to wait for any child process", in safe_wait()
103 throw process::system_error(F("Failed to wait for PID %s") % pid, in safe_waitpid()
129 } catch (const system_error& error) { in exec()
185 throw system_error("Failed to execute " + program.str(), original_errno); in exec_unsafe()
/freebsd/contrib/kyua/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.cpp93 throw system_error(F("Could not install handler for signal %s") % in programmer()
110 } catch (const system_error& e) { in ~programmer()
135 throw system_error(F("Could not reset handler for signal %s") % in unprogram()
/freebsd/contrib/kyua/utils/fs/
H A Doperations.cpp247 throw fs::system_error(F("unmount(%s) failed") % mount_point, in unmount_with_unmount2()
268 throw fs::system_error("Cannot fork to execute unmount tool", in unmount_with_umount8()
283 throw fs::system_error("Failed to wait for unmount subprocess", in unmount_with_umount8()
480 throw fs::system_error(F("Failed to create directory %s") % dir, in mkdir()
500 } catch (const fs::system_error& e) { in mkdir_p()
569 } catch (const fs::system_error& e) { in mkdtemp_public()
650 throw fs::system_error("Cannot fork to execute mount tool", in mount_tmpfs()
662 throw fs::system_error("Failed to wait for mount subprocess", in mount_tmpfs()
726 throw fs::system_error(F("Removal of %s failed") % file, in rmdir()
764 throw fs::system_error(F("Removal of %s failed") % file, in unlink()
[all …]
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()
93 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();
H A Ddirectory.cpp158 throw fs::system_error(F("opendir(%s) failed") % _path, in impl()
203 throw fs::system_error(F("readdir_r(%s) failed") % _path, in next()
/freebsd/lib/librpcsec_gss/
H A Drpcsec_gss_misc.c37 _rpc_gss_set_error(int rpc_gss_error, int system_error) in _rpc_gss_set_error() argument
41 _rpc_gss_error.system_error = system_error; in _rpc_gss_set_error()
/freebsd/sys/rpc/rpcsec_gss/
H A Drpcsec_gss_misc.c40 _rpc_gss_set_error(int rpc_gss_error, int system_error) in _rpc_gss_set_error() argument
44 _rpc_gss_error.system_error = system_error; in _rpc_gss_set_error()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dsystem_error14 system_error synopsis
105 class system_error
109 system_error(error_code ec, const string& what_arg);
110 system_error(error_code ec, const char* what_arg);
111 system_error(error_code ec);
112 system_error(int ev, const error_category& ecat, const string& what_arg);
113 system_error(int ev, const error_category& ecat, const char* what_arg);
114 system_error(int ev, const error_category& ecat);
153 #include <__system_error/system_error.h>
/freebsd/contrib/llvm-project/libcxx/include/__filesystem/
H A Dfilesystem_error.h31 …_AVAILABILITY_FILESYSTEM_LIBRARY _LIBCPP_EXPORTED_FROM_ABI filesystem_error : public system_error {
34 : system_error(__ec, __what), __storage_(make_shared<_Storage>(path(), path())) { in filesystem_error()
39 : system_error(__ec, __what), __storage_(make_shared<_Storage>(__p1, path())) { in filesystem_error()
44 : system_error(__ec, __what), __storage_(make_shared<_Storage>(__p1, __p2)) { in filesystem_error()
/freebsd/crypto/heimdal/lib/krb5/
H A Deai_to_heim_errno.c48 krb5_eai_to_heim_errno(int eai_errno, int system_error) in krb5_eai_to_heim_errno() argument
83 return system_error; in krb5_eai_to_heim_errno()
/freebsd/include/rpc/
H A Drpcsec_gss.h132 int system_error; /* same as errno */ member
175 bool_t __rpc_gss_set_error(int rpc_gss_error, int system_error);

123