Searched refs:smb_size (Results 1 - 17 of 17) sorted by relevance

/sendmail/libsm/
H A Dwbuf.c50 ** make sure w is 0 (if fully- or un-buffered) or -bf.smb_size
69 ** happen on unbuffered streams, where bf.smb_size==1; sm_io_flush()
76 if (n >= fp->f_bf.smb_size)
84 if (++n == fp->f_bf.smb_size || (fp->f_flags & SMLBF && c == '\n'))
H A Dwsetup.c79 fp->f_lbfsize = -fp->f_bf.smb_size;
82 fp->f_w = fp->f_flags & SMNBF ? 0 : fp->f_bf.smb_size;
H A Dungetc.c61 fp->f_ub.smb_size = SM_IO_BUFSIZ;
68 i = fp->f_ub.smb_size;
75 fp->f_ub.smb_size = i << 1;
145 if (fp->f_r >= fp->f_ub.smb_size)
175 fp->f_ub.smb_size = sizeof(fp->f_ubuf);
H A Dfpurge.c51 fp->f_w = fp->f_flags & (SMLBF|SMNBF) ? 0 : fp->f_bf.smb_size;
H A Dmakebuf.c51 fp->f_bf.smb_size = 1;
59 fp->f_bf.smb_size = 1;
66 fp->f_bf.smb_size = size;
H A Dsetvbuf.c136 fp->f_bf.smb_size = 1;
165 fp->f_bf.smb_size = size;
177 fp->f_lbfsize = -fp->f_bf.smb_size;
H A Dfvwrite.c139 tsize = fp->f_bf.smb_size;
151 fp->f_w += tsize - fp->f_bf.smb_size;
153 fp->f_bf.smb_size = tsize;
176 else if (len >= (size_t) (w = fp->f_bf.smb_size))
229 w = fp->f_w + fp->f_bf.smb_size;
239 else if (s >= (w = fp->f_bf.smb_size))
H A Dsnprintf.c72 fake.f_bf.smb_size = fake.f_w = n ? n - 1 : 0;
H A Dsscanf.c85 fake.f_bf.smb_size = fake.f_r = strlen(str);
H A Dvasprintf.c80 fake.f_bf.smb_size = fake.f_w = SM_VA_BUFSIZE - 1;
H A Dvsnprintf.c67 fake.f_bf.smb_size = fake.f_w = n - 1;
H A Dfflush.c127 fp->f_w = t & (SMLBF|SMNBF) ? 0 : fp->f_bf.smb_size; /* implies SMFBF */
H A Drefill.c249 r = (*fp->f_read)(fp, (char *)fp->f_p, fp->f_bf.smb_size);
H A Dfindfp.c184 fp->f_bf.smb_size = 0; /* no buffer size with no buffer */
199 fp->f_ub.smb_size = 0; /* no size for no ungetc buffer */
H A Dstrio.c483 fp->f_bf.smb_size = fp->f_w = (size ? size - 1 : 0);
H A Dvfprintf.c125 fake.f_bf.smb_size = fake.f_w = sizeof(buf);
/sendmail/include/sm/
H A Dio.h75 int smb_size; member in struct:smbuf
197 (f).f_bf.smb_size = 0; \

Completed in 96 milliseconds