Searched refs:x_private (Results 1 – 5 of 5) sorted by relevance
/picolibc-3.7.0-3.6.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 | 102 return (int32_t *) xdrs->x_private; in x_inline() 107 if (xdrs->x_private) in x_inline() 108 mem_free (xdrs->x_private, sizeof (xdrs->x_private)); in x_inline() 109 if ((xdrs->x_private = (caddr_t) mem_alloc (len)) == NULL) in x_inline() 116 return (int32_t *) xdrs->x_private; in x_inline() 132 if (xdrs->x_private) in x_destroy() 134 mem_free (xdrs->x_private, sizeof (xdrs->x_private)); in x_destroy() 135 xdrs->x_private = NULL; in x_destroy() 178 x.x_private = (caddr_t) NULL; in xdr_sizeof() 182 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 | 241 xdrs->x_private = rstrm; in xdrrec_create() 273 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_getlong() 299 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_putlong() 324 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_getbytes() 353 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_putbytes() 378 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_getpos() 405 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_setpos() 445 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_inline() 486 RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; in xdrrec_destroy() 497 RECSTREAM *rstrm = (RECSTREAM *) (xdrs->x_private); in xdrrec_getint32() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/rpc/ |
D | xdr.h | 145 void *x_private; /* pointer to private data */ member
|