Searched refs:compare_buf (Results 1 – 1 of 1) sorted by relevance
| /test/lib/ |
| A D | compression.c | 367 void *compare_buf; member 415 memset(buf->compare_buf, 'A', TEST_BUFFER_SIZE); in run_test_internal() 417 buf->compare_buf, buf->compressed_size - 1, in run_test_internal() 419 ut_asserteq(((char *)buf->compare_buf)[buf->compressed_size], 'A'); in run_test_internal() 424 memset(buf->compare_buf, 'A', TEST_BUFFER_SIZE); in run_test_internal() 426 buf->compare_buf, buf->uncompressed_size - 1, in run_test_internal() 428 ut_asserteq(((char *)buf->compare_buf)[buf->uncompressed_size - 1], 'A'); in run_test_internal() 454 buf->compare_buf = malloc(buf->uncompressed_size); in run_test() 455 errcheck(buf->compare_buf); in run_test() 461 free(buf->compare_buf); in run_test()
|
Completed in 5 milliseconds