Home
last modified time | relevance | path

Searched refs:addSize (Results 1 - 5 of 5) sorted by relevance

/third_party/lzma/CPP/Common/
H A DDynamicBuffer.h46 T *GetCurPtrAndGrow(size_t addSize) in GetCurPtrAndGrow() argument
49 if (rem < addSize) in GetCurPtrAndGrow()
50 Grow(addSize - rem); in GetCurPtrAndGrow()
52 _pos += addSize; in GetCurPtrAndGrow()
H A DMyVector.h489 const unsigned addSize = v.Size(); in operator +=() local
490 if (addSize != 0) in operator +=()
493 if (size >= k_VectorSizeMax || addSize > k_VectorSizeMax - size) in operator +=()
495 _v.Reserve(size + addSize); in operator +=()
496 for (unsigned i = 0; i < addSize; i++) in operator +=()
/third_party/lzma/CPP/7zip/Common/
H A DStreamObjects.h87 Byte *GetBufPtrForWriting(size_t addSize);
88 void UpdateSize(size_t addSize) { _size += addSize; }
H A DStreamObjects.cpp120 Byte *CDynBufSeqOutStream::GetBufPtrForWriting(size_t addSize) in GetBufPtrForWriting() argument
122 addSize += _size; in GetBufPtrForWriting()
123 if (addSize < _size) in GetBufPtrForWriting()
125 if (!_buffer.EnsureCapacity(addSize)) in GetBufPtrForWriting()
/third_party/lzma/CPP/Windows/
H A DSystemInfo.cpp73 size_t addSize = ((size_t)1 << 12); in ReadFile_to_Buffer() local
77 buf.ChangeSize_KeepData(size + addSize, size); in ReadFile_to_Buffer()
79 if (!file.ReadFull(buf + size, addSize, processed)) in ReadFile_to_Buffer()
87 addSize *= 2; in ReadFile_to_Buffer()

Completed in 4 milliseconds