Searched refs:linecnt (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/usr.bin/head/ |
| H A D | head.c | 80 int first, linecnt = -1, eval = 0; in main() local 93 linecnt = strtol(optarg, &ep, 10); in main() 94 if (*ep || linecnt <= 0) in main() 104 if (linecnt != -1 && bytecnt != -1) in main() 106 if (linecnt == -1 ) in main() 107 linecnt = 10; in main() 121 head(fp, linecnt); in main() 127 head(stdin, linecnt); in main()
|
| /freebsd-12.1/libexec/rbootd/ |
| H A D | parseconf.c | 92 int omask, linecnt = 0; in ParseConfig() local 128 linecnt++; /* line counter */ in ParseConfig() 147 linecnt, bcp); in ParseConfig() 175 linecnt, bcp); in ParseConfig() 184 linecnt, bcp); in ParseConfig()
|
| /freebsd-12.1/libexec/comsat/ |
| H A D | comsat.c | 225 int linecnt, charcnt, inheader; in jkfprintf() local 242 linecnt = 7; in jkfprintf() 256 if (linecnt <= 0 || charcnt <= 0) { in jkfprintf() 282 --linecnt; in jkfprintf()
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | refclock_hpgps.c | 120 int linecnt; /* set for expected multiple line responses */ member 211 up->linecnt = 1; in hpgps_start() 301 if (up->linecnt-- > 0) { in hpgps_receive() 307 if (up->linecnt == 0) in hpgps_receive() 586 up->linecnt = 22; in hpgps_receive()
|
| /freebsd-12.1/usr.bin/pr/ |
| H A D | pr.c | 180 int linecnt; in onecol() local 247 linecnt = 0; in onecol() 258 while (linecnt < lines) { in onecol() 264 if (!linecnt && !nohead && in onecol() 290 ++linecnt; in onecol() 299 if (linecnt && prtail(lines-linecnt-lrgln, lrgln)) in onecol()
|
| /freebsd-12.1/usr.bin/msgs/ |
| H A D | msgs.c | 154 static int linecnt(FILE *); 521 lct = linecnt(newmsg); in main() 719 linecnt(FILE *f) in linecnt() function
|
| /freebsd-12.1/contrib/file/src/ |
| H A D | softmagic.c | 1274 size_t lines, linecnt, bytecnt; in mcopy() local 1283 linecnt = m->str_range; in mcopy() 1284 bytecnt = linecnt * 80; in mcopy() 1286 linecnt = 0; in mcopy() 1298 for (lines = linecnt, b = buf; lines && b < end && in mcopy()
|