Searched refs:bytesInBuf (Results 1 – 1 of 1) sorted by relevance
2373 size_t bytesInBuf = 0; in OpenStream2() local2396 if (bytesInBuf < kBufSize) in OpenStream2()2398 size_t processedSize = kBufSize - bytesInBuf; in OpenStream2()2400 UInt64 seekPos = bufPhyPos + bytesInBuf; in OpenStream2()2401 RINOK(op.stream->Seek(bufPhyPos + bytesInBuf, STREAM_SEEK_SET, NULL)); in OpenStream2()2402 RINOK(ReadStream(op.stream, byteBuffer + bytesInBuf, &processedSize)); in OpenStream2()2411 bytesInBuf += processedSize; in OpenStream2()2417 if (bytesInBuf < posInBuf) in OpenStream2()2419 UInt64 skipSize = posInBuf - bytesInBuf; in OpenStream2()2424 memmove(byteBuffer, byteBuffer + bytesInBuf - keepSize, keepSize); in OpenStream2()[all …]