Searched refs:fbuf (Results 1 - 23 of 23) sorted by relevance

/freebsd-11.0-release/contrib/tzcode/zic/
H A Dscheck.c26 register char * fbuf; local
36 fbuf = imalloc((int) (2 * strlen(format) + 4));
37 if (fbuf == NULL)
40 tp = fbuf;
64 if (sscanf(string, fbuf, &dummy) != 1)
66 ifree(fbuf);
/freebsd-11.0-release/contrib/tcp_wrappers/
H A Dmyvsyslog.c26 char fbuf[BUFSIZ]; local
29 vsprintf(obuf, percent_m(fbuf, format), ap);
/freebsd-11.0-release/sbin/dhclient/
H A Derrwarn.c53 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-11.0-release/usr.bin/mail/
H A Dquit.c72 FILE *ibuf, *obuf, *fbuf, *rbuf, *readstat, *abuf; local
103 fbuf = Fopen(mailname, "r");
104 if (fbuf == NULL)
106 (void)flock(fileno(fbuf), LOCK_EX);
108 if (fstat(fileno(fbuf), &minfo) >= 0 && minfo.st_size > mailsize) {
116 (void)fseeko(fbuf, mailsize, SEEK_SET);
117 while ((c = getc(fbuf)) != EOF)
122 c = getc(fbuf);
180 (void)Fclose(fbuf);
186 (void)Fclose(fbuf);
[all...]
H A Dcollect.c75 FILE *fbuf; local
351 (fbuf = Fdopen(tempfd, "w+")) == NULL) {
360 rc = run_command(sh, 0, nullfd, fileno(fbuf),
366 (void)Fclose(fbuf);
370 if (fsize(fbuf) == 0) {
374 (void)Fclose(fbuf);
378 rewind(fbuf);
382 } else if ((fbuf = Fopen(cp, "r")) == NULL) {
390 while ((rc = readline(fbuf, linebuf, LINESIZE)) >= 0) {
395 (void)Fclose(fbuf);
[all...]
/freebsd-11.0-release/contrib/ntp/sntp/
H A Dkod_management.c188 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-11.0-release/sys/net/
H A Dbpf_buffer.c171 caddr_t fbuf, sbuf; local
180 fbuf = (caddr_t)malloc(size, M_BPF, M_WAITOK);
187 free(fbuf, M_BPF);
200 d->bd_fbuf = fbuf;
/freebsd-11.0-release/contrib/netbsd-tests/lib/libc/gen/
H A Dt_humanize_number.c212 char fbuf[128]; local
238 w_printf("%s,", formatflags(fbuf, sizeof(fbuf), scale_flags,
241 w_printf("%s)", formatflags(fbuf, sizeof(fbuf), normal_flags,
/freebsd-11.0-release/contrib/sendmail/src/
H A Dmime.c1043 unsigned char fbuf[MAXLINE + 1]; local
1102 fbufp = fbuf;
1136 #define CHK_EOL if (*--fbufp != '\n' || (fbufp > fbuf && *--fbufp != '\r')) \
1139 #define CHK_EOL if (*--fbufp != '\n' || (fbufp > fbuf && *--fbufp != '\r')) \
1149 if (*fbufp++ == '\n' || fbufp >= &fbuf[MAXLINE]) \
1152 if (!putxline((char *) fbuf, fbufp - fbuf, mci, pxflags)) \
1155 fbufp = fbuf; \
1179 fbufp = fbuf;
1184 &fbuf[MAXLIN
[all...]
/freebsd-11.0-release/sys/security/audit/
H A Daudit_bsm_klib.c466 char *rbuf, *fbuf, *copy; local
533 error = vn_fullpath_global(td, rvnp, &rbuf, &fbuf);
542 free(fbuf, M_TEMP);
545 error = vn_fullpath(td, cvnp, &rbuf, &fbuf);
552 free(fbuf, M_TEMP);
/freebsd-11.0-release/contrib/tcsh/
H A Dsh.lex.c1532 if (fbuf) {
1533 (void) blkcpy(nfbuf, fbuf);
1534 xfree(fbuf);
1536 fbuf = nfbuf;
1537 fbuf[fblocks] = xcalloc(BUFSIZE, sizeof(Char));
1626 c = wide_read(SHIN, fbuf[0], BUFSIZE, 1);
1636 ch = fbuf[0][fseekp - fbobp];
1640 ch = fbuf[0][fseekp - fbobp];
1667 (void) memcpy(fbuf[buf] + off, InputBuf + c - numleft,
1677 c = wide_read(SHIN, fbuf[bu
[all...]
H A Dsh.c1624 fbuf = NULL;
1660 Char** nfbuf = fbuf;
1664 fbuf = NULL;
H A Dsh.h767 * fbuf indexing).
811 #define fbuf B.Bfbuf macro
/freebsd-11.0-release/release/picobsd/tinyware/ns/
H A Dns.c257 char fbuf[50]; local
391 sprintf(fbuf, "%s", sock_ntop(sa, sa->sa_len));
394 strcat(fbuf, sock_ntop(sa1, sa1->sa_len));
396 printf("%-19s", fbuf);
401 memset(fbuf, 0, sizeof(fbuf));
402 get_flags(fbuf, rtm->rtm_flags);
403 printf("%-10s", fbuf);
/freebsd-11.0-release/contrib/groff/src/libs/libbib/
H A Dlinear.cpp428 file_buffer fbuf; member in class:linear_search_item
469 return fbuf.load(fd, name);
492 const char *bufstart = lsi->fbuf.get_start();
493 const char *bufend = lsi->fbuf.get_end();
/freebsd-11.0-release/usr.bin/pr/
H A Dpr.c789 FILE **fbuf; local
807 if ((fbuf = (FILE **)malloc((unsigned)clcnt*sizeof(FILE *))) == NULL) {
830 if ((fbuf[j] = nxtfile(argc, argv, &fname, ohbuf, 1)) == NULL)
832 if (pgnm && (inskip(fbuf[j], pgnm, lines)))
833 fbuf[j] = NULL;
906 if (fbuf[j] == NULL) {
911 } else if ((cnt = inln(fbuf[j], ptbf, colwd,
916 if (fbuf[j] != stdin)
917 (void)fclose(fbuf[j]);
918 fbuf[
[all...]
/freebsd-11.0-release/contrib/sendmail/libsmutil/
H A Dsafefile.c61 char fbuf[MAXPATHLEN]; local
67 if (sm_strlcpy(fbuf, fn, sizeof fbuf) >= sizeof fbuf)
73 fn = fbuf;
/freebsd-11.0-release/usr.sbin/makefs/
H A Dffs.c885 char *fbuf, *p; local
898 fbuf = NULL;
929 if ((fbuf = malloc(ffs_opts->bsize)) == NULL)
944 else if ((nread = read(ffd, fbuf, chunk)) == -1)
954 p = fbuf;
989 if (fbuf)
990 free(fbuf);
/freebsd-11.0-release/sbin/fdisk_pc98/
H A Dfdisk.c646 char fbuf[BUFSIZ]; local
674 sprintf(fbuf, "%ss%d", disk, i + 1);
675 fdw = open(fbuf, O_RDWR, 0);
/freebsd-11.0-release/usr.bin/ktrdump/
H A Dktrdump.c76 static char fbuf[PATH_MAX]; variable
282 if (kvm_read(kd, (u_long)buf[i].ktr_file, fbuf,
283 sizeof(fbuf)) == -1)
284 strcpy(fbuf, "(null)");
285 snprintf(obuf, sizeof(obuf), "%s:%d", fbuf,
/freebsd-11.0-release/sys/kern/
H A Dvfs_cache.c1461 char *rpath, *fbuf; local
1472 error = vn_fullpath_global(td, vp, &rpath, &fbuf);
1508 free(fbuf, M_TEMP);
/freebsd-11.0-release/contrib/bmake/
H A Djob.c1810 Boolean fbuf; /* true if our buffer filled up */ local
1821 fbuf = FALSE;
1875 fbuf = TRUE;
1879 if (gotNL || fbuf) {
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Drefclock_gpsdjson.c2198 char fbuf[6]; local
2199 snprintf(fbuf, sizeof(fbuf), "\\%03o", uch);
2200 dptr = add_string(dptr, dtop, fbuf);

Completed in 324 milliseconds