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

/freebsd-current/usr.bin/head/
H A Dhead.c77 intmax_t linecnt; local
84 linecnt = -1;
96 if (expand_number(optarg, &linecnt) || linecnt <= 0)
125 if (linecnt != -1 && bytecnt != -1)
127 if (linecnt == -1)
128 linecnt = 10;
142 head(fp, linecnt);
148 head(stdin, linecnt);
/freebsd-current/libexec/rbootd/
H A Dparseconf.c82 int omask, linecnt = 0; local
118 linecnt++; /* line counter */
137 linecnt, bcp);
165 linecnt, bcp);
174 linecnt, bcp);
/freebsd-current/libexec/comsat/
H A Dcomsat.c211 int linecnt, charcnt, inheader; local
228 linecnt = 7;
242 if (linecnt <= 0 || charcnt <= 0) {
268 --linecnt;
/freebsd-current/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-current/usr.bin/pr/
H A Dpr.c165 int linecnt; local
232 linecnt = 0;
243 while (linecnt < lines) {
249 if (!linecnt && !nohead &&
275 ++linecnt;
284 if (linecnt && prtail(lines-linecnt-lrgln, lrgln))
/freebsd-current/usr.bin/msgs/
H A Dmsgs.c136 static int linecnt(FILE *);
503 lct = linecnt(newmsg);
701 linecnt(FILE *f) function
/freebsd-current/contrib/file/src/
H A Dsoftmagic.c1348 size_t lines, linecnt, bytecnt; local
1357 linecnt = m->str_range;
1358 bytecnt = linecnt * 80;
1360 linecnt = 0;
1372 for (lines = linecnt, b = buf; lines && b < end &&

Completed in 180 milliseconds