Searched refs:_bufBase (Results 1 – 4 of 4) sorted by relevance
12 _bufBase(0), in CInBufferBase()25 if (_bufBase != 0 && _bufSize == bufSize) in Create()29 _bufBase = (Byte *)::MidAlloc(bufSize); in Create()30 return (_bufBase != 0); in Create()35 ::MidFree(_bufBase); in Free()36 _bufBase = 0; in Free()42 _buf = _bufBase; in Init()59 _processedSize += (_buf - _bufBase); in ReadBlock()60 _buf = _bufBase; in ReadBlock()61 _bufLim = _bufBase; in ReadBlock()[all …]
37 Byte *_bufBase;40 CAlignedMidBuffer(): _bufBase(NULL), _buf(NULL) {}41 ~CAlignedMidBuffer() { ::MidFree(_bufBase); }45 ::MidFree(_bufBase);47 _bufBase = (Byte *)::MidAlloc(size + alignMask);49 if (_bufBase)52 _buf = (Byte *)(((ptrdiff_t)_bufBase + alignMask) & ~(ptrdiff_t)alignMask);
21 Byte *_bufBase; variable41 UInt64 GetStreamSize() const { return _processedSize + (_buf - _bufBase); } in GetStreamSize()42 UInt64 GetProcessedSize() const { return _processedSize + NumExtraBytes + (_buf - _bufBase); } in GetProcessedSize()49 _bufBase = buf; in SetBuf()
138 Byte *_bufBase; member140 CBenchBuffer(): BufferSize(0), Buffer(NULL), _bufBase(NULL){} in CBenchBuffer()141 ~CBenchBuffer() { ::MidFree(_bufBase); } in ~CBenchBuffer()145 ::MidFree(_bufBase); in AllocAlignedMask()148 _bufBase = (Byte *)::MidAlloc(size + alignMask); in AllocAlignedMask()150 if (_bufBase) in AllocAlignedMask()153 Buffer = (Byte *)(((ptrdiff_t)_bufBase + alignMask) & ~(ptrdiff_t)alignMask); in AllocAlignedMask()