Searched refs:new_capacity (Results 1 – 2 of 2) sorted by relevance
54 size_t new_capacity = capacity_ + 32; in Add() local56 reinterpret_cast<dirent**>(realloc(names_, new_capacity * sizeof(dirent*))); in Add()61 capacity_ = new_capacity; in Add()
169 const size_t new_capacity = next_capacity(capacity_); in expand_capacity() local170 const size_t new_capacity_bytes = round_up_to_page_bytes(new_capacity); in expand_capacity()189 capacity_ = new_capacity; in expand_capacity()