Lines Matching defs:chunk_type
91 typedef ChunkType chunk_type;
120 chunk_type::construct(pPtr, pValue);
128 void construct(pointer pPtr) { chunk_type::construct(pPtr); }
132 void destroy(pointer pPtr) { chunk_type::destroy(pPtr); }
140 if (N == 0 || N > chunk_type::size())
146 size_type rest_num_elem = chunk_type::size() - m_pCurrent->bound;
161 if (chunk_type::size() == m_pCurrent->bound)
172 if (N == 0 || N > chunk_type::size() || m_pCurrent->bound == 0 ||
194 pPtr <= &(m_pCurrent->data[chunk_type::size() - 1]))
202 pPtr <= &(m_pCurrent->data[chunk_type::size() - 1]))
215 chunk_type* cur = m_pRoot, *prev;
233 m_pRoot = new chunk_type();
235 m_AllocatedNum += chunk_type::size();
238 inline chunk_type* getNewChunk() {
239 chunk_type* result = new chunk_type();
242 m_AllocatedNum += chunk_type::size();
247 chunk_type* m_pRoot;
248 chunk_type* m_pCurrent;