Searched refs:capacity_ (Results 1 – 2 of 2) sorted by relevance
31 ScandirResult() : names_(nullptr), size_(0), capacity_(0) { in ScandirResult()48 size_ = capacity_ = 0; in release()53 if (size_ >= capacity_) { in Add()54 size_t new_capacity = capacity_ + 32; in Add()61 capacity_ = new_capacity; in Add()83 size_t capacity_; member in ScandirResult
70 size_t capacity_; member in __anon0ca2bf2e0111::AtexitArray102 if (size_ < capacity_ || expand_capacity()) { in append_entry()163 if (mprotect(array_, round_up_to_page_bytes(capacity_), prot) != 0) { in set_writable()169 const size_t new_capacity = next_capacity(capacity_); in expand_capacity()178 mremap(array_, round_up_to_page_bytes(capacity_), new_capacity_bytes, MREMAP_MAYMOVE); in expand_capacity()189 capacity_ = new_capacity; in expand_capacity()