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

/freebsd-10.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-10.0-release/contrib/tcp_wrappers/
H A Dmyvsyslog.c26 char fbuf[BUFSIZ]; local
29 vsprintf(obuf, percent_m(fbuf, format), ap);
/freebsd-10.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-10.0-release/usr.sbin/pkg_install/lib/
H A Ddeps.c189 char fbuf[FILENAME_MAX], fname[FILENAME_MAX]; local
219 while (fgets(fbuf, sizeof(fbuf), fp) != NULL) {
220 if (fbuf[strlen(fbuf) - 1] == '\n')
221 fbuf[strlen(fbuf) - 1] = '\0';
222 if (filter == TRUE && isinstalledpkg(fbuf) <= 0) {
225 "actually installed", fbuf, fname);
235 strlcpy(rb_entry->pkgname, fbuf, sizeo
[all...]
/freebsd-10.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-10.0-release/sys/net/
H A Dbpf_buffer.c173 caddr_t fbuf, sbuf; local
182 fbuf = (caddr_t)malloc(size, M_BPF, M_WAITOK);
189 free(fbuf, M_BPF);
205 d->bd_fbuf = fbuf;
/freebsd-10.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-10.0-release/sys/security/audit/
H A Daudit_bsm_klib.c468 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-10.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-10.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-10.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-10.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-10.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-10.0-release/usr.bin/ktrdump/
H A Dktrdump.c76 static char fbuf[PATH_MAX]; variable
276 if (kvm_read(kd, (u_long)buf[i].ktr_file, fbuf,
277 sizeof(fbuf)) == -1)
278 strcpy(fbuf, "(null)");
279 snprintf(obuf, sizeof(obuf), "%s:%d", fbuf,
/freebsd-10.0-release/usr.sbin/makefs/
H A Dffs.c860 char *fbuf, *p; local
873 fbuf = NULL;
904 if ((fbuf = malloc(ffs_opts->bsize)) == NULL)
919 else if ((nread = read(ffd, fbuf, chunk)) == -1)
929 p = fbuf;
964 if (fbuf)
965 free(fbuf);
/freebsd-10.0-release/sbin/fdisk_pc98/
H A Dfdisk.c648 char fbuf[BUFSIZ]; local
676 sprintf(fbuf, "%ss%d", disk, i + 1);
677 fdw = open(fbuf, O_RDWR, 0);
/freebsd-10.0-release/sys/kern/
H A Dvfs_cache.c1437 char *rpath, *fbuf; local
1448 error = vn_fullpath_global(td, vp, &rpath, &fbuf);
1484 free(fbuf, M_TEMP);
/freebsd-10.0-release/contrib/bmake/
H A Djob.c1808 Boolean fbuf; /* true if our buffer filled up */ local
1819 fbuf = FALSE;
1873 fbuf = TRUE;
1877 if (gotNL || fbuf) {
/freebsd-10.0-release/usr.bin/make/
H A Djob.c1921 Boolean fbuf; /* true if our buffer filled up */ local
1935 fbuf = FALSE;
1993 fbuf = TRUE;
1997 if (gotNL || fbuf) {
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Darc.c886 arc_buf_hdr_t *fbuf; local
892 for (fbuf = buf_hash_table.ht_table[idx], i = 0; fbuf != NULL;
893 fbuf = fbuf->b_hash_next, i++) {
894 if (BUF_EQUAL(buf->b_spa, &buf->b_dva, buf->b_birth, fbuf))
895 return (fbuf);
920 arc_buf_hdr_t *fbuf, **bufp; local
927 while ((fbuf = *bufp) != buf) {
928 ASSERT(fbuf !
[all...]

Completed in 336 milliseconds