Lines Matching +full:three +full:- +full:conversion +full:- +full:cycles
3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
11 * - Redistributions of source code must retain the above copyright notice,
13 * - Redistributions in binary form must reproduce the above copyright notice,
16 * - Neither the name of Sun Microsystems, Inc. nor the names of its
47 * types and an external bit-string representation. Library supplied
48 * routines provide for the conversion on built-in C data types. These
50 * a type encode/decode routine for each user-defined type.
90 #define RNDUP(x) ((((x) + BYTES_PER_XDR_UNIT - 1) / BYTES_PER_XDR_UNIT) \
140 * XXX can't actually prototype it, because some take three args!!!
155 (*(xdrs)->x_ops->x_getlong)(xdrs, longp)
157 (*(xdrs)->x_ops->x_getlong)(xdrs, longp)
160 (*(xdrs)->x_ops->x_putlong)(xdrs, longp)
162 (*(xdrs)->x_ops->x_putlong)(xdrs, longp)
188 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len)
190 (*(xdrs)->x_ops->x_getbytes)(xdrs, addr, len)
193 (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len)
195 (*(xdrs)->x_ops->x_putbytes)(xdrs, addr, len)
198 (*(xdrs)->x_ops->x_putmbuf)(xdrs, mbuf)
200 (*(xdrs)->x_ops->x_putmbuf)(xdrs, mbuf)
203 (*(xdrs)->x_ops->x_getpostn)(xdrs)
205 (*(xdrs)->x_ops->x_getpostn)(xdrs)
208 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
210 (*(xdrs)->x_ops->x_setpostn)(xdrs, pos)
213 (*(xdrs)->x_ops->x_inline)(xdrs, len)
215 (*(xdrs)->x_ops->x_inline)(xdrs, len)
218 if ((xdrs)->x_ops->x_destroy) \
219 (*(xdrs)->x_ops->x_destroy)(xdrs)
221 if ((xdrs)->x_ops->x_destroy) \
222 (*(xdrs)->x_ops->x_destroy)(xdrs)
225 (((xdrs)->x_ops->x_control == NULL) ? (FALSE) : \
226 (*(xdrs)->x_ops->x_control)(xdrs, req, op))
230 * Solaris strips the '_t' from these types -- not sure why.
256 * In-line routines for fast encode/decode of primitive data types.
257 * Caveat emptor: these use single memory cycles to get the