Lines Matching defs:size
28 void Alloc(size_t size)
30 if (!_data || size != _size)
35 _data = (Byte *)::MidAlloc(size);
37 _size = size;
41 void AllocAtLeast(size_t size)
43 if (!_data || size > _size)
47 if (size < kMinSize)
48 size = kMinSize;
51 _data = (Byte *)::MidAlloc(size);
53 _size = size;
71 CAlignedBuffer1(size_t size)
74 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size);
98 CAlignedBuffer(size_t size): _size(0)
101 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size);
104 _size = size;
119 void Alloc(size_t size)
121 if (!_data || size != _size)
126 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size);
128 _size = size;
132 void AllocAtLeast(size_t size)
134 if (!_data || size > _size)
139 _data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size);
141 _size = size;
152 g_AlignedAlloc::Alloc(size = 0) can return non NULL.