Searched refs:keepSize (Results 1 – 3 of 3) sorted by relevance
73 void ChangeSize_KeepData(size_t newSize, size_t keepSize) in ChangeSize_KeepData() argument81 if (keepSize > _size) in ChangeSize_KeepData()82 keepSize = _size; in ChangeSize_KeepData()83 if (keepSize != 0) in ChangeSize_KeepData()84 memcpy(newBuffer, _items, MyMin(keepSize, newSize) * sizeof(T)); in ChangeSize_KeepData()
42 bool ReAlloc_KeepData(size_t newSize, size_t keepSize) in ReAlloc_KeepData() argument47 if (keepSize != 0) in ReAlloc_KeepData()48 memcpy(buf, _items, keepSize); in ReAlloc_KeepData()
2418 size_t keepSize = (size_t)(kBeforeSize - skipSize); in OpenStream2() local2420 memmove(byteBuffer, byteBuffer + bytesInBuf - keepSize, keepSize); in OpenStream2()2421 bytesInBuf = keepSize; in OpenStream2()2422 bufPhyPos = pos - keepSize; in OpenStream2()