Home
last modified time | relevance | path

Searched refs:Bytef (Results 1 – 25 of 148) sorted by relevance

123456

/external/zlib/google/
Dcompression_utils_portable.h32 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length);
34 int GzipCompressHelper(Bytef* dest,
36 const Bytef* source,
42 Bytef* dest,
44 const Bytef* source,
50 int GzipUncompressHelper(Bytef* dest,
52 const Bytef* source,
56 Bytef* dest,
58 const Bytef* source,
Dcompression_utils.cc22 static_assert(sizeof(Bytef) == 1, ""); in GzipCompress()
27 bit_cast<Bytef*>(output_buffer), &compressed_size_long, in GzipCompress()
28 bit_cast<const Bytef*>(input.data()), in GzipCompress()
44 static_assert(sizeof(Bytef) == 1, ""); in GzipCompress()
50 Bytef* compressed_data; in GzipCompress()
57 bit_cast<const Bytef*>(input.data()), in GzipCompress()
63 Bytef* resized_data = in GzipCompress()
64 reinterpret_cast<Bytef*>(realloc(compressed_data, compressed_data_size)); in GzipCompress()
84 bit_cast<Bytef*>(uncompressed_output.data()), &uncompressed_size, in GzipUncompress()
85 bit_cast<const Bytef*>(input.data()), in GzipUncompress()
[all …]
Dcompression_utils_portable.cc37 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length) { in GetGzipUncompressedSize()
62 int GzipCompressHelper(Bytef* dest, in GzipCompressHelper()
64 const Bytef* source, in GzipCompressHelper()
80 Bytef* dest, in CompressHelper()
82 const Bytef* source, in CompressHelper()
94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper()
156 int GzipUncompressHelper(Bytef* dest, in GzipUncompressHelper()
158 const Bytef* source, in GzipUncompressHelper()
168 Bytef* dest, in UncompressHelper()
170 const Bytef* source, in UncompressHelper()
[all …]
/external/angle/third_party/zlib/google/
Dcompression_utils_portable.h32 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length);
34 int GzipCompressHelper(Bytef* dest,
36 const Bytef* source,
42 Bytef* dest,
44 const Bytef* source,
50 int GzipUncompressHelper(Bytef* dest,
52 const Bytef* source,
56 Bytef* dest,
58 const Bytef* source,
Dcompression_utils.cc22 static_assert(sizeof(Bytef) == 1, ""); in GzipCompress()
27 bit_cast<Bytef*>(output_buffer), &compressed_size_long, in GzipCompress()
28 bit_cast<const Bytef*>(input.data()), in GzipCompress()
44 static_assert(sizeof(Bytef) == 1, ""); in GzipCompress()
50 Bytef* compressed_data; in GzipCompress()
57 bit_cast<const Bytef*>(input.data()), in GzipCompress()
63 Bytef* resized_data = in GzipCompress()
64 reinterpret_cast<Bytef*>(realloc(compressed_data, compressed_data_size)); in GzipCompress()
84 bit_cast<Bytef*>(uncompressed_output.data()), &uncompressed_size, in GzipUncompress()
85 bit_cast<const Bytef*>(input.data()), in GzipUncompress()
[all …]
Dcompression_utils_portable.cc37 uint32_t GetGzipUncompressedSize(const Bytef* compressed_data, size_t length) { in GetGzipUncompressedSize()
62 int GzipCompressHelper(Bytef* dest, in GzipCompressHelper()
64 const Bytef* source, in GzipCompressHelper()
80 Bytef* dest, in CompressHelper()
82 const Bytef* source, in CompressHelper()
94 stream.next_in = static_cast<z_const Bytef*>(const_cast<Bytef*>(source)); in CompressHelper()
156 int GzipUncompressHelper(Bytef* dest, in GzipUncompressHelper()
158 const Bytef* source, in GzipUncompressHelper()
168 Bytef* dest, in UncompressHelper()
170 const Bytef* source, in UncompressHelper()
[all …]
/external/rust/crates/libz-sys/src/
Dlib.rs7 pub type Bytef = u8; typedef
34 pub extra: *mut Bytef,
37 pub name: *mut Bytef,
39 pub comment: *mut Bytef,
49 pub next_in: *mut Bytef,
52 pub next_out: *mut Bytef,
67 pub fn adler32(adler: uLong, buf: *const Bytef, len: uInt) -> uLong; in adler32() argument
68 pub fn crc32(crc: uLong, buf: *const Bytef, len: uInt) -> uLong; in crc32() argument
90 dictionary: *const Bytef, in deflateSetDictionary() argument
125 dictionary: *const Bytef, in inflateSetDictionary() argument
[all …]
/external/python/cpython2/Modules/zlib/
Dzlib.h87 z_const Bytef *next_in; /* next input byte */
91 Bytef *next_out; /* next output byte will go here */
119 Bytef *extra; /* pointer to extra field or Z_NULL if none */
122 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
124 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
612 const Bytef *dictionary,
656 Bytef *dictionary,
885 const Bytef *dictionary,
908 Bytef *dictionary,
1227 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
[all …]
Dcompress.c23 Bytef *dest; in compress2()
25 const Bytef *source;
46 stream.next_in = (z_const Bytef *)source;
69 Bytef *dest; in compress()
71 const Bytef *source;
Duncompr.c28 Bytef *dest; in uncompress2()
30 const Bytef *source;
49 stream.next_in = (z_const Bytef *)source;
87 Bytef *dest; in uncompress()
89 const Bytef *source;
/external/rust/crates/libz-sys/src/zlib/
Dzlib.h87 z_const Bytef *next_in; /* next input byte */
91 Bytef *next_out; /* next output byte will go here */
119 Bytef *extra; /* pointer to extra field or Z_NULL if none */
122 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
124 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
612 const Bytef *dictionary,
656 Bytef *dictionary,
885 const Bytef *dictionary,
908 Bytef *dictionary,
1227 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
[all …]
Dcompress.c23 Bytef *dest; in compress2()
25 const Bytef *source;
46 stream.next_in = (z_const Bytef *)source;
69 Bytef *dest; in compress()
71 const Bytef *source;
Duncompr.c28 Bytef *dest; in uncompress2()
30 const Bytef *source;
49 stream.next_in = (z_const Bytef *)source;
87 Bytef *dest; in uncompress()
89 const Bytef *source;
/external/angle/third_party/zlib/
Dzlib.h87 z_const Bytef *next_in; /* next input byte */
91 Bytef *next_out; /* next output byte will go here */
119 Bytef *extra; /* pointer to extra field or Z_NULL if none */
122 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
124 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
612 const Bytef *dictionary,
656 Bytef *dictionary,
885 const Bytef *dictionary,
908 Bytef *dictionary,
1227 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
[all …]
Dcompress.c23 Bytef *dest; in compress2()
25 const Bytef *source;
46 stream.next_in = (z_const Bytef *)source;
69 Bytef *dest; in compress()
71 const Bytef *source;
Duncompr.c28 Bytef *dest; in uncompress2()
30 const Bytef *source;
49 stream.next_in = (z_const Bytef *)source;
87 Bytef *dest; in uncompress()
89 const Bytef *source;
/external/zlib/
Dzlib.h130 z_const Bytef *next_in; /* next input byte */
134 Bytef *next_out; /* next output byte will go here */
162 Bytef *extra; /* pointer to extra field or Z_NULL if none */
165 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
167 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
655 const Bytef *dictionary,
700 Bytef *dictionary,
930 const Bytef *dictionary,
954 Bytef *dictionary,
1274 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
[all …]
Dcompress.c23 Bytef *dest; in compress2()
25 const Bytef *source;
46 stream.next_in = (z_const Bytef *)source;
69 Bytef *dest; in compress()
71 const Bytef *source;
Duncompr.c28 Bytef *dest; in uncompress2()
30 const Bytef *source;
49 stream.next_in = (z_const Bytef *)source;
87 Bytef *dest; in uncompress()
89 const Bytef *source;
/external/libwebsockets/win32port/zlib/
Dzlib.h86 Bytef *next_in; /* next input byte */
90 Bytef *next_out; /* next output byte should be put there */
117 Bytef *extra; /* pointer to extra field or Z_NULL if none */
120 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
122 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
579 const Bytef *dictionary,
785 const Bytef *dictionary,
1102 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1103 const Bytef *source, uLong sourceLen));
1116 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
[all …]
Dcompress.c23 Bytef *dest; in compress2()
25 const Bytef *source;
32 stream.next_in = (Bytef*)source;
63 Bytef *dest; in compress()
65 const Bytef *source;
/external/llvm-project/llvm/lib/Support/
DCompression.cpp54 ::compress2((Bytef *)CompressedBuffer.data(), &CompressedSize, in compress()
55 (const Bytef *)InputBuffer.data(), InputBuffer.size(), Level); in compress()
66 ::uncompress((Bytef *)UncompressedBuffer, (uLongf *)&UncompressedSize, in uncompress()
67 (const Bytef *)InputBuffer.data(), InputBuffer.size()); in uncompress()
85 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size()); in crc32()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCompression.cpp54 ::compress2((Bytef *)CompressedBuffer.data(), &CompressedSize, in compress()
55 (const Bytef *)InputBuffer.data(), InputBuffer.size(), Level); in compress()
66 ::uncompress((Bytef *)UncompressedBuffer, (uLongf *)&UncompressedSize, in uncompress()
67 (const Bytef *)InputBuffer.data(), InputBuffer.size()); in uncompress()
85 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size()); in crc32()
/external/llvm/lib/Support/
DCompression.cpp56 (Bytef *)CompressedBuffer.data(), &CompressedSize, in compress()
57 (const Bytef *)InputBuffer.data(), InputBuffer.size(), CLevel)); in compress()
70 (Bytef *)UncompressedBuffer.data(), (uLongf *)&UncompressedSize, in uncompress()
71 (const Bytef *)InputBuffer.data(), InputBuffer.size())); in uncompress()
80 return ::crc32(0, (const Bytef *)Buffer.data(), Buffer.size()); in crc32()
/external/libtextclassifier/native/utils/zlib/
Dzlib.cc58 const_cast<z_const Bytef*>(reinterpret_cast<const Bytef*>(buffer)); in Decompress()
60 stream_.next_out = reinterpret_cast<Bytef*>(const_cast<char*>(out->c_str())); in Decompress()
120 buffer_.reset(new Bytef[buffer_size_]); in ZlibCompressor()
135 stream_.next_in = const_cast<z_const Bytef*>( in Compress()
136 reinterpret_cast<const Bytef*>(uncompressed_content.c_str())); in Compress()

123456