Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/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-13.1/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()
H A Doperations_test.cpp247 process::system_error, "Failed to execute missing-program", in ATF_TEST_CASE_BODY()
398 ATF_REQUIRE_THROW(process::system_error, process::wait(1)); in ATF_TEST_CASE_BODY()
441 } catch (const process::system_error& e) { in ATF_TEST_CASE_BODY()
/freebsd-13.1/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-13.1/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()
H A Doperations_test.cpp170 } catch (const fs::system_error& e) { in ATF_TEST_CASE_BODY()
371 } catch (const fs::system_error& e) { in ATF_TEST_CASE_BODY()
421 } catch (const fs::system_error& e) { in ATF_TEST_CASE_BODY()
680 ATF_REQUIRE_THROW_RE(fs::system_error, "Removal of foo failed", in ATF_TEST_CASE_BODY()
708 ATF_REQUIRE_THROW_RE(fs::system_error, "opendir(.*missing.*) failed", in ATF_TEST_CASE_BODY()
726 ATF_REQUIRE_THROW_RE(fs::system_error, "Removal of foo failed", in ATF_TEST_CASE_BODY()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dsystem_error14 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);
116 system_error(int ev, const error_category& ecat);
460 // system_error
462 class _LIBCPP_TYPE_VIS system_error
469 system_error(error_code __ec);
473 system_error(const system_error&) _NOEXCEPT = default;
[all …]
/freebsd-13.1/lib/librpcsec_gss/
H A Drpcsec_gss_misc.c39 _rpc_gss_set_error(int rpc_gss_error, int system_error) in _rpc_gss_set_error() argument
43 _rpc_gss_error.system_error = system_error; in _rpc_gss_set_error()
/freebsd-13.1/sys/rpc/rpcsec_gss/
H A Drpcsec_gss_misc.c43 _rpc_gss_set_error(int rpc_gss_error, int system_error) in _rpc_gss_set_error() argument
47 _rpc_gss_error.system_error = system_error; in _rpc_gss_set_error()
/freebsd-13.1/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-13.1/include/rpc/
H A Drpcsec_gss.h134 int system_error; /* same as errno */ member
177 bool_t __rpc_gss_set_error(int rpc_gss_error, int system_error);

123