Searched refs:linecnt (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/usr.bin/head/
H A Dhead.c78 int first, linecnt = -1, eval = 0; local
91 linecnt = strtol(optarg, &ep, 10);
92 if (*ep || linecnt <= 0)
102 if (linecnt != -1 && bytecnt != -1)
104 if (linecnt == -1 )
105 linecnt = 10;
119 head(fp, linecnt);
125 head(stdin, linecnt);
/freebsd-11-stable/libexec/rbootd/
H A Dparseconf.c90 int omask, linecnt = 0; local
126 linecnt++; /* line counter */
145 linecnt, bcp);
173 linecnt, bcp);
182 linecnt, bcp);
/freebsd-11-stable/libexec/comsat/
H A Dcomsat.c223 int linecnt, charcnt, inheader; local
240 linecnt = 7;
254 if (linecnt <= 0 || charcnt <= 0) {
280 --linecnt;
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_hpgps.c120 int linecnt; /* set for expected multiple line responses */ member in struct:hpgpsunit
211 up->linecnt = 1;
288 * If linecnt is greater than zero, we are getting information only,
294 * If linecnt is zero, we are expecting either the timezone
301 if (up->linecnt-- > 0) {
307 if (up->linecnt == 0)
586 up->linecnt = 22;
/freebsd-11-stable/usr.bin/pr/
H A Dpr.c178 int linecnt; local
245 linecnt = 0;
256 while (linecnt < lines) {
262 if (!linecnt && !nohead &&
288 ++linecnt;
297 if (linecnt && prtail(lines-linecnt-lrgln, lrgln))
/freebsd-11-stable/usr.bin/msgs/
H A Dmsgs.c152 static int linecnt(FILE *);
519 lct = linecnt(newmsg);
717 linecnt(FILE *f) function
/freebsd-11-stable/contrib/file/src/
H A Dsoftmagic.c1362 size_t lines, linecnt, bytecnt; local
1371 linecnt = m->str_range;
1372 bytecnt = linecnt * 80;
1374 linecnt = 0;
1386 for (lines = linecnt, b = buf; lines && b < end &&

Completed in 121 milliseconds