Home
last modified time | relevance | path

Searched full:throw (Results 1 – 25 of 840) sorted by relevance

12345678910>>...34

/freebsd/contrib/atf/atf-c++/detail/
H A Dauto_array.hpp55 auto_array(T* = NULL) throw();
56 auto_array(auto_array< T >&) throw();
57 auto_array(auto_array_ref< T >) throw();
58 ~auto_array(void) throw();
60 T* get(void) throw();
61 const T* get(void) const throw();
62 T* release(void) throw();
63 void reset(T* = NULL) throw();
65 auto_array< T >& operator=(auto_array< T >&) throw();
66 auto_array< T >& operator=(auto_array_ref< T >) throw();
[all …]
/freebsd/contrib/kyua/utils/
H A Dauto_array.hpp80 auto_array(T* = NULL) throw();
81 auto_array(auto_array< T >&) throw();
82 auto_array(detail::auto_array_ref< T >) throw();
83 ~auto_array(void) throw();
85 T* get(void) throw();
86 const T* get(void) const throw();
88 T* release(void) throw();
89 void reset(T* = NULL) throw();
91 auto_array< T >& operator=(auto_array< T >&) throw();
92 auto_array< T >& operator=(detail::auto_array_ref< T >) throw();
[all …]
H A Dauto_array.ipp60 auto_array< T >::auto_array(T* ptr) throw() :
71 auto_array< T >::auto_array(auto_array< T >& ptr) throw() :
84 auto_array< T >::auto_array(detail::auto_array_ref< T > ref) throw() :
92 auto_array< T >::~auto_array(void) throw()
104 auto_array< T >::get(void) throw()
115 auto_array< T >::get(void) const throw()
126 auto_array< T >::release(void) throw()
142 auto_array< T >::reset(T* ptr) throw()
156 auto_array< T >::operator=(auto_array< T >& ptr) throw()
169 auto_array< T >::operator=(detail::auto_array_ref< T > ref) throw()
[all …]
/freebsd/contrib/kyua/utils/fs/
H A Doperations.cpp239 /// \throw fs::system_error If the call to unmount(2) fails.
247 throw fs::system_error(F("unmount(%s) failed") % mount_point, in unmount_with_unmount2()
259 /// \throw fs::error If the execution of umount(8) fails.
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()
291 throw fs::error(F("Failed to unmount %s; returned exit code %s") in unmount_with_umount8()
294 throw fs::error(F("Failed to unmount %s; unmount tool received signal") in unmount_with_umount8()
305 /// \throw system_error An error on failure.
312 throw fs::system_error(F("Cannot get information about %s") % path, in safe_stat()
328 /// \throw error If there is a problem copying the file.
[all …]
/freebsd/contrib/kyua/utils/config/
H A Dtree.cpp89 /// \throw bad_combination_error If the two trees cannot be combined; for
138 /// \throw invalid_key_error If the provided key has an invalid format.
163 /// \throw invalid_key_error If the provided key has an invalid format.
164 /// \throw unknown_key_error If the provided key is unknown.
174 throw unknown_key_error(key); in push_lua()
185 /// \throw invalid_key_error If the provided key has an invalid format.
186 /// \throw invalid_key_value If the value mismatches the node type.
187 /// \throw unknown_key_error If the provided key is unknown.
200 throw e; in set_lua()
202 throw invalid_key_value(key, e.what()); in set_lua()
[all …]
H A Dtree.ipp75 /// \throw invalid_key_error If the provided key has an invalid format.
76 /// \throw unknown_key_error If the provided key is unknown.
88 throw unknown_key_error(key);
90 throw unknown_key_error(key);
102 /// \throw invalid_key_error If the provided key has an invalid format.
103 /// \throw unknown_key_error If the provided key is unknown.
116 throw unknown_key_error(key);
118 throw unknown_key_error(key);
129 /// \throw invalid_key_error If the provided key has an invalid format.
130 /// \throw invalid_key_value If the value mismatches the node type.
[all …]
H A Dnodes.cpp81 throw; in copy_into()
98 /// \throw bad_combination_error If the two nodes cannot be combined.
139 /// \throw bad_combination_error If the two nodes cannot be combined.
154 throw config::bad_combination_error( in combine_into()
173 /// \throw unknown_key_error If the provided key is unknown.
183 throw unknown_key_error(key); in lookup_ro()
194 throw unknown_key_error( in lookup_ro()
216 /// \throw invalid_key_value If the resulting node of the search would be an
218 /// \throw unknown_key_error If the provided key is unknown.
235 throw unknown_key_error(key); in lookup_rw()
[all …]
H A Dlua_module.cpp52 /// \throw syntax_error If the tree cannot be located.
62 throw config::syntax_error("Cannot find tree singleton; global state " in get_global_tree()
81 /// \throw invalid_key_error If the name of the key is invalid.
88 throw config::invalid_key_error( in get_tree_key()
148 /// \throw invalid_key_error If the provided key is invalid.
149 /// \throw unknown_key_error If the key cannot be located.
150 /// \throw value_error If the value has an unsupported type or cannot be
156 throw config::value_error("Indexed object is not a table"); in redirect_newindex()
158 throw config::value_error("Invalid field in configuration object " in redirect_newindex()
166 throw config::invalid_key_value(detail::parse_key(dotted_key), in redirect_newindex()
[all …]
H A Dexceptions.hpp48 ~error(void) throw();
57 ~bad_combination_error(void) throw();
65 ~invalid_key_error(void) throw();
73 ~invalid_key_value(void) throw();
81 ~syntax_error(void) throw();
90 ~unknown_key_error(void) throw();
98 ~value_error(void) throw();
/freebsd/contrib/kyua/utils/sqlite/
H A Dstatement.cpp81 /// \throw std::bad_alloc If there was no memory for the binding.
82 /// \throw api_error If the binding fails for any other reason.
93 throw std::bad_alloc(); in handle_bind_error()
95 throw sqlite::api_error::from_database(db, api_function); in handle_bind_error()
187 /// \throw api_error If the processing of the step raises an error.
200 throw api_error::from_database(_pimpl->db, "sqlite3_step"); in step()
226 throw api_error::from_database(_pimpl->db, "sqlite3_column_name"); in column_name()
249 /// \throw value_error If the name cannot be found.
265 throw invalid_column_error(_pimpl->db.db_filename(), name); in column_id()
368 /// \throw error If the type of the cell to retrieve is invalid.
[all …]
H A Ddatabase.cpp102 /// \throw std::bad_alloc If there is not enough memory to open the
104 /// \throw api_error If there is any problem opening the database.
112 throw std::bad_alloc(); in safe_open()
116 throw sqlite::api_error::from_database(error_db, in safe_open()
171 /// \throw std::bad_alloc If there is not enough memory to open the database.
172 /// \throw api_error If there is any problem opening the database.
190 /// \throw std::bad_alloc If there is not enough memory to open the database.
191 /// \throw api_error If there is any problem opening the database.
222 /// \throw std::bad_alloc If there is not enough memory to open the database.
223 /// \throw api_error If there is any problem opening the database.
[all …]
/freebsd/contrib/kyua/engine/
H A Dkyuafile.cpp150 /// \throw std::runtime_error If program_override is empty and the Kyuafile
159 throw std::runtime_error("No test suite defined in the " in get_test_suite()
291 /// \throw std::runtime_error If the format or the version are invalid, or
297 throw std::runtime_error("Can only call syntax() once"); in callback_syntax()
300 throw std::runtime_error(F("Unsupported file version %s") % in callback_syntax()
322 /// \throw std::runtime_error If the test program definition is invalid or
333 throw std::runtime_error(F("Got unexpected absolute path for test " in callback_test_program()
336 throw std::runtime_error(F("Test program '%s' cannot contain path " in callback_test_program()
343 throw std::runtime_error(F("Non-existent test program '%s'") % in callback_test_program()
360 /// \throw std::runtime_error If test_suite() has already been called.
[all …]
H A Datf_list.cpp54 /// \throw format_error If the value of line is invalid.
60 throw engine::format_error("Invalid property line; expecting line of " in split_prop_line()
75 /// throw format_error If the input stream has an invalid format.
86 throw engine::format_error("Duplicate value for property " + in parse_properties()
105 /// \throw engine::format_error If the syntax of any of the properties is
151 throw engine::format_error(F("Unknown test case metadata " in parse_atf_metadata()
156 throw engine::format_error(e.what()); in parse_atf_metadata()
169 /// \throw format_error If there is any problem in the input data.
178 throw format_error(F("Invalid header for test case list; expecting " in parse_atf_list()
184 throw format_error(F("Invalid header for test case list; expecting " in parse_atf_list()
[all …]
H A Dtap_parser.cpp84 /// \throw engine::format_error If the input is invalid.
85 /// \throw text::error If the input is invalid.
99 throw engine::format_error( in try_parse_plan()
108 throw engine::format_error(F("Skipped plan must be %s..%s") % in try_parse_plan()
117 throw engine::format_error(F("Found reversed plan %s..%s") % in try_parse_plan()
141 /// \throw engine::format_error If the input is invalid.
142 /// \throw text::error If the input is invalid.
189 /// \throw engine::format_error If there are any syntax errors in the input.
190 /// \throw text::error If there are any syntax errors in the input.
210 throw engine::format_error( in parse()
[all …]
/freebsd/contrib/kyua/model/
H A Dmetadata.cpp118 /// \throw value_error If the value is invalid.
126 throw config::value_error(F("Invalid time delta %s") % raw_value); in set_string()
178 /// \throw config::value_error If the value is not valid.
183 throw config::value_error("Invalid required user value"); in validate()
211 /// \throw config::value_error If the value is invalid.
218 throw config::value_error(e.what()); in parse_one()
226 /// \throw config::value_error If the value is not valid.
234 throw config::value_error(F("Relative path '%s' not allowed") % in validate()
320 /// \throw model::error If the key is not known or if the value is not valid.
328 throw model::error(F("Unknown metadata property %s") % key); in lookup_rw()
[all …]
/freebsd/contrib/kyua/store/
H A Ddbtypes.cpp143 /// \throw integrity_error If the value in the specified column is invalid.
149 throw store::integrity_error(F("Boolean value in column %s is not a " in column_bool()
157 throw store::integrity_error(F("Unknown boolean value '%s'") % value); in column_bool()
168 /// \throw integrity_error If the value in the specified column is invalid.
174 throw store::integrity_error(F("Time delta in column %s is not an " in column_delta()
187 /// \throw integrity_error If the value in the specified column is invalid.
198 throw integrity_error(F("Invalid string type in column %s") % column); in column_optional_string()
210 /// \throw integrity_error If the value in the specified column is invalid.
216 throw store::integrity_error(F("Result type in column %s is not a " in column_test_result_type()
230 throw store::integrity_error(F("Unknown test result type %s") % type); in column_test_result_type()
[all …]
H A Dwrite_transaction.cpp76 /// \throw sqlite::error If there is a problem storing the variables.
152 /// \throw sqlite::error If there are problems writing to the database.
158 throw store::error(F("Cannot open file %s") % path); in put_file()
228 /// \throw error If there is any problem when talking to the database.
235 throw error(e.what()); in commit()
242 /// \throw error If there is any problem when talking to the database.
249 throw error(e.what()); in rollback()
261 /// \throw error If there is any problem when talking to the database.
273 throw error(e.what()); in put_context()
287 /// \throw error If there is any problem when talking to the database.
[all …]
H A Dread_transaction.cpp74 /// \throw sqlite::error If there is a problem loading the variables.
124 /// \throw integrity_error If there is any problem in the loaded data or if the
133 throw store::integrity_error(F("Cannot find referenced file %s") % in get_file()
146 throw store::integrity_error(e.what()); in get_file()
159 /// \throw integrity_error If there is any problem in the loaded data.
191 /// \throw integrity_error If the data in the database is invalid.
202 throw store::integrity_error("Result of type 'passed' has a " in parse_result()
210 throw store::integrity_error(e.what()); in parse_result()
225 /// \throw integrity_error If the data read from the database cannot be properly
396 /// \throw integrity_error If there is any problem in the loaded data or if the
[all …]
/freebsd/stand/forth/
H A Dsupport.4th172 len allocate if ENOMEM throw then
352 : free-memory free if EFREE throw then ;
445 resize if ENOMEM throw then
447 r@ allocate if ENOMEM throw then
475 read_buffer_size allocate if ENOMEM throw then
479 dup -1 = if EREAD throw then
592 len allocate if ENOMEM throw then
610 end_of_line? if ESYNTAX throw then
616 end_of_line? if ESYNTAX throw then
619 end_of_line? if ESYNTAX throw then
[all …]
/freebsd/contrib/bearssl/T0/
H A DT0Comp.cs313 throw new Exception( in T0Comp()
317 throw new Exception( in T0Comp()
333 throw new Exception( in T0Comp()
337 throw new Exception( in T0Comp()
341 throw new Exception( in T0Comp()
377 throw new Exception(string.Format( in T0Comp()
399 throw new Exception( in T0Comp()
405 throw new Exception( in T0Comp()
410 throw new Exception("min/max in wrong order"); in T0Comp()
427 throw new Exception("No coroutine in compile mode"); in T0Comp()
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-throw-on-failure-test.py32 """Tests Google Test's throw-on-failure mode with exceptions disabled.
34 This script invokes googletest-throw-on-failure-test_ (a program written with
44 # The command line flag for enabling/disabling the throw-on-failure mode.
47 # Path to the googletest-throw-on-failure-test_ program, compiled with
50 'googletest-throw-on-failure-test_'
85 """Tests the throw-on-failure mode."""
88 """Runs googletest-throw-on-failure-test_ and verifies its behavior.
90 Runs googletest-throw-on-failure-test_ and verifies that it does
/freebsd/contrib/lutok/
H A Dstate.cpp140 lua_State* raw_state) throw() in call_cxx_function_from_c()
246 throw lutok::error("lua open failed"); in state()
297 /// \throw api_error If lua_getglobal fails.
307 throw lutok::api_error::from_stack(*this, "lua_getglobal"); in get_global()
363 /// \throw api_error If lua_gettable fails.
375 throw lutok::api_error::from_stack(*this, "lua_gettable"); in get_table()
488 /// \throw api_error If luaL_loadfile returns an error.
489 /// \throw file_not_found_error If the file cannot be accessed.
496 throw lutok::file_not_found_error(file); in load_file()
498 throw lutok::api_error::from_stack(*this, "luaL_loadfile"); in load_file()
[all …]
/freebsd/contrib/atf/atf-sh/
H A Datf-check.cpp127 throw atf::system_error("atf_check::temp_file::temp_file(" + in temp_file()
154 throw atf::system_error("atf_check", "write(2) failed", errno); in write()
179 throw std::runtime_error("clock_gettime: " + in get_monotonic_useconds()
203 throw std::runtime_error("Unused reason"); in parse_exit_code()
206 throw atf::application::usage_error("Invalid exit code for -s option; " in parse_exit_code()
252 throw atf::application::usage_error("Invalid signal name or number " in parse_signal()
276 throw atf::application::usage_error("Cannot negate eq checker"); in parse_status_check_arg()
287 throw atf::application::usage_error("Cannot negate ignore checker"); in parse_status_check_arg()
294 throw atf::application::usage_error("Cannot negate ne checker"); in parse_status_check_arg()
304 throw atf::application::usage_error("Invalid status checker"); in parse_status_check_arg()
[all …]
/freebsd/contrib/libfido2/windows/
H A Dbuild.ps125 throw "A command exited with status $LastExitCode" in ExitOnError()
44 throw "Unable to find Git at $Git"
54 throw "Unable to find CMake at $CMake"
64 throw "Unable to find 7z at $SevenZ"
74 throw "Unable to find GPG at $GPG"
124 throw "GPG signature verification failed"
137 throw "Failed to fetch and verify dependencies"
155 throw "Failed to build LibreSSL"
174 throw "Failed to build libcbor"
203 throw "Faile
[all...]
/freebsd/contrib/kyua/utils/text/
H A Dtemplates.cpp174 /// \throw text::syntax_error If the statement is not correctly defined.
183 throw text::syntax_error("Empty statement"); in parse()
187 throw text::syntax_error(F("Unknown statement '%s'") % words[0]); in parse()
191 throw text::syntax_error(F("Invalid number of arguments for " in parse()
303 /// \throw text::syntax_error If the input is not a valid statement.
318 /// \throw text::syntax_error If the input is not valid.
391 /// \throw text::syntax_error If the input is not valid.
452 /// \throw text::syntax_error If the expressions in the line are malformed.
508 /// \throw text::syntax_error If the input is not valid. Note that the
623 /// \throw text::syntax_error If the variable does not exist.
[all …]

12345678910>>...34