Home
last modified time | relevance | path

Searched refs:uLong (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/contrib/zlib/
H A Dzlib.h93 uLong total_in; /* total number of input bytes read so far */
97 uLong total_out; /* total number of bytes output so far */
108 uLong adler; /* Adler-32 or CRC-32 value of the uncompressed data */
109 uLong reserved; /* reserved for future use */
120 uLong time; /* modification time */
768 ZEXTERN uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen);
1216 ZEXTERN uLong ZEXPORT zlibCompileFlags(void);
1272 const Bytef *source, uLong sourceLen);
1289 const Bytef *source, uLong sourceLen,
1307 ZEXTERN uLong ZEXPORT compressBound(uLong sourceLen);
[all …]
H A Dadler32.c61 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) { in adler32_z()
128 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) { in adler32()
133 local uLong adler32_combine_(uLong adler1, uLong adler2, z_off64_t len2) { in adler32_combine_()
158 uLong ZEXPORT adler32_combine(uLong adler1, uLong adler2, z_off_t len2) { in adler32_combine()
162 uLong ZEXPORT adler32_combine64(uLong adler1, uLong adler2, z_off64_t len2) { in adler32_combine64()
H A Dcrc32.c163 local uLong multmodp(uLong a, uLong b) { in multmodp()
164 uLong m, p; in multmodp()
166 m = (uLong)1 << 31; in multmodp()
184 local uLong x2nmodp(z_off64_t n, unsigned k) { in x2nmodp()
185 uLong p; in x2nmodp()
187 p = (uLong)1 << 31; /* x^0 == 1 */ in x2nmodp()
508 uLong ZEXPORT crc32_z(uLong crc, const unsigned char FAR *buf, z_size_t len) { in crc32_z()
509 uLong val; in crc32_z()
626 uLong ZEXPORT crc32_z(uLong crc, const unsigned char FAR *buf, z_size_t len) { in crc32_z()
946 uLong ZEXPORT crc32(uLong crc, const unsigned char FAR *buf, uInt len) { in crc32()
[all …]
H A Dcompress.c68 uLong sourceLen, int level) { in compress2()
72 *destLen = (uLong)got; in compress2()
83 uLong sourceLen) { in compress()
96 uLong ZEXPORT compressBound(uLong sourceLen) { in compressBound()
98 return (uLong)bound != bound ? (uLong)-1 : (uLong)bound; in compressBound()
H A Duncompr.c84 uLong *sourceLen) { in uncompress2()
88 *sourceLen = (uLong)used; in uncompress2()
89 *destLen = (uLong)got; in uncompress2()
98 uLong sourceLen) { in uncompress()
99 uLong used = sourceLen; in uncompress()
H A Dzutil.h180 ZEXTERN uLong ZEXPORT adler32_combine64(uLong, uLong, z_off64_t);
181 ZEXTERN uLong ZEXPORT crc32_combine64(uLong, uLong, z_off64_t);
182 ZEXTERN uLong ZEXPORT crc32_combine_gen64(z_off64_t);
H A Dzutil.c31 uLong ZEXPORT zlibCompileFlags(void) { in zlibCompileFlags()
32 uLong flags; in zlibCompileFlags()
41 switch ((int)(sizeof(uLong))) { in zlibCompileFlags()
H A Dzconf.h186 # define uLong z_uLong macro
425 typedef unsigned long uLong; /* 32 bits or more */ typedef
436 typedef uLong FAR uLongf;
H A Dzconf.h.in167 # define uLong z_uLong macro
406 typedef unsigned long uLong; /* 32 bits or more */ typedef
417 typedef uLong FAR uLongf;
H A Ddeflate.c929 uLong ZEXPORT deflateBound(z_streamp strm, uLong sourceLen) { in deflateBound()
931 return (uLong)bound != bound ? (uLong)-1 : (uLong)bound; in deflateBound()
/freebsd/sys/contrib/zlib/test/
H A Dexample.c41 static uLong dictId; /* Adler32 value of the dictionary */
66 static void test_compress(Byte *compr, uLong comprLen, Byte *uncompr, in test_compress()
67 uLong uncomprLen) { in test_compress()
69 uLong len = (uLong)strlen(hello)+1; in test_compress()
90 static void test_gzio(const char *fname, Byte *uncompr, uLong uncomprLen) { in test_gzio()
172 static void test_deflate(Byte *compr, uLong comprLen) { in test_deflate()
175 uLong len = (uLong)strlen(hello)+1; in test_deflate()
207 static void test_inflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_inflate()
208 uLong uncomprLen) { in test_inflate()
246 static void test_large_deflate(Byte *compr, uLong comprLen, Byte *uncompr, in test_large_deflate()
[all …]
/freebsd/tools/tools/net80211/w00t/libw00t/
H A Dw00t.c308 uLong crc = crc32(0L, Z_NULL, 0); in wep_decrypt()
309 uLong *pcrc; in wep_decrypt()
323 pcrc = (uLong*) (p+len-4); in wep_decrypt()
336 uLong crc = crc32(0L, Z_NULL, 0); in wep_encrypt()
337 uLong *pcrc; in wep_encrypt()
348 pcrc = (uLong*) (p+len-4); in wep_encrypt()
/freebsd/tools/tools/net80211/w00t/prga/
H A Dprga.c262 uLong *pcrc; in send_frag()
263 uLong crc = crc32(0L, Z_NULL, 0); in send_frag()
306 pcrc = (uLong*) (ptr+dlen); in send_frag()
408 uLong crc = crc32(0L, Z_NULL, 0); in wait_relay()
409 uLong *pcrc; in wait_relay()
467 pcrc = (uLong*) &p->data[p->data_len]; /* XXX overflow ph33r */ in wait_relay()
512 uLong *pcrc; in read_tap()
513 uLong crc = crc32(0L, Z_NULL, 0); in read_tap()
550 pcrc = (uLong*) (ptr+rc); in read_tap()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c486 ZEXTERN uLong ZEXPORT z_deflateBound _Z_OF((z_streamp strm, in z_deflateBound()
487 uLong sourceLen)) in z_deflateBound()
1094 ZEXTERN uLong ZEXPORT z_zlibCompileFlags _Z_OF((void)) { return zlibCompileFlags(); } in z_zlibCompileFlags()
1102 const Bytef *source, uLong sourceLen)) in z_compress()
1121 const Bytef *source, uLong sourceLen, in z_compress2()
1136 ZEXTERN uLong ZEXPORT z_compressBound _Z_OF((uLong sourceLen)) in z_compressBound()
1146 const Bytef *source, uLong sourceLen)) in z_uncompress()
1164 ZEXTERN uLong ZEXPORT z_adler32 _Z_OF((uLong adler, const Bytef *buf, uInt len)) in z_adler32()
1169 ZEXTERN uLong ZEXPORT z_crc32 _Z_OF((uLong crc, const Bytef *buf, uInt len)) in z_crc32()
1176 ZEXTERN uLong ZEXPORT z_adler32_z _Z_OF((uLong adler, const Bytef *buf, z_size_t len)) in z_adler32_z()
[all …]
/freebsd/tools/tools/net80211/w00t/expand/
H A Dexpand.c184 uLong crc = crc32(0L, Z_NULL, 0); in send_mcast()
185 uLong *pcrc; in send_mcast()
255 pcrc = (uLong*) (data+len); in send_mcast()
286 pcrc = (uLong*) (data+len); in send_mcast()
/freebsd/tools/tools/net80211/w00t/redir/
H A Dredir.c260 uLong crc = crc32(0L, Z_NULL, 0); in send_header()
261 uLong *pcrc; in send_header()
307 pcrc = (uLong*) (ptr+len); in send_header()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c77 const Bytef *source, uLong sourceLen);
79 const Bytef *source, uLong sourceLen);
/freebsd/usr.bin/gzip/
H A Dgzip.c568 uLong crc; in gz_compress()
746 uLong crc = 0; in gz_uncompress()
982 uLong origcrc; in gz_uncompress()
1010 uLong origlen; in gz_uncompress()
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c635 uLong crc; in wepify()
780 uLong crc; in calculate_inet_clear()
1250 uLong crc; in try_dictionary()
1693 uLong crc; in send_fragment()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_7zip.c1836 strm->total_in = (uLong)lastrm->total_in; in compression_init_encoder_deflate()
1839 strm->total_out = (uLong)lastrm->total_out; in compression_init_encoder_deflate()
1869 strm->total_in = (uLong)lastrm->total_in; in compression_code_deflate()
1872 strm->total_out = (uLong)lastrm->total_out; in compression_code_deflate()
H A Darchive_write_set_format_xar.c2784 strm->total_in = (uLong)lastrm->total_in; in compression_init_encoder_gzip()
2787 strm->total_out = (uLong)lastrm->total_out; in compression_init_encoder_gzip()
2817 strm->total_in = (uLong)lastrm->total_in; in compression_code_gzip()
2820 strm->total_out = (uLong)lastrm->total_out; in compression_code_gzip()
/freebsd/contrib/sqlite3/
H A Dshell.c14509 uLong nData = sqlite3_value_bytes(argv[0]); in sqlarCompressFunc()
14547 uLong nData; in sqlarUncompressFunc()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi8218 <typedef-decl name='uLong' type-id='7359adad' id='5bbcce85'/>