Lines Matching refs:errcheck

295 #define errcheck(statement) if (!(statement)) { \  macro
320 errcheck(compress(uts, buf->orig_buf, buf->orig_size, in run_test_internal()
324 errcheck(buf->compressed_size > 0); in run_test_internal()
325 errcheck(buf->compressed_size < buf->orig_size); in run_test_internal()
326 errcheck(((char *)buf->compressed_buf)[buf->compressed_size - 1] != in run_test_internal()
328 errcheck(((char *)buf->compressed_buf)[buf->compressed_size] == 'A'); in run_test_internal()
331 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
335 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal()
336 errcheck(memcmp(buf->orig_buf, buf->uncompressed_buf, in run_test_internal()
341 errcheck(uncompress(uts, buf->compressed_buf, buf->compressed_size, in run_test_internal()
344 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal()
345 errcheck(memcmp(buf->orig_buf, buf->uncompressed_buf, in run_test_internal()
347 errcheck(((char *)buf->uncompressed_buf)[buf->orig_size] == 'A'); in run_test_internal()
354 errcheck(((char *)buf->compare_buf)[buf->compressed_size] == 'A'); in run_test_internal()
355 errcheck(ret != 0); in run_test_internal()
363 errcheck(((char *)buf->compare_buf)[buf->uncompressed_size - 1] == 'A'); in run_test_internal()
364 errcheck(ret != 0); in run_test_internal()
384 errcheck(buf->orig_size > 0); in run_test()
389 errcheck(buf->compressed_buf); in run_test()
391 errcheck(buf->uncompressed_buf); in run_test()
393 errcheck(buf->compare_buf); in run_test()