Home
last modified time | relevance | path

Searched refs:AllocatedBlock (Results 1 – 2 of 2) sorted by relevance

/external/regex-re2/util/
Darena.h62 struct AllocatedBlock { struct
69 AllocatedBlock *AllocNewBlock(const size_t block_size);
71 const AllocatedBlock *IndexToBlock(int index) const;
80 AllocatedBlock first_blocks_[16]; // the length of this array is arbitrary
82 vector<AllocatedBlock>* overflow_blocks_;
Darena.cc71 UnsafeArena::AllocatedBlock* UnsafeArena::AllocNewBlock(const size_t block_size) { in AllocNewBlock()
72 AllocatedBlock *block; in AllocNewBlock()
78 if (overflow_blocks_ == NULL) overflow_blocks_ = new vector<AllocatedBlock>; in AllocNewBlock()
129 AllocatedBlock *block = AllocNewBlock(block_size_); in GetMemoryFallback()
159 vector<AllocatedBlock>::iterator it; in FreeBlocks()