Home
last modified time | relevance | path

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

/external/regex-re2/util/
Darena.cc22 overflow_blocks_(NULL) { in UnsafeArena()
33 assert(overflow_blocks_ == NULL); // FreeBlocks() should do that in ~UnsafeArena()
78 if (overflow_blocks_ == NULL) overflow_blocks_ = new vector<AllocatedBlock>; in AllocNewBlock()
80 overflow_blocks_->resize(overflow_blocks_->size()+1); in AllocNewBlock()
82 block = &overflow_blocks_->back(); in AllocNewBlock()
158 if (overflow_blocks_ != NULL) { in FreeBlocks()
160 for (it = overflow_blocks_->begin(); it != overflow_blocks_->end(); ++it) { in FreeBlocks()
163 delete overflow_blocks_; // These should be used very rarely in FreeBlocks()
164 overflow_blocks_ = NULL; in FreeBlocks()
Darena.h82 vector<AllocatedBlock>* overflow_blocks_; variable