Lines Matching full:datasize
28 size_t dataSize; member
35 data.dataSize = 128 * 1024; in create_test_data()
36 data.data = malloc(data.dataSize); in create_test_data()
38 data.data2 = malloc(data.dataSize); in create_test_data()
40 data.compSize = zstd_compress_bound(data.dataSize); in create_test_data()
43 memset(data.data, 0, data.dataSize); in create_test_data()
58 size_t const size = MIN(data->dataSize, 128 * 1024); in test_btrfs()
136 CONTROL(op - data->data2 == data->dataSize); in test_btrfs()
137 CONTROL(!memcmp(data->data, data->data2, data->dataSize)); in test_btrfs()
153 … cSize = zstd_compress_cctx(cctx, data->comp, data->compSize, data->data, data->dataSize, ¶ms); in test_decompress_unzstd()
163 … size_t const dSize = zstd_decompress_dctx(dctx, data->data2, data->dataSize, data->comp, cSize); in test_decompress_unzstd()
165 CONTROL(dSize == data->dataSize); in test_decompress_unzstd()
166 CONTROL(!memcmp(data->data, data->data2, data->dataSize)); in test_decompress_unzstd()