Searched refs:new_capacity (Results 1 – 2 of 2) sorted by relevance
53 size_t new_capacity = capacity_ + 32; in Add() local55 reinterpret_cast<dirent**>(realloc(names_, new_capacity * sizeof(dirent*))); in Add()60 capacity_ = new_capacity; in Add()
183 size_t new_capacity; in expand_capacity() local184 if (!next_capacity(capacity_, &new_capacity)) return false; in expand_capacity()185 const size_t new_capacity_bytes = page_end_of_index(new_capacity); in expand_capacity()207 capacity_ = new_capacity; in expand_capacity()