Lines Matching full:bytesused
363 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft);
366 if (BytesUsed <= BufferBytesLeft) {
367 OutBufCur += BytesUsed;
373 NextBufferSize = BytesUsed;
385 size_t BytesUsed = Fmt.print(V.data(), NextBufferSize);
387 // If BytesUsed fit into the vector, we win.
388 if (BytesUsed <= NextBufferSize)
389 return write(V.data(), BytesUsed);
392 assert(BytesUsed > NextBufferSize && "Didn't grow buffer!?");
393 NextBufferSize = BytesUsed;