Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 5 of 5) sorted by relevance

/sunrpc/
A Dtst-xdrmem2.c58 u_int pos = xdr_getpos (&xdrs); in do_test()
62 if (! xdr_setpos (&xdrs, pos)) in do_test()
93 pos = xdr_getpos (&xdrs); in do_test()
97 if (! xdr_setpos (&xdrs, pos)) in do_test()
A Dxdr_rec.c305 long pos; in xdrrec_getpos() local
307 pos = __lseek ((int) (long) rstrm->tcp_handle, (long) 0, 1); in xdrrec_getpos()
308 if (pos != -1) in xdrrec_getpos()
313 pos += rstrm->out_finger - rstrm->out_base; in xdrrec_getpos()
317 pos -= rstrm->in_boundry - rstrm->in_finger; in xdrrec_getpos()
321 pos = (u_int) - 1; in xdrrec_getpos()
324 return (u_int) pos; in xdrrec_getpos()
328 xdrrec_setpos (XDR *xdrs, u_int pos) in xdrrec_setpos() argument
332 int delta = currpos - pos; in xdrrec_setpos()
A Dxdr_stdio.c152 xdrstdio_setpos (XDR *xdrs, u_int pos) in xdrstdio_setpos() argument
154 return fseek ((FILE *) xdrs->x_private, (long) pos, 0) < 0 ? FALSE : TRUE; in xdrstdio_setpos()
A Dxdr_mem.c176 xdrmem_setpos (XDR *xdrs, u_int pos) in xdrmem_setpos() argument
178 caddr_t newaddr = xdrs->x_base + pos; in xdrmem_setpos()
/sunrpc/rpc/
A Dxdr.h200 #define XDR_SETPOS(xdrs, pos) \ argument
201 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
202 #define xdr_setpos(xdrs, pos) \ argument
203 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)

Completed in 11 milliseconds