Home
last modified time | relevance | path

Searched refs:z_size_t (Results 1 – 25 of 43) sorted by relevance

12

/external/zstd/zlibWrapper/
Dgzcompatibility.h51 typedef unsigned long z_size_t; typedef
55 typedef unsigned NO_SIZE_T z_size_t; typedef
58 typedef size_t z_size_t; typedef
60 typedef unsigned long z_size_t; typedef
64 ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
66 ZEXTERN z_size_t ZEXPORT gzfwrite OF((voidpc buf, z_size_t size,
67 z_size_t nitems, gzFile file));
Dgzwrite.c17 local z_size_t gz_write OF((gz_statep, voidpc, z_size_t));
183 local z_size_t gz_write(state, buf, len) in gz_write()
186 z_size_t len;
188 z_size_t put = len;
209 z_size_t have, copy;
235 z_size_t n = (unsigned)-1;
279 z_size_t ZEXPORT gzfwrite(buf, size, nitems, file) in gzfwrite()
281 z_size_t size;
282 z_size_t nitems;
285 z_size_t len;
[all …]
Dgzread.c26 local z_size_t gz_read OF((gz_statep, voidp, z_size_t));
306 local z_size_t gz_read(state, buf, len) in gz_read()
309 z_size_t len;
311 z_size_t got;
423 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread()
425 z_size_t size;
426 z_size_t nitems;
429 z_size_t len;
/external/rust/crates/libz-sys/src/zlib-ng/
Dcompress.c25 int Z_EXPORT PREFIX(compress2)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, in PREFIX()
26 z_size_t sourceLen, int level) { in PREFIX()
30 z_size_t left; in PREFIX()
60 *destLen = (z_size_t)stream.total_out; in PREFIX()
67 … Z_EXPORT PREFIX(compress)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, z_… in PREFIX()
75 z_size_t Z_EXPORT PREFIX(compressBound)(z_size_t sourceLen) { in PREFIX()
Duncompr.c30 …EXPORT PREFIX(uncompress2)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, z_… in PREFIX()
34 z_size_t len, left; in PREFIX()
72 *destLen = (z_size_t)stream.total_out; in PREFIX()
83 …_EXPORT PREFIX(uncompress)(unsigned char *dest, z_size_t *destLen, const unsigned char *source, z_… in PREFIX()
Dzbuild.h19 # define z_size_t unsigned long macro
26 # define z_size_t size_t macro
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/
Dcompress_fuzzer.c19 static void check_compress_level(uint8_t *compr, z_size_t comprLen, in check_compress_level()
20 uint8_t *uncompr, z_size_t uncomprLen, in check_compress_level()
60 z_size_t comprLen = 100 + 2 * PREFIX(compressBound)(size); in LLVMFuzzerTestOneInput()
61 z_size_t uncomprLen = (z_size_t)size; in LLVMFuzzerTestOneInput()
Dexample_flush_fuzzer.c31 void test_flush(unsigned char *compr, z_size_t *comprLen) { in test_flush()
60 *comprLen = (z_size_t)c_stream.total_out; in test_flush()
100 z_size_t comprLen = 100 + 2 * PREFIX(compressBound)(size); in LLVMFuzzerTestOneInput()
101 z_size_t uncomprLen = (z_size_t)size; in LLVMFuzzerTestOneInput()
/external/zlib/
Dcrc32_simd.h20 z_size_t len,
35 z_size_t len);
Dgzread.c15 local z_size_t gz_read OF((gz_statep, voidp, z_size_t));
294 local z_size_t gz_read(state, buf, len) in gz_read()
297 z_size_t len;
299 z_size_t got;
411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread()
413 z_size_t size;
414 z_size_t nitems;
417 z_size_t len;
Dcrc32.c45 const unsigned char FAR *, z_size_t));
47 const unsigned char FAR *, z_size_t));
211 z_size_t len;
232 z_size_t chunk_size = len & ~Z_CRC32_SSE42_CHUNKSIZE_MASK;
323 z_size_t len;
363 z_size_t len;
Dgzwrite.c12 local z_size_t gz_write OF((gz_statep, voidpc, z_size_t));
178 local z_size_t gz_write(state, buf, len) in gz_write()
181 z_size_t len;
183 z_size_t put = len;
274 z_size_t ZEXPORT gzfwrite(buf, size, nitems, file) in gzfwrite()
276 z_size_t size;
277 z_size_t nitems;
280 z_size_t len;
357 z_size_t len;
Dzlib.h1470 ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
1506 ZEXTERN z_size_t ZEXPORT gzfwrite OF((voidpc buf, z_size_t size,
1507 z_size_t nitems, gzFile file));
1762 z_size_t len));
1799 z_size_t len));
Dadler32_simd.c59 z_size_t len) in adler32_simd_()
72 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_()
206 z_size_t len) in adler32_simd_()
233 z_size_t blocks = len / BLOCK_SIZE; in adler32_simd_()
/external/rust/crates/libz-sys/src/zlib/
Dgzread.c15 local z_size_t gz_read OF((gz_statep, voidp, z_size_t));
294 local z_size_t gz_read(state, buf, len) in gz_read()
297 z_size_t len;
299 z_size_t got;
411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread()
413 z_size_t size;
414 z_size_t nitems;
417 z_size_t len;
Dgzwrite.c12 local z_size_t gz_write OF((gz_statep, voidpc, z_size_t));
178 local z_size_t gz_write(state, buf, len) in gz_write()
181 z_size_t len;
183 z_size_t put = len;
274 z_size_t ZEXPORT gzfwrite(buf, size, nitems, file) in gzfwrite()
276 z_size_t size;
277 z_size_t nitems;
280 z_size_t len;
357 z_size_t len;
Dcrc32.c39 const unsigned char FAR *, z_size_t));
41 const unsigned char FAR *, z_size_t));
205 z_size_t len;
269 z_size_t len;
309 z_size_t len;
Dzlib.h1420 ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
1454 ZEXTERN z_size_t ZEXPORT gzfwrite OF((voidpc buf, z_size_t size,
1455 z_size_t nitems, gzFile file));
1708 z_size_t len));
1743 z_size_t len));
Dzconf.h241 typedef unsigned long z_size_t; typedef
245 typedef unsigned NO_SIZE_T z_size_t; typedef
248 typedef size_t z_size_t; typedef
250 typedef unsigned long z_size_t; typedef
/external/python/cpython2/Modules/zlib/
Dgzread.c15 local z_size_t gz_read OF((gz_statep, voidp, z_size_t));
294 local z_size_t gz_read(state, buf, len) in gz_read()
297 z_size_t len;
299 z_size_t got;
411 z_size_t ZEXPORT gzfread(buf, size, nitems, file) in gzfread()
413 z_size_t size;
414 z_size_t nitems;
417 z_size_t len;
Dgzwrite.c12 local z_size_t gz_write OF((gz_statep, voidpc, z_size_t));
178 local z_size_t gz_write(state, buf, len) in gz_write()
181 z_size_t len;
183 z_size_t put = len;
274 z_size_t ZEXPORT gzfwrite(buf, size, nitems, file) in gzfwrite()
276 z_size_t size;
277 z_size_t nitems;
280 z_size_t len;
357 z_size_t len;
Dcrc32.c39 const unsigned char FAR *, z_size_t));
41 const unsigned char FAR *, z_size_t));
205 z_size_t len;
269 z_size_t len;
309 z_size_t len;
Dzlib.h1420 ZEXTERN z_size_t ZEXPORT gzfread OF((voidp buf, z_size_t size, z_size_t nitems,
1454 ZEXTERN z_size_t ZEXPORT gzfwrite OF((voidpc buf, z_size_t size,
1455 z_size_t nitems, gzFile file));
1708 z_size_t len));
1743 z_size_t len));
Dzconf.h241 typedef unsigned long z_size_t; typedef
245 typedef unsigned NO_SIZE_T z_size_t; typedef
248 typedef size_t z_size_t; typedef
250 typedef unsigned long z_size_t; typedef
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dexample.c39 void test_compress (unsigned char *compr, z_size_t comprLen,unsigned char *uncompr, z_size_t u…
40 void test_gzio (const char *fname, unsigned char *uncompr, z_size_t uncomprLen);
45 void test_flush (unsigned char *compr, z_size_t *comprLen);
58 void test_compress(unsigned char *compr, z_size_t comprLen, unsigned char *uncompr, z_size_t uncomp… in test_compress()
62 err = PREFIX(compress)(compr, &comprLen, (const unsigned char*)hello, (z_size_t)len); in test_compress()
81 void test_gzio(const char *fname, unsigned char *uncompr, z_size_t uncomprLen) { in test_gzio()
466 void test_flush(unsigned char *compr, z_size_t *comprLen) { in test_flush()
495 *comprLen = (z_size_t)c_stream.total_out; in test_flush()
1002 z_size_t comprLen = 10000*sizeof(int); /* don't overflow on MSDOS */ in main()
1003 z_size_t uncomprLen = comprLen; in main()

12