Lines Matching refs:srcBuffSize
65 const void* srcBuff, size_t srcBuffSize) in roundTripTest() argument
68 size_t const hashLength = MIN(128, srcBuffSize); in roundTripTest()
71 …size_t const cSize = ZSTD_compress(compressedBuff, compressedBuffCapacity, srcBuff, srcBuffSize, c… in roundTripTest()
83 const void* srcBuff, size_t srcBuffSize) in cctxParamRoundTripTest() argument
87 ZSTD_inBuffer inBuffer = { srcBuff, srcBuffSize, 0 }; in cctxParamRoundTripTest()
91 size_t const hashLength = MIN(128, srcBuffSize); in cctxParamRoundTripTest()
125 static void roundTripCheck(const void* srcBuff, size_t srcBuffSize, int testCCtxParams) in roundTripCheck() argument
127 size_t const cBuffSize = ZSTD_compressBound(srcBuffSize); in roundTripCheck()
137 cctxParamRoundTripTest(rBuff, cBuffSize, cBuff, cBuffSize, srcBuff, srcBuffSize) in roundTripCheck()
138 : roundTripTest(rBuff, cBuffSize, cBuff, cBuffSize, srcBuff, srcBuffSize); in roundTripCheck()
143 if (result != srcBuffSize) { in roundTripCheck()
144 …printf(stderr, "Incorrect regenerated size : %u != %u\n", (unsigned)result, (unsigned)srcBuffSize); in roundTripCheck()
147 if (checkBuffers(srcBuff, rBuff, srcBuffSize) != srcBuffSize) { in roundTripCheck()