Searched refs:sizeCheck (Results 1 – 1 of 1) sorted by relevance
/third_party/lz4/programs/ |
D | lz4io.c | 879 size_t const sizeCheck = fwrite(buffer, 1, bufferSize, file); in LZ4IO_fwriteSparse() local 880 if (sizeCheck != bufferSize) EXM_THROW(70, "Write error : cannot write decoded block"); in LZ4IO_fwriteSparse() 909 { size_t const sizeCheck = fwrite(ptrT, sizeT, seg0SizeT, file); in LZ4IO_fwriteSparse() local 910 … if (sizeCheck != seg0SizeT) EXM_THROW(73, "Write error : cannot write decoded block"); in LZ4IO_fwriteSparse() 926 { size_t const sizeCheck = fwrite(restPtr, 1, (size_t)(restEnd - restPtr), file); in LZ4IO_fwriteSparse() local 927 …if (sizeCheck != (size_t)(restEnd - restPtr)) EXM_THROW(75, "Write error : cannot write decoded en… in LZ4IO_fwriteSparse() 962 { size_t const sizeCheck = fread(in_buff, 1, 4, finput); in LZ4IO_decodeLegacyStream() local 963 … if (sizeCheck == 0) break; /* Nothing to read : file read is completed */ in LZ4IO_decodeLegacyStream() 964 if (sizeCheck != 4) EXM_THROW(52, "Read error : cannot access block size "); } in LZ4IO_decodeLegacyStream() 973 { size_t const sizeCheck = fread(in_buff, 1, blockSize, finput); in LZ4IO_decodeLegacyStream() local [all …]
|