Searched refs:m_pCurrent (Results 1 – 3 of 3) sorted by relevance
102 LinearAllocatorBase() : m_pRoot(NULL), m_pCurrent(NULL), m_AllocatedNum(0) {} in LinearAllocatorBase()146 size_type rest_num_elem = chunk_type::size() - m_pCurrent->bound; in allocate()150 result = m_pCurrent->data + m_pCurrent->bound; in allocate()151 m_pCurrent->bound += N; in allocate()161 if (chunk_type::size() == m_pCurrent->bound) in allocate()163 result = m_pCurrent->data + m_pCurrent->bound; in allocate()164 ++m_pCurrent->bound; in allocate()172 if (N == 0 || N > chunk_type::size() || m_pCurrent->bound == 0 || in deallocate()173 N >= m_pCurrent->bound) in deallocate()177 m_pCurrent->bound -= N; in deallocate()[all …]
159 return (Alloc::m_pCurrent) == 0 in end()161 : iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound); in end()165 return (Alloc::m_pCurrent) == 0 in end()167 : const_iterator(Alloc::m_pCurrent, Alloc::m_pCurrent->bound); in end()
77 Alloc::m_pCurrent = pClient.Alloc::m_pCurrent; in replace()84 Alloc::m_pCurrent->next = pClient.Alloc::m_pRoot; in concatenate()85 Alloc::m_pCurrent = pClient.Alloc::m_pCurrent; in concatenate()