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

/external/regex-re2/util/
H A Darena.cc25 first_blocks_[0].mem = reinterpret_cast<char*>(malloc(block_size_));
26 first_blocks_[0].size = block_size_;
36 free(first_blocks_[i].mem);
46 freestart_ = first_blocks_[0].mem;
47 remaining_ = first_blocks_[0].size;
74 if ( blocks_alloced_ < arraysize(first_blocks_) ) {
76 block = &first_blocks_[blocks_alloced_++];
153 free(first_blocks_[i].mem);
154 first_blocks_[i].mem = NULL;
155 first_blocks_[
[all...]
H A Darena.h79 int blocks_alloced_; // how many of the first_blocks_ have been alloced
80 AllocatedBlock first_blocks_[16]; // the length of this array is arbitrary member in class:re2::UnsafeArena
81 // if the first_blocks_ aren't enough, expand into overflow_blocks_.

Completed in 151 milliseconds