Searched refs:smb_base (Results 1 – 21 of 21) sorted by relevance
70 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;
56 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;
165 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;
89 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;
134 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_base231 if (fp->f_p > fp->f_bf.smb_base && s > w)
82 ((((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; \
50 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;
62 fp->f_p = fp->f_bf.smb_base;68 if (fp->f_bf.smb_base == NULL)
84 fake.f_bf.smb_base = fake.f_p = (unsigned char *) str;95 fake.f_ub.smb_base = NULL;
140 sm_free((char *)fp->f_bf.smb_base);141 fp->f_bf.smb_base = NULL;
217 if (fp->f_bf.smb_base == NULL)237 fp->f_p = fp->f_bf.smb_base;
47 fp->f_p = fp->f_bf.smb_base;
75 n = fp->f_p - fp->f_bf.smb_base;
66 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
145 pos += fp->f_p - fp->f_bf.smb_base;
71 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
109 if ((p = fp->f_bf.smb_base) == NULL)
183 fp->f_bf.smb_base = NULL; /* no buffer */198 fp->f_ub.smb_base = NULL; /* no ungetc buffer */
482 fp->f_bf.smb_base = fp->f_p = (unsigned char *) buf;
124 fake.f_bf.smb_base = fake.f_p = buf;
74 unsigned char *smb_base; member196 (f).f_bf.smb_base = (unsigned char *) 0; \