/freebsd/usr.sbin/ugidfw/ |
H A D | ugidfw.c | 73 char errstr[BUFSIZ], charstr[BUFSIZ]; in add_rule() 77 error = bsde_parse_rule(argc, argv, &rule, BUFSIZ, errstr); in add_rule() 83 error = bsde_add_rule(&rulenum, &rule, BUFSIZ, errstr); in add_rule() 88 if (bsde_rule_to_string(&rule, charstr, BUFSIZ) == -1) in add_rule() 97 char errstr[BUFSIZ], charstr[BUFSIZ]; in list_rules() 101 rule_slots = bsde_get_rule_slots(BUFSIZ, errstr); in list_rules() 108 rule_count = bsde_get_rule_count(BUFSIZ, errstr); in list_rules() 115 error = bsde_get_rule(i, &rule, BUFSIZ, errstr); in list_rules() 126 if (bsde_rule_to_string(&rule, charstr, BUFSIZ) == -1) in list_rules() 136 char errstr[BUFSIZ]; in set_rule() [all …]
|
/freebsd/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/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/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/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/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/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fmemopen.c | 130 char buf[BUFSIZ]; in ATF_TC_BODY() 166 fp = fmemopen(NULL, BUFSIZ, *p); 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() [all …]
|
/freebsd/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/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/tests/sys/cddl/zfs/tests/ctime/ |
H A D | ctime_001_pos.c | 86 static char tfile[BUFSIZ] = { 0 }; 87 static char msg[BUFSIZ] = { 0 }; 213 char buf[BUFSIZ] = { 0 }; in do_read() 239 char buf[BUFSIZ] = "call function do_write()"; in do_write() 265 char link_file[BUFSIZ] = { 0 }; in do_link()
|
/freebsd/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/bin/sh/ |
H A D | input.c | 91 static char basebuf[BUFSIZ + 1];/* buffer for top level input file */ 144 if (nr > BUFSIZ) in preadfd() 145 nr = BUFSIZ; in preadfd() 155 nr = read(parsefile->fd, parsefile->buf, BUFSIZ); in preadfd() 394 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd() 400 parsefile->buf = ckmalloc(BUFSIZ + 1); in setinputfd()
|
/freebsd/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/usr.sbin/prometheus_sysctl_exporter/ |
H A D | prometheus_sysctl_exporter.c | 109 char format[BUFSIZ]; 321 char names[BUFSIZ]; 322 char labels[BUFSIZ]; 381 char separator, buf[BUFSIZ]; in oid_get_metric() 451 char description[BUFSIZ]; 496 char metric[BUFSIZ]; in oid_print() 516 if (has_desc && strnstr(od.description, "(LEGACY)", BUFSIZ) != NULL) in oid_print() 578 char errbuf[BUFSIZ]; in main()
|
/freebsd/lib/libc/stdio/ |
H A D | ungetc.c | 61 if ((p = malloc((size_t)BUFSIZ)) == NULL) in __submore() 64 fp->_ub._size = BUFSIZ; in __submore() 65 p += BUFSIZ - sizeof(fp->_ubuf); in __submore()
|
/freebsd/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/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/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/usr.bin/tip/tip/ |
H A D | cmds.c | 103 char line[BUFSIZ], *cp; in cu_take() 133 char c, buffer[BUFSIZ]; in transfer() 140 if (number(value(FRAMESIZE)) > BUFSIZ || number(value(FRAMESIZE)) < 1) { in transfer() 141 printf("framesize must be >= 1 and <= %d\r\n", BUFSIZ); in transfer() 395 char line[BUFSIZ]; in cu_put() 915 static char xname[BUFSIZ]; in expand() 916 char cmdbuf[BUFSIZ]; in expand() 951 l = read(pivec[0], xname, BUFSIZ); in expand() 968 if (l == BUFSIZ) { in expand()
|
/freebsd/usr.sbin/config/ |
H A D | mkmakefile.cc | 116 char line[BUFSIZ]; in open_makefile_template() 136 char line[BUFSIZ]; in makefile() 157 while (fgets(line, BUFSIZ, ifp) != NULL) { in makefile() 260 char result[BUFSIZ]; in process_into_file() 269 char result[BUFSIZ], *s; in process_into_map() 300 char line[BUFSIZ]; in makehints() 321 while (fgets(line, BUFSIZ, ifp) != NULL) { in makehints() 342 char line[BUFSIZ]; in makeenv() 364 while (fgets(line, BUFSIZ, ifp) != NULL) { in makeenv()
|
/freebsd/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/usr.bin/mail/ |
H A D | tty.c | 169 char canonb[BUFSIZ]; in readtty() 178 if (src != NULL && strlen(src) > BUFSIZ - 2) { in readtty() 204 while (cp2 < canonb + BUFSIZ) in readtty() 213 while (cp2 < canonb + BUFSIZ) { in readtty()
|