Home
last modified time | relevance | path

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

/external/regex-re2/util/
Darena.cc25 first_blocks_[0].mem = reinterpret_cast<char*>(malloc(block_size_)); in UnsafeArena()
26 first_blocks_[0].size = block_size_; in UnsafeArena()
36 free(first_blocks_[i].mem); in ~UnsafeArena()
46 freestart_ = first_blocks_[0].mem; in Reset()
47 remaining_ = first_blocks_[0].size; in Reset()
74 if ( blocks_alloced_ < arraysize(first_blocks_) ) { in AllocNewBlock()
76 block = &first_blocks_[blocks_alloced_++]; in AllocNewBlock()
153 free(first_blocks_[i].mem); in FreeBlocks()
154 first_blocks_[i].mem = NULL; in FreeBlocks()
155 first_blocks_[i].size = 0; in FreeBlocks()
Darena.h80 AllocatedBlock first_blocks_[16]; // the length of this array is arbitrary variable