Lines Matching defs:lp
84 xdrstdio_getint32(XDR *xdrs, int32_t *lp)
86 if (fread((caddr_t)lp, sizeof (int32_t), 1,
90 *lp = ntohl(*lp);
95 xdrstdio_putint32(XDR *xdrs, int32_t *lp)
98 int32_t mycopy = htonl(*lp);
99 lp = &mycopy;
101 if (fwrite((caddr_t)lp, sizeof (int32_t), 1,
109 xdrstdio_getlong(XDR *xdrs, long *lp)
115 *lp = (long)i;
120 xdrstdio_putlong(XDR *xdrs, long *lp)
125 if ((*lp > INT32_MAX) || (*lp < INT32_MIN))
128 i = (int32_t)*lp;