Home
last modified time | relevance | path

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

/external/lzma/C/Util/SfxSetup/
DSfxSetup.c127 size_t numPrevBytes = 0; in FindSignature() local
137 size_t processed = kBufferSize - numPrevBytes; in FindSignature()
138 if (File_Read(stream, buf + numPrevBytes, &processed) != 0) in FindSignature()
142 numPrevBytes += processed; in FindSignature()
144 while (numPrevBytes <= k7zStartHeaderSize); in FindSignature()
146 numTests = numPrevBytes - k7zStartHeaderSize; in FindSignature()
160 numPrevBytes -= numTests; in FindSignature()
161 memmove(buf, buf + numTests, numPrevBytes); in FindSignature()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp320 UInt32 numPrevBytes = kHeaderSize; in FindAndReadSignature() local
330 UInt32 numReadBytes = kBufferSize - numPrevBytes; in FindAndReadSignature()
332 RINOK(stream->Read(buffer + numPrevBytes, numReadBytes, &processedSize)); in FindAndReadSignature()
333 numPrevBytes += processedSize; in FindAndReadSignature()
337 while (numPrevBytes <= kHeaderSize); in FindAndReadSignature()
338 UInt32 numTests = numPrevBytes - kHeaderSize; in FindAndReadSignature()
353 numPrevBytes -= numTests; in FindAndReadSignature()
354 memmove(buffer, buffer + numTests, numPrevBytes); in FindAndReadSignature()