Searched refs:x_private (Results 1 – 5 of 5) sorted by relevance
/picolibc-3.5.0-3.4.0/newlib/libc/xdr/ |
D | xdr_mem.c | 114 xdrs->x_private = xdrs->x_base = addr; in xdrmem_create() 131 *lp = (int32_t) ntohl (*(u_int32_t *) xdrs->x_private); in xdrmem_getlong_aligned() 132 xdrs->x_private = (char *) xdrs->x_private + sizeof (int32_t); in xdrmem_getlong_aligned() 143 *(u_int32_t *) xdrs->x_private = htonl ((u_int32_t) * lp); in xdrmem_putlong_aligned() 144 xdrs->x_private = (char *) xdrs->x_private + sizeof (int32_t); in xdrmem_putlong_aligned() 157 memmove (&l, xdrs->x_private, sizeof (int32_t)); in xdrmem_getlong_unaligned() 159 xdrs->x_private = (char *) xdrs->x_private + sizeof (int32_t); in xdrmem_getlong_unaligned() 173 memmove (xdrs->x_private, &l, sizeof (int32_t)); in xdrmem_putlong_unaligned() 174 xdrs->x_private = (char *) xdrs->x_private + sizeof (int32_t); in xdrmem_putlong_unaligned() 186 memmove (addr, xdrs->x_private, len); in xdrmem_getbytes() [all …]
|
D | xdr_sizeof.c | 95 return (int32_t *) xdrs->x_private; in x_inline() 100 if (xdrs->x_private) in x_inline() 101 mem_free (xdrs->x_private, sizeof (xdrs->x_private)); in x_inline() 102 if ((xdrs->x_private = (caddr_t) mem_alloc (len)) == NULL) in x_inline() 109 return (int32_t *) xdrs->x_private; in x_inline() 125 if (xdrs->x_private) in x_destroy() 127 mem_free (xdrs->x_private, sizeof (xdrs->x_private)); in x_destroy() 128 xdrs->x_private = NULL; in x_destroy() 171 x.x_private = (caddr_t) NULL; in xdr_sizeof() 175 if (x.x_private) in xdr_sizeof() [all …]
|
D | xdr_stdio.c | 93 xdrs->x_private = (void *) file; in xdrstdio_create() 105 (void) fflush ((FILE *) xdrs->x_private); in xdrstdio_destroy() 115 if (fread (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getlong() 127 if (fwrite (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putlong() 138 (FILE *) xdrs->x_private) != 1)) in xdrstdio_getbytes() 149 (FILE *) xdrs->x_private) != 1)) in xdrstdio_putbytes() 157 return ((u_int) ftell ((FILE *) xdrs->x_private)); in xdrstdio_getpos() 164 return ((fseek ((FILE *) xdrs->x_private, (long) pos, 0) < 0) ? in xdrstdio_setpos() 193 if (fread (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getint32() 205 if (fwrite (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putint32()
|
D | xdr_rec.c | 235 xdrs->x_private = rstrm; in xdrrec_create() 267 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_getlong() 293 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_putlong() 318 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_getbytes() 347 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_putbytes() 372 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_getpos() 399 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_setpos() 439 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_inline() 480 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_destroy() 491 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_getint32() [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/include/rpc/ |
D | xdr.h | 145 void *x_private; /* pointer to private data */ member
|