Lines Matching refs:known_good_dst
110 const char *known_good_dst, in bench() argument
135 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
148 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
161 if (memcmp(known_good_dst, dst, max_dst_size) != 0) in bench()
194 if (memcmp(known_good_dst, dst, src_size) != 0) in bench()
207 if (memcmp(known_good_dst, dst, src_size) != 0) in bench()
253 char *known_good_dst = calloc(1, max_dst_size); in main() local
255 if (dst == NULL || known_good_dst == NULL || known_good_hc_dst == NULL) in main()
259 bytes_returned = LZ4_compress_default(src, known_good_dst, src_size, max_dst_size); in main()
278 if (memcmp(dst, known_good_dst, bytes_returned) != 0) in main()
288 if (memcmp(dst, known_good_dst, bytes_returned) != 0) in main()
321 …uint64_t time_taken__default = bench(known_good_dst, ID__LZ4_COMPRESS_DEFAULT, iterati… in main()
322 …uint64_t time_taken__fast = bench(known_good_dst, ID__LZ4_COMPRESS_FAST, iterati… in main()
323 …uint64_t time_taken__fast_extstate = bench(known_good_dst, ID__LZ4_COMPRESS_FAST_EXTSTATE, iterati… in main()
325 … = bench(src, ID__LZ4_DECOMPRESS_SAFE, iterations, known_good_dst, dst_d, src_si… in main()
326 … = bench(src, ID__LZ4_DECOMPRESS_FAST, iterations, known_good_dst, dst_d, src_si… in main()