Searched refs:current_capacity (Results 1 – 3 of 3) sorted by relevance
100 int current_capacity; in PyNode_AddChild() local112 current_capacity = XXXROUNDUP(nch); in PyNode_AddChild()114 if (current_capacity < 0 || required_capacity < 0) in PyNode_AddChild()116 if (current_capacity < required_capacity) { in PyNode_AddChild()
288 static size_type NextCapacity(size_type current_capacity) { in NextCapacity() argument289 return current_capacity * 2; in NextCapacity()292 static size_type ComputeCapacity(size_type current_capacity, in ComputeCapacity() argument294 return (std::max)(NextCapacity(current_capacity), requested_capacity); in ComputeCapacity()
312 static size_type NextCapacity(size_type current_capacity) { in NextCapacity() argument313 return current_capacity * 2; in NextCapacity()316 static size_type ComputeCapacity(size_type current_capacity, in ComputeCapacity() argument318 return (std::max)(NextCapacity(current_capacity), requested_capacity); in ComputeCapacity()