Home
last modified time | relevance | path

Searched refs:syntax_error (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/libcbor/test/
H A Dcallbacks_test.c40 .syntax_error = false, in test_builder_byte_string_callback_append()
48 assert_false(context.syntax_error); in test_builder_byte_string_callback_append()
80 .syntax_error = false, in test_builder_byte_string_callback_append_alloc_failure()
89 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_alloc_failure()
112 .syntax_error = false, in test_builder_byte_string_callback_append_item_alloc_failure()
123 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_item_alloc_failure()
146 .syntax_error = false, in test_builder_byte_string_callback_append_parent_alloc_failure()
157 assert_false(context.syntax_error); in test_builder_byte_string_callback_append_parent_alloc_failure()
179 .syntax_error = false, in test_builder_string_callback_append()
187 assert_false(context.syntax_error); in test_builder_string_callback_append()
[all...]
/freebsd/contrib/kyua/utils/config/
H A Dparser_test.cpp108 ATF_REQUIRE_THROW_RE(config::syntax_error, "foo", in ATF_TEST_CASE_BODY()
160 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
169 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
181 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
196 ATF_REQUIRE_THROW_RE(config::syntax_error, "must be 'config'", in ATF_TEST_CASE_BODY()
200 ATF_REQUIRE_THROW_RE(config::syntax_error, "only takes one argument", in ATF_TEST_CASE_BODY()
212 ATF_REQUIRE_THROW_RE(config::syntax_error, "No syntax defined", in ATF_TEST_CASE_BODY()
231 ATF_REQUIRE_THROW_RE(config::syntax_error, in ATF_TEST_CASE_BODY()
H A Dexceptions.cpp106 config::syntax_error::syntax_error(const std::string& message) : in syntax_error() function in config::syntax_error
113 config::syntax_error::~syntax_error(void) throw() in ~syntax_error()
H A Dexceptions_test.cpp82 ATF_TEST_CASE_WITHOUT_HEAD(syntax_error);
83 ATF_TEST_CASE_BODY(syntax_error) in ATF_TEST_CASE_BODY() argument
85 const config::syntax_error e("Some text"); in ATF_TEST_CASE_BODY()
129 ATF_ADD_TEST_CASE(tcs, syntax_error); in ATF_INIT_TEST_CASES()
H A Dexceptions.hpp78 class syntax_error : public error { class
80 explicit syntax_error(const std::string&);
81 ~syntax_error(void) throw();
H A Dparser.cpp89 throw syntax_error("syntax() can only be called once"); in syntax_callback()
176 throw syntax_error(e.what()); in parse()
180 throw syntax_error("No syntax defined (no call to syntax() found)"); in parse()
H A Dlua_module.cpp62 throw config::syntax_error("Cannot find tree singleton; global state " in get_global_tree()
/freebsd/contrib/kyua/utils/text/
H A Dexceptions.cpp67 text::syntax_error::syntax_error(const std::string& message) : in syntax_error() function in text::syntax_error
74 text::syntax_error::~syntax_error(void) throw() in ~syntax_error()
H A Dexceptions_test.cpp54 ATF_TEST_CASE_WITHOUT_HEAD(syntax_error);
55 ATF_TEST_CASE_BODY(syntax_error) in ATF_TEST_CASE_BODY() argument
57 const text::syntax_error e("Some text"); in ATF_TEST_CASE_BODY()
74 ATF_ADD_TEST_CASE(tcs, syntax_error); in ATF_INIT_TEST_CASES()
H A Dexceptions.hpp58 class syntax_error : public error { class
60 explicit syntax_error(const std::string&);
61 ~syntax_error(void) throw();
H A Dtemplates.cpp183 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()
629 throw text::syntax_error(F("Unknown variable '%s'") % name); in get_variable()
646 throw text::syntax_error(F("Unknown vector '%s'") % name); in get_vector()
671 } catch (const text::syntax_error& e) { in get_vector()
672 throw text::syntax_error(F("Index '%s' not an integer, value '%s'") % in get_vector()
676 throw text::syntax_error(F("Index '%s' out of range at position '%s'") % in get_vector()
707 throw text::syntax_error(F("Expected ')' in expression '%s')") % in evaluate()
710 throw text::syntax_error(F("Unexpected text found after ')' in " in evaluate()
H A Dtemplates_test.cpp82 ATF_REQUIRE_THROW_RE(text::syntax_error, exp_message, in do_test_fail()
116 ATF_REQUIRE_THROW(text::syntax_error, templates.get_variable("the-name")); in ATF_TEST_CASE_BODY()
202 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown variable 'foo '", in ATF_TEST_CASE_BODY()
224 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown vector 'foo '", in ATF_TEST_CASE_BODY()
245 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown variable 'foo1'", in ATF_TEST_CASE_BODY()
275 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown vector 'fooz'", in ATF_TEST_CASE_BODY()
287 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown variable 'indexz'", in ATF_TEST_CASE_BODY()
299 ATF_REQUIRE_THROW_RE(text::syntax_error, "Index 'index' out of range " in ATF_TEST_CASE_BODY()
337 ATF_REQUIRE_THROW_RE(text::syntax_error, "Unknown vector 'foo'", in ATF_TEST_CASE_BODY()
346 ATF_REQUIRE_THROW_RE(text::syntax_error, in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c630 bool syntax_error = FALSE; in _nc_infotocap() local
657 for (; !syntax_error && in _nc_infotocap()
894 syntax_error = TRUE; in _nc_infotocap()
900 syntax_error = TRUE; in _nc_infotocap()
904 syntax_error = TRUE; in _nc_infotocap()
911 if (syntax_error) in _nc_infotocap()
923 syntax_error = TRUE; in _nc_infotocap()
930 syntax_error = TRUE; /* termcap doesn't have octal, hex */ in _nc_infotocap()
949 syntax_error = TRUE; in _nc_infotocap()
965 syntax_error = TRUE; in _nc_infotocap()
[all …]
/freebsd/contrib/byacc/
H A Dreader.c636 syntax_error(lineno, line, t_cptr); in keyword()
650 syntax_error(lineno, line, cptr); in copy_ident()
821 syntax_error(lineno, line, cptr); in copy_code()
1415 syntax_error(lineno, line, cptr); in copy_param()
1658 syntax_error(lineno, line, base); in get_number()
1851 syntax_error(lineno, line, cptr); in declare_expect()
1878 syntax_error(lineno, line, cptr); in declare_argtypes()
2033 syntax_error(lineno, line, cptr); in declare_start()
2057 syntax_error(lineno, line, cptr); in read_declarations()
2661 syntax_error(lineno, line, s_cptr); in advance_to_start()
[all …]
H A Derror.c74 syntax_error(int st_lineno, const char *st_line, const char *st_cptr) in syntax_error() function
H A Ddefs.h498 extern GCC_NORETURN void syntax_error(int st_lineno, const char *st_line, const char *st_cptr);
H A DCHANGES2231 b) note that calling syntax_error() from get_number() does not return
/freebsd/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.h24 bool syntax_error; member
H A Dbuilder_callbacks.c111 ctx->syntax_error = true; in _cbor_builder_append()
369 ctx->syntax_error = true; in cbor_builder_indef_break_callback()
/freebsd/usr.sbin/cron/crontab/
H A Dcrontab.c313 int syntax_error = 0; local
446 if (strcmp(orig_md5, new_md5) == 0 && !syntax_error) {
462 syntax_error = 1;
/freebsd/contrib/libcbor/src/
H A Dcbor.c57 .stack = &stack, .creation_failed = false, .syntax_error = false}; in cbor_load()
98 } else if (context.syntax_error) { in cbor_load()
/freebsd/contrib/kyua/engine/
H A Dconfig.cpp114 throw config::syntax_error(F("Unsupported config version %s") % in setup()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp3944 bool &syntax_error) { in LookupHere() argument
3986 CommandReturnObject &result, bool &syntax_error) { in LookupInModule() argument
4063 syntax_error = true; in LookupInModule()
4074 bool syntax_error = false; in DoExecute() local
4088 if (LookupHere(m_interpreter, result, syntax_error)) { in DoExecute()
4109 syntax_error)) { in DoExecute()
4118 !syntax_error; in DoExecute()
4127 if (LookupInModule(m_interpreter, module, result, syntax_error)) { in DoExecute()