Home
last modified time | relevance | path

Searched refs:lineno (Results 1 – 25 of 168) sorted by relevance

1234567

/mirbsd/src/gnu/usr.bin/perl/ext/IO/t/
Dio_linenum.t24 sub lineno
40 ok(lineno($io), "10 0 10");
43 ok(lineno($io), "5 5 5");
46 ok(lineno($io), "11 5 11");
49 ok(lineno($io), "6 6 6");
52 ok(lineno($io), "11 6 11");
55 ok(lineno($io), "12 6 12");
58 ok(lineno($io), "12 6 12");
61 ok(lineno($io), "22 6 22");
64 ok(lineno($io), "11 11 11");
[all …]
/mirbsd/src/usr.bin/yacc/
Derror.c77 input_file_name, lineno); in unexpected_EOF()
156 input_file_name, lineno); in over_unionized()
175 input_file_name, lineno); in illegal_character()
185 input_file_name, lineno, s); in used_reserved()
193 input_file_name, lineno, s); in tokenized_start()
201 input_file_name, lineno, s); in retyped_warning()
208 input_file_name, lineno, s); in reprec_warning()
215 input_file_name, lineno, s); in revalued_warning()
222 input_file_name, lineno, s); in terminal_start()
230 input_file_name, lineno); in restarted_warning()
[all …]
Dreader.c151 ++lineno; in get_line()
197 int st_lineno = lineno; in skip_comment()
345 syntax_error(lineno, line, t_cptr); in keyword()
359 if (c != '"') syntax_error(lineno, line, cptr); in copy_ident()
388 int t_lineno = lineno; in copy_text()
398 if (!lflag) fprintf(f, line_format, lineno, input_file_name); in copy_text()
415 int s_lineno = lineno; in copy_text()
466 int c_lineno = lineno; in copy_text()
519 int u_lineno = lineno; in copy_union()
527 fprintf(text_file, line_format, lineno, input_file_name); in copy_union()
[all …]
/mirbsd/src/usr.bin/make/
Dlowparse.c57 unsigned long lineno; /* Line number */ member
122 ifile->lineno = 0; in new_ifile()
140 new_istring(char *str, const char *name, unsigned long lineno) in new_istring() argument
150 ifile->lineno = lineno; in new_istring()
158 Parse_FromString(char *str, unsigned long lineno) in Parse_FromString() argument
165 current = new_istring(str, current->fname, lineno); in Parse_FromString()
234 current->lineno++; in Parse_ReadNextConditionalLine()
241 current->lineno++; in Parse_ReadNextConditionalLine()
253 current->lineno++; in ParseFoldLF()
264 current->lineno++; in ParseFoldLF()
[all …]
/mirbsd/src/gnu/usr.bin/binutils/libiberty/testsuite/
Dtest-demangle.c46 static unsigned int lineno; variable
71 lineno++;
86 lineno++;
94 fail (lineno, opts, in, out, exp) in fail() argument
95 int lineno; in fail()
106 lineno, opts, in, out != NULL ? out : "(null)", exp);
175 lineno, format.data);
208 lineno, fstyle);
222 lineno, opt);
252 fail (lineno, format.data, input.data, buf, expect.data);
[all …]
/mirbsd/src/gnu/usr.bin/perl/vos/
Dconfig.pl32 $lineno = 0;
50 $lineno = $lineno + 1;
60 $lineno = $lineno + 1;
87 ((print "Undefined keyword $1 on line $lineno\n"),$1)/ge;
/mirbsd/src/usr.bin/checknr/
Dchecknr.c185 int lineno; /* current line number in input file */ variable
295 for (lineno = 1; fgets(line, sizeof line, f); lineno++) { in process()
302 pe(lineno); in process()
309 pe(lineno); in process()
347 pe(lineno); in process()
354 stk[stktop].lno = lineno; in process()
362 pe(lineno); in process()
369 stk[stktop].lno = lineno; in process()
429 stk[stktop].lno = lineno; in chkcmd()
486 pe(lineno); in nomatch()
[all …]
/mirbsd/src/gnu/usr.sbin/sendmail/libsm/
Dassert.c68 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);
/mirbsd/src/usr.sbin/ppp/ppp/
Dauth.c117 int n, lineno; in auth_SetPhoneList() local
124 lineno = 0; in auth_SetPhoneList()
126 lineno++; in auth_SetPhoneList()
132 log_Printf(LogWARN, "%s: %d: Invalid line\n", SECRETFILE, lineno); in auth_SetPhoneList()
162 int n, lineno; in auth_Select() local
185 lineno = 0; in auth_Select()
187 lineno++; in auth_Select()
193 log_Printf(LogWARN, "%s: %d: Invalid line\n", SECRETFILE, lineno); in auth_Select()
246 int n, lineno; in auth_Validate() local
252 lineno = 0; in auth_Validate()
[all …]
/mirbsd/src/usr.bin/bc/
Dscan.l33 int lineno; variable
58 \n lineno++;
70 \n add_str("\n"); lineno++;
100 \\\n[ \t]* lineno++;
183 \\\n lineno++;
184 \n lineno++; return NEWLINE;
250 lineno = 1;
258 lineno = 1;
269 lineno = 1;
277 lineno = 1;
/mirbsd/src/lib/libpthread/uthread/
Duthread_spinlock.c81 _spinlock_debug(spinlock_t *lck, const char *fname, int lineno) in _spinlock_debug() argument
94 …s left locked from %s (%d)\n", __progname, curthread, lck, fname, lineno, lck->fname, lck->lineno); in _spinlock_debug()
102 _thread_kern_sched_state(PS_SPINBLOCK, fname, lineno); in _spinlock_debug()
108 lck->lineno = lineno; in _spinlock_debug()
/mirbsd/src/gnu/usr.sbin/sendmail/contrib/
Dbounce-resender.pl26 $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";
/mirbsd/src/gnu/usr.bin/lynx/src/
DTRSTable.c63 int lineno; /* Start line of the current cell */ member
205 int lineno,
285 int lineno, in Stbl_addCellToRow() argument
297 lineno, *ppos, colspan)); in Stbl_addCellToRow()
301 me->ncells, s->lineno, s->pending_len, in Stbl_addCellToRow()
322 if (lineno != s->lineno) { in Stbl_addCellToRow()
336 me->cells[i].cLine = lineno; in Stbl_addCellToRow()
338 me->Line = lineno; in Stbl_addCellToRow()
364 me->Line = lineno; in Stbl_addCellToRow()
378 if (me->fixed_line && lineno != me->Line) { in Stbl_addCellToRow()
[all …]
DLYEdit.c69 int lineno) in edit_current_file() argument
85 newfile, cur, lineno)); in edit_current_file()
158 if (lineno >= 0) { in edit_current_file()
161 lineno--; in edit_current_file()
163 lineno += (nlinks ? links[cur].ly : 0); in edit_current_file()
164 if (lineno > 0) in edit_current_file()
165 sprintf(position, "%d", lineno); in edit_current_file()
/mirbsd/src/usr.sbin/ntpd/
Dparse.y43 static int lineno = 1; variable
64 int lineno; member
257 if (asprintf(&nfmt, "%s:%d: %s", infile, yylval.lineno, fmt) == -1) in yyerror()
327 yylval.lineno = lineno; in lgetc()
328 lineno++; in lgetc()
370 lineno++; in findeol()
391 yylval.lineno = lineno; in yylex()
408 lineno++; in yylex()
445 yylval.lineno = lineno; in yylex()
446 lineno++; in yylex()
[all …]
/mirbsd/src/usr.bin/xlint/lint1/
Derr.c506 static int lineno = 0; in excerpt() local
514 if (pos->p_line == lineno) in excerpt()
517 if (fp == NULL || file != pos->p_file || pos->p_line < lineno) { in excerpt()
525 lineno = 0; in excerpt()
529 while (lineno < pos->p_line && (buf = fgetln(fp, &len))) { in excerpt()
540 lineno++; in excerpt()
544 printf("%s:%d: %s\n", pos->p_file, lineno, buf); in excerpt()
/mirbsd/src/gnu/usr.bin/binutils/gas/
Dstabs.c494 unsigned int lineno; in stabs_generate_asm_file() local
496 as_where (&file, &lineno); in stabs_generate_asm_file()
585 unsigned int lineno; in stabs_generate_asm_lineno() local
599 as_where (&file, &lineno); in stabs_generate_asm_lineno()
606 prev_lineno = lineno; in stabs_generate_asm_lineno()
608 else if (lineno == prev_lineno in stabs_generate_asm_lineno()
617 prev_lineno = lineno; in stabs_generate_asm_lineno()
637 sprintf (buf, "%d,0,%d,%s-%s\n", N_SLINE, lineno, in stabs_generate_asm_lineno()
643 sprintf (buf, "%d,0,%d,%s\n", N_SLINE, lineno, sym); in stabs_generate_asm_lineno()
663 unsigned int lineno; in stabs_generate_asm_func() local
[all …]
/mirbsd/src/usr.bin/newsyslog/
Dnewsyslog.c488 int lineno; in parse_file() local
498 for (lineno = 1; fgets(line, sizeof(line), f); lineno++) { in parse_file()
518 q = parse = missing_field(sob(line), errline, lineno); in parse_file()
527 q = parse = missing_field(sob(++parse), errline, lineno); in parse_file()
536 conf, lineno, q); in parse_file()
548 conf, lineno, q); in parse_file()
555 q = parse = missing_field(sob(++parse), errline, lineno); in parse_file()
564 errx(1, "%s:%d: bad permissions: %s", conf, lineno, q); in parse_file()
567 q = parse = missing_field(sob(++parse), errline, lineno); in parse_file()
571 errx(1, "%s:%d: bad number: %s", conf, lineno, q); in parse_file()
[all …]
/mirbsd/src/gnu/usr.sbin/sendmail/makemap/
Dmakemap.c93 unsigned int lineno; local
377 for (lineno = 0; ; lineno++)
397 lineno = 0;
403 lineno++;
416 progname, mapname, lineno,
428 progname, mapname, lineno);
454 progname, mapname, lineno,
498 progname, mapname, lineno,
508 lineno,
/mirbsd/src/gnu/usr.bin/binutils/bfd/
Dihex.c209 ihex_bad_byte (bfd *abfd, unsigned int lineno, int c, bfd_boolean error) in ihex_bad_byte() argument
229 abfd, lineno, buf); in ihex_bad_byte()
243 unsigned int lineno; in ihex_scan() local
257 lineno = 1; in ihex_scan()
267 ++lineno; in ihex_scan()
272 ihex_bad_byte (abfd, lineno, c, error); in ihex_scan()
297 ihex_bad_byte (abfd, lineno, hdr[i], error); in ihex_scan()
323 ihex_bad_byte (abfd, lineno, hdr[i], error); in ihex_scan()
336 abfd, lineno, in ihex_scan()
390 abfd, lineno); in ihex_scan()
[all …]
/mirbsd/src/lib/libncurses/src/ncurses/tty/
Dtty_update.c107 static void TransformLine(int const lineno);
1070 TransformLine(int const lineno) in TransformLine() argument
1073 NCURSES_CH_T *newLine = newscr->_line[lineno].text; in TransformLine()
1074 NCURSES_CH_T *oldLine = curscr->_line[lineno].text; in TransformLine()
1078 TR(TRACE_UPDATE, (T_CALLED("TransformLine(%d)"), lineno)); in TransformLine()
1082 SP->oldhash[lineno] = SP->newhash[lineno]; in TransformLine()
1124 GoTo(lineno, firstChar); in TransformLine()
1126 PutRange(oldLine, newLine, lineno, 0, (screen_columns - 1)); in TransformLine()
1141 GoTo(lineno, firstChar); in TransformLine()
1153 && lineno > 0 in TransformLine()
[all …]
/mirbsd/src/usr.sbin/lpr/filters/
Dlpf.c65 int lineno; variable
137 lineno = length; in main()
207 if (++lineno >= length) { in main()
210 lineno = 0; in main()
215 if (lineno) { /* be sure to end on a page boundary */ in main()
/mirbsd/src/sbin/pfctl/
Dpfctl_osfp.c91 int i, lineno = 0; in pfctl_file_fingerprints() local
110 lineno++; in pfctl_file_fingerprints()
146 get_int(&line, &len, &v, mod, n, ty, mx, fp_filename, lineno) in pfctl_file_fingerprints()
148 get_str(&line, &len, &v, n, mn, fp_filename, lineno) in pfctl_file_fingerprints()
162 if (get_tcpopts(fp_filename, lineno, tcpopts, &packed_tcpopts, in pfctl_file_fingerprints()
167 lineno); in pfctl_file_fingerprints()
772 const char *name, int flags, int max, const char *filename, int lineno) in get_int() argument
786 fprintf(stderr, "%s:%d empty %s\n", filename, lineno, name); in get_int()
809 filename, lineno, *field, name); in get_int()
821 "value\n", filename, lineno, name); in get_int()
[all …]
/mirbsd/src/sbin/ipsecctl/
Dparse.y49 static int lineno = 1; variable
108 int lineno; member
326 fprintf(stderr, "%s: %d: ", infile, yyval.lineno); in yyerror()
411 yylval.lineno = lineno; in lgetc()
412 lineno++; in lgetc()
454 lineno++; in findeol()
476 yylval.lineno = lineno; in yylex()
519 lineno++; in yylex()
556 yylval.lineno = lineno; in yylex()
557 lineno++; in yylex()
[all …]
/mirbsd/src/sbin/disklabel/
Ddisklabel.c1322 int lineno = 0, errors = 0; in getasciilabel() local
1328 lineno++; in getasciilabel()
1336 warnx("line %d: syntax error", lineno); in getasciilabel()
1355 lineno, tp); in getasciilabel()
1370 lineno, cp); in getasciilabel()
1384 lineno, cp); in getasciilabel()
1392 warnx("line %d: bad # of partitions", lineno); in getasciilabel()
1412 warnx("line %d: bad %s: %s", lineno, cp, tp); in getasciilabel()
1421 warnx("line %d: bad %s: %s", lineno, cp, tp); in getasciilabel()
1430 warnx("line %d: bad %s: %s", lineno, cp, tp); in getasciilabel()
[all …]

1234567