| /freebsd-12.1/usr.sbin/ugidfw/ |
| H A D | ugidfw.c | 76 char errstr[BUFSIZ], charstr[BUFSIZ]; in add_rule() 86 error = bsde_add_rule(&rulenum, &rule, BUFSIZ, errstr); in add_rule() 91 if (bsde_rule_to_string(&rule, charstr, BUFSIZ) == -1) in add_rule() 100 char errstr[BUFSIZ], charstr[BUFSIZ]; in list_rules() 104 rule_slots = bsde_get_rule_slots(BUFSIZ, errstr); in list_rules() 111 rule_count = bsde_get_rule_count(BUFSIZ, errstr); in list_rules() 118 error = bsde_get_rule(i, &rule, BUFSIZ, errstr); in list_rules() 139 char errstr[BUFSIZ]; in set_rule() 163 error = bsde_set_rule(rulenum, &rule, BUFSIZ, errstr); in set_rule() 173 char errstr[BUFSIZ]; in remove_rule() [all …]
|
| /freebsd-12.1/usr.sbin/rtadvd/ |
| H A D | advcap.c | 52 #ifndef BUFSIZ 53 #define BUFSIZ 1024 macro 114 char ibuf[BUFSIZ]; in getent() 139 cnt = read(tf, ibuf, BUFSIZ); in getent() 154 if (cp >= bp + BUFSIZ - 1) { in getent() 185 char tcbuf[BUFSIZ]; in tnchktc() 214 if (l > BUFSIZ) { in tnchktc() 216 q[BUFSIZ - (p-holdtbuf)] = 0; in tnchktc()
|
| /freebsd-12.1/crypto/openssl/crypto/evp/ |
| H A D | evp_key.c | 52 char buff[BUFSIZ]; in EVP_read_pw_string_min() 61 (len >= BUFSIZ) ? BUFSIZ - 1 : len) < 0 in EVP_read_pw_string_min() 64 (len >= BUFSIZ) ? BUFSIZ - 1 : len, in EVP_read_pw_string_min() 68 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
|
| /freebsd-12.1/crypto/openssl/crypto/ui/ |
| H A D | ui_util.c | 14 #ifndef BUFSIZ 15 #define BUFSIZ 256 macro 21 char buff[BUFSIZ]; in UI_UTIL_read_pw_string() 25 UI_UTIL_read_pw(buf, buff, (length > BUFSIZ) ? BUFSIZ : length, in UI_UTIL_read_pw_string() 27 OPENSSL_cleanse(buff, BUFSIZ); in UI_UTIL_read_pw_string()
|
| /freebsd-12.1/sys/contrib/xz-embedded/userspace/ |
| H A D | bytetest.c | 17 static uint8_t out[BUFSIZ]; 51 b.out_size = uncomp_size < BUFSIZ ? uncomp_size : BUFSIZ; in main() 69 b.out_size = uncomp_size < BUFSIZ in main() 70 ? uncomp_size : BUFSIZ; in main()
|
| H A D | xzminidec.c | 22 static uint8_t in[BUFSIZ]; 23 static uint8_t out[BUFSIZ]; 59 b.out_size = BUFSIZ; in main()
|
| /freebsd-12.1/crypto/heimdal/appl/telnet/telnetd/ |
| H A D | global.c | 62 char ptyobuf[BUFSIZ+NETSLOP], *pfrontp, *pbackp; 64 char netibuf[BUFSIZ], *netip; 66 char netobuf[BUFSIZ+NETSLOP], *nfrontp, *nbackp; 99 remaining = BUFSIZ - (nfrontp - netobuf); in output_data()
|
| /freebsd-12.1/contrib/xz/src/xzdec/ |
| H A D | xzdec.c | 164 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()
|
| /freebsd-12.1/contrib/ntp/lib/isc/tests/ |
| H A D | socket_test.c | 89 char sendbuf[BUFSIZ], recvbuf[BUFSIZ]; in ATF_TC_BODY() 132 r.length = BUFSIZ; in ATF_TC_BODY() 160 char sendbuf[BUFSIZ], recvbuf[BUFSIZ]; in ATF_TC_BODY() 218 r.length = BUFSIZ; in ATF_TC_BODY() 228 r.length = BUFSIZ; in ATF_TC_BODY()
|
| /freebsd-12.1/contrib/netbsd-tests/lib/libc/stdio/ |
| H A D | t_fmemopen.c | 130 char buf[BUFSIZ]; in ATF_TC_BODY() 187 char buf[BUFSIZ]; in ATF_TC_BODY() 223 char buf[BUFSIZ]; in ATF_TC_BODY() 257 char buf[BUFSIZ]; in ATF_TC_BODY() 301 char buf[BUFSIZ]; in ATF_TC_BODY() 416 char buf[BUFSIZ]; in ATF_TC_BODY() 468 char buf[BUFSIZ]; in ATF_TC_BODY() 516 char buf[BUFSIZ]; in ATF_TC_BODY() 577 char buf[BUFSIZ]; in ATF_TC_BODY() 798 char buf0[BUFSIZ], buf1[BUFSIZ]; in ATF_TC_BODY() [all …]
|
| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | findconfig.c | 19 static char result[BUFSIZ]; in FindConfig() 20 char hostname[BUFSIZ], *cp; in FindConfig() 30 if (gethostname(hostname, BUFSIZ) >= 0) { in FindConfig()
|
| /freebsd-12.1/contrib/blacklist/port/ |
| H A D | fgetln.c | 55 bufsiz = BUFSIZ; in fgetln() 65 size_t nbufsiz = bufsiz + BUFSIZ; in fgetln() 77 if (fgets(&buf[bufsiz], BUFSIZ, fp) == NULL) { in fgetln()
|
| /freebsd-12.1/tests/sys/cddl/zfs/tests/ctime/ |
| H A D | ctime_001_pos.c | 88 static char tfile[BUFSIZ] = { 0 }; 89 static char msg[BUFSIZ] = { 0 }; 215 char buf[BUFSIZ] = { 0 }; in do_read() 241 char buf[BUFSIZ] = "call function do_write()"; in do_write() 267 char link_file[BUFSIZ] = { 0 }; in do_link()
|
| /freebsd-12.1/bin/sh/ |
| H A D | input.c | 97 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() 390 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd() 396 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
|
| /freebsd-12.1/lib/libc/net/ |
| H A D | ether_addr.c | 144 char buf[BUFSIZ + 2]; in ether_ntohost() 156 while (fgets(buf,BUFSIZ,fp)) { in ether_ntohost() 194 char buf[BUFSIZ + 2]; in ether_hostton() 205 while (fgets(buf,BUFSIZ,fp)) { in ether_hostton()
|
| H A D | eui64.c | 221 char buf[BUFSIZ + 2]; in eui64_ntohost() 233 while (fgets(buf,BUFSIZ,fp)) { in eui64_ntohost() 272 char buf[BUFSIZ + 2]; in eui64_hostton() 283 while (fgets(buf,BUFSIZ,fp)) { in eui64_hostton()
|
| /freebsd-12.1/sbin/sysctl/ |
| H A D | sysctl.c | 364 char *cp, *bufp, buf[BUFSIZ], fmt[BUFSIZ], line[BUFSIZ]; in parse() 373 if (snprintf(buf, BUFSIZ, "%s", string) >= BUFSIZ) { in parse() 548 char line[BUFSIZ], *p, *pq, *pdq; in parsefile() 893 u_char buf[BUFSIZ]; in oidfmt() 924 u_char buf[BUFSIZ], *val, *oval, *p; in show_var() 925 char name[BUFSIZ], fmt[BUFSIZ]; in show_var() 941 bzero(buf, BUFSIZ); in show_var() 942 bzero(fmt, BUFSIZ); in show_var() 943 bzero(name, BUFSIZ); in show_var()
|
| /freebsd-12.1/contrib/file/src/ |
| H A D | fsmagic.c | 109 char buf[BUFSIZ+4]; in file_fsmagic() 292 if ((nch = readlink(fn, buf, BUFSIZ-1)) <= 0) { in file_fsmagic() 316 char buf2[BUFSIZ+BUFSIZ+4]; in file_fsmagic() 321 if (tmp - fn + 1 > BUFSIZ) { in file_fsmagic()
|
| /freebsd-12.1/contrib/telnet/telnetd/ |
| H A D | ext.h | 66 extern char ptyobuf[BUFSIZ+NETSLOP], *pfrontp, *pbackp; 68 extern char netibuf[BUFSIZ], *netip; 70 extern char netobuf[BUFSIZ], *nfrontp, *nbackp;
|
| /freebsd-12.1/lib/libc/stdio/ |
| H A D | ungetc.c | 67 if ((p = malloc((size_t)BUFSIZ)) == NULL) in __submore() 70 fp->_ub._size = BUFSIZ; in __submore() 71 p += BUFSIZ - sizeof(fp->_ubuf); in __submore()
|
| /freebsd-12.1/crypto/heimdal/appl/ftp/common/ |
| H A D | buffer.c | 51 new_sz = BUFSIZ; in alloc_buffer() 54 new_sz = max(BUFSIZ, st->st_blksize); in alloc_buffer()
|
| /freebsd-12.1/usr.sbin/config/ |
| H A D | mkmakefile.c | 119 char line[BUFSIZ]; in open_makefile_template() 139 char line[BUFSIZ]; in makefile() 162 while (fgets(line, BUFSIZ, ifp) != NULL) { in makefile() 265 char result[BUFSIZ]; in process_into_file() 274 char result[BUFSIZ], *s; in process_into_nvlist() 312 char line[BUFSIZ]; in makehints() 334 while (fgets(line, BUFSIZ, ifp) != NULL) in makehints() 353 char line[BUFSIZ]; in makeenv() 376 while (fgets(line, BUFSIZ, ifp) != NULL) in makeenv()
|
| /freebsd-12.1/usr.bin/tip/tip/ |
| H A D | cmds.c | 113 char line[BUFSIZ], *cp; in cu_take() 143 char c, buffer[BUFSIZ]; in transfer() 150 if (number(value(FRAMESIZE)) > BUFSIZ || number(value(FRAMESIZE)) < 1) { in transfer() 151 printf("framesize must be >= 1 and <= %d\r\n", BUFSIZ); in transfer() 405 char line[BUFSIZ]; in cu_put() 925 static char xname[BUFSIZ]; in expand() 926 char cmdbuf[BUFSIZ]; in expand() 961 l = read(pivec[0], xname, BUFSIZ); in expand() 978 if (l == BUFSIZ) { in expand()
|
| /freebsd-12.1/crypto/heimdal/appl/rcp/ |
| H A D | rcp.c | 285 char *last, *name, buf[BUFSIZ]; in source() 327 if ((bp = allocbuf(&buffer, fd, BUFSIZ)) == NULL) { in source() 423 char ch, *cp, *np, *targ, *why, *vect[1], buf[BUFSIZ]; in sink() 453 } while (cp < &buf[BUFSIZ - 1] && ch != '\n'); in sink() 569 if ((bp = allocbuf(&buffer, ofd, BUFSIZ)) == NULL) { in sink() 575 for (count = i = 0; i < size; i += BUFSIZ) { in sink() 576 amt = BUFSIZ; in sink() 649 char ch, *cp, resp, rbuf[BUFSIZ]; in response() 667 } while (cp < &rbuf[BUFSIZ] && ch != '\n'); in response()
|
| /freebsd-12.1/usr.bin/whereis/ |
| H A D | whereis.c | 258 char *b, buf[BUFSIZ], *cp; in defaults() 299 if (fgets(buf, BUFSIZ - 1, p) == NULL || in defaults() 383 char *bin, buf[BUFSIZ], *cp, *cp2, *man, *name, *src; in main() 409 regerror(i, &re, buf, BUFSIZ - 1); in main() 500 while (fgets(buf, BUFSIZ - 1, p) != NULL) { in main() 611 (fgets(buf, BUFSIZ - 1, p)) != NULL) { in main() 627 BUFSIZ - 1); in main()
|