/src/bin/rcp/ |
extern.h | 36 char *buf; member in struct:__anon5b46c2550108 37 } BUF; 41 BUF *allocbuf(BUF *, int, int);
|
util.c | 148 BUF * 149 allocbuf(BUF *bp, int fd, int blksize) 164 if ((nbuf = realloc(bp->buf, size)) == NULL) { 165 free(bp->buf); 166 bp->buf = NULL; 171 bp->buf = nbuf;
|
rcp.c | 334 static BUF buffer; 335 BUF *bp; 341 char *last, *name, *cp, buf[BUFSIZ]; local in function:source 373 (void)snprintf(buf, sizeof(buf), "T%lld %ld %lld %ld\n", 378 (void)write(rem, buf, strlen(buf)); 383 (void)snprintf(buf, sizeof(buf), "C%04o %lld %s\n", 385 (void)write(rem, buf, strlen(buf)) 500 char ch, *cp, *np, *targ, *vect[1], buf[BUFSIZ]; local in function:sink 830 char buf[2048]; local in function:progress [all...] |
/src/sys/external/bsd/drm2/include/linux/ |
nbsd-namespace.h | 50 #define sprintf(BUF, FMT, ARGS...) snprintf(BUF, SIZE_MAX, FMT, ##ARGS)
|
/src/sys/sys/ |
biohist.h | 53 #define BIOHIST_INITIALIZER(NAME,BUF) KERNHIST_INITIALIZER(NAME,BUF) 70 #define BIOHIST_INITIALIZER(NAME,BUF)
|
kernhist.h | 168 #define KERNHIST_INITIALIZER(NAME,BUF) \ 172 .n = sizeof(BUF) / sizeof(struct kern_history_ent), \ 174 .e = (struct kern_history_ent *) (BUF), \ 176 /* BUF will inititalized to zeroes by being in .bss */ \
|
/src/sys/uvm/ |
uvm_stat.h | 55 #define UVMHIST_INITIALIZER(NAME,BUF) KERNHIST_INITIALIZER(NAME,BUF) 67 #define UVMHIST_INITIALIZER(NAME,BUF)
|
/src/usr.bin/tsort/ |
tsort.c | 101 } BUF; 118 BUF *b; 122 BUF bufs[2];
|
/src/lib/libc/stdio/ |
vfwprintf.c | 165 unsigned char buf[BUFSIZ]; local in function:__sbprintf 181 fake._bf._base = fake._p = buf; 182 fake._bf._size = fake._w = sizeof(buf); 204 char buf[MB_LEN_MAX]; local in function:__xfputwc 213 if ((len = wcrtomb_l(buf, wc, &mbs, loc)) == (size_t)-1) { 220 iov.iov_base = buf; 500 char buf[MB_LEN_MAX]; local in function:__wcsconv 525 clen = wcrtomb_l(buf, *p++, &mbs, loc); 594 #define BUF 100 683 CHAR_T buf[BUF]; /* buffer with space for digits of uintmax_t * local in function:WDECL [all...] |
vfscanf.c | 73 #define BUF 513 /* Maximum length of numeric string. */ 173 char buf[BUF]; /* buffer for numeric and mb conversions */ local in function:__svfscanf_unlocked_l 406 buf[n++] = *fp->_p; 410 nconv = mbrtowc_l(wcp, buf, n, &mbs, 489 buf[n++] = *fp->_p; 493 nconv = mbrtowc_l(wcp, buf, n, &mbs, 506 (void)ungetc(buf[n], 591 buf[n++] = *fp->_p; 595 nconv = mbrtowc_l(wcp, buf, n, &mbs [all...] |
vfwscanf.c | 68 #define BUF 513 /* Maximum length of numeric string. */ 162 wchar_t buf[BUF]; /* buffer for numeric conversions */ local in function:__vfwscanf_unlocked_l 575 if (width == 0 || width > sizeof(buf) / 576 sizeof(*buf) - 1) 577 width = sizeof(buf) / sizeof(*buf) - 1; 579 for (p = buf; width; width--) { 651 buf + 1 + !!(flags & HAVESIGN)) { 679 if (p > buf) [all...] |