/freebsd-current/contrib/tcp_wrappers/ |
H A D | myvsyslog.c | 23 char fbuf[BUFSIZ]; local 26 vsprintf(obuf, percent_m(fbuf, format), ap);
|
/freebsd-current/sbin/dhclient/ |
H A D | errwarn.c | 53 static char fbuf[1024]; variable 65 do_percentm(fbuf, sizeof(fbuf), fmt); 68 vsnprintf(mbuf, sizeof(mbuf), fbuf, list); 99 do_percentm(fbuf, sizeof(fbuf), fmt); 102 vsnprintf(mbuf, sizeof(mbuf), fbuf, list); 125 do_percentm(fbuf, sizeof(fbuf), fmt); 128 vsnprintf(mbuf, sizeof(mbuf), fbuf, lis [all...] |
/freebsd-current/lib/libsecureboot/ |
H A D | veta.c | 73 char fbuf[MAXPATHLEN]; local 85 sz = snprintf(fbuf, sizeof(fbuf), "%s/%s", trust, de->d_name); 86 if (sz >= (ssize_t)sizeof(fbuf)) 88 if (stat(fbuf, &st) < 0 || S_ISDIR(st.st_mode)) 90 num += trust_file_add(fbuf);
|
/freebsd-current/usr.bin/mail/ |
H A D | quit.c | 66 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local 97 fbuf = Fopen(mailname, "r"); 98 if (fbuf == NULL) 100 (void)flock(fileno(fbuf), LOCK_EX); 102 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) { 110 (void)fseeko(fbuf, mailsize, SEEK_SET); 111 while ((c = getc(fbuf)) != EOF) 116 c = getc(fbuf); 174 (void)Fclose(fbuf); 180 (void)Fclose(fbuf); [all...] |
H A D | collect.c | 69 FILE *fbuf; local 344 (fbuf = Fdopen(tempfd, "w+")) == NULL) { 353 rc = run_command(sh, 0, nullfd, fileno(fbuf), 359 (void)Fclose(fbuf); 363 if (fsize(fbuf) == 0) { 367 (void)Fclose(fbuf); 371 rewind(fbuf); 375 } else if ((fbuf = Fopen(cp, "r")) == NULL) { 383 while ((rc = readline(fbuf, linebuf, LINESIZE)) >= 0) { 388 (void)Fclose(fbuf); [all...] |
/freebsd-current/contrib/ntp/sntp/ |
H A D | kod_management.c | 188 char fbuf[254+10+4+2+1+1]; local 212 while (!feof(db_s) && NULL != fgets(fbuf, sizeof(fbuf), db_s)) { 215 if ('\n' == fbuf[0]) 219 len = strlen(fbuf); 221 if (' ' == fbuf[a]) 224 if ('\n' == fbuf[a]) { 257 str_ptr = fgets(fbuf, sizeof(fbuf), db_s); 264 if ('\n' == fbuf[ [all...] |
/freebsd-current/sys/dev/hid/ |
H A D | hconf.c | 138 uint8_t *fbuf; local 148 fbuf = malloc(fc->rlen, M_TEMP, M_WAITOK | M_ZERO); 155 bzero(fbuf + 1, fc->rlen - 1); 165 hid_put_udata(fbuf + 1, ofc->rlen - 1, &ofc->loc, 169 fbuf[0] = fc->rid; 171 error = hid_set_report(sc->dev, fbuf, fc->rlen, 177 free(fbuf, M_TEMP);
|
H A D | hmt.c | 300 uint8_t *fbuf = NULL; local 318 fbuf = malloc(fsize, M_TEMP, M_WAITOK | M_ZERO); 322 err = hid_get_report(dev, fbuf, sc->cont_max_rlen, &rsize, 326 cont_count_max = hid_get_udata(fbuf + 1, 342 bzero(fbuf, fsize); 343 err = hid_get_report(dev, fbuf, sc->btn_type_rlen, &rsize, 350 sc->is_clickpad = hid_get_udata(fbuf + 1, sc->btn_type_rlen - 1, 357 (void)hid_get_report(dev, fbuf, sc->thqa_cert_rlen, NULL, 360 free(fbuf, M_TEMP);
|
/freebsd-current/sys/net/ |
H A D | bpf_buffer.c | 162 caddr_t fbuf, sbuf; local 171 fbuf = (caddr_t)malloc(size, M_BPF, M_WAITOK); 178 free(fbuf, M_BPF); 191 d->bd_fbuf = fbuf;
|
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_humanize_number.c | 208 char fbuf[128]; local 234 w_printf("%s,", formatflags(fbuf, sizeof(fbuf), scale_flags, 237 w_printf("%s)", formatflags(fbuf, sizeof(fbuf), normal_flags,
|
/freebsd-current/contrib/sendmail/src/ |
H A D | mime.c | 1044 unsigned char fbuf[MAXLINE + 1]; local 1103 fbufp = fbuf; 1137 # define CHK_EOL if (*--fbufp != '\n' || (fbufp > fbuf && *--fbufp != '\r')) \ 1140 # define CHK_EOL if (*--fbufp != '\n' || (fbufp > fbuf && *--fbufp != '\r')) \ 1150 if (*fbufp++ == '\n' || fbufp >= &fbuf[MAXLINE]) \ 1153 if (!putxline((char *) fbuf, fbufp - fbuf, mci, pxflags)) \ 1156 fbufp = fbuf; \ 1180 fbufp = fbuf; 1185 &fbuf[MAXLIN [all...] |
/freebsd-current/contrib/tcsh/ |
H A D | sh.lex.c | 1552 if (fbuf) { 1553 (void) blkcpy(nfbuf, fbuf); 1554 xfree(fbuf); 1556 fbuf = nfbuf; 1557 fbuf[fblocks] = xcalloc(BUFSIZE, sizeof(Char)); 1646 c = wide_read(SHIN, fbuf[0], BUFSIZE, 1); 1656 ch = fbuf[0][fseekp - fbobp]; 1660 ch = fbuf[0][fseekp - fbobp]; 1687 (void) memcpy(fbuf[buf] + off, InputBuf + c - numleft, 1697 c = wide_read(SHIN, fbuf[bu [all...] |
/freebsd-current/contrib/file/src/ |
H A D | buffer.c | 48 b->fbuf = data;
|
H A D | is_tar.c | 65 const unsigned char *buf = CAST(const unsigned char *, b->fbuf);
|
H A D | is_csv.c | 136 const unsigned char *uc = CAST(const unsigned char *, b->fbuf);
|
H A D | ascmagic.c | 83 bb.flen = trim_nuls(CAST(const unsigned char *, b->fbuf), b->flen); 110 const unsigned char *buf = CAST(const unsigned char *, b->fbuf);
|
H A D | is_simh.c | 151 const unsigned char *uc = CAST(const unsigned char *, b->fbuf);
|
H A D | is_json.c | 424 const unsigned char *uc = CAST(const unsigned char *, b->fbuf);
|
/freebsd-current/usr.bin/pr/ |
H A D | pr.c | 801 FILE **fbuf = NULL; local 820 if ((fbuf = (FILE **)malloc((unsigned)clcnt*sizeof(FILE *))) == NULL) { 843 if ((fbuf[j] = nxtfile(argc, argv, &fname, ohbuf, 1)) == NULL) 845 if (pgnm && (inskip(fbuf[j], pgnm, lines))) 846 fbuf[j] = NULL; 919 if (fbuf[j] == NULL) { 924 } else if ((cnt = inln(fbuf[j], ptbf, colwd, 929 if (fbuf[j] != stdin) 930 (void)fclose(fbuf[j]); 931 fbuf[ [all...] |
/freebsd-current/sys/security/audit/ |
H A D | audit_bsm_klib.c | 424 char *rbuf, *fbuf, *copy; local 462 error = vn_fullpath_global(vp, &rbuf, &fbuf); 475 free(fbuf, M_TEMP);
|
/freebsd-current/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 60 char fbuf[MAXPATHLEN]; local 66 if (sm_strlcpy(fbuf, fn, sizeof fbuf) >= sizeof fbuf) 72 fn = fbuf;
|
/freebsd-current/usr.sbin/makefs/ |
H A D | ffs.c | 910 char *fbuf, *p; local 924 fbuf = NULL; 955 fbuf = emalloc(ffs_opts->bsize); 968 else if ((nread = read(ffd, fbuf, chunk)) == -1) 978 p = fbuf; 1010 if (fbuf) 1011 free(fbuf);
|
/freebsd-current/usr.bin/ktrdump/ |
H A D | ktrdump.c | 80 static char fbuf[PATH_MAX]; variable 338 if (kvm_read(kd, (u_long)buf[i].ktr_file, fbuf, 339 sizeof(fbuf)) == -1) 340 strcpy(fbuf, "(null)"); 341 snprintf(obuf, sizeof(obuf), "%s:%d", fbuf,
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | copy_file_range.cc | 333 uint8_t *wbuf, *fbuf; local 346 fbuf = new uint8_t[fsize](); 353 expect_read(ino, 0, fsize, fsize, fbuf, -1, fh); 387 delete[] fbuf;
|
/freebsd-current/contrib/tzcode/ |
H A D | zdump.c | 1085 char fbuf[100]; local 1086 bool oversized = sizeof fbuf <= (size_t)f_prefix_copy_size; 1087 char *f_prefix_copy = oversized ? xmalloc(f_prefix_copy_size) : fbuf;
|