Searched refs:keepSize (Results 1 – 3 of 3) sorted by relevance
76 void ChangeSize_KeepData(size_t newSize, size_t keepSize) in ChangeSize_KeepData() argument84 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()
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()
2422 size_t keepSize = (size_t)(kBeforeSize - skipSize); in OpenStream2() local2424 memmove(byteBuffer, byteBuffer + bytesInBuf - keepSize, keepSize); in OpenStream2()2425 bytesInBuf = keepSize; in OpenStream2()2426 bufPhyPos = pos - keepSize; in OpenStream2()