Lines Matching refs:orig_size
293 ulong orig_size, compressed_size, uncompressed_size; in run_test() local
303 orig_size = strlen(orig_buf); /* Trailing NULL not included. */ in run_test()
304 errcheck(orig_size > 0); in run_test()
315 printf("\torig_size:%lu\n", orig_size); in run_test()
317 errcheck(compress(orig_buf, orig_size, in run_test()
322 errcheck(compressed_size < orig_size); in run_test()
331 errcheck(uncompressed_size == orig_size); in run_test()
332 errcheck(memcmp(orig_buf, uncompressed_buf, orig_size) == 0); in run_test()
337 uncompressed_buf, orig_size, in run_test()
339 errcheck(uncompressed_size == orig_size); in run_test()
340 errcheck(memcmp(orig_buf, uncompressed_buf, orig_size) == 0); in run_test()
341 errcheck(((char *)uncompressed_buf)[orig_size] == 'A'); in run_test()
345 ret = compress(orig_buf, orig_size, in run_test()