Searched refs:min_capacity (Results 1 – 8 of 8) sorted by relevance
17 char* ByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument21 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()66 char* CheckedArrayByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument71 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()76 if (available >= min_capacity) { in GetAppendBuffer()
133 void Grow(int min_capacity) { in Grow() argument139 new_capacity = min_capacity * growth_factor; in Grow()147 if (new_capacity < min_capacity) { in Grow()148 new_capacity = min_capacity + growth; in Grow()152 DCHECK(index_ + min_capacity <= current_chunk_.length()); in Grow()
113 virtual char* GetAppendBuffer(int32_t min_capacity,189 virtual char* GetAppendBuffer(int32_t min_capacity,
59 SortKeyByteSink::GetAppendBuffer(int32_t min_capacity, in GetAppendBuffer() argument64 if (min_capacity < 1 || scratch_capacity < min_capacity) { in GetAppendBuffer()74 if (available >= min_capacity) { in GetAppendBuffer()
52 virtual char *GetAppendBuffer(int32_t min_capacity,
130 int name##_HT_GROW(struct name *ht, unsigned min_capacity); \
69 int Scanner::LiteralBuffer::NewCapacity(int min_capacity) { in NewCapacity() argument70 int capacity = Max(min_capacity, backing_store_.length()); in NewCapacity()
442 int NewCapacity(int min_capacity);