Lines Matching refs:OutBufCur
69 assert(OutBufCur == OutBufStart && in ~raw_ostream()
106 OutBufCur = OutBufStart; in SetBufferAndMode()
272 assert(OutBufCur > OutBufStart && "Invalid call to flush_nonempty."); in flush_nonempty()
273 size_t Length = OutBufCur - OutBufStart; in flush_nonempty()
274 OutBufCur = OutBufStart; in flush_nonempty()
280 if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) { in write()
294 *OutBufCur++ = C; in write()
300 if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) { in write()
311 size_t NumBytes = OutBufEnd - OutBufCur; in write()
316 if (LLVM_UNLIKELY(OutBufCur == OutBufStart)) { in write()
321 if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) { in write()
342 assert(Size <= size_t(OutBufEnd - OutBufCur) && "Buffer overrun!"); in copy_to_buffer()
347 case 4: OutBufCur[3] = Ptr[3]; // FALL THROUGH in copy_to_buffer()
348 case 3: OutBufCur[2] = Ptr[2]; // FALL THROUGH in copy_to_buffer()
349 case 2: OutBufCur[1] = Ptr[1]; // FALL THROUGH in copy_to_buffer()
350 case 1: OutBufCur[0] = Ptr[0]; // FALL THROUGH in copy_to_buffer()
353 memcpy(OutBufCur, Ptr, Size); in copy_to_buffer()
357 OutBufCur += Size; in copy_to_buffer()
365 size_t BufferBytesLeft = OutBufEnd - OutBufCur; in operator <<()
367 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); in operator <<()
371 OutBufCur += BytesUsed; in operator <<()