Home
last modified time | relevance | path

Searched refs:decodedBuffer (Results 1 – 2 of 2) sorted by relevance

/external/lz4/programs/
Dfuzzer.c284 char* decodedBuffer; in FUZ_test() local
308 decodedBuffer = (char*)malloc(FUZ_MAX_DICT_SIZE + FUZ_MAX_BLOCK_SIZE); in FUZ_test()
388 ret = LZ4_decompress_fast(compressedBuffer, decodedBuffer, blockSize); in FUZ_test()
391 crcCheck = XXH32(decodedBuffer, blockSize, 0); in FUZ_test()
396 decodedBuffer[blockSize-1] = 0; in FUZ_test()
397 ret = LZ4_decompress_fast(compressedBuffer, decodedBuffer, blockSize-1); in FUZ_test()
399 … FUZ_CHECKTEST(decodedBuffer[blockSize-1], "LZ4_decompress_fast overrun specified output buffer"); in FUZ_test()
403 ret = LZ4_decompress_fast(compressedBuffer, decodedBuffer, blockSize+1); in FUZ_test()
408 decodedBuffer[blockSize] = 0; in FUZ_test()
409 ret = LZ4_decompress_safe(compressedBuffer, decodedBuffer, compressedSize, blockSize); in FUZ_test()
[all …]
Dframetest.c203 void* decodedBuffer; in basicTests() local
213 decodedBuffer = malloc(COMPRESSIBLE_NOISE_LENGTH); in basicTests()
228 BYTE* op = (BYTE*)decodedBuffer; in basicTests()
229 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests()
238 …errorCode = LZ4F_decompress(dCtx, decodedBuffer, &decodedBufferSize, compressedBuffer, &compressed… in basicTests()
239 crcDest = XXH64(decodedBuffer, COMPRESSIBLE_NOISE_LENGTH, 1); in basicTests()
254 crcDest = XXH64(decodedBuffer, COMPRESSIBLE_NOISE_LENGTH, 1); in basicTests()
286 BYTE* op = (BYTE*)decodedBuffer; in basicTests()
287 BYTE* const oend = (BYTE*)decodedBuffer + COMPRESSIBLE_NOISE_LENGTH; in basicTests()
308 crcDest = XXH64(decodedBuffer, COMPRESSIBLE_NOISE_LENGTH, 1); in basicTests()
[all …]