/freebsd/contrib/kyua/utils/text/ |
H A D | exceptions.cpp | 82 text::value_error::value_error(const std::string& message) : in value_error() function in text::value_error 89 text::value_error::~value_error(void) throw() in ~value_error()
|
H A D | exceptions_test.cpp | 62 ATF_TEST_CASE_WITHOUT_HEAD(value_error); 63 ATF_TEST_CASE_BODY(value_error) in ATF_TEST_CASE_BODY() argument 65 const text::value_error e("Some text"); in ATF_TEST_CASE_BODY() 75 ATF_ADD_TEST_CASE(tcs, value_error); in ATF_INIT_TEST_CASES()
|
H A D | exceptions.hpp | 66 class value_error : public error { class 68 explicit value_error(const std::string&); 69 ~value_error(void) throw();
|
H A D | operations_test.cpp | 373 ATF_REQUIRE_THROW(text::value_error, text::to_type< int >("")); in ATF_TEST_CASE_BODY() 380 ATF_REQUIRE_THROW(text::value_error, text::to_type< bool >("")); in ATF_TEST_CASE_BODY() 381 ATF_REQUIRE_THROW(text::value_error, text::to_type< bool >("true ")); in ATF_TEST_CASE_BODY() 382 ATF_REQUIRE_THROW(text::value_error, text::to_type< bool >("foo")); in ATF_TEST_CASE_BODY() 389 ATF_REQUIRE_THROW(text::value_error, text::to_type< int >(" 3")); in ATF_TEST_CASE_BODY() 390 ATF_REQUIRE_THROW(text::value_error, text::to_type< int >("3 ")); in ATF_TEST_CASE_BODY() 391 ATF_REQUIRE_THROW(text::value_error, text::to_type< int >("3a")); in ATF_TEST_CASE_BODY() 392 ATF_REQUIRE_THROW(text::value_error, text::to_type< int >("a3")); in ATF_TEST_CASE_BODY()
|
H A D | operations.ipp | 70 /// \throw std::value_error If the input string does not represent a valid 78 throw text::value_error("Empty string"); 80 throw text::value_error("Invalid value"); 86 throw text::value_error("Invalid value");
|
H A D | operations.cpp | 247 throw value_error(F("Invalid boolean value '%s'") % str); in to_type()
|
/freebsd/contrib/kyua/utils/config/ |
H A D | nodes_test.cpp | 56 throw config::value_error("Custom validate method"); in validate() 74 throw config::value_error("Custom validate method"); in validate() 152 ATF_REQUIRE_THROW(config::value_error, node.set_lua(state, -1)); in ATF_TEST_CASE_BODY() 173 ATF_REQUIRE_THROW(config::value_error, node.set_string("12345")); in ATF_TEST_CASE_BODY() 262 ATF_REQUIRE_THROW(config::value_error, node.set_lua(state, -1)); in ATF_TEST_CASE_BODY() 283 ATF_REQUIRE_THROW(config::value_error, node.set_string(" 23")); in ATF_TEST_CASE_BODY() 373 ATF_REQUIRE_THROW(config::value_error, node.set_lua(state, -1)); in ATF_TEST_CASE_BODY() 377 ATF_REQUIRE_THROW(config::value_error, node.set_lua(state, -1)); in ATF_TEST_CASE_BODY() 398 ATF_REQUIRE_THROW(config::value_error, node.set_string(" 23")); in ATF_TEST_CASE_BODY() 400 ATF_REQUIRE_THROW(config::value_error, node.set_string("0")); in ATF_TEST_CASE_BODY() [all …]
|
H A D | exceptions.cpp | 140 config::value_error::value_error(const std::string& message) : in value_error() function in config::value_error 147 config::value_error::~value_error(void) throw() in ~value_error()
|
H A D | parser.cpp | 110 throw config::value_error("Last argument to syntax must be a number"); in lua_syntax() 115 throw config::value_error("Version 1 files need two arguments to " in lua_syntax() 118 throw config::value_error("First argument to syntax must be " in lua_syntax() 122 throw config::value_error("syntax() only takes one argument"); in lua_syntax()
|
H A D | exceptions_test.cpp | 115 ATF_TEST_CASE_WITHOUT_HEAD(value_error); 116 ATF_TEST_CASE_BODY(value_error) in ATF_TEST_CASE_BODY() argument 118 const config::value_error e("Some text"); in ATF_TEST_CASE_BODY() 132 ATF_ADD_TEST_CASE(tcs, value_error); in ATF_INIT_TEST_CASES()
|
H A D | exceptions.hpp | 95 class value_error : public error { class 97 explicit value_error(const std::string&); 98 ~value_error(void) throw();
|
H A D | lua_module.cpp | 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() 165 } catch (const config::value_error& e) { in redirect_newindex() 197 throw config::value_error("Indexed object is not a table"); in redirect_index() 199 throw config::value_error("Invalid field in configuration object " in redirect_index()
|
H A D | nodes.ipp | 207 /// \throw value_error If the value is invalid, according to validate(). 222 /// \throw value_error If the value is not valid. 235 /// \throw value_error If the value is invalid. 243 } catch (const text::value_error& e) { 244 throw config::value_error(F("Failed to convert string value '%s' to " 323 /// \throw value_error If the value is invalid, according to validate(). 337 /// \throw value_error If the value is invalid. 380 /// \throw value_error If the value in state(value_index) cannot be 402 /// \throw value_error If the value is not valid.
|
H A D | tree.cpp | 201 } catch (const value_error& e) { in set_lua() 256 } catch (const value_error& e) { in set_string() 297 throw value_error(F("Cannot export properties from a leaf node; " in all_properties()
|
H A D | nodes.cpp | 473 throw value_error("Not a boolean"); in set_lua() 512 throw value_error("Not an integer"); in set_lua() 525 throw value_error("Must be a positive integer"); in validate() 564 throw value_error("Not a string"); in set_lua()
|
H A D | lua_module_test.cpp | 434 ATF_TEST_CASE_WITHOUT_HEAD(value_error); 435 ATF_TEST_CASE_BODY(value_error) in ATF_TEST_CASE_BODY() argument 473 ATF_ADD_TEST_CASE(tcs, value_error); in ATF_INIT_TEST_CASES()
|
H A D | tree.ipp | 146 } catch (const value_error& e) {
|
H A D | tree_test.cpp | 892 ATF_REQUIRE_THROW_RE(config::value_error, "Cannot export.*leaf", in ATF_TEST_CASE_BODY() 938 ATF_REQUIRE_THROW_RE(config::value_error, "Cannot export.*leaf", in ATF_TEST_CASE_BODY()
|
/freebsd/contrib/kyua/model/ |
H A D | metadata.cpp | 126 throw config::value_error(F("Invalid time delta %s") % raw_value); in set_string() 183 throw config::value_error("Invalid required user value"); in validate() 218 throw config::value_error(e.what()); in parse_one() 234 throw config::value_error(F("Relative path '%s' not allowed") % in validate() 327 } catch (const config::value_error& e) { in lookup_rw() 351 } catch (const config::value_error& e) { in set() 1105 } catch (const config::value_error& e) { in set_string()
|
/freebsd/contrib/kyua/engine/ |
H A D | config.cpp | 177 throw config::value_error("Invalid user identifier"); in set_lua() 196 } catch (const text::value_error& e2) { in set_string()
|
H A D | atf_result.cpp | 166 } catch (const text::value_error& e) { in parse_int()
|
/freebsd/contrib/kyua/utils/ |
H A D | units.cpp | 101 } catch (const text::value_error& e) { in parse()
|
/freebsd/contrib/kyua/utils/cmdline/ |
H A D | ui.cpp | 142 } catch (const utils::text::value_error& e) { in screen_width()
|
/freebsd/contrib/kyua/utils/format/ |
H A D | formatter.cpp | 102 } catch (const text::value_error& e) { in to_int()
|
/freebsd/contrib/llvm-project/lldb/source/Expression/ |
H A D | FunctionCaller.cpp | 188 Status value_error; in WriteFunctionArguments() local
|