Searched refs:bytesInBuf (Results 1 – 1 of 1) sorted by relevance
2484 size_t bytesInBuf = 0; in OpenStream2() local2507 if (bytesInBuf < kBufSize) in OpenStream2()2509 size_t processedSize = kBufSize - bytesInBuf; in OpenStream2()2511 UInt64 seekPos = bufPhyPos + bytesInBuf; in OpenStream2()2512 RINOK(op.stream->Seek((Int64)(bufPhyPos + bytesInBuf), STREAM_SEEK_SET, NULL)); in OpenStream2()2513 RINOK(ReadStream(op.stream, byteBuffer + bytesInBuf, &processedSize)); in OpenStream2()2522 bytesInBuf += processedSize; in OpenStream2()2528 if (bytesInBuf < posInBuf) in OpenStream2()2530 UInt64 skipSize = posInBuf - bytesInBuf; in OpenStream2()2535 memmove(byteBuffer, byteBuffer + bytesInBuf - keepSize, keepSize); in OpenStream2()[all …]