Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
Draw_ostream.h54 char *OutBufStart, *OutBufEnd, *OutBufCur; variable
79 OutBufStart = OutBufEnd = OutBufCur = 0;
122 return OutBufCur - OutBufStart; in GetNumBytesInBuffer()
130 if (OutBufCur != OutBufStart) in flush()
135 if (OutBufCur >= OutBufEnd)
137 *OutBufCur++ = C;
142 if (OutBufCur >= OutBufEnd)
144 *OutBufCur++ = C;
149 if (OutBufCur >= OutBufEnd)
151 *OutBufCur++ = C;
[all …]
/external/llvm/lib/Support/
Draw_ostream.cpp64 assert(OutBufCur == OutBufStart && in ~raw_ostream()
101 OutBufCur = OutBufStart; in SetBufferAndMode()
263 assert(OutBufCur > OutBufStart && "Invalid call to flush_nonempty."); in flush_nonempty()
264 size_t Length = OutBufCur - OutBufStart; in flush_nonempty()
265 OutBufCur = OutBufStart; in flush_nonempty()
271 if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) { in write()
285 *OutBufCur++ = C; in write()
291 if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) { in write()
302 size_t NumBytes = OutBufEnd - OutBufCur; in write()
307 if (LLVM_UNLIKELY(OutBufCur == OutBufStart)) { in write()
[all …]