Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/contrib/zlib/
Ddeflate.h115 uInt w_size; /* LZ77 window size (32K by default) */
116 uInt w_bits; /* log2(w_size) (8..16) */
117 uInt w_mask; /* w_size - 1 */
142 uInt ins_h; /* hash index of string to be inserted */
143 uInt hash_size; /* number of elements in hash table */
144 uInt hash_bits; /* log2(hash_size) */
145 uInt hash_mask; /* hash_size-1 */
147 uInt hash_shift;
159 uInt match_length; /* length of best match */
162 uInt strstart; /* start of string to insert */
[all …]
Dzutil.c37 switch ((int)(sizeof(uInt))) { in zlibCompileFlags()
154 uInt len;
165 uInt len;
167 uInt j;
177 uInt len;
282 voidpf ZLIB_INTERNAL zcalloc(voidpf opaque, uInt items, uInt size) in zcalloc()
302 extern voidp malloc OF((uInt size));
303 extern voidp calloc OF((uInt items, uInt size));
313 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
Dzlib.h81 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
88 uInt avail_in; /* number of bytes available at next_in */
92 uInt avail_out; /* remaining free space at next_out */
120 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
121 uInt extra_max; /* space at extra (only when reading header) */
123 uInt name_max; /* space at name (only when reading header) */
125 uInt comm_max; /* space at comment (only when reading header) */
612 uInt dictLength));
656 uInt *dictLength));
888 uInt dictLength));
[all …]
Dcompress.c31 const uInt max = (uInt)-1;
51 stream.avail_out = left > (uLong)max ? max : (uInt)left;
55 stream.avail_in = sourceLen > (uLong)max ? max : (uInt)sourceLen;
Duncompr.c35 const uInt max = (uInt)-1;
63 stream.avail_out = left > (uLong)max ? max : (uInt)left;
67 stream.avail_in = len > (uLong)max ? max : (uInt)len;
Ddeflate.c87 local void putShortMSB OF((deflate_state *s, uInt b));
90 local uInt longest_match OF((deflate_state *s, IPos cur_match));
203 uInt wsize = s->w_size;
306 s->w_bits = (uInt)windowBits;
310 s->hash_bits = (uInt)memLevel + 7;
415 uInt dictLength;
418 uInt str, n;
484 uInt *dictLength;
487 uInt len;
665 s->good_match = (uInt)good_length;
[all …]
Dzutil.h235 void ZLIB_INTERNAL zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
236 int ZLIB_INTERNAL zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
237 void ZLIB_INTERNAL zmemzero OF((Bytef* dest, uInt len));
Dzconf.h168 # define uInt z_uInt macro
410 typedef unsigned int uInt; /* 16 bits or more */ typedef
421 typedef uInt FAR uIntf;
Dgzguts.h122 extern voidp malloc OF((uInt size));
/freebsd-12-stable/sys/contrib/zlib/test/
Dexample.c294 c_stream.avail_out = (uInt)comprLen;
300 c_stream.avail_in = (uInt)uncomprLen;
311 c_stream.avail_in = (uInt)comprLen/2;
318 c_stream.avail_in = (uInt)uncomprLen;
348 d_stream.avail_in = (uInt)comprLen;
355 d_stream.avail_out = (uInt)uncomprLen;
381 uInt len = (uInt)strlen(hello)+1;
393 c_stream.avail_out = (uInt)*comprLen;
433 d_stream.avail_out = (uInt)uncomprLen;
438 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
[all …]
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/
Dexample.c319 c_stream.avail_out = (uInt)comprLen;
325 c_stream.avail_in = (uInt)uncomprLen;
336 c_stream.avail_in = (uInt)comprLen/2;
343 c_stream.avail_in = (uInt)uncomprLen;
373 d_stream.avail_in = (uInt)comprLen;
380 d_stream.avail_out = (uInt)uncomprLen;
406 uInt len = (uInt)strlen(hello)+1;
418 c_stream.avail_out = (uInt)*comprLen;
458 d_stream.avail_out = (uInt)uncomprLen;
463 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
[all …]
Dexample_original.c311 c_stream.avail_out = (uInt)comprLen;
317 c_stream.avail_in = (uInt)uncomprLen;
328 c_stream.avail_in = (uInt)comprLen/2;
335 c_stream.avail_in = (uInt)uncomprLen;
365 d_stream.avail_in = (uInt)comprLen;
372 d_stream.avail_out = (uInt)uncomprLen;
398 uInt len = (uInt)strlen(hello)+1;
410 c_stream.avail_out = (uInt)*comprLen;
450 d_stream.avail_out = (uInt)uncomprLen;
455 d_stream.avail_in = (uInt)comprLen-2; /* read all compressed data */
[all …]
Dzwrapbench.c317 def.avail_in = (uInt)blockTable[blockNb].srcSize; in BMK_benchMem()
320 def.avail_out = (uInt)blockTable[blockNb].cRoom; in BMK_benchMem()
348 def.avail_in = (uInt)blockTable[blockNb].srcSize; in BMK_benchMem()
351 def.avail_out = (uInt)blockTable[blockNb].cRoom; in BMK_benchMem()
453 inf.avail_in = (uInt)blockTable[blockNb].cSize; in BMK_benchMem()
456 inf.avail_out = (uInt)blockTable[blockNb].srcSize; in BMK_benchMem()
485 inf.avail_in = (uInt)blockTable[blockNb].cSize; in BMK_benchMem()
488 inf.avail_out = (uInt)blockTable[blockNb].srcSize; in BMK_benchMem()
/freebsd-12-stable/contrib/gcclibs/libdecnumber/
DdecUtility.c81 uInt dpd; /* densely packed decimal value */ in decDensePackCoeff()
82 uInt bin; /* binary value 0-999 */ in decDensePackCoeff()
97 uInt next = 0; /* work */ in decDensePackCoeff()
107 uInt rem = *source % powers[cut]; in decDensePackCoeff()
146 Unit temp = (Unit) ((uInt) (in * 6554) >> 16); in decDensePackCoeff()
227 uInt dpd = 0; /* collector for 10 bits */ in decDenseUnpackCoeff()
235 uInt bcd; /* BCD result */ in decDenseUnpackCoeff()
236 uInt nibble; /* work */ in decDenseUnpackCoeff()
Ddecimal32.c78 uInt status = 0; /* status accumulator */ in decimal32FromNumber()
83 uInt comb, exp; /* work */ in decimal32FromNumber()
150 uInt msd; /* work */ in decimal32FromNumber()
153 exp = (uInt) (dn->exponent + DECIMAL32_Bias); /* bias exponent */ in decimal32FromNumber()
195 uInt msd; /* coefficient MSD */ in decimal32ToNumber()
197 uInt top = d32->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal32ToNumber()
215 uInt comb = top >> 2; /* combination field */ in decimal32ToNumber()
216 uInt exp; /* working exponent */ in decimal32ToNumber()
Ddecimal128.c78 uInt status = 0; /* status accumulator */ in decimal128FromNumber()
83 uInt comb, exp; /* work */ in decimal128FromNumber()
150 uInt msd; /* work */ in decimal128FromNumber()
153 exp = (uInt) (dn->exponent + DECIMAL128_Bias); /* bias exponent */ in decimal128FromNumber()
198 uInt msd; /* coefficient MSD */ in decimal128ToNumber()
200 uInt top = d128->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal128ToNumber()
218 uInt comb = top >> 2; /* combination field */ in decimal128ToNumber()
219 uInt exp; /* exponent */ in decimal128ToNumber()
Ddecimal64.c78 uInt status = 0; /* status accumulator */ in decimal64FromNumber()
83 uInt comb, exp; /* work */ in decimal64FromNumber()
150 uInt msd; /* work */ in decimal64FromNumber()
153 exp = (uInt) (dn->exponent + DECIMAL64_Bias); /* bias exponent */ in decimal64FromNumber()
194 uInt msd; /* coefficient MSD */ in decimal64ToNumber()
196 uInt top = d64->bytes[0] & 0x7f; /* top byte, less sign bit */ in decimal64ToNumber()
214 uInt comb = top >> 2; /* combination field */ in decimal64ToNumber()
215 uInt exp; /* exponent */ in decimal64ToNumber()
DdecNumber.c175 const uInt powers[] = { 1, 10, 100, 1000, 10000, 100000, 1000000,
197 #define ueInt uInt /* unsigned extended integer */
201 static const uInt multies[] = { 131073, 26215, 5243, 1049, 210 };
204 #define QUOT10(u, n) ((((uInt)(u)>>(n))*multies[n])>>17)
220 uByte, uInt *);
221 static void decApplyRound (decNumber *, decContext *, Int, uInt *);
224 decContext *, Flag, uInt *);
226 Int *, uInt *);
228 decContext *, Flag, uInt *);
229 static void decFinalize (decNumber *, decContext *, Int *, uInt *);
[all …]
DdecNumberLocal.h50 #define uInt uint32_t macro
113 extern const uInt powers[];
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_write_add_filter_gzip.c210 data->stream.avail_out = (uInt)data->compressed_buffer_size; in archive_compressor_gzip_open()
286 data->crc = crc32(data->crc, (const Bytef *)buff, (uInt)length); in archive_compressor_gzip_write()
291 data->stream.avail_in = (uInt)length; in archive_compressor_gzip_write()
362 (uInt)data->compressed_buffer_size; in drive_compressor()
Darchive_read_support_filter_gzip.c355 state->stream.avail_in = (uInt)avail; in consume_header()
436 state->stream.avail_out = (uInt)state->out_block_size; in gzip_filter_read()
469 state->stream.avail_in = (uInt)avail_in; in gzip_filter_read()
/freebsd-12-stable/stand/libsa/
Dgzipfs.c119 uInt len; in check_header()
140 len = (uInt)get_byte(zf, &zf->zf_dataoffset); in check_header()
141 len += ((uInt)get_byte(zf, &zf->zf_dataoffset))<<8; in check_header()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DCRC.cpp93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size()); in crc32()
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
Dadler32.c66 (uInt)len); in svn__adler32()
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
Dzstd_zlibwrapper.c72 void* address = strm->zalloc(strm->opaque, 1, (uInt)size); in ZWRAP_allocFunction()
259 uInt dictLength)) in z_deflateSetDictionary()
615 uInt dictLength)) in z_inflateSetDictionary()
930 uInt *dictLength)) in z_inflateGetDictionary()
1076 ZEXTERN uLong ZEXPORT z_adler32 OF((uLong adler, const Bytef *buf, uInt len)) in z_adler32()
1081 ZEXTERN uLong ZEXPORT z_crc32 OF((uLong crc, const Bytef *buf, uInt len)) in z_crc32()

12