Home
last modified time | relevance | path

Searched refs:max_dst_size (Results 1 – 3 of 3) sorted by relevance

/external/lz4/examples/
Dcompress_functions.c116 const size_t max_dst_size, in bench() argument
132 rv = LZ4_compress_default(src, dst, src_size, max_dst_size); in bench()
135 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
139 LZ4_compress_default(src, dst, src_size, max_dst_size); in bench()
145 rv = LZ4_compress_fast(src, dst, src_size, max_dst_size, acceleration); in bench()
148 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
152 LZ4_compress_fast(src, dst, src_size, max_dst_size, acceleration); in bench()
158 rv = LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, acceleration); in bench()
161 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
165 LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, acceleration); in bench()
[all …]
Dsimple_buffer.c45 const int max_dst_size = LZ4_compressBound(src_size); in main() local
47 char* compressed_data = malloc((size_t)max_dst_size); in main()
53 …onst int compressed_data_size = LZ4_compress_default(src, compressed_data, src_size, max_dst_size); in main()
/external/kernel-headers/original/uapi/linux/
Didxd.h220 uint32_t max_dst_size; member