Home
last modified time | relevance | path

Searched refs:OutBufCur (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Support/
Draw_ostream.h53 char *OutBufStart, *OutBufEnd, *OutBufCur; variable
78 OutBufStart = OutBufEnd = OutBufCur = 0;
121 return OutBufCur - OutBufStart; in GetNumBytesInBuffer()
129 if (OutBufCur != OutBufStart) in flush()
134 if (OutBufCur >= OutBufEnd)
136 *OutBufCur++ = C;
141 if (OutBufCur >= OutBufEnd)
143 *OutBufCur++ = C;
148 if (OutBufCur >= OutBufEnd)
150 *OutBufCur++ = C;
[all …]
/external/llvm/lib/Support/
Draw_ostream.cpp63 assert(OutBufCur == OutBufStart && in ~raw_ostream()
100 OutBufCur = OutBufStart; in SetBufferAndMode()
262 assert(OutBufCur > OutBufStart && "Invalid call to flush_nonempty."); in flush_nonempty()
263 size_t Length = OutBufCur - OutBufStart; in flush_nonempty()
264 OutBufCur = OutBufStart; in flush_nonempty()
270 if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) { in write()
284 *OutBufCur++ = C; in write()
290 if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) { in write()
301 size_t NumBytes = OutBufEnd - OutBufCur; in write()
306 if (LLVM_UNLIKELY(OutBufCur == OutBufStart)) { in write()
[all …]