Home | History | Annotate | Download | only in examples

Lines Matching refs:bytes_returned

250   int bytes_returned = 0;
259 bytes_returned = LZ4_compress_default(src, known_good_dst, src_size, max_dst_size);
260 if (bytes_returned < 1)
262 const size_t src_comp_size = bytes_returned;
263 bytes_returned = LZ4_compress_default(hc_src, known_good_hc_dst, src_size, max_dst_size);
264 if (bytes_returned < 1)
266 const size_t hc_src_comp_size = bytes_returned;
275 bytes_returned = LZ4_compress_fast(src, dst, src_size, max_dst_size, 1);
276 if (bytes_returned < 1)
277 run_screaming("Failed to compress src using LZ4_compress_fast. echo $? for return code.", bytes_returned);
278 if (memcmp(dst, known_good_dst, bytes_returned) != 0)
285 bytes_returned = LZ4_compress_fast_extState(&state, src, dst, src_size, max_dst_size, 1);
286 if (bytes_returned < 1)
287 run_screaming("Failed to compress src using LZ4_compress_fast_extState. echo $? for return code.", bytes_returned);
288 if (memcmp(dst, known_good_dst, bytes_returned) != 0)
305 bytes_returned = LZ4_compress_generic(&state, src, dst, src_size, max_dst_size, notLimited, byU16, noDict, noDictIssue, 1);
306 if (bytes_returned < 1)
307 run_screaming("Failed to compress src using LZ4_compress_generic. echo $? for return code.", bytes_returned);
308 if (memcmp(dst, known_good_dst, bytes_returned) != 0)