Lines Matching defs:size

37     UInt32 size = _bufsSizes_New[i];

40 size &= ~(UInt32)3;
42 if (size < kMinBufSize)
43 size = kMinBufSize;
44 // size = 4 * 100; // for debug
45 // if (BCJ2_IS_32BIT_STREAM(i) == 1) size = 4 * 1; // for debug
46 if (!_bufs[i] || size != _bufsSizes[i])
54 Byte *buf = (Byte *)::MidAlloc(size);
58 _bufsSizes[i] = size;
74 Z7_COM7F_IMF(CEncoder::SetInBufSize(UInt32, UInt32 size))
75 { _bufsSizes_New[BCJ2_NUM_STREAMS] = size; return S_OK; }
76 Z7_COM7F_IMF(CEncoder::SetOutBufSize(UInt32 streamIndex, UInt32 size))
77 { _bufsSizes_New[streamIndex] = size; return S_OK; }
180 UInt64 totalRead = 0; // size read from input stream
263 /* if sub-stream size is unknown, we use default settings.
284 /* it's not expected, but (-1) can mean unknown size. */
304 where new GetSubStreamSize() call returns smaller size than
305 confirmed by Read() size from previous GetSubStreamSize() call.
355 /* if (wasUnknownSize) then we can't trust size of that sub-stream.
432 Z7_COM7F_IMF(CDecoder::SetInBufSize(UInt32 streamIndex, UInt32 size))
433 { _bufsSizes_New[streamIndex] = size; return S_OK; }
434 Z7_COM7F_IMF(CDecoder::SetOutBufSize(UInt32, UInt32 size))
435 { _bufsSizes_New[BCJ2_NUM_STREAMS] = size; return S_OK; }
488 finished streams, but some Read() handlers can ignore Read(size=0) calls.
634 But if the size of MAIN stream is not known or if the
635 size of MAIN stream includes some padding after payload data,
637 (state == BCJ2_DEC_STATE_ORIG), if we know the exact size
644 /* the caller also will know written size.
653 /* if (inSizes[i]) is defined, we do full check for processed stream size. */
700 Z7_COM7F_IMF(CDecoder::Read(void *data, UInt32 size, UInt32 *processedSize))
709 We disable check (size == 0) here.
710 So if the caller calls this CDecoder::Read() with (size == 0),
715 // if (size == 0) return S_OK; // disabled to allow (size == 0) processing
722 if (size > rem)
723 size = (UInt32)rem;
726 dec.destLim = (const Byte *)data + size;
739 size -= curSize;