Lines Matching refs:m_Allocator
123 : m_Allocator(NULL), in MoveArray()
151 : m_Allocator(allocator), in m_Allocator() function
178 : m_Allocator(allocator) in m_Allocator() function
207 : m_Allocator(allocator), in MoveArray()
223 : m_Allocator(array.m_Allocator), in MoveArray()
236 if (m_Allocator && m_Elements) in ~MoveArray()
238 m_Allocator->Free(m_Elements); in ~MoveArray()
320 if (m_Allocator && m_Elements)
322 m_Allocator->Free(m_Elements);
327 m_Allocator = allocator;
444 MoveArray clone(size(), m_Allocator, GetArrayKind()); in ShrinkToFit()
459 os::IAllocator& GetAllocator() { return *m_Allocator; } in GetAllocator()
464 os::IAllocator* m_Allocator;
815 if (m_Allocator == 0 || GetArrayKind() != ARRAY_VARIABILITY) in reserve()
822 … static_cast<TElement*>(m_Allocator->Alloc(sizeof(TElement) * reserveSize, MEMORY_ALIGNMENT)); in reserve()
825 static_cast<TElement*>(m_Allocator->Alloc(sizeof(TElement) * reserveSize)); in reserve()
838 NW_ASSERT(0 != m_Allocator); in reserve()
839 m_Allocator->Free(m_Elements); in reserve()
961 os::IAllocator* allocator = m_Allocator; in swap()
966 m_Allocator = other.m_Allocator; in swap()
971 other.m_Allocator = allocator; in swap()