Home
last modified time | relevance | path

Searched refs:int32_t (Results 1 – 25 of 71) sorted by relevance

123

/picolibc-3.5.0-3.4.0/newlib/libc/xdr/
Dxdr_mem.c67 static int32_t * xdrmem_inline_aligned (XDR *, u_int);
68 static int32_t * xdrmem_inline_unaligned (XDR *, u_int);
69 static bool_t xdrmem_getint32_aligned (XDR *, int32_t *);
70 static bool_t xdrmem_putint32_aligned (XDR *, const int32_t *);
71 static bool_t xdrmem_getint32_unaligned (XDR *, int32_t *);
72 static bool_t xdrmem_putint32_unaligned (XDR *, const int32_t *);
111 xdrs->x_ops = ((uintptr_t)addr & (sizeof (int32_t) - 1)) in xdrmem_create()
128 if (xdrs->x_handy < sizeof (int32_t)) in xdrmem_getlong_aligned()
130 xdrs->x_handy -= sizeof (int32_t); in xdrmem_getlong_aligned()
131 *lp = (int32_t) ntohl (*(u_int32_t *) xdrs->x_private); in xdrmem_getlong_aligned()
[all …]
Dxdr_stdio.c61 static int32_t * xdrstdio_inline (XDR *, u_int);
62 static bool_t xdrstdio_getint32 (XDR*, int32_t *);
63 static bool_t xdrstdio_putint32 (XDR*, const int32_t *);
115 if (fread (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getlong()
117 *lp = (long) (int32_t) ntohl (temp); in xdrstdio_getlong()
127 if (fwrite (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_putlong()
169 static int32_t *
189 int32_t *ip) in xdrstdio_getint32()
191 int32_t temp; in xdrstdio_getint32()
193 if (fread (&temp, sizeof (int32_t), 1, (FILE *) xdrs->x_private) != 1) in xdrstdio_getint32()
[all …]
Dxdr.c162 && ((sizeof (int32_t) == sizeof (long)) || ((int32_t) *lp == *lp))) in xdr_long()
209 int32_t * int32_p) in xdr_int32_t()
235 return XDR_PUTINT32 (xdrs, (int32_t *)u_int32_p); in xdr_u_int32_t()
238 return XDR_GETINT32 (xdrs, (int32_t *)u_int32_p); in xdr_u_int32_t()
256 return XDR_PUTINT32 (xdrs, (int32_t *)uint32_p); in xdr_uint32_t()
259 return XDR_GETINT32 (xdrs, (int32_t *)uint32_p); in xdr_uint32_t()
329 int32_t t; in xdr_int16_t()
334 t = (int32_t) *int16_p; in xdr_int16_t()
362 return XDR_PUTINT32 (xdrs, (int32_t *)&ut); in xdr_u_int16_t()
365 if (!XDR_GETINT32 (xdrs, (int32_t *)&ut)) in xdr_u_int16_t()
[all …]
Dxdr_rec.c82 static int32_t * xdrrec_inline (XDR *, u_int);
84 static bool_t xdrrec_getint32 (XDR *, int32_t *);
85 static bool_t xdrrec_putint32 (XDR *, const int32_t *);
268 int32_t *buflp = (int32_t *) (void *) (rstrm->in_finger); in xdrrec_getlong()
269 int32_t mylong; in xdrrec_getlong()
272 if ((rstrm->fbtbc >= (long) sizeof (int32_t)) && in xdrrec_getlong()
273 (((intptr_t) rstrm->in_boundry - (intptr_t) buflp) >= (long) sizeof (int32_t))) in xdrrec_getlong()
276 rstrm->fbtbc -= sizeof (int32_t); in xdrrec_getlong()
277 rstrm->in_finger += sizeof (int32_t); in xdrrec_getlong()
282 sizeof (int32_t))) in xdrrec_getlong()
[all …]
Dxdr_float.c70 return (XDR_PUTINT32 (xdrs, (int32_t *) fp)); in xdr_float()
73 return (XDR_GETINT32 (xdrs, (int32_t *) fp)); in xdr_float()
86 int32_t *i32p; in xdr_double()
93 i32p = (int32_t *) (void *) dp; in xdr_double()
108 i32p = (int32_t *) (void *) dp; in xdr_double()
Dxdr_sizeof.c83 static int32_t *
95 return (int32_t *) xdrs->x_private; in x_inline()
109 return (int32_t *) xdrs->x_private; in x_inline()
135 const int32_t *int32p) in x_putint32()
153 typedef bool_t (*dummyfunc3) (XDR *, int32_t *); in xdr_sizeof()
Dxdr_float_vax.c111 return (XDR_PUTINT32 (xdrs, (int32_t *) & is)); in xdr_float()
115 if (!XDR_GETINT32 (xdrs, (int32_t *) & is)) in xdr_float()
190 int32_t *lp; in xdr_double()
219 lp = (int32_t *) & id; in xdr_double()
223 lp = (int32_t *) & id; in xdr_double()
/picolibc-3.5.0-3.4.0/newlib/libc/search/
Dhash.h82 int32_t magic; /* Magic NO for hash tables */
83 int32_t version; /* Version ID */
85 int32_t bsize; /* Bucket/Page Size */
86 int32_t bshift; /* Bucket shift */
87 int32_t dsize; /* Directory Size */
88 int32_t ssize; /* Segment Size */
89 int32_t sshift; /* Segment shift */
90 int32_t ovfl_point; /* Where overflow pages are being
92 int32_t last_freed; /* Last overflow page freed */
93 int32_t max_bucket; /* ID of Maximum bucket in use */
[all …]
/picolibc-3.5.0-3.4.0/newlib/libc/tinystdio/ryu/
Dcommon.h39 int32_t __log2pow5(const int32_t e);
44 int32_t __ceil_log2pow5(const int32_t e);
49 int32_t __pow5bits(const int32_t e);
54 uint32_t __log10Pow2(const int32_t e);
59 uint32_t __log10Pow5(const int32_t e);
Df2s_intrinsics.h52 uint32_t __mulPow5InvDivPow2(const uint32_t m, const uint32_t q, const int32_t j);
55 uint32_t __mulPow5divPow2(const uint32_t m, const uint32_t i, const int32_t j);
Dd2s_intrinsics.h215 static inline uint64_t mulShift64(const uint64_t m, const uint64_t* const mul, const int32_t j) { in mulShift64()
221 static inline uint64_t mulShiftAll64(const uint64_t m, const uint64_t* const mul, const int32_t j, in mulShiftAll64()
242 static inline uint64_t mulShift64(const uint64_t m, const uint64_t* const mul, const int32_t j) { in mulShift64()
255 static inline uint64_t mulShiftAll64(const uint64_t m, const uint64_t* const mul, const int32_t j, in mulShiftAll64()
264 static inline uint64_t mulShift64(const uint64_t m, const uint64_t* const mul, const int32_t j) { in mulShift64()
278 static inline uint64_t mulShiftAll64(uint64_t m, const uint64_t* const mul, const int32_t j, in mulShiftAll64()
/picolibc-3.5.0-3.4.0/newlib/libc/tinystdio/
Dryu_log2pow5.c21 int32_t __log2pow5(const int32_t e) { in __log2pow5()
27 return (int32_t) ((((uint32_t) e) * 1217359) >> 19); in __log2pow5()
31 int32_t __ceil_log2pow5(const int32_t e) { in __ceil_log2pow5()
Dftoa_ryu.c64 int32_t e2; in f2d()
71 e2 = (int32_t) ieeeExponent - FLOAT_BIAS - FLOAT_MANTISSA_BITS - 2; in f2d()
91 int32_t e10; in f2d()
97 e10 = (int32_t) q; in f2d()
98 const int32_t k = FLOAT_POW5_INV_BITCOUNT + pow5bits((int32_t) q) - 1; in f2d()
99 const int32_t i = -e2 + (int32_t) q + k; in f2d()
111 const int32_t l = FLOAT_POW5_INV_BITCOUNT + pow5bits((int32_t) (q - 1)) - 1; in f2d()
112 lastRemovedDigit = (uint8_t) (mulPow5InvDivPow2(mv, q - 1, -e2 + (int32_t) q - 1 + l) % 10); in f2d()
127 e10 = (int32_t) q + e2; in f2d()
128 const int32_t i = -e2 - (int32_t) q; in f2d()
[all …]
Ddtoa_ryu.c66 int32_t e2; in d2d()
73 e2 = (int32_t) ieeeExponent - DOUBLE_BIAS - DOUBLE_MANTISSA_BITS - 2; in d2d()
95 int32_t e10; in d2d()
102 e10 = (int32_t) q; in d2d()
103 const int32_t k = DOUBLE_POW5_INV_BITCOUNT + pow5bits((int32_t) q) - 1; in d2d()
104 const int32_t i = -e2 + (int32_t) q + k; in d2d()
132 e10 = (int32_t) q + e2; in d2d()
133 const int32_t i = -e2 - (int32_t) q; in d2d()
134 const int32_t k = pow5bits(i) - DOUBLE_POW5_BITCOUNT; in d2d()
135 const int32_t j = (int32_t) q - k; in d2d()
[all …]
Dryu_pow5bits.c20 int32_t __pow5bits(const int32_t e) { in __pow5bits()
26 return (int32_t) (((((uint32_t) e) * 1217359) >> 19) + 1); in __pow5bits()
Dryu_divpow2.c22 static inline uint32_t mulShift32(const uint32_t m, const uint64_t factor, const int32_t shift) { in mulShift32()
49 const int32_t s = shift - 32; in mulShift32()
60 uint32_t __mulPow5InvDivPow2(const uint32_t m, const uint32_t q, const int32_t j) { in __mulPow5InvDivPow2()
69 uint32_t __mulPow5divPow2(const uint32_t m, const uint32_t i, const int32_t j) { in __mulPow5divPow2()
Datof_ryu.c52 static inline int32_t max32(int32_t a, int32_t b) { in max32()
73 int32_t e2; in __atof_engine()
136 int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - FLOAT_EXPONENT_BIAS - FLOAT_MANTISSA_BITS; in __atof_engine()
Datod_ryu.c53 static inline int32_t max32(int32_t a, int32_t b) { in max32()
74 int32_t e2; in __atod_engine()
131 int32_t shift = (ieee_e2 == 0 ? 1 : ieee_e2) - e2 - DOUBLE_EXPONENT_BIAS - DOUBLE_MANTISSA_BITS; in __atod_engine()
Dryu_log10.c20 uint32_t __log10Pow2(const int32_t e) { in __log10Pow2()
28 uint32_t __log10Pow5(const int32_t e) { in __log10Pow5()
/picolibc-3.5.0-3.4.0/newlib/libc/include/rpc/
Dtypes.h55 typedef int32_t bool_t;
56 typedef int32_t enum_t;
63 typedef int32_t rpc_inline_t;
Dxdr.h132 int32_t * (*x_inline) (struct __rpc_xdr *, u_int);
138 bool_t (*x_getint32) (struct __rpc_xdr *, int32_t *);
141 bool_t (*x_putint32) (struct __rpc_xdr *, const int32_t *);
268 #define IXDR_GET_INT32(buf) ((int32_t)ntohl((u_int32_t)*(buf)++))
269 #define IXDR_PUT_INT32(buf, v) (*(buf)++ =(int32_t)htonl((u_int32_t)v))
271 #define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_INT32((buf), ((int32_t)(v)))
278 #define IXDR_PUT_LONG(buf, v) (*(buf)++ =(int32_t)htonl((u_int32_t)v))
308 extern bool_t xdr_int32_t (XDR *, int32_t *);
/picolibc-3.5.0-3.4.0/newlib/libm/ld/common/
Dk_rem_pio2.c146 static const int32_t ipio2[] = {
291 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2()
317 fw = (double)((int32_t)(twon24* z)); in __kernel_rem_pio2()
318 iq[i] = (int32_t)(z-two24*fw); in __kernel_rem_pio2()
325 n = (int32_t) z; in __kernel_rem_pio2()
384 fw = (double)((int32_t)(twon24*z)); in __kernel_rem_pio2()
385 iq[jz] = (int32_t)(z-two24*fw); in __kernel_rem_pio2()
387 iq[jz] = (int32_t) fw; in __kernel_rem_pio2()
388 } else iq[jz] = (int32_t) z ; in __kernel_rem_pio2()
/picolibc-3.5.0-3.4.0/newlib/libc/stdlib/
Djrand48.c20 int32_t i; in _jrand48_r()
22 i = (int32_t) ((uint32_t) (xseed[2]) << 16 | (uint32_t) (xseed[1])); in _jrand48_r()
Dmrand48.c19 int32_t i; in _mrand48_r()
21 i = (int32_t) ((uint32_t) (r->_seed[2]) << 16 | (uint32_t) (r->_seed[1])); in _mrand48_r()
/picolibc-3.5.0-3.4.0/newlib/libm/common/
Dsf_trunc.c17 int32_t ix = _asint32 (x); in truncf()
18 int32_t mask; in truncf()

123