| /freebsd-14.2/usr.sbin/ugidfw/ |
| H A D | ugidfw.c | 74 char errstr[BUFSIZ], charstr[BUFSIZ]; in add_rule() 84 error = bsde_add_rule(&rulenum, &rule, BUFSIZ, errstr); in add_rule() 89 if (bsde_rule_to_string(&rule, charstr, BUFSIZ) == -1) in add_rule() 98 char errstr[BUFSIZ], charstr[BUFSIZ]; in list_rules() 102 rule_slots = bsde_get_rule_slots(BUFSIZ, errstr); in list_rules() 109 rule_count = bsde_get_rule_count(BUFSIZ, errstr); in list_rules() 116 error = bsde_get_rule(i, &rule, BUFSIZ, errstr); in list_rules() 137 char errstr[BUFSIZ]; in set_rule() 161 error = bsde_set_rule(rulenum, &rule, BUFSIZ, errstr); in set_rule() 171 char errstr[BUFSIZ]; in remove_rule() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/evp/ |
| H A D | evp_key.c | 17 #ifndef BUFSIZ 18 # define BUFSIZ 256 macro 56 char buff[BUFSIZ]; in EVP_read_pw_string_min() 65 (len >= BUFSIZ) ? BUFSIZ - 1 : len) < 0 in EVP_read_pw_string_min() 68 (len >= BUFSIZ) ? BUFSIZ - 1 : len, in EVP_read_pw_string_min() 72 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
|
| /freebsd-14.2/usr.sbin/rtadvd/ |
| H A D | advcap.c | 51 #ifndef BUFSIZ 52 #define BUFSIZ 1024 macro 113 char ibuf[BUFSIZ]; in getent() 138 cnt = read(tf, ibuf, BUFSIZ); in getent() 153 if (cp >= bp + BUFSIZ - 1) { in getent() 184 char tcbuf[BUFSIZ]; in tnchktc() 213 if (l > BUFSIZ) { in tnchktc() 215 q[BUFSIZ - (p-holdtbuf)] = 0; in tnchktc()
|
| /freebsd-14.2/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()
|
| H A D | ext.h | 65 extern char ptyobuf[BUFSIZ+NETSLOP], *pfrontp, *pbackp; 67 extern char netibuf[BUFSIZ], *netip; 69 extern char netobuf[BUFSIZ+NETSLOP], *nfrontp, *nbackp;
|
| /freebsd-14.2/crypto/openssl/crypto/ui/ |
| H A D | ui_util.c | 15 #ifndef BUFSIZ 16 #define BUFSIZ 256 macro 22 char buff[BUFSIZ]; in UI_UTIL_read_pw_string() 26 UI_UTIL_read_pw(buf, buff, (length > BUFSIZ) ? BUFSIZ : length, in UI_UTIL_read_pw_string() 28 OPENSSL_cleanse(buff, BUFSIZ); in UI_UTIL_read_pw_string()
|
| /freebsd-14.2/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-14.2/contrib/xz/src/xzdec/ |
| H A D | xzdec.c | 167 uint8_t in_buf[BUFSIZ]; in uncompress() 168 uint8_t out_buf[BUFSIZ]; in uncompress() 172 strm->avail_out = BUFSIZ; in uncompress() 179 strm->avail_in = fread(in_buf, 1, BUFSIZ, file); in uncompress() 204 const size_t write_size = BUFSIZ - strm->avail_out; in uncompress() 217 strm->avail_out = BUFSIZ; in uncompress()
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/blocklist/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-14.2/tests/sys/cddl/zfs/tests/ctime/ |
| H A D | ctime_001_pos.c | 87 static char tfile[BUFSIZ] = { 0 }; 88 static char msg[BUFSIZ] = { 0 }; 214 char buf[BUFSIZ] = { 0 }; in do_read() 240 char buf[BUFSIZ] = "call function do_write()"; in do_write() 266 char link_file[BUFSIZ] = { 0 }; in do_link()
|
| /freebsd-14.2/lib/libc/net/ |
| H A D | ether_addr.c | 141 char buf[BUFSIZ + 2]; in ether_ntohost() 153 while (fgets(buf,BUFSIZ,fp)) { in ether_ntohost() 191 char buf[BUFSIZ + 2]; in ether_hostton() 202 while (fgets(buf,BUFSIZ,fp)) { in ether_hostton()
|
| H A D | eui64.c | 218 char buf[BUFSIZ + 2]; in eui64_ntohost() 230 while (fgets(buf,BUFSIZ,fp)) { in eui64_ntohost() 269 char buf[BUFSIZ + 2]; in eui64_hostton() 280 while (fgets(buf,BUFSIZ,fp)) { in eui64_hostton()
|
| /freebsd-14.2/bin/sh/ |
| H A D | input.c | 97 static char basebuf[BUFSIZ + 1];/* buffer for top level input file */ 150 if (nr > BUFSIZ) in preadfd() 151 nr = BUFSIZ; in preadfd() 161 nr = read(parsefile->fd, parsefile->buf, BUFSIZ); in preadfd() 400 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd() 406 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
|
| /freebsd-14.2/contrib/file/src/ |
| H A D | fsmagic.c | 112 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()
|
| /freebsd-14.2/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-14.2/lib/libc/stdio/ |
| H A D | ungetc.c | 64 if ((p = malloc((size_t)BUFSIZ)) == NULL) in __submore() 67 fp->_ub._size = BUFSIZ; in __submore() 68 p += BUFSIZ - sizeof(fp->_ubuf); in __submore()
|
| /freebsd-14.2/usr.sbin/prometheus_sysctl_exporter/ |
| H A D | prometheus_sysctl_exporter.c | 110 char format[BUFSIZ]; 322 char names[BUFSIZ]; 323 char labels[BUFSIZ]; 382 char separator, buf[BUFSIZ]; in oid_get_metric() 452 char description[BUFSIZ]; 497 char metric[BUFSIZ]; in oid_print() 517 if (has_desc && strnstr(od.description, "(LEGACY)", BUFSIZ) != NULL) in oid_print() 579 char errbuf[BUFSIZ]; in main()
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | ctime.c | 58 static char tfile[BUFSIZ] = { 0 }; 110 char buf[BUFSIZ] = { 0 }; in do_read() 134 char buf[BUFSIZ] = "call function do_write()"; in do_write() 158 char link_file[BUFSIZ + 16] = { 0 }; in do_link()
|
| /freebsd-14.2/usr.bin/whereis/ |
| H A D | whereis.c | 255 char *b, buf[BUFSIZ], *cp; in defaults() 296 if (fgets(buf, BUFSIZ - 1, p) == NULL || in defaults() 380 char *bin, buf[BUFSIZ], *cp, *cp2, *man, *name, *src; in main() 406 regerror(i, &re, buf, BUFSIZ - 1); in main() 497 while (fgets(buf, BUFSIZ - 1, p) != NULL) { in main() 608 (fgets(buf, BUFSIZ - 1, p)) != NULL) { in main() 624 BUFSIZ - 1); in main()
|
| /freebsd-14.2/usr.sbin/config/ |
| H A D | mkmakefile.cc | 122 char line[BUFSIZ]; in open_makefile_template() 142 char line[BUFSIZ]; in makefile() 163 while (fgets(line, BUFSIZ, ifp) != NULL) { in makefile() 266 char result[BUFSIZ]; in process_into_file() 275 char result[BUFSIZ], *s; in process_into_map() 306 char line[BUFSIZ]; in makehints() 327 while (fgets(line, BUFSIZ, ifp) != NULL) { in makehints() 348 char line[BUFSIZ]; in makeenv() 370 while (fgets(line, BUFSIZ, ifp) != NULL) { in makeenv()
|
| /freebsd-14.2/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-14.2/usr.bin/tip/tip/ |
| H A D | cmds.c | 111 char line[BUFSIZ], *cp; in cu_take() 141 char c, buffer[BUFSIZ]; in transfer() 148 if (number(value(FRAMESIZE)) > BUFSIZ || number(value(FRAMESIZE)) < 1) { in transfer() 149 printf("framesize must be >= 1 and <= %d\r\n", BUFSIZ); in transfer() 403 char line[BUFSIZ]; in cu_put() 923 static char xname[BUFSIZ]; in expand() 924 char cmdbuf[BUFSIZ]; in expand() 959 l = read(pivec[0], xname, BUFSIZ); in expand() 976 if (l == BUFSIZ) { in expand()
|