Searched refs:min_capacity (Results 1 – 7 of 7) sorted by relevance
15 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument19 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()58 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument63 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()68 if (available >= min_capacity) { in GetAppendBuffer()
111 virtual char* GetAppendBuffer(int32_t min_capacity,187 virtual char* GetAppendBuffer(int32_t min_capacity,
57 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument62 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()72 if (available >= min_capacity) { in GetAppendBuffer()
50 virtual char *GetAppendBuffer(int32_t min_capacity,
672 void Grow(int min_capacity) {678 new_capacity = min_capacity * growth_factor;686 if (new_capacity < min_capacity) {687 new_capacity = min_capacity + growth;691 DCHECK(index_ + min_capacity <= current_chunk_.length());
237 inline int NewCapacity(int min_capacity) { in NewCapacity() argument238 int capacity = Max(min_capacity, backing_store_.length()); in NewCapacity()
126 int name##_HT_GROW(struct name *ht, unsigned min_capacity); \