Home
last modified time | relevance | path

Searched refs:linenum (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/cmd/tsol/tnchkdb/
H A Dtnchkdb.c50 int linenum; member
56 int linenum; member
67 int linenum; member
91 entry->linenum = linenum; in add_name()
125 entry->linenum = linenum; in add_addr()
296 linenum++;
407 tpentp->name, tnl->linenum, linenum);
457 linenum++;
482 "%2$d\n"), tal->linenum, linenum);
551 name, mil->linenum, linenum);
[all …]
/illumos-gate/usr/src/cmd/dispadmin/
H A Diadispadmin.c231 int linenum; local
259 linenum = 0;
268 linenum++;
275 basenm, linenum);
321 basenm, linenum);
339 linenum++;
346 basenm, linenum);
367 basenm, linenum);
371 basenm, linenum);
377 basenm, linenum);
[all …]
H A Dtsdispadmin.c227 int linenum; local
255 linenum = 0;
264 linenum++;
271 basenm, linenum);
317 basenm, linenum);
335 linenum++;
342 basenm, linenum);
363 basenm, linenum);
367 basenm, linenum);
373 basenm, linenum);
[all …]
H A Drtdispadmin.c225 int linenum; local
253 linenum = 0;
262 linenum++;
269 basenm, linenum);
273 "line %d of input file\n", basenm, linenum);
276 "line %d of input file\n", basenm, linenum);
281 "line %d of input file\n", basenm, linenum);
315 basenm, linenum);
333 linenum++;
340 basenm, linenum);
[all …]
H A Dfxdispadmin.c227 int linenum; in set_fxdptbl() local
258 linenum = 0; in set_fxdptbl()
267 linenum++; in set_fxdptbl()
282 "line %d of input file\n", basenm, linenum); in set_fxdptbl()
287 "line %d of input file\n", basenm, linenum); in set_fxdptbl()
306 linenum++; in set_fxdptbl()
313 basenm, linenum); in set_fxdptbl()
319 "table not overwritten\n", basenm, linenum); in set_fxdptbl()
331 "table not overwritten\n", basenm, linenum); in set_fxdptbl()
336 basenm, linenum); in set_fxdptbl()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dedit.c51 char linenum[NUMLEN + 1]; /* line number */ in editref() local
61 if (fscanf(refsfound, "%s%*s%s", file, linenum) == 2) { in editref()
62 edit(file, linenum); /* edit it */ in editref()
73 char linenum[NUMLEN + 1]; /* line number */ in editall() local
84 while (fscanf(refsfound, "%s%*s%s%*[^\n]", file, linenum) == 2) { in editall()
85 edit(file, linenum); /* edit it */ in editall()
103 edit(char *file, char *linenum) in edit() argument
109 (void) sprintf(msg, "%s +%s %s", editor, linenum, file); in edit()
111 (void) sprintf(plusnum, "+%s", linenum); in edit()
H A Ddisplay.c150 char linenum[NUMLEN + 1]; /* line number */ in display() local
225 linenum, yytext) < 4) { in display()
266 (void) printw("%*s ", numlen, linenum); in display()
490 char linenum[NUMLEN + 1]; /* line number */ in countrefs() local
503 function, linenum, yytext)) != EOF) { in countrefs()
505 !isgraph(*function) || !isdigit(*linenum)) { in countrefs()
526 if ((i = strlen(linenum)) > numlen) { in countrefs()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dports.c17 int ports(seg, proto, pp, cp, tp, linenum) in ports() argument
23 int linenum;
32 if (portnum(**seg, proto, pp, linenum) == 0)
42 linenum, **seg);
48 linenum);
51 if (portnum(**seg, proto, tp, linenum) == 0)
67 linenum, **seg);
72 if (portnum(**seg, proto, pp, linenum) == 0)
H A Dportnum.c19 int portnum(name, proto, port, linenum) in portnum() argument
22 int linenum;
33 fprintf(stderr, "%d: unknown port \"%s\"\n", linenum, name);
42 fprintf(stderr, "%d: unknown service \"%s\".\n", linenum, name);
51 linenum, name);
56 linenum, name, p1);
57 fprintf(stderr, "%d: %s %d/udp\n", linenum, name, sp->s_port);
H A Dloglevel.c12 int loglevel(cpp, facpri, linenum) in loglevel() argument
15 int linenum;
23 fprintf(stderr, "%d: %s\n", linenum,
33 fprintf(stderr, "%d: %s %s\n", linenum,
39 fprintf(stderr, "%d: %s %s\n", linenum,
46 fprintf(stderr, "%d: %s %s\n", linenum,
H A Daddicmp.c24 int addicmp(cp, fp, linenum) in addicmp() argument
27 int linenum;
41 linenum, **cp);
58 linenum, **cp);
75 linenum, **cp);
83 linenum, **cp);
H A Doptname.c12 u_32_t optname(cp, sp, linenum) in optname() argument
15 int linenum;
31 linenum, s);
40 linenum);
55 linenum, s);
H A Dextras.c15 int extras(cp, fr, linenum) in extras() argument
18 int linenum;
69 linenum);
73 if (!(opts = optname(cp, &secmsk, linenum)))
95 linenum);
H A Dgetline.c22 getaline(char *str, size_t size, FILE *file, int *linenum) in getaline() argument
40 (*linenum)++; in getaline()
/illumos-gate/usr/src/cmd/bdiff/
H A Dbdiff.c73 static offset_t linenum; variable
144 linenum = 0; in main()
199 linenum++; in main()
317 linenum += seglim; in main()
338 linenum++; in saverest()
382 num += linenum; in fixnum()
392 (void) printf("%llda%lld", linenum, linenum+1); in addgen()
395 oldline = linenum + 1; in addgen()
398 if (oldline < linenum) in addgen()
415 savenum = linenum; in delgen()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_007_pos.ksh63 typeset -i linenum=0
102 linenum=`cat $migrated_cmds_f | wc -l`
103 (( linenum = linenum - 2 ))
104 head -n $linenum $migrated_cmds_f > $tmpfile
/illumos-gate/usr/src/cmd/tnf/prex/
H A Dsource.c55 int linenum; member
98 new_p->linenum = 1; in source_init()
146 new_p->linenum = 1; in source_file()
239 top->linenum++; in source_nl()
256 top->path, top->linenum, s, yytext); in yyerror()
303 top->path, top->linenum); in semantic_err()
/illumos-gate/usr/src/cmd/sed/
H A Dmain.c109 ulong_t linenum; variable
237 linenum = 0; in cu_fgets()
262 linenum++; in cu_fgets()
263 if (linenum == 1 && buf[0] == '#' && buf[1] == 'n') in cu_fgets()
274 if (linenum == 0 && s[0] == '#' && s[1] == 'n') in cu_fgets()
280 linenum++; in cu_fgets()
294 linenum++; in cu_fgets()
303 linenum++; in cu_fgets()
444 linenum = 0; in mf_fgets()
472 linenum++; in mf_fgets()
H A Dprocess.c101 for (linenum = 0; mf_fgets(&PS, REPLACE); /* NOP */) { in process()
261 (void) fprintf(outfile, "%lu\n", linenum); in process()
283 return (linenum == a->u.l); in MATCH()
285 return (linenum - cp->startline == a->u.l); in MATCH()
312 linenum > cp->a2->u.l) || in applies()
314 linenum - cp->startline > cp->a2->u.l)) { in applies()
333 linenum >= cp->a2->u.l) || in applies()
337 cp->startline = linenum; in applies()
387 linenum = cp->u.s->linenum; in substitute()
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapmodify.c447 int rc, linenum, vlen, modop, replicaport; local
469 ++linenum;
606 linenum, dn );
618 ldaptool_progname, type, linenum, dn);
644 ldaptool_progname, type, linenum, dn);
717 ldaptool_progname, linenum, dn );
790 int rc, linenum, modop; local
795 linenum = 0;
800 ++linenum;
851 ldaptool_progname, linenum, attr );
[all …]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c49 static int linenum; /* The line number in the file */ variable
216 linenum = 0; in read_psffm()
277 linenum++; in read_psffm()
301 diag(gettext(ERR_NOSPC), linenum); in read_psffm()
327 msgid_linenum = linenum; in read_psffm()
351 diag(gettext(ERR_NOSPC), linenum); in read_psffm()
372 msgstr_linenum = linenum; in read_psffm()
397 diag(gettext(ERR_NOSPC), linenum); in read_psffm()
446 warning(gettext(WARN_SYNTAX_ERR), linenum); in read_psffm()
451 warning(gettext(WARN_MISSING_QUOTE), linenum); in read_psffm()
[all …]
/illumos-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c180 int linenum; /* current line number */ variable
224 stline = linenum; in doif()
261 return (error(ELSE_ERR, linenum, depth)); in doif()
278 return (error(ENDIF_ERR, linenum, depth)); in doif()
326 linenum++; in checkline()
433 stqcline = linenum; in skipcomment()
467 stqcline = linenum; in skipquote()
/illumos-gate/usr/src/cmd/tsol/tnctl/
H A Dtnctl.c117 print_error(int linenum, int err, const char *errstr) in print_error() argument
119 if (linenum > 0) in print_error()
120 (void) fprintf(stderr, gettext("line %1$d: %2$s:\n"), linenum, in print_error()
408 int linenum, errors; in process_tnzone() local
417 linenum = errors = 0; in process_tnzone()
423 linenum++; in process_tnzone()
434 print_error(linenum, err, errstr); in process_tnzone()
/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Drdform.c71 int linenum; in rdform() local
108 #define FGETS(B,S,F) (linenum++, fdgets(B,S,F)) in rdform()
112 linenum = 0; in rdform()
131 if ((*error_handler)(errno, lp_errno, linenum) == -1) in rdform()
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpforms.c1393 int linenum in onerror() argument
1396 onerror (Errno, lp_errno, linenum) in onerror()
1399 int linenum;
1408 LP_ERRMSG1 (WARNING, E_FOR_BADSCALE, linenum);
1411 LP_ERRMSG1 (WARNING, E_FOR_BADINT, linenum);
1414 LP_ERRMSG1 (WARNING, E_FOR_NOTNAME, linenum);
1417 LP_ERRMSG1 (WARNING, E_FOR_BADCHSETQUALIFIER, linenum);
1420 LP_ERRMSG1 (WARNING, E_FOR_TRAILIN, linenum);
1423 LP_ERRMSG1 (WARNING, E_FOR_NOTCTYPE, linenum);
1426 LP_ERRMSG1 (WARNING, E_FOR_BADHDR, linenum);

123