Lines Matching refs:curSize
244 size_t curSize = enc.bufs[enc.state] - _bufs[enc.state]; in CodeReal() local
246 RINOK(WriteStream(outStreams[enc.state], _bufs[enc.state], curSize)); in CodeReal()
248 outSizeRc += curSize; in CodeReal()
272 UInt32 curSize = _bufsCurSizes[BCJ2_NUM_STREAMS]; in CodeReal() local
273 RINOK(inStreams[0]->Read(_bufs[BCJ2_NUM_STREAMS], curSize, &curSize)); in CodeReal()
276 if (curSize == 0) in CodeReal()
282 numBytes_in_ReadBuf = curSize; in CodeReal()
397 UInt32 curSize = _bufsCurSizes[dec.state] - (UInt32)totalRead; in Code() local
408 HRESULT res2 = inStreams[dec.state]->Read(_bufs[dec.state] + totalRead, curSize, &curSize); in Code()
410 if (curSize == 0) in Code()
412 _inStreamsProcessed[dec.state] += curSize; in Code()
413 totalRead += curSize; in Code()
443 size_t curSize = dec.dest - _bufs[BCJ2_NUM_STREAMS]; in Code() local
444 if (curSize != 0) in Code()
446 outSizeProcessed += curSize; in Code()
447 RINOK(WriteStream(outStreams[0], _bufs[BCJ2_NUM_STREAMS], curSize)); in Code()
476 size_t curSize = dec.dest - _bufs[BCJ2_NUM_STREAMS]; in Code() local
477 if (curSize != 0) in Code()
479 outSizeProcessed += curSize; in Code()
480 RINOK(WriteStream(outStreams[0], _bufs[BCJ2_NUM_STREAMS], curSize)); in Code()
573 UInt32 curSize = (UInt32)(dec.dest - (Byte *)data); in Read() local
574 if (curSize != 0) in Read()
576 totalProcessed += curSize; in Read()
579 data = (void *)((Byte *)data + curSize); in Read()
580 size -= curSize; in Read()
581 _outSize_Processed += curSize; in Read()
603 UInt32 curSize = _bufsCurSizes[dec.state] - (UInt32)totalRead; in Read() local
604 HRESULT res2 = _inStreams[dec.state]->Read(_bufs[dec.state] + totalRead, curSize, &curSize); in Read()
606 if (curSize == 0) in Read()
608 _inStreamsProcessed[dec.state] += curSize; in Read()
609 totalRead += curSize; in Read()