Home
last modified time | relevance | path

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

/freebsd-13.1/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.hpp78 class syntax_error : public error { class
80 explicit syntax_error(const std::string&);
81 ~syntax_error(void) throw();
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 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-13.1/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-13.1/contrib/ncurses/ncurses/tinfo/
H A Dcaptoinfo.c651 for (; !syntax_error && in _nc_infotocap()
883 syntax_error = TRUE; in _nc_infotocap()
889 syntax_error = TRUE; in _nc_infotocap()
893 syntax_error = TRUE; in _nc_infotocap()
900 if (syntax_error) in _nc_infotocap()
912 syntax_error = TRUE; in _nc_infotocap()
938 syntax_error = TRUE; in _nc_infotocap()
954 syntax_error = TRUE; in _nc_infotocap()
964 syntax_error = TRUE; in _nc_infotocap()
979 if (!syntax_error && in _nc_infotocap()
[all …]
/freebsd-13.1/contrib/libcbor/src/cbor/internal/
H A Dbuilder_callbacks.c84 ctx->syntax_error = true; in _cbor_builder_append()
202 ctx->syntax_error = true; in cbor_builder_byte_string_callback()
225 ctx->syntax_error = true; in cbor_builder_string_callback()
252 ctx->syntax_error = true; in cbor_builder_string_callback()
337 ctx->syntax_error = true; in cbor_builder_indef_break_callback()
H A Dbuilder_callbacks.h24 bool syntax_error; member
/freebsd-13.1/contrib/byacc/
H A Dreader.c551 syntax_error(lineno, line, t_cptr); in keyword()
565 syntax_error(lineno, line, cptr); in copy_ident()
728 syntax_error(lineno, line, cptr); in copy_code()
1239 syntax_error(lineno, line, cptr); in copy_param()
1484 syntax_error(lineno, line, base); in get_number()
1783 syntax_error(lineno, line, cptr); in declare_start()
2410 syntax_error(lineno, line, cptr); in advance_to_start()
2434 syntax_error(lineno, line, cptr); in advance_to_start()
3036 syntax_error(lineno, line, cptr); in get_code()
3341 syntax_error(lineno, line, cptr); in mark_symbol()
[all …]
H A Derror.c71 syntax_error(int st_lineno, char *st_line, char *st_cptr) in syntax_error() function
H A Ddefs.h500 extern void syntax_error(int st_lineno, char *st_line, char *st_cptr) GCC_NORETURN;
H A DCHANGES387 b) note that calling syntax_error() from get_number() does not return
/freebsd-13.1/usr.sbin/cron/crontab/
H A Dcrontab.c328 int syntax_error = 0; local
460 if (strcmp(orig_md5, new_md5) == 0 && !syntax_error) {
476 syntax_error = 1;
/freebsd-13.1/contrib/libcbor/src/
H A Dcbor.c56 .stack = &stack, .creation_failed = false, .syntax_error = false}; in cbor_load()
97 } else if (context.syntax_error) { in cbor_load()
/freebsd-13.1/contrib/kyua/engine/
H A Dconfig.cpp103 throw config::syntax_error(F("Unsupported config version %s") % in setup()
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp3671 bool &syntax_error) { in LookupHere() argument
3713 CommandReturnObject &result, bool &syntax_error) { in LookupInModule() argument
3784 syntax_error = true; in LookupInModule()
3795 bool syntax_error = false; in DoExecute() local
3809 if (LookupHere(m_interpreter, result, syntax_error)) { in DoExecute()
3830 syntax_error)) { in DoExecute()
3839 !syntax_error; in DoExecute()
3848 if (LookupInModule(m_interpreter, module, result, syntax_error)) { in DoExecute()