/freebsd/usr.bin/iscsictl/ |
H A D | parse.y | 49 extern int lineno; 143 xo_errx(1, "duplicated TargetName at line %d", lineno); 151 xo_errx(1, "duplicated TargetAddress at line %d", lineno); 159 xo_errx(1, "duplicated InitiatorName at line %d", lineno); 167 xo_errx(1, "duplicated InitiatorAddress at line %d", lineno); 175 xo_errx(1, "duplicated InitiatorAlias at line %d", lineno); 183 xo_errx(1, "duplicated chapIName at line %d", lineno); 191 xo_errx(1, "duplicated chapSecret at line %d", lineno); 199 xo_errx(1, "duplicated tgtChapName at line %d", lineno); 207 xo_errx(1, "duplicated tgtChapSecret at line %d", lineno); [all …]
|
/freebsd/contrib/libpcap/rpcapd/ |
H A D | fileconf.c | 77 unsigned int lineno; in fileconf_read() local 81 lineno = 0; in fileconf_read() 91 lineno++; in fileconf_read() 106 loadfile, lineno, MAX_LINE); in fileconf_read() 149 loadfile, lineno); in fileconf_read() 178 loadfile, lineno); in fileconf_read() 199 loadfile, lineno); in fileconf_read() 225 loadfile, lineno, PARAM_ACTIVECLIENT, in fileconf_read() 256 loadfile, lineno); in fileconf_read() 269 loadfile, lineno, PARAM_ACTIVECLIENT); in fileconf_read() [all …]
|
/freebsd/contrib/byacc/ |
H A D | error.c | 35 myname, lineno, input_file_name); in missing_brace() 43 myname, lineno, input_file_name); in unexpected_EOF() 131 declarations\n", myname, lineno, input_file_name); in over_unionized() 149 myname, lineno, input_file_name); in illegal_character() 159 %s\n", myname, lineno, input_file_name, s); in used_reserved() 168 declared to be a token\n", myname, lineno, input_file_name, s); in tokenized_start() 176 redeclared\n", myname, lineno, input_file_name, s); in retyped_warning() 184 redeclared\n", myname, lineno, input_file_name, s); in reprec_warning() 191 redeclared\n", myname, lineno, input_file_name, s); in revalued_warning() 198 token\n", myname, lineno, input_file_name, s); in terminal_start() [all …]
|
/freebsd/lib/libc/db/test/ |
H A D | dbtest.c | 67 u_long lineno; /* Current line in test script. */ variable 157 for (lineno = 1; 158 (p = fgets(buf, sizeof(buf), stdin)) != NULL; ++lineno) { 166 if (XXlineno == lineno) 171 err("line %lu: not expecting command", lineno); 177 err("line %lu: not expecting command", lineno); 187 err("line %lu: not expecting command", lineno); 193 err("line %lu: not expecting command", lineno); 199 err("line %lu: not expecting command", lineno); 210 err("line %lu: not expecting command", lineno); [all …]
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_prtn_config.c | 217 static int partition_create(unsigned lineno, struct part_conf *conf, in partition_create() argument 271 static int parse_group_flag(unsigned lineno, osm_log_t * p_log, in parse_group_flag() argument 283 " - skipped\n", lineno); in parse_group_flag() 290 " - skipped\n", lineno); in parse_group_flag() 298 " - skipped\n", lineno); in parse_group_flag() 307 " - using '0'\n", lineno); in parse_group_flag() 314 " - using '0'\n", lineno); in parse_group_flag() 325 " - skipped\n", lineno); in parse_group_flag() 339 " - skipped\n", lineno); in parse_group_flag() 347 static int partition_add_flag(unsigned lineno, struct part_conf *conf, in partition_add_flag() argument [all …]
|
H A D | osm_ucast_file.c | 132 unsigned lineno; in do_ucast_file_load() local 150 lineno = 0; in do_ucast_file_load() 155 lineno++; in do_ucast_file_load() 176 file_name, lineno); in do_ucast_file_load() 185 file_name, lineno, p); in do_ucast_file_load() 205 file_name, lineno, p); in do_ucast_file_load() 216 file_name, lineno, p); in do_ucast_file_load() 238 file_name, lineno, p); in do_ucast_file_load() 248 file_name, lineno, p); in do_ucast_file_load() 272 unsigned lineno; in do_lid_matrix_file_load() local [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt_long.c | 53 size_t len, lineno = 0; in main() local 65 while ((line = fparseln(stdin, &len, &lineno, NULL, 0)) != NULL) { in main() 72 (unsigned long)lineno); in main() 88 (unsigned long)lineno); in main() 92 (unsigned long)lineno); in main() 105 (unsigned long)lineno); in main() 108 (unsigned long)lineno); in main() 115 (unsigned long)lineno); in main() 132 longopt, (unsigned long)lineno); in main() 145 (unsigned long)lineno); in main() [all …]
|
H A D | h_getopt.c | 51 size_t len, lineno = 0; in main() local 59 while ((line = fparseln(stdin, &len, &lineno, NULL, 0)) != NULL) { in main() 66 (unsigned long)lineno); in main() 78 (unsigned long)lineno); in main() 97 (unsigned long)lineno); in main()
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | t_regex_att.c | 58 fail(const char *pattern, const char *input, size_t lineno) { in fail() argument 61 lineno, pattern, input); in fail() 65 bug(const char *pattern, const char *input, size_t lineno) { in bug() argument 174 fail(pattern, input, lineno); in bug() 350 checkcomment(const char *s, size_t lineno) in checkcomment() argument 353 fprintf(stderr, "Expected %s at line %zu\n", s, lineno); in checkcomment() 358 size_t lineno) in checkmatches() argument 378 ATF_CHECK_STREQ_MSG(res, matches, " at line %zu", lineno); in checkmatches() 387 size_t len, lineno = 0; in att_test() local 398 for (; (line = fparseln(input_file, &len, &lineno, delim, 0)) in att_test() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | assert.c | 68 int lineno, 72 sm_abort_defaulthandler(filename, lineno, msg) in sm_abort_defaulthandler() argument 74 int lineno; 79 lineno, msg); 167 sm_abort_at(filename, lineno, msg) in sm_abort_at() argument 169 int lineno; 173 (*SmAbortHandler)(filename, lineno, msg);
|
/freebsd/contrib/netbsd-tests/lib/libc/db/ |
H A D | h_db.c | 95 static size_t lineno; /* Current line in test script. */ variable 188 for (lineno = 1; in main() 189 (p = fgets(buf, sizeof(buf), stdin)) != NULL; ++lineno) { in main() 198 if (XXlineno == lineno) in main() 268 lineno); in main() 279 lineno); in main() 321 lineno); in main() 337 lineno, p); in main() 387 err(1, "line %zu: get failed", lineno); in get() 395 lineno, (int)MIN(kp->size, 20), in get() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | rkpty.c | 66 unsigned int lineno; member 163 unsigned int lineno = 0; in parse_configuration() local 173 lineno++; in parse_configuration() 179 c->lineno = lineno; in parse_configuration() 193 errx(1, "Invalid command on line %d: %s", lineno, s); in parse_configuration() 233 c->str, c->lineno); in eval_parent() 236 alarmset, c->str, c->lineno); in eval_parent() 239 c->str, c->lineno); in eval_parent() 261 c->str[i], c->lineno); in eval_parent() 264 errx(1, "command refused input (line %u)", c->lineno); in eval_parent() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | gethost.c | 231 int lineno = 0; in main() local 255 lineno++; in main() 296 pname, fname, lineno); in main() 301 pname, fname, lineno); in main() 311 pname, fname, lineno); in main() 323 pname, fname, lineno); in main() 340 pname, fname, lineno); in main() 345 pname, fname, lineno); in main() 350 (void) fprintf(stdout, "# %d \"%s\"\n", lineno + 1, fname); in main() 365 pname, fname, lineno); in main() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | lex.l | 53 static unsigned lineno = 1; variable 154 int c, start_lineno = lineno; 164 lineno++; 173 int c, start_lineno = lineno; 205 lineno++; 213 int start_lineno = lineno; 223 lineno++; 241 lineno++; 270 \n { ++lineno; } 290 fprintf (stderr, "%s:%d: ", get_filename(), lineno); in lex_error_message() [all...] |
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_pro_macinfo.c | 32 _dwarf_add_macro(Dwarf_P_Debug dbg, int type, Dwarf_Unsigned lineno, in _dwarf_add_macro() argument 50 md->dmd_lineno = lineno; in _dwarf_add_macro() 76 dwarf_def_macro(Dwarf_P_Debug dbg, Dwarf_Unsigned lineno, char *name, in dwarf_def_macro() argument 85 return (_dwarf_add_macro(dbg, DW_MACINFO_define, lineno, -1, name, in dwarf_def_macro() 90 dwarf_undef_macro(Dwarf_P_Debug dbg, Dwarf_Unsigned lineno, char *name, in dwarf_undef_macro() argument 99 return (_dwarf_add_macro(dbg, DW_MACINFO_undef, lineno, -1, name, in dwarf_undef_macro() 104 dwarf_start_macro_file(Dwarf_P_Debug dbg, Dwarf_Unsigned lineno, in dwarf_start_macro_file() argument 113 return (_dwarf_add_macro(dbg, DW_MACINFO_start_file, lineno, fileindex, in dwarf_start_macro_file()
|
/freebsd/usr.sbin/ppp/ |
H A D | auth.c | 173 int n, lineno; in auth_SetPhoneList() local 180 lineno = 0; in auth_SetPhoneList() 182 lineno++; in auth_SetPhoneList() 188 log_Printf(LogWARN, "%s: %d: Invalid line\n", SECRETFILE, lineno); in auth_SetPhoneList() 218 int n, lineno; in auth_Select() local 241 lineno = 0; in auth_Select() 243 lineno++; in auth_Select() 249 log_Printf(LogWARN, "%s: %d: Invalid line\n", SECRETFILE, lineno); in auth_Select() 301 int n, lineno; in auth_Validate() local 307 lineno = 0; in auth_Validate() [all …]
|
/freebsd/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 237 find_continent(int lineno, const char *name) in find_continent() argument 251 errx(1, "%s:%d: invalid entry `%s'", path_zonetab, lineno, in find_continent() 260 errx(1, "%s:%d: continent `%s' unknown", path_zonetab, lineno, cname); in find_continent() 312 int lineno; in read_iso3166_table() local 317 lineno = 0; in read_iso3166_table() 320 lineno++; in read_iso3166_table() 322 errx(1, "%s:%d: invalid format", path_iso3166, lineno); in read_iso3166_table() 330 errx(1, "%s:%d: invalid format", path_iso3166, lineno); in read_iso3166_table() 333 lineno, t); in read_iso3166_table() 338 errx(1, "%s:%d: invalid format", path_iso3166, lineno); in read_iso3166_table() [all …]
|
/freebsd/contrib/sendmail/contrib/ |
H A D | bounce-resender.pl | 26 $lineno = 0; 96 $_ = <INPUT>; $lineno++; 100 $nrl = <INPUT>; $lineno++; 116 $_ = <INPUT>; $lineno++; 136 $next = <INPUT>; $lineno++; 154 $next = <INPUT>; $lineno++; 220 print "$myname: Header without message! Line $lineno qf $qf\n"; 262 if ($lineno % 1900 == 0) { &working(); } 272 "$myname: processed $lineno lines of input and wrote $ctr messages\n";
|
/freebsd/crypto/heimdal/lib/sl/ |
H A D | slc-lex.l | 45 unsigned lineno = 1; variable 62 \n { ++lineno; } 74 fprintf (stderr, "%s:%d: ", filename, lineno); 90 int start_lineno = lineno; in handle_comment() 115 lineno++; in handle_comment() 139 lineno++; in handle_string()
|
/freebsd/sys/security/audit/ |
H A D | audit_bsm_db.c | 275 u_int lineno; in au_evnamemap_init_preload() local 295 lineno = 0; in au_evnamemap_init_preload() 307 lineno++; in au_evnamemap_init_preload() 318 __func__, lineno); in au_evnamemap_init_preload() 319 lineno++; in au_evnamemap_init_preload() 326 __func__, lineno); in au_evnamemap_init_preload() 327 lineno++; in au_evnamemap_init_preload() 333 __func__, lineno); in au_evnamemap_init_preload() 334 lineno++; in au_evnamemap_init_preload() 338 lineno++; in au_evnamemap_init_preload()
|
/freebsd/crypto/heimdal/appl/login/ |
H A D | limits_conf.c | 104 int lineno = 0; in read_limits_conf() local 121 lineno++; in read_limits_conf() 124 syslog(LOG_ERR, "%s: line %d: NUL character", file, lineno); in read_limits_conf() 138 syslog(LOG_ERR, "%s: line %d: line too long", file, lineno); in read_limits_conf() 148 syslog(LOG_ERR, "%s: line %d: malformed line", file, lineno); in read_limits_conf() 154 syslog(LOG_ERR, "%s: line %d: unknown limit %s", file, lineno, args[2]); in read_limits_conf() 163 syslog(LOG_ERR, "%s: line %d: bad value %s", file, lineno, args[3]); in read_limits_conf() 167 syslog(LOG_ERR, "%s: line %d: bad value %s", file, lineno, args[3]); in read_limits_conf()
|
/freebsd/crypto/heimdal/appl/rsh/ |
H A D | limits_conf.c | 104 int lineno = 0; in read_limits_conf() local 121 lineno++; in read_limits_conf() 124 syslog(LOG_ERR, "%s: line %d: NUL character", file, lineno); in read_limits_conf() 138 syslog(LOG_ERR, "%s: line %d: line too long", file, lineno); in read_limits_conf() 148 syslog(LOG_ERR, "%s: line %d: malformed line", file, lineno); in read_limits_conf() 154 syslog(LOG_ERR, "%s: line %d: unknown limit %s", file, lineno, args[2]); in read_limits_conf() 163 syslog(LOG_ERR, "%s: line %d: bad value %s", file, lineno, args[3]); in read_limits_conf() 167 syslog(LOG_ERR, "%s: line %d: bad value %s", file, lineno, args[3]); in read_limits_conf()
|
/freebsd/usr.bin/bc/ |
H A D | scan.l | 33 int lineno; variable 72 \n lineno++; 84 \n add_str("\n"); lineno++; 114 \\\n[ \t]* lineno++; 197 \\\n lineno++; 198 \n lineno++; return NEWLINE; 286 lineno = 1; 294 lineno = 1; 307 lineno = 1; 318 lineno = 1;
|
/freebsd/crypto/heimdal/lib/wind/ |
H A D | test-normalize.c | 83 test(char *buf, unsigned lineno) in test() argument 123 printf("%u: wrong out len (%s)\n", lineno, c); in test() 130 printf("%u: wrong out data (%s)\n", lineno, c); in test() 147 unsigned lineno = 0; in main() local 166 lineno++; in main() 172 failures += test(buf, lineno); in main()
|
/freebsd/contrib/openpam/lib/libpam/ |
H A D | openpam_readword.c | 52 openpam_readword(FILE *f, int *lineno, size_t *lenp) in openpam_readword() argument 68 if (lineno != NULL) in openpam_readword() 69 ++*lineno; in openpam_readword() 124 if (lineno != NULL && ch == '\n') in openpam_readword() 125 ++*lineno; in openpam_readword()
|