Home
last modified time | relevance | path

Searched refs:BUFSIZ (Results 1 – 25 of 237) sorted by relevance

12345678910

/dragonfly/usr.sbin/rtadvd/
H A Dadvcap.c50 #ifndef BUFSIZ
51 #define BUFSIZ 1024 macro
112 char ibuf[BUFSIZ]; in getent()
137 cnt = read(tf, ibuf, BUFSIZ); in getent()
152 if (cp >= bp + BUFSIZ) { in getent()
183 char tcbuf[BUFSIZ]; in tnchktc()
212 if (l > BUFSIZ) { in tnchktc()
214 q[BUFSIZ - (p-holdtbuf)] = 0; in tnchktc()
/dragonfly/contrib/xz/src/xzdec/
H A Dxzdec.c164 uint8_t in_buf[BUFSIZ]; in uncompress()
165 uint8_t out_buf[BUFSIZ]; in uncompress()
169 strm->avail_out = BUFSIZ; in uncompress()
176 strm->avail_in = fread(in_buf, 1, BUFSIZ, file); in uncompress()
201 const size_t write_size = BUFSIZ - strm->avail_out; in uncompress()
214 strm->avail_out = BUFSIZ; in uncompress()
/dragonfly/crypto/libressl/crypto/evp/
H A Devp_key.c103 char buff[BUFSIZ]; in EVP_read_pw_string_min()
106 if (len > BUFSIZ) in EVP_read_pw_string_min()
107 len = BUFSIZ; in EVP_read_pw_string_min()
125 explicit_bzero(buff, BUFSIZ); in EVP_read_pw_string_min()
/dragonfly/lib/libc/net/
H A Dether_addr.c145 char buf[BUFSIZ + 2]; in ether_ntohost()
157 while (fgets(buf,BUFSIZ,fp)) { in ether_ntohost()
195 char buf[BUFSIZ + 2]; in ether_hostton()
206 while (fgets(buf,BUFSIZ,fp)) { in ether_hostton()
H A Deui64.c220 char buf[BUFSIZ + 2]; in eui64_ntohost()
232 while (fgets(buf,BUFSIZ,fp)) { in eui64_ntohost()
271 char buf[BUFSIZ + 2]; in eui64_hostton()
282 while (fgets(buf,BUFSIZ,fp)) { in eui64_hostton()
/dragonfly/bin/sh/
H A Dinput.c99 static char basebuf[BUFSIZ + 1];/* buffer for top level input file */
152 if (nr > BUFSIZ) in preadfd()
153 nr = BUFSIZ; in preadfd()
163 nr = read(parsefile->fd, parsefile->buf, BUFSIZ); in preadfd()
397 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
403 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
/dragonfly/usr.bin/mail/
H A Dtty.c120 char ch, canonb[BUFSIZ]; in readtty()
126 if (src != NULL && strlen(src) > BUFSIZ - 2) { in readtty()
143 while (cp2 < canonb + BUFSIZ) in readtty()
152 while (cp2 < canonb + BUFSIZ) { in readtty()
/dragonfly/contrib/file/src/
H A Dfsmagic.c112 char buf[BUFSIZ+4]; in file_fsmagic()
295 if ((nch = readlink(fn, buf, BUFSIZ-1)) <= 0) { in file_fsmagic()
328 char buf2[BUFSIZ+BUFSIZ+4]; in file_fsmagic()
333 if (tmp - fn + 1 > BUFSIZ) { in file_fsmagic()
/dragonfly/libexec/telnetd/
H A Dext.h63 extern char ptyobuf[BUFSIZ+NETSLOP], *pfrontp, *pbackp;
65 extern char netibuf[BUFSIZ], *netip;
67 extern char netobuf[BUFSIZ], *nfrontp, *nbackp;
/dragonfly/games/hangman/
H A Dextern.c37 char Word[BUFSIZ], Known[BUFSIZ];
H A Dhangman.h75 extern char Word[BUFSIZ], Known[BUFSIZ];
H A Dgetword.c59 if (fgets(Word, BUFSIZ, inf) == NULL) in getword()
61 if (fgets(Word, BUFSIZ, inf) == NULL) in getword()
/dragonfly/usr.bin/whereis/
H A Dwhereis.c255 char *b, buf[BUFSIZ], *cp; in defaults()
296 if (fgets(buf, BUFSIZ - 1, p) == NULL || in defaults()
360 char *bin, buf[BUFSIZ], *cp, *cp2, *man, *name, *src; in main()
386 regerror(i, &re, buf, BUFSIZ - 1); in main()
477 while (fgets(buf, BUFSIZ - 1, p) != NULL) { in main()
590 (fgets(buf, BUFSIZ - 1, p)) != NULL) { in main()
606 BUFSIZ - 1); in main()
/dragonfly/lib/libc/stdio/
H A Dungetc.c62 if ((p = malloc((size_t)BUFSIZ)) == NULL) in __submore()
65 fp->_ub._size = BUFSIZ; in __submore()
66 p += BUFSIZ - sizeof(fp->_ubuf); in __submore()
H A Dmakebuf.c93 *bufsize = BUFSIZ; in __swhatbuf()
100 *bufsize = BUFSIZ; in __swhatbuf()
/dragonfly/usr.sbin/lpr/lpd/
H A Drecvjob.c244 char buf[BUFSIZ]; in readfile()
256 for (i = 0; i < size; i += BUFSIZ) { in readfile()
257 amt = BUFSIZ; in readfile()
270 amt = BUFSIZ; in readfile()
/dragonfly/games/backgammon/common_source/
H A Dsubs.c36 static char outbuff[BUFSIZ];
54 if (buffnum == BUFSIZ) { in addbuf()
55 if (write(1, outbuff, BUFSIZ) != BUFSIZ) in addbuf()
/dragonfly/usr.bin/tip/
H A Dcmds.c130 char line[BUFSIZ], *cp; in cu_take()
168 if ((cnt = number(value(FRAMESIZE))) != BUFSIZ) in xfer()
253 if ((cnt = number(value(FRAMESIZE))) != BUFSIZ) in transfer()
493 char line[BUFSIZ]; in cu_put()
952 static char xname[BUFSIZ]; in expand()
953 char cmdbuf[BUFSIZ]; in expand()
987 l = read(pivec[0], xname, BUFSIZ); in expand()
1004 if (l == BUFSIZ) { in expand()
/dragonfly/contrib/xz/src/xz/
H A Dfile_io.h15 #if BUFSIZ <= 1024
18 # define IO_BUFFER_SIZE (BUFSIZ & ~7U)
/dragonfly/usr.sbin/lpr/lpr/
H A Dlpr.c122 char buf[BUFSIZ]; in main()
532 char buf[BUFSIZ]; in copy()
542 while ((i = read(f, buf, BUFSIZ)) > 0) { in copy()
548 if (nc >= BUFSIZ) { in copy()
549 nc -= BUFSIZ; in copy()
611 char buf[BUFSIZ]; in card()
838 char buf[BUFSIZ]; in mktemps()
/dragonfly/usr.bin/lam/
H A Dlam.c47 #define BIGBUFSIZ 5 * BUFSIZ
94 static char fmtbuf[BUFSIZ]; in getargs()
183 char s[BUFSIZ]; in gatherline()
/dragonfly/lib/libtelnet/
H A Dread_password.c77 char key_string[BUFSIZ];
79 if (max > BUFSIZ) {
/dragonfly/usr.bin/telnet/
H A Dnetwork.c50 unsigned char netobuf[2*BUFSIZ], netibuf[BUFSIZ];
/dragonfly/crypto/libressl/crypto/ui/
H A Dui_openssl.c247 char result[BUFSIZ]; in read_string_inner()
248 int maxsize = BUFSIZ - 1; in read_string_inner()
289 explicit_bzero(result, BUFSIZ); in read_string_inner()
/dragonfly/games/hunt/huntd/
H A Dserver.h166 char p_cbuf[BUFSIZ];
204 char msg[BUFSIZ];
279 extern char Buf[BUFSIZ];

12345678910