Home
last modified time | relevance | path

Searched refs:keepSize (Results 1 – 3 of 3) sorted by relevance

/external/lzma/CPP/Common/
DMyBuffer.h76 void ChangeSize_KeepData(size_t newSize, size_t keepSize) in ChangeSize_KeepData() argument
84 if (keepSize > _size) in ChangeSize_KeepData()
85 keepSize = _size; in ChangeSize_KeepData()
86 if (keepSize != 0) in ChangeSize_KeepData()
87 memcpy(newBuffer, _items, MyMin(keepSize, newSize) * sizeof(T)); in ChangeSize_KeepData()
/external/lzma/CPP/7zip/UI/FileManager/
DExtractCallback.h42 bool ReAlloc_KeepData(size_t newSize, size_t keepSize) in ReAlloc_KeepData() argument
47 if (keepSize != 0) in ReAlloc_KeepData()
48 memcpy(buf, _items, keepSize); in ReAlloc_KeepData()
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp2422 size_t keepSize = (size_t)(kBeforeSize - skipSize); in OpenStream2() local
2424 memmove(byteBuffer, byteBuffer + bytesInBuf - keepSize, keepSize); in OpenStream2()
2425 bytesInBuf = keepSize; in OpenStream2()
2426 bufPhyPos = pos - keepSize; in OpenStream2()