Home
last modified time | relevance | path

Searched refs:BYTES_PER_XDR_UNIT (Results 1 – 4 of 4) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/include/rpc/
Dxdr.h93 #define BYTES_PER_XDR_UNIT (4) macro
96 # define RNDUP(x) (((x) + BYTES_PER_XDR_UNIT - 1) & ~(BYTES_PER_XDR_UNIT - 1))
98 #define RNDUP(x) ((((x) + BYTES_PER_XDR_UNIT - 1) / BYTES_PER_XDR_UNIT) \
99 * BYTES_PER_XDR_UNIT)
/picolibc-3.7.0-3.6.0/newlib/libc/xdr/
Dxdr_sizeof.c51 xdrs->x_handy += BYTES_PER_XDR_UNIT; in x_putlong()
145 xdrs->x_handy += BYTES_PER_XDR_UNIT; in x_putint32()
Dxdr_rec.c210 rstrm->out_buffer = mem_alloc (rstrm->sendsize + BYTES_PER_XDR_UNIT); in xdrrec_create()
219 (intptr_t) rstrm->out_base % BYTES_PER_XDR_UNIT != 0; rstrm->out_base++) in xdrrec_create()
224 rstrm->in_buffer = mem_alloc (recvsize + BYTES_PER_XDR_UNIT); in xdrrec_create()
228 mem_free (rstrm->out_buffer, sendsize + BYTES_PER_XDR_UNIT); in xdrrec_create()
234 (intptr_t) rstrm->in_base % BYTES_PER_XDR_UNIT != 0; rstrm->in_base++) in xdrrec_create()
488 mem_free (rstrm->out_buffer, rstrm->sendsize + BYTES_PER_XDR_UNIT); in xdrrec_destroy()
489 mem_free (rstrm->in_buffer, rstrm->recvsize + BYTES_PER_XDR_UNIT); in xdrrec_destroy()
782 i = (u_int32_t) ((uintptr_t) rstrm->in_boundry % BYTES_PER_XDR_UNIT); in fill_input_buf()
898 buf = realloc (rstrm->in_buffer, (size_t) (size + BYTES_PER_XDR_UNIT)); in realloc_stream()
Dxdr.c60 static const char xdr_zero[BYTES_PER_XDR_UNIT] = { 0, 0, 0, 0 };
598 static char crud[BYTES_PER_XDR_UNIT]; in xdr_opaque()
609 rndup = cnt % BYTES_PER_XDR_UNIT; in xdr_opaque()
611 rndup = BYTES_PER_XDR_UNIT - rndup; in xdr_opaque()