Searched refs:nextToRead (Results 1 – 1 of 1) sorted by relevance
/external/lz4/programs/ |
D | lz4io.c | 535 size_t sizeCheck, nextToRead, outBuffSize, inBuffSize; in decodeLZ4S() local 547 nextToRead = LZ4F_decompress(ctx, NULL, &outBuffSize, headerBuff, &sizeCheck, NULL); in decodeLZ4S() 548 …if (LZ4F_isError(nextToRead)) EXM_THROW(61, "Decompression error : %s", LZ4F_getErrorName(nextToRe… in decodeLZ4S() 549 … if (nextToRead > HEADERMAX) EXM_THROW(62, "Header too large (%i>%i)", (int)nextToRead, HEADERMAX); in decodeLZ4S() 550 sizeCheck = fread(headerBuff, 1, nextToRead, finput); in decodeLZ4S() 551 if (sizeCheck!=nextToRead) EXM_THROW(63, "Read error "); in decodeLZ4S() 552 nextToRead = LZ4F_decompress(ctx, NULL, &outBuffSize, headerBuff, &sizeCheck, NULL); in decodeLZ4S() 564 while (nextToRead != 0) in decodeLZ4S() 569 sizeCheck = fread(inBuff, 1, nextToRead, finput); in decodeLZ4S() 570 if (sizeCheck!=nextToRead) EXM_THROW(66, "Read error "); in decodeLZ4S() [all …]
|