Lines Matching refs:m_Allocator
108 : m_Allocator(NULL), in MoveArray()
135 : m_Allocator(allocator), in m_Allocator() function
159 : m_Allocator(allocator) in m_Allocator() function
188 : m_Allocator(allocator), in MoveArray()
204 : m_Allocator(array.m_Allocator), in MoveArray()
217 if (m_Allocator && m_Elements) in ~MoveArray()
219 m_Allocator->Free(m_Elements); in ~MoveArray()
303 if (m_Allocator && m_Elements)
305 m_Allocator->Free(m_Elements);
310 m_Allocator = allocator;
427 MoveArray clone(size(), m_Allocator, GetArrayKind()); in ShrinkToFit()
442 os::IAllocator& GetAllocator() { return *m_Allocator; } in GetAllocator()
447 os::IAllocator* m_Allocator;
798 if (m_Allocator == 0 || GetArrayKind() != ARRAY_VARIABILITY) in reserve()
805 … static_cast<TElement*>(m_Allocator->Alloc(sizeof(TElement) * reserveSize, MEMORY_ALIGNMENT)); in reserve()
808 static_cast<TElement*>(m_Allocator->Alloc(sizeof(TElement) * reserveSize)); in reserve()
821 NW_ASSERT(0 != m_Allocator); in reserve()
822 m_Allocator->Free(m_Elements); in reserve()
940 os::IAllocator* allocator = m_Allocator; in swap()
945 m_Allocator = other.m_Allocator; in swap()
950 other.m_Allocator = allocator; in swap()