Home
last modified time | relevance | path

Searched refs:bytecnt (Results 1 – 8 of 8) sorted by relevance

/dragonfly/usr.bin/split/
HDsplit.c52 static int64_t bytecnt; /* Byte count to split on. */ variable
101 error = dehumanize_number(optarg, &bytecnt); in main()
143 if (pflag && (numlines != 0 || bytecnt != 0)) in main()
148 else if (bytecnt != 0) in main()
154 if (bytecnt) { in main()
175 if((bfr = (char *)malloc(bytecnt)) == NULL) in split1()
179 switch ((len = read(ifd, bfr, bytecnt))) { in split1()
190 if (bcnt + len >= bytecnt) { in split1()
191 dist = bytecnt - bcnt; in split1()
195 for (C = bfr + dist; len >= bytecnt; in split1()
[all …]
/dragonfly/usr.bin/head/
HDhead.c59 int linecnt = -1, bytecnt = -1, eval = 0; in main() local
66 bytecnt = strtol(optarg, &ep, 10); in main()
67 if (*ep != 0 || bytecnt <= 0) in main()
90 if (linecnt != -1 && bytecnt != -1) in main()
107 if (bytecnt == -1) in main()
110 head_bytes(fp, bytecnt); in main()
113 } else if (bytecnt == -1) in main()
116 head_bytes(stdin, bytecnt); in main()
/dragonfly/usr.sbin/lpr/common_source/
HDcommon.c495 trstat_write(struct printer *pp, tr_sendrecv sendrecv, size_t bytecnt, in trstat_write() argument
620 (unsigned long)bytecnt); in trstat_write()
627 if ((bytecnt > 25000) && (trtime > 1.1)) { in trstat_write()
629 ((double)bytecnt/trtime)); in trstat_write()
/dragonfly/contrib/file/src/
HDsoftmagic.c1344 size_t lines, linecnt, bytecnt; in mcopy() local
1354 bytecnt = linecnt * 80; in mcopy()
1357 bytecnt = m->str_range; in mcopy()
1360 if (bytecnt == 0 || bytecnt > nbytes - offset) in mcopy()
1361 bytecnt = nbytes - offset; in mcopy()
1362 if (bytecnt > ms->regex_max) in mcopy()
1363 bytecnt = ms->regex_max; in mcopy()
1366 end = last = RCAST(const char *, s) + bytecnt + offset; in mcopy()
/dragonfly/sys/netinet6/
HDip6_mroute.h203 u_quad_t bytecnt; member
HDip6_mroute.c364 req->bytecnt = rt->mf6c_byte_cnt; in get_sg_cnt()
369 req->pktcnt = req->bytecnt = req->wrong_if = 0xffffffff; in get_sg_cnt()
/dragonfly/sys/net/ip_mroute/
HDip_mroute.h235 u_long bytecnt; member
HDip_mroute.c526 req->pktcnt = req->bytecnt = req->wrong_if = 0xffffffff; in get_sg_cnt()
531 req->bytecnt = rt->mfc_byte_cnt; in get_sg_cnt()