Searched refs:f_p (Results 1 - 22 of 22) sorted by relevance

/sendmail/libsm/
H A Dungetc.c34 ** Expand the ungetc buffer `in place'. That is, adjust fp->f_p when
65 fp->f_p = p;
73 fp->f_p = p + i;
147 *--fp->f_p = c;
159 if (fp->f_bf.smb_base != NULL && fp->f_p > fp->f_bf.smb_base &&
160 fp->f_p[-1] == c)
162 fp->f_p--;
173 fp->f_up = fp->f_p;
177 fp->f_p = &fp->f_ubuf[sizeof(fp->f_ubuf) - 1];
H A Dfread.c72 (void) memcpy((void *) p, (void *) fp->f_p, (size_t) r);
73 fp->f_p += r;
96 (void) memcpy((void *) p, (void *) fp->f_p, resid);
98 fp->f_p += resid;
H A Dwbuf.c75 n = fp->f_p - fp->f_bf.smb_base;
83 *fp->f_p++ = c;
H A Dfget.c82 p = fp->f_p;
99 fp->f_p = t;
105 fp->f_p += len;
H A Dvfscanf.c177 isspace(*fp->f_p))
178 nread++, fp->f_r--, fp->f_p++;
198 if (*fp->f_p != c)
200 fp->f_r--, fp->f_p++;
343 while (isspace(*fp->f_p))
347 fp->f_p++;
374 fp->f_p += n;
387 fp->f_p += width;
416 while (ccltab[*fp->f_p] != '\0')
418 n++, fp->f_r--, fp->f_p
[all...]
H A Dfvwrite.c45 #define COPY(n) (void)memcpy((void *)fp->f_p, (void *)p, (size_t)(n))
134 size_t blen = fp->f_p - fp->f_bf.smb_base;
154 fp->f_p = tbase + blen;
164 fp->f_p += w;
167 else if (fp->f_p > fp->f_bf.smb_base
172 fp->f_p += w;
198 fp->f_p += w;
231 if (fp->f_p > fp->f_bf.smb_base && s > w)
235 fp->f_p += w;
259 fp->f_p
[all...]
H A Dfflush.c105 *fp->f_p = '\0';
112 n = fp->f_p - p; /* write this much */
126 fp->f_p = p;
H A Dfpurge.c47 fp->f_p = fp->f_bf.smb_base;
H A Dfpos.c137 else if (fp->f_flags & SMWR && fp->f_p != NULL)
145 pos += fp->f_p - fp->f_bf.smb_base;
H A Dsnprintf.c71 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
84 *fake.f_p = '\0';
H A Dvasprintf.c70 fake.f_bf.smb_base = fake.f_p = (unsigned char *)sm_malloc(SM_VA_BUFSIZE);
85 *fake.f_p = '\0';
H A Dvsnprintf.c66 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
76 *fake.f_p = 0;
H A Dfseek.c164 else if (fp->f_flags & SMWR && fp->f_p != NULL)
165 curoff += fp->f_p - 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;
303 fp->f_p += n;
331 fp->f_p = fp->f_bf.smb_base;
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 Drefill.c209 fp->f_p = fp->f_up;
237 fp->f_p = fp->f_bf.smb_base;
249 r = (*fp->f_read)(fp, (char *)fp->f_p, fp->f_bf.smb_size);
299 return *fp->f_p++;
H A Dwsetup.c62 fp->f_p = fp->f_bf.smb_base;
H A Dsetvbuf.c135 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 Dsscanf.c84 fake.f_bf.smb_base = fake.f_p = (unsigned char *) str;
H A Dstrio.c482 fp->f_bf.smb_base = fp->f_p = (unsigned char *) buf;
H A Dfindfp.c178 fp->f_p = NULL; /* no current pointer */
H A Dvfprintf.c124 fake.f_bf.smb_base = fake.f_p = buf;
/sendmail/include/sm/
H A Dio.h108 unsigned char *f_p; /* current position in (some) buffer */ member in struct:sm_file
137 unsigned char *f_up; /* saved f_p when f_p is doing ungetc */
191 (f).f_p = (unsigned char *) 0; \
357 (int)(*(f)->f_p++))
367 (*(f)->f_p = (c)), *(f)->f_p != '\n' ? \
368 (int)*(f)->f_p++ : \
371 (*(f)->f_p = (c), (int)*(f)->f_p
[all...]

Completed in 66 milliseconds