Home
last modified time | relevance | path

Searched refs:uInt (Results 1 – 14 of 14) sorted by relevance

/openbmc/u-boot/lib/zlib/
H A Ddeflate.h100 uInt pending; /* nb of bytes in the pending buffer */
103 uInt gzindex; /* where in extra, name, or comment */
109 uInt w_size; /* LZ77 window size (32K by default) */
110 uInt w_bits; /* log2(w_size) (8..16) */
111 uInt w_mask; /* w_size - 1 */
136 uInt ins_h; /* hash index of string to be inserted */
137 uInt hash_size; /* number of elements in hash table */
138 uInt hash_bits; /* log2(hash_size) */
139 uInt hash_mask; /* hash_size-1 */
141 uInt hash_shift;
[all …]
H A Dzutil.c50 extern voidp malloc OF((uInt size));
51 extern voidp calloc OF((uInt items, uInt size));
60 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : in zcalloc()
H A Ddeflate.c85 local void putShortMSB OF((deflate_state *s, uInt b));
90 uInt longest_match OF((deflate_state *s, IPos cur_match));
92 local uInt longest_match OF((deflate_state *s, IPos cur_match));
314 uInt dictLength;
317 uInt length = dictLength;
318 uInt n;
550 uInt b;
653 uInt header = (Z_DEFLATED + ((s->w_bits-8)<<4)) << 8;
654 uInt level_flags;
673 putShortMSB(s, (uInt)(strm->adler >> 16));
[all …]
H A Dadler32.c57 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32()
H A Dtrees.c1115 Assert((uInt)(s->pending) < s->lit_bufsize + 2*lx,
/openbmc/qemu/libdecnumber/dpd/
H A Ddecimal64.c50 extern const uInt COMBEXP[32], COMBMSD[32];
53 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
54 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
90 uInt status=0; /* status accumulator */ in decimal64FromNumber()
94 uInt *pu; /* .. */ in decimal64FromNumber()
95 uInt comb, exp; /* .. */ in decimal64FromNumber()
96 uInt targar[2]={0, 0}; /* target 64-bit */ in decimal64FromNumber()
147 uInt msd; /* work */ in decimal64FromNumber()
151 exp=(uInt)(dn->exponent+DECIMAL64_Bias); /* bias exponent */ in decimal64FromNumber()
160 uInt dpd[6]={0,0,0,0,0,0}; in decimal64FromNumber()
[all …]
H A Ddecimal32.c50 extern const uInt COMBEXP[32], COMBMSD[32];
53 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
54 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
84 uInt status=0; /* status accumulator */ in decimal32FromNumber()
88 uInt *pu; /* .. */ in decimal32FromNumber()
89 uInt comb, exp; /* .. */ in decimal32FromNumber()
90 uInt targ=0; /* target 32-bit */ in decimal32FromNumber()
139 uInt msd; /* work */ in decimal32FromNumber()
143 exp=(uInt)(dn->exponent+DECIMAL32_Bias); /* bias exponent */ in decimal32FromNumber()
153 if (dn->digits>3) targ|=(uInt)(BIN2DPD[dn->lsu[1]])<<10; in decimal32FromNumber()
[all …]
H A Ddecimal128.c50 extern const uInt COMBEXP[32], COMBMSD[32];
53 extern void decDigitsFromDPD(decNumber *, const uInt *, Int);
54 extern void decDigitsToDPD(const decNumber *, uInt *, Int);
84 uInt status=0; /* status accumulator */ in decimal128FromNumber()
88 uInt *pu; /* .. */ in decimal128FromNumber()
89 uInt comb, exp; /* .. */ in decimal128FromNumber()
90 uInt targar[4]={0,0,0,0}; /* target 128-bit */ in decimal128FromNumber()
143 uInt msd; /* work */ in decimal128FromNumber()
147 exp=(uInt)(dn->exponent+DECIMAL128_Bias); /* bias exponent */ in decimal128FromNumber()
171 pu=(uInt *)d128->bytes; /* overlay */ in decimal128FromNumber()
[all …]
/openbmc/qemu/include/libdecnumber/
H A DdecNumberLocal.h82 #define uInt uint32_t macro
104 extern const uInt DPD2BINK[1024]; /* DPD -> 0-999000 */
105 extern const uInt DPD2BINM[1024]; /* DPD -> 0-999000000 */
116 uInt u0, u1, v0, v1, w0, w1, w2, t; \
135 #define UINTAT(b) (*((uInt *)(b)))
151 #define CHARMASK ((((((((uInt)'0')<<8)+'0')<<8)+'0')<<8)+'0')
291 uInt sign; /* 0=positive, DECFLOAT_Sign=negative */
327 extern const uInt DECCOMBMSD[64]; /* Combination field -> MSD */
328 extern const uInt DECCOMBFROM[48]; /* exp+msd -> Combination */
404 || ((dpd)&(((uInt)0x6e)<<(k)))!=(((uInt)0x6e)<<(k)))
[all …]
/openbmc/u-boot/include/u-boot/
H A Dzlib.h102 # define uInt z_uInt macro
314 typedef unsigned int uInt; /* 16 bits or more */ typedef
325 typedef uInt FAR uIntf;
414 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
415 typedef void (*free_func) OF((voidpf opaque, voidpf address, uInt size));
416 typedef void (*cb_func) OF((Bytef *buf, uInt len));
422 uInt avail_in; /* number of bytes available at next_in */
425 uInt avail_out; /* remaining free space at next_out */
451 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
452 uInt extra_max; /* space at extra (only when reading header) */
[all …]
/openbmc/qemu/libdecnumber/
H A DdecContext.c73 decContext *decContextClearStatus(decContext *context, uInt mask) { in decContextClearStatus()
177 uInt decContextGetStatus(decContext *context) { in decContextGetStatus()
194 uInt newstatus, uInt mask) { in decContextRestoreStatus()
210 uInt decContextSaveStatus(decContext *context, uInt mask) { in decContextSaveStatus()
239 decContext * decContextSetStatus(decContext *context, uInt status) { in decContextSetStatus()
355 decContext * decContextSetStatusQuiet(decContext *context, uInt status) { in decContextSetStatusQuiet()
403 uInt decContextTestSavedStatus(uInt oldstatus, uInt mask) { in decContextTestSavedStatus()
417 uInt decContextTestStatus(decContext *context, uInt mask) { in decContextTestStatus()
H A DdecNumber.c206 #define ueInt uInt /* unsigned extended integer */
210 static const uInt multies[]={131073, 26215, 5243, 1049, 210};
212 #define QUOT10(u, n) ((((uInt)(u)>>(n))*multies[n])>>17)
224 decContext *, uByte, uInt *);
226 static uInt decCheckMath(const decNumber *, decContext *, uInt *);
227 static void decApplyRound(decNumber *, decContext *, Int, uInt *);
231 Flag, uInt *);
233 Int *, uInt *);
236 const decNumber *, decContext *, Flag, uInt *);
238 decContext *, uInt *);
[all …]
/openbmc/u-boot/lib/
H A Dcrc32.c183 uint32_t __efi_runtime crc32_no_comp(uint32_t crc, const Bytef *buf, uInt len) in crc32_no_comp()
225 uint32_t __efi_runtime crc32(uint32_t crc, const Bytef *p, uInt len) in crc32()
234 uint32_t crc32_wd(uint32_t crc, const unsigned char *buf, uInt len, in crc32_wd()
235 uInt chunk_sz) in crc32_wd()
/openbmc/entity-manager/src/fru_device/
H A Dgzip_utils.cpp25 strm.avail_in = static_cast<uInt>(compressedBytes.size()); in gzipInflate()