Home | History | Annotate | Download | only in utils

Lines Matching defs:Capacity

115     if (new_size > Capacity()) {
190 // Make sure that extending the capacity leaves a big enough gap
193 // Mark the buffer as having ensured the capacity.
211 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); }
230 // capacity needed for emitting, we add a dummy method in non-debug mode.
238 size_t Capacity() const {
243 // Unconditionally increase the capacity.
244 // The provided `min_capacity` must be higher than current `Capacity()`.
272 // Compute the limit based on the data area and the capacity. See
274 static uint8_t* ComputeLimit(uint8_t* data, size_t capacity) {
275 return data + capacity - kMinimumGap;
335 void ReserveCFIStream(size_t capacity) {
336 opcodes_.reserve(capacity);