Home
last modified time | relevance | path

Searched refs:f_p (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c179 isspace(*fp->f_p))
180 nread++, fp->f_r--, fp->f_p++;
200 if (*fp->f_p != c)
202 fp->f_r--, fp->f_p++;
345 while (isspace(*fp->f_p))
349 fp->f_p++;
376 fp->f_p += n;
389 fp->f_p += width;
418 while (ccltab[*fp->f_p] != '\0')
420 n++, fp->f_r--, fp->f_p++;
[all …]
H A Dungetc.c67 fp->f_p = p;
75 fp->f_p = p + i;
149 *--fp->f_p = c;
161 if (fp->f_bf.smb_base != NULL && fp->f_p > fp->f_bf.smb_base &&
162 fp->f_p[-1] == c)
164 fp->f_p--;
175 fp->f_up = fp->f_p;
179 fp->f_p = &fp->f_ubuf[sizeof(fp->f_ubuf) - 1];
H A Dfvwrite.c47 #define COPY(n) (void)memcpy((void *)fp->f_p, (void *)p, (size_t)(n))
136 size_t blen = fp->f_p - fp->f_bf.smb_base;
156 fp->f_p = tbase + blen;
166 fp->f_p += w;
169 else if (fp->f_p > fp->f_bf.smb_base
174 fp->f_p += w;
200 fp->f_p += w;
233 if (fp->f_p > fp->f_bf.smb_base && s > w)
237 fp->f_p += w;
261 fp->f_p += w;
H A Dfread.c74 (void) memcpy((void *) p, (void *) fp->f_p, (size_t) r);
75 fp->f_p += r;
98 (void) memcpy((void *) p, (void *) fp->f_p, resid);
100 fp->f_p += resid;
H A Dfseek.c166 else if (fp->f_flags & SMWR && fp->f_p != NULL)
167 curoff += fp->f_p - fp->f_bf.smb_base;
257 n = fp->f_p - fp->f_bf.smb_base;
273 fp->f_p = fp->f_bf.smb_base + o;
295 fp->f_p = fp->f_bf.smb_base;
305 fp->f_p += n;
333 fp->f_p = fp->f_bf.smb_base;
H A Dfget.c83 p = fp->f_p;
99 fp->f_p = t;
105 fp->f_p += len;
H A Dfflush.c107 *fp->f_p = '\0';
114 n = fp->f_p - p; /* write this much */
128 fp->f_p = p;
H A Drefill.c211 fp->f_p = fp->f_up;
239 fp->f_p = fp->f_bf.smb_base;
251 r = (*fp->f_read)(fp, (char *)fp->f_p, fp->f_bf.smb_size);
301 return *fp->f_p++;
H A Dmakebuf.c52 fp->f_bf.smb_base = fp->f_p = fp->f_nbuf;
60 fp->f_bf.smb_base = fp->f_p = fp->f_nbuf;
67 fp->f_bf.smb_base = fp->f_p = p;
H A Dwbuf.c77 n = fp->f_p - fp->f_bf.smb_base;
85 *fp->f_p++ = c;
H A Dvsnprintf.c68 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
78 *fake.f_p = 0;
H A Dfpos.c139 else if (fp->f_flags & SMWR && fp->f_p != NULL)
147 pos += fp->f_p - fp->f_bf.smb_base;
H A Dsnprintf.c73 fake.f_bf.smb_base = fake.f_p = (unsigned char *)str;
86 *fake.f_p = '\0';
H A Dvasprintf.c72 fake.f_bf.smb_base = fake.f_p = (unsigned char *)sm_malloc(SM_VA_BUFSIZE);
87 *fake.f_p = '\0';
H A Dsetvbuf.c137 fp->f_bf.smb_base = fp->f_p = fp->f_nbuf;
166 fp->f_bf.smb_base = fp->f_p = (unsigned char *)buf;
H A Dfpurge.c49 fp->f_p = fp->f_bf.smb_base;
H A Dwsetup.c64 fp->f_p = fp->f_bf.smb_base;
H A Dsscanf.c86 fake.f_bf.smb_base = fake.f_p = (unsigned char *) str;
H A Dstrio.c484 fp->f_bf.smb_base = fp->f_p = (unsigned char *) buf;
H A Dfindfp.c180 fp->f_p = NULL; /* no current pointer */
H A Dvfprintf.c126 fake.f_bf.smb_base = fake.f_p = buf;
/titanic_44/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c1228 tapeck(struct file_info *f_p, int dir) in tapeck() argument
1234 if ((f_p->f_bsize = g_init(&f_p->f_dev, &f_p->f_des)) < 0) in tapeck()
1236 if ((f_p->f_dev != G_TM_TAPE) && (f_p->f_dev != G_XT_TAPE) && in tapeck()
1237 (f_p->f_dev != G_ST_TAPE)) in tapeck()
1241 if (g_read(f_p->f_dev, f_p->f_des, &V_labl, sizeof (V_labl)) <= 0) { in tapeck()
1259 strncpy(V_labl.v_volume, f_p->f_vol_p, 6); in tapeck()
1267 if (*f_p->f_vol_p == '-') in tapeck()
1268 strncpy(f_p->f_vol_p, V_labl.v_volume, 6); in tapeck()
1269 else if (NOT_EQ(V_labl.v_volume, f_p->f_vol_p, 6)) { in tapeck()
1271 V_labl.v_volume, f_p->f_vol_p); in tapeck()
[all …]
/titanic_44/usr/src/cmd/sendmail/include/sm/
H A Dio.h110 unsigned char *f_p; /* current position in (some) buffer */ member
193 (f).f_p = (unsigned char *) 0; \
359 (int)(*(f)->f_p++))
369 (*(f)->f_p = (c)), *(f)->f_p != '\n' ? \
370 (int)*(f)->f_p++ : \
373 (*(f)->f_p = (c), (int)*(f)->f_p++))
/titanic_44/usr/src/uts/sun4u/io/px/
H A Dpx_lib4u.c2135 px_fault_t *f_p = NULL; in px_cb_intr_redist() local
2146 f_p = &pxp->px_cb_fault; in px_cb_intr_redist()
2147 for (; pxl && (f_p->px_fh_sysino != cb_p->sysino); ) { in px_cb_intr_redist()
2150 f_p = &pxp->px_cb_fault; in px_cb_intr_redist()
2159 if ((px_lib_intr_getvalid(pxp->px_dip, f_p->px_fh_sysino, &enabled) in px_cb_intr_redist()
2162 "sysino(0x%x)\n", f_p->px_fh_sysino); in px_cb_intr_redist()
2166 PX_INTR_DISABLE(pxp->px_dip, f_p->px_fh_sysino); in px_cb_intr_redist()
2169 cb_p->sysino = f_p->px_fh_sysino; in px_cb_intr_redist()
2263 px_fault_t *f_p; in px_cb_rem_intr() local
2308 f_p = &pxp->px_cb_fault; in px_cb_rem_intr()
[all …]
/titanic_44/usr/src/uts/sun4v/io/px/
H A Dpx_lib4v.c1976 px_cb_add_intr(px_fault_t *f_p) in px_cb_add_intr() argument
1978 px_t *px_p = DIP_TO_STATE(f_p->px_fh_dip); in px_cb_add_intr()
1983 VERIFY(add_ivintr(f_p->px_fh_sysino, PX_ERR_PIL, in px_cb_add_intr()
1984 (intrfunc)f_p->px_err_func, (caddr_t)f_p, NULL, in px_cb_add_intr()
1985 (caddr_t)&f_p->px_intr_payload[0]) == 0); in px_cb_add_intr()
1992 px_ib_intr_enable(px_p, intr_dist_cpuid(), f_p->px_intr_ino); in px_cb_add_intr()
1998 px_cb_rem_intr(px_fault_t *f_p) in px_cb_rem_intr() argument
2000 intr_dist_rem(px_cb_intr_redist, DIP_TO_STATE(f_p->px_fh_dip)); in px_cb_rem_intr()
2001 px_err_rem_intr(f_p); in px_cb_rem_intr()