Home
last modified time | relevance | path

Searched refs:smb_base (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dvasprintf.c70 fake.f_bf.smb_base = fake.f_p = (unsigned char *)sm_malloc(SM_VA_BUFSIZE);
71 if (fake.f_bf.smb_base == NULL)
88 base = (unsigned char *) sm_realloc(fake.f_bf.smb_base, ret + 1);
95 if (fake.f_bf.smb_base != NULL)
97 sm_free(fake.f_bf.smb_base);
98 fake.f_bf.smb_base = NULL;
H A Dungetc.c56 if (fp->f_ub.smb_base == fp->f_ubuf)
60 fp->f_ub.smb_base = p;
69 p = sm_realloc_x(fp->f_ub.smb_base, i << 1);
74 fp->f_ub.smb_base = p;
159 if (fp->f_bf.smb_base != NULL && fp->f_p > fp->f_bf.smb_base &&
174 fp->f_ub.smb_base = fp->f_ubuf;
H A Dfseek.c165 curoff += fp->f_p - fp->f_bf.smb_base;
193 if (fp->f_bf.smb_base == NULL)
249 n = fp->f_up - fp->f_bf.smb_base;
255 n = fp->f_p - fp->f_bf.smb_base;
271 fp->f_p = fp->f_bf.smb_base + o;
293 fp->f_p = fp->f_bf.smb_base;
331 fp->f_p = fp->f_bf.smb_base;
H A Dsetvbuf.c89 sm_free((void *) fp->f_bf.smb_base);
90 fp->f_bf.smb_base = NULL;
135 fp->f_bf.smb_base = fp->f_p = fp->f_nbuf;
164 fp->f_bf.smb_base = fp->f_p = (unsigned char *)buf;
H A Dfvwrite.c134 size_t blen = fp->f_p - fp->f_bf.smb_base;
144 tbase = (unsigned char *) sm_realloc(fp->f_bf.smb_base,
152 fp->f_bf.smb_base = tbase;
167 else if (fp->f_p > fp->f_bf.smb_base
231 if (fp->f_p > fp->f_bf.smb_base && s > w)
H A Dlocal.h82 ((((fp)->f_flags & SMWR) == 0 || (fp)->f_bf.smb_base == NULL) && \
90 #define HASUB(fp) ((fp)->f_ub.smb_base != NULL)
93 if ((fp)->f_ub.smb_base != (fp)->f_ubuf) \
94 sm_free((char *)(fp)->f_ub.smb_base); \
95 (fp)->f_ub.smb_base = NULL; \
H A Dmakebuf.c50 fp->f_bf.smb_base = fp->f_p = fp->f_nbuf;
58 fp->f_bf.smb_base = fp->f_p = fp->f_nbuf;
65 fp->f_bf.smb_base = fp->f_p = p;
H A Dwsetup.c62 fp->f_p = fp->f_bf.smb_base;
68 if (fp->f_bf.smb_base == NULL)
H A Dsscanf.c84 fake.f_bf.smb_base = fake.f_p = (unsigned char *) str;
95 fake.f_ub.smb_base = NULL;
H A Dfclose.c140 sm_free((char *)fp->f_bf.smb_base);
141 fp->f_bf.smb_base = NULL;
H A Drefill.c217 if (fp->f_bf.smb_base == NULL)
237 fp->f_p = fp->f_bf.smb_base;
H A Dfpurge.c47 fp->f_p = fp->f_bf.smb_base;
H A Dwbuf.c75 n = fp->f_p - fp->f_bf.smb_base;
H A Dvsnprintf.c66 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
H A Dfpos.c145 pos += fp->f_p - fp->f_bf.smb_base;
H A Dsnprintf.c71 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
H A Dfflush.c109 if ((p = fp->f_bf.smb_base) == NULL)
H A Dfindfp.c183 fp->f_bf.smb_base = NULL; /* no buffer */
198 fp->f_ub.smb_base = NULL; /* no ungetc buffer */
H A Dstrio.c482 fp->f_bf.smb_base = fp->f_p = (unsigned char *) buf;
H A Dvfprintf.c124 fake.f_bf.smb_base = fake.f_p = buf;
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dio.h74 unsigned char *smb_base; member
196 (f).f_bf.smb_base = (unsigned char *) 0; \