Lines Matching refs:m_Allocator
121 : m_Allocator(NULL), in MoveArray()
149 : m_Allocator(allocator), in m_Allocator() function
176 : m_Allocator(allocator) in m_Allocator() function
205 : m_Allocator(allocator), in MoveArray()
221 : m_Allocator(array.m_Allocator), in MoveArray()
234 if (m_Allocator && m_Elements) in ~MoveArray()
236 m_Allocator->Free(m_Elements); in ~MoveArray()
318 if (m_Allocator && m_Elements)
320 m_Allocator->Free(m_Elements);
325 m_Allocator = allocator;
442 MoveArray clone(size(), m_Allocator, GetArrayKind()); in ShrinkToFit()
457 os::IAllocator& GetAllocator() { return *m_Allocator; } in GetAllocator()
462 os::IAllocator* m_Allocator;
813 if (m_Allocator == 0 || GetArrayKind() != ARRAY_VARIABILITY) in reserve()
820 … static_cast<TElement*>(m_Allocator->Alloc(sizeof(TElement) * reserveSize, MEMORY_ALIGNMENT)); in reserve()
823 static_cast<TElement*>(m_Allocator->Alloc(sizeof(TElement) * reserveSize)); in reserve()
836 NW_ASSERT(0 != m_Allocator); in reserve()
837 m_Allocator->Free(m_Elements); in reserve()
959 os::IAllocator* allocator = m_Allocator; in swap()
964 m_Allocator = other.m_Allocator; in swap()
969 other.m_Allocator = allocator; in swap()