Home
last modified time | relevance | path

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

123456

/minix3/external/bsd/libc++/dist/libcxx/src/
H A Dsystem_error.cpp147 system_error::__init(const error_code& ec, string what_arg) in __init()
158 system_error::system_error(error_code ec, const string& what_arg) in system_error() function in system_error
164 system_error::system_error(error_code ec, const char* what_arg) in system_error() function in system_error
170 system_error::system_error(error_code ec) in system_error() function in system_error
176 system_error::system_error(int ev, const error_category& ecat, const string& what_arg) in system_error() function in system_error
182 system_error::system_error(int ev, const error_category& ecat, const char* what_arg) in system_error() function in system_error
188 system_error::system_error(int ev, const error_category& ecat) in system_error() function in system_error
194 system_error::~system_error() _NOEXCEPT in ~system_error()
202 throw system_error(error_code(ev, system_category()), what_arg); in __throw_system_error()
/minix3/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()
267 throw tools::system_error(IMPL_NAME "::cleanup(" + in_path.str() +
428 throw system_error(IMPL_NAME "::file_info",
443 throw system_error(IMPL_NAME "::file_info", "Unknown file type "
558 throw system_error(IMPL_NAME "::directory::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();
/minix3/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 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()
149 throw process::system_error(F("Failed to wait for PID %s") % pid, in safe_wait()
266 throw process::system_error("pipe(2) failed", errno); in fork_capture_aux()
275 throw process::system_error("fork(2) failed", errno); in fork_capture_aux()
285 } catch (const system_error& e) { in fork_capture_aux()
330 throw process::system_error("fork(2) failed", errno); in fork_files_aux()
346 } catch (const system_error& e) { in fork_files_aux()
/minix3/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();
/minix3/external/bsd/bind/dist/unit/atf-src/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.hpp83 class system_error : public std::runtime_error { class
88 system_error(const std::string&, const std::string&, int);
89 ~system_error(void) throw();
/minix3/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()
/minix3/external/bsd/kyua-cli/dist/utils/fs/
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 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_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();
/minix3/external/bsd/libc++/dist/libcxx/include/experimental/
H A Dsystem_error2 //===-------------------------- system_error ------------------------------===//
15 experimental/system_error synopsis
19 #include <system_error>
41 #include <system_error>
/minix3/external/bsd/bind/dist/unit/atf-src/atf-run/
H A Dfs.cpp103 } catch (const atf::system_error& e) { in cleanup_aux()
123 throw atf::system_error(IMPL_NAME "::cleanup(" + in cleanup_aux_dir()
140 } catch (const atf::system_error& e) { in cleanup_aux_dir()
177 throw atf::system_error(IMPL_NAME "::cleanup(" + in_path.str() + in do_unmount()
207 throw system_error(IMPL_NAME "::temp_dir::temp_dir(" + in temp_dir()
237 throw system_error(IMPL_NAME "::chdir(" + dir.str() + ")", in change_directory()
261 throw atf::system_error(IMPL_NAME "::get_current_dir()", in get_current_dir()
/minix3/external/bsd/libc++/dist/libcxx/include/
H A Dsystem_error2 //===---------------------------- system_error ----------------------------===//
15 system_error synopsis
102 class system_error
106 system_error(error_code ec, const string& what_arg);
107 system_error(error_code ec, const char* what_arg);
108 system_error(error_code ec);
109 system_error(int ev, const error_category& ecat, const string& what_arg);
110 system_error(int ev, const error_category& ecat, const char* what_arg);
111 system_error(int ev, const error_category& ecat);
616 // system_error
[all …]
/minix3/external/bsd/llvm/dist/clang/test/SemaCXX/
H A DPR9461.cpp31 struct system_error:runtime_error{ // expected-note {{to match}} struct
32 system_error():time_error("" // expected-error 3 {{expected}} expected-note {{to match}}
/minix3/external/bsd/libc++/dist/libcxx/test/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
H A Dunlock.pass.cpp40 catch (std::system_error& e) in main()
50 catch (std::system_error& e) in main()

123456