Searched refs:f_ub (Results 1 – 5 of 5) sorted by relevance
56 if (fp->f_ub.smb_base == fp->f_ubuf)60 fp->f_ub.smb_base = p;61 fp->f_ub.smb_size = SM_IO_BUFSIZ;68 i = fp->f_ub.smb_size;69 p = sm_realloc_x(fp->f_ub.smb_base, i << 1);74 fp->f_ub.smb_base = p;75 fp->f_ub.smb_size = i << 1;145 if (fp->f_r >= fp->f_ub.smb_size)174 fp->f_ub.smb_base = fp->f_ubuf;175 fp->f_ub.smb_size = sizeof(fp->f_ubuf);
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; \
95 fake.f_ub.smb_base = NULL;
198 fp->f_ub.smb_base = NULL; /* no ungetc buffer */199 fp->f_ub.smb_size = 0; /* no size for no ungetc buffer */
136 struct smbuf f_ub; /* ungetc buffer */ member