Home
last modified time | relevance | path

Searched refs:parse_error (Results 1 – 25 of 44) sorted by relevance

12

/netbsd-src/external/mpl/dhcp/dist/contrib/ldap/
H A Ddhcpd-conf-to-ldap152 parse_error
347 parse_error ();
371 parse_error () if !defined ($ip);
374 parse_error () if !defined ($tmp);
375 parse_error () if !($tmp eq 'netmask');
378 parse_error () if !defined ($tmp);
382 parse_error () if !defined ($tmp);
383 parse_error () if !($tmp eq '{');
401 parse_error () if !defined ($descr);
404 parse_error () if !defined ($tmp);
[all …]
/netbsd-src/external/mpl/dhcp/dist/keama/
H A Dconfparse.c142 parse_error(cfile, "address family is not set"); in conf_file_parse()
293 parse_error(cfile, "null global class at %i", in post_process_classes()
297 parse_error(cfile, "global class at %u " in post_process_classes()
307 parse_error(cfile, "subclass %s has " in post_process_classes()
321 parse_error(cfile, "subclass %s has no selector", in post_process_classes()
335 parse_error(cfile, "superclass %s has bad " in post_process_classes()
352 parse_error(cfile, "superclass %s has no submatch", in post_process_classes()
495 parse_error(parent, "Can't open %s: %s", in read_conf_file()
500 parse_error(parent, "Can't create new parse structure"); in read_conf_file()
504 parse_error(parent, "Can't create new element stack"); in read_conf_file()
[all …]
H A Dparse.c143 parse_error(cfile, "semicolon expected."); in parse_semi()
158 parse_error(cfile, "expecting a string"); in parse_string()
160 parse_error(cfile, "no memory for string %s.", val); in parse_string()
259 parse_error(cfile, "expected IPv4 address. got " in parse_ip_addr_or_hostname()
267 parse_error(cfile, "%s: host unknown.", name->content); in parse_ip_addr_or_hostname()
284 parse_error(cfile, "%s (%d): expecting IP address or hostname", in parse_ip_addr_or_hostname()
360 parse_error(cfile, "Invalid IPv6 address."); in parse_ip6_addr()
375 parse_error(cfile, "Invalid IPv6 address."); in parse_ip6_addr()
427 parse_error(cfile, "empty hardware address"); in parse_hardware_param()
430 parse_error(cfile, "can't get hardware address"); in parse_hardware_param()
[all …]
H A Djson.c67 parse_error(cfile, "unknown name %s", val); in json_parse()
77 parse_error(cfile, "unexpected end of file"); in json_parse()
79 parse_error(cfile, "unexpected %s", val); in json_parse()
103 parse_error(cfile, "unexpected end of file"); in json_list_parse()
107 parse_error(cfile, "unexpected ','"); in json_list_parse()
113 parse_error(cfile, "expected ','"); in json_list_parse()
144 parse_error(cfile, "unexpected end of file"); in json_map_parse()
148 parse_error(cfile, "unexpected ','"); in json_map_parse()
151 parse_error(cfile, "unexpected %s, " in json_map_parse()
156 parse_error(cfile, "unexpected %s, " in json_map_parse()
[all …]
H A Dconflex.c152 parse_error(cfile, "can't allocate state to be saved"); in save_parse_state()
170 parse_error(cfile, "can't find saved state"); in restore_parse_state()
485 parse_error(cfile, in read_whitespace()
522 parse_error(cfile, "eof in string constant"); in read_string()
564 parse_error(cfile, in read_string()
577 parse_error(cfile, in read_string()
601 parse_error(cfile, in read_string()
656 parse_error(cfile, in read_number()
664 parse_error(cfile, in read_number()
701 parse_error(cfile, "token larger than internal buffer"); in read_num_or_name()
H A Dkeama.c194 parse_error(pc, "can't resize element stack"); in stackPush()
202 parse_error(struct parse *cfile, const char *fmt, ...) in parse_error() function
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgengtype-parse.cc137 parse_error (const char *msg, ...) in parse_error() function
162 parse_error ("expected %s, have %s", in require()
177 parse_error ("expected %s, have %s", in require_without_advance()
193 parse_error ("expected %s or %s, have %s", in require2()
210 parse_error ("expected %s, %s, %s or %s, have %s", in require4()
305 parse_error ("only one level of indirection is supported" in require_template_declaration()
357 parse_error ("unbalanced delimiters - expected '%c', have '%c'", in consume_balanced()
363 parse_error ("unexpected end of file within %c%c-delimited construct", in consume_balanced()
398 parse_error ("unmatched '%c' while scanning for ';'", token ()); in consume_until_eos()
402 parse_error ("unexpected end of file while scanning for ';'"); in consume_until_eos()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dgengtype-parse.c137 parse_error (const char *msg, ...) in parse_error() function
162 parse_error ("expected %s, have %s", in require()
177 parse_error ("expected %s, have %s", in require_without_advance()
193 parse_error ("expected %s or %s, have %s", in require2()
210 parse_error ("expected %s, %s, %s or %s, have %s", in require4()
305 parse_error ("only one level of indirection is supported" in require_template_declaration()
357 parse_error ("unbalanced delimiters - expected '%c', have '%c'", in consume_balanced()
363 parse_error ("unexpected end of file within %c%c-delimited construct", in consume_balanced()
398 parse_error ("unmatched '%c' while scanning for ';'", token ()); in consume_until_eos()
402 parse_error ("unexpected end of file while scanning for ';'"); in consume_until_eos()
[all …]
/netbsd-src/external/bsd/atf/dist/tools/
H A Dparser.hpp48 class parse_error : public std::runtime_error, class
53 parse_error(size_t, std::string);
54 ~parse_error(void) throw();
66 public std::vector< parse_error > {
67 std::vector< parse_error > m_errors;
243 throw parse_error(t.lineno(), in next()
256 throw parse_error(t.lineno(), in next()
330 void add_error(const parse_error&);
405 parser< TKZ >::add_error(const parse_error& pe) in add_error()
463 throw parse_error(t.lineno(), in expect()
[all …]
H A Dreader.cpp128 throw tools::parser::parse_error(t.lineno(), in read_timeval()
210 using tools::parser::parse_error; in read_info()
229 using tools::parser::parse_error; in read_tp()
262 } catch (const parse_error& pe) { in read_tp()
280 throw parse_error(t.lineno(), "Test program name used in " in read_tp()
290 throw parse_error(t.lineno(), in read_tp()
301 using tools::parser::parse_error; in read_tc()
357 throw parse_error(t.lineno(), in read_tc()
383 throw parse_error(t.lineno(), "Empty reason for " + state + in read_tc()
394 using tools::parser::parse_error; in read()
[all …]
H A Dparser.cpp43 impl::parse_error::parse_error(size_t line, std::string msg) : in parse_error() function in impl::parse_error
49 impl::parse_error::~parse_error(void) in ~parse_error()
55 impl::parse_error::what(void) in what()
68 impl::parse_error::operator std::string(void) in operator std::string()
335 } catch (const impl::parse_error& pe) { in read_headers()
H A Dtest-program.cpp436 using tools::parser::parse_error; in validate_and_insert()
439 throw parse_error(lineno, "The value for '" + name +"' cannot be " in validate_and_insert()
451 throw parse_error(lineno, "The has.cleanup property requires a" in validate_and_insert()
456 throw parse_error(lineno, "The identifier must match " + in validate_and_insert()
466 throw parse_error(lineno, "The require.memory property requires an " in validate_and_insert()
473 throw parse_error(lineno, "The timeout property requires an integer" in validate_and_insert()
480 throw parse_error(lineno, "Unknown property '" + name + "'"); in validate_and_insert()
489 using tools::parser::parse_error; in read()
503 throw parse_error(t.lineno(), "First property of a test case " in read()
520 throw parse_error(t.lineno(), "Test case definition did " in read()
[all …]
H A Dtest_helpers.hpp60 for (std::vector< tools::parser::parse_error >::const_iterator iter = in do_read()
63 } catch (const tools::parser::parse_error& pe) { in do_read()
H A Dconfig_file.cpp153 using tools::parser::parse_error; in read()
191 } catch (const parse_error& pe) { in read()
H A Dparser_test.cpp48 using tools::parser::parse_error; in ATF_TEST_CASE_BODY()
50 const parse_error e(123, "This is the message"); in ATF_TEST_CASE_BODY()
65 using tools::parser::parse_error; in ATF_TEST_CASE_BODY()
69 es.push_back(parse_error(2, "Second error")); in ATF_TEST_CASE_BODY()
70 es.push_back(parse_error(1, "First error")); in ATF_TEST_CASE_BODY()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dcidr_match.c225 const char *parse_error; in cidr_match_parse() local
231 parse_error = "bad mask value"; in cidr_match_parse()
233 parse_error = "bad mask length"; in cidr_match_parse()
235 parse_error = "bad network value"; in cidr_match_parse()
237 parse_error = 0; in cidr_match_parse()
239 if (parse_error != 0) { in cidr_match_parse()
241 "%s in \"%s/%s\"", parse_error, pattern, mask); in cidr_match_parse()
/netbsd-src/external/bsd/less/dist/
H A Dlesskey_parse.c132 static void parse_error(char *fmt, char *arg1) in parse_error() function
258 parse_error("invalid escape sequence \"\\k%s\"", char_string(buf, *p, 0)); in tstr()
405 parse_error("invalid operator '%s' in #version line", char_string(buf, op, 0)); in version_line()
412 parse_error("non-numeric version number in #version line", ""); in version_line()
465 parse_error("unknown action: \"%s\"", actname); in findaction()
504 parse_error("missing action", ""); in parse_cmdline()
572 parse_error("missing = in variable definition", ""); in parse_varline()
/netbsd-src/usr.sbin/mailwrapper/
H A Dmailwrapper.c117 goto parse_error; in main()
122 goto parse_error; in main()
144 parse_error: in main()
/netbsd-src/external/gpl3/binutils/dist/gprof/
H A Dcorefile.c61 parse_error (const char *filename) in parse_error() function
104 parse_error (filename); in read_function_mappings()
111 parse_error (filename); in read_function_mappings()
118 parse_error (filename); in read_function_mappings()
138 parse_error (filename); in read_function_mappings()
145 parse_error (filename); in read_function_mappings()
156 parse_error (filename); in read_function_mappings()
/netbsd-src/external/gpl3/binutils.old/dist/gprof/
H A Dcorefile.c61 parse_error (const char *filename) in parse_error() function
104 parse_error (filename); in read_function_mappings()
111 parse_error (filename); in read_function_mappings()
118 parse_error (filename); in read_function_mappings()
138 parse_error (filename); in read_function_mappings()
145 parse_error (filename); in read_function_mappings()
156 parse_error (filename); in read_function_mappings()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-objc.h82 parse_error (false) {} in property_attribute_info()
94 unsigned parse_error : 1; /* The C/C++ parser saw an error in this attr. */ member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-objc.h74 parse_error (false) {} in property_attribute_info()
86 unsigned parse_error : 1; /* The C/C++ parser saw an error in this attr. */ member
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dparseinfo.c334 parse_error (const char *infopath, unsigned int ln) in parse_error() function
534 if (!parse_error (infopath, ln)) in parse_config()
574 if (!parse_error (infopath, ln)) in parse_config()
723 if (!parse_error (infopath, ln)) in parse_config()
H A Dparseinfo.h65 bool parse_error (const char *, unsigned int);
/netbsd-src/dist/pf/usr.sbin/authpf/
H A Dauthpf.c381 goto parse_error; in read_config()
390 goto parse_error; in read_config()
395 goto parse_error; in read_config()
401 parse_error: in read_config()

12