Home
last modified time | relevance | path

Searched refs:_bufBase (Results 1 – 4 of 4) sorted by relevance

/external/lzma/CPP/7zip/Common/
DInBuffer.cpp12 _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 …]
DFilterCoder.h37 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);
DInBuffer.h21 Byte *_bufBase; variable
41 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()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp138 Byte *_bufBase; member
140 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()