Lines Matching refs:m_blocks
383 return m_blocks[i >> block_shift][i & block_mask];
388 return m_blocks[i >> block_shift][i & block_mask];
393 return m_blocks[i >> block_shift][i & block_mask]; in at()
398 return m_blocks[i >> block_shift][i & block_mask]; in at()
403 return m_blocks[i >> block_shift][i & block_mask]; in value_at()
499 const T* block(unsigned nb) const { return m_blocks[nb]; } in block()
508 T** m_blocks; variable
518 T** blk = m_blocks + m_num_blocks - 1; in ~pod_bvector()
525 pod_allocator<T*>::deallocate(m_blocks, m_max_blocks); in ~pod_bvector()
538 pod_allocator<T>::deallocate(m_blocks[--m_num_blocks], block_size); in free_tail()
542 pod_allocator<T*>::deallocate(m_blocks, m_max_blocks); in free_tail()
543 m_blocks = 0; in free_tail()
556 m_blocks(0), in pod_bvector()
568 m_blocks(0), in pod_bvector()
580 m_blocks(v.m_max_blocks ? in pod_bvector()
588 m_blocks[i] = pod_allocator<T>::allocate(block_size); in pod_bvector()
589 memcpy(m_blocks[i], v.m_blocks[i], block_size * sizeof(T)); in pod_bvector()
606 memcpy(m_blocks[i], v.m_blocks[i], block_size * sizeof(T));
621 if(m_blocks) in allocate_block()
624 m_blocks, in allocate_block()
627 pod_allocator<T*>::deallocate(m_blocks, m_max_blocks); in allocate_block()
629 m_blocks = new_blocks; in allocate_block()
632 m_blocks[nb] = pod_allocator<T>::allocate(block_size); in allocate_block()
647 return m_blocks[nb] + (m_size & block_mask); in data_ptr()
794 block_type* blk = m_blocks + m_num_blocks - 1; in remove_all()
800 pod_allocator<block_type>::deallocate(m_blocks, m_max_blocks); in remove_all()
804 m_blocks = 0; in remove_all()
819 m_blocks(0), in m_block_size()
866 if(m_blocks) in allocate_block()
869 m_blocks, in allocate_block()
871 pod_allocator<block_type>::deallocate(m_blocks, m_max_blocks); in allocate_block()
873 m_blocks = new_blocks; in allocate_block()
877 m_blocks[m_num_blocks].size = size; in allocate_block()
878 m_blocks[m_num_blocks].data = in allocate_block()
890 block_type* m_blocks; variable