Home
last modified time | relevance | path

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

/external/lz4/programs/
Dbench.c240 char* orig_buff; in BMK_benchFile() local
298 orig_buff = (char*)malloc((size_t )benchedSize); in BMK_benchFile()
305 if (!orig_buff || !compressedBuffer) in BMK_benchFile()
308 free(orig_buff); in BMK_benchFile()
319 char* in = orig_buff; in BMK_benchFile()
333 readSize = fread(orig_buff, 1, benchedSize, inFile); in BMK_benchFile()
339 free(orig_buff); in BMK_benchFile()
346 crcOrig = XXH32(orig_buff, (unsigned int)benchedSize,0); in BMK_benchFile()
386 …{ size_t i; for (i=0; i<benchedSize; i++) orig_buff[i]=0; } /* zeroing area, for CRC checking … in BMK_benchFile()
404 crcCheck = XXH32(orig_buff, (unsigned int)benchedSize,0); in BMK_benchFile()
[all …]
Dfullbench.c404 char* orig_buff; in fullSpeedBench() local
458 orig_buff = (char*) malloc((size_t)benchedSize); in fullSpeedBench()
465 if(!orig_buff || !compressed_buff) in fullSpeedBench()
468 free(orig_buff); in fullSpeedBench()
477 readSize = fread(orig_buff, 1, benchedSize, inFile); in fullSpeedBench()
483 free(orig_buff); in fullSpeedBench()
490 crcOriginal = XXH32(orig_buff, (unsigned int)benchedSize,0); in fullSpeedBench()
514 char* in = orig_buff; in fullSpeedBench()
602 char* in = orig_buff; in fullSpeedBench()
641 … errorCode = LZ4F_compressFrame(compressed_buff, compressedBuffSize, orig_buff, benchedSize, NULL); in fullSpeedBench()
[all …]