Home
last modified time | relevance | path

Searched refs:bufspace (Results 1 – 7 of 7) sorted by relevance

/openbsd/lib/libedit/
H A Dchartype.c134 size_t bufspace; in ct_decode_argv() local
142 for (i = 0, bufspace = 0; i < argc; ++i) in ct_decode_argv()
143 bufspace += argv[i] ? strlen(argv[i]) + 1 : 0; in ct_decode_argv()
144 ct_conv_buff_resize(conv, 0, bufspace * sizeof(*p)); in ct_decode_argv()
156 wlen = mbstowcs(p, argv[i], bufspace); in ct_decode_argv()
158 if (wlen == (size_t)-1 || wlen == bufspace) { in ct_decode_argv()
164 bufspace -= wlen; in ct_decode_argv()
/openbsd/usr.sbin/npppd/pppoe/
H A Dpppoe_session.c237 u_char bufspace[2048]; in pppoe_session_send_PADT() local
243 if ((buf = bytebuffer_wrap(bufspace, sizeof(bufspace))) == NULL) { in pppoe_session_send_PADT()
290 u_char bufspace[2048], msgbuf[80]; in pppoe_session_send_PADS() local
295 if ((buf = bytebuffer_wrap(bufspace, sizeof(bufspace))) == NULL) { in pppoe_session_send_PADS()
H A Dpppoed.c855 u_char bufspace[2048]; in pppoed_recv_PADI() local
861 if ((buf = bytebuffer_wrap(bufspace, sizeof(bufspace))) == NULL) { in pppoed_recv_PADI()
/openbsd/usr.bin/less/
H A Dch.c596 ch_setbufspace(int bufspace) in ch_setbufspace() argument
598 if (bufspace < 0) { in ch_setbufspace()
601 maxbufs = ((bufspace * 1024) + LBUFSIZE-1) / LBUFSIZE; in ch_setbufspace()
H A Doptfunc.c31 extern int bufspace;
372 ch_setbufspace(bufspace); in opt_b()
H A Dopttbl.c36 int bufspace; /* Max buffer space per file (K) */ variable
129 NUMBER|INIT_HANDLER, 64, &bufspace, opt_b,
/openbsd/sbin/ping/
H A Dping.c255 int df = 0, tos = 0, bufspace = IP_MAXPACKET, hoplimit = -1, mflag = 0; in main() local
617 &bufspace, sizeof(bufspace)) == -1) { in main()
618 if ((bufspace -= 1024) <= 0) in main()
621 if (bufspace < IP_MAXPACKET) in main()
623 "(default %d)", bufspace, IP_MAXPACKET); in main()