Searched refs:sizeCheck (Results 1 – 1 of 1) sorted by relevance
/external/lz4/programs/ |
D | lz4io.c | 303 size_t sizeCheck; in LZ4IO_compressFilename_Legacy() local 320 sizeCheck = fwrite(out_buff, 1, MAGICNUMBER_SIZE, foutput); in LZ4IO_compressFilename_Legacy() 321 if (sizeCheck!=MAGICNUMBER_SIZE) EXM_THROW(22, "Write error : cannot write header"); in LZ4IO_compressFilename_Legacy() 339 sizeCheck = fwrite(out_buff, 1, outSize+4, foutput); in LZ4IO_compressFilename_Legacy() 340 … if (sizeCheck!=(size_t)(outSize+4)) EXM_THROW(23, "Write error : cannot write compressed block"); in LZ4IO_compressFilename_Legacy() 377 size_t sizeCheck, headerSize, readSize, outBuffSize; in LZ4IO_compressFilename() local 407 sizeCheck = fwrite(out_buff, 1, headerSize, foutput); in LZ4IO_compressFilename() 408 if (sizeCheck!=headerSize) EXM_THROW(33, "Write error : cannot write header"); in LZ4IO_compressFilename() 427 sizeCheck = fwrite(out_buff, 1, outSize, foutput); in LZ4IO_compressFilename() 428 if (sizeCheck!=outSize) EXM_THROW(35, "Write error : cannot write compressed block"); in LZ4IO_compressFilename() [all …]
|