reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
102 OutBufStart = OutBufEnd = OutBufCur = nullptr; 146 return OutBufCur - OutBufStart; 154 if (OutBufCur != OutBufStart) 159 if (OutBufCur >= OutBufEnd) 161 *OutBufCur++ = C; 166 if (OutBufCur >= OutBufEnd) 168 *OutBufCur++ = C; 173 if (OutBufCur >= OutBufEnd) 175 *OutBufCur++ = C; 184 if (Size > (size_t)(OutBufEnd - OutBufCur)) 188 memcpy(OutBufCur, Str.data(), Size); 189 OutBufCur += Size;lib/Support/raw_ostream.cpp
82 assert(OutBufCur == OutBufStart && 116 OutBufCur = OutBufStart; 216 assert(OutBufCur > OutBufStart && "Invalid call to flush_nonempty."); 217 size_t Length = OutBufCur - OutBufStart; 218 OutBufCur = OutBufStart; 224 if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) { 238 *OutBufCur++ = C; 244 if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) { 255 size_t NumBytes = OutBufEnd - OutBufCur; 260 if (LLVM_UNLIKELY(OutBufCur == OutBufStart)) { 265 if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) { 286 assert(Size <= size_t(OutBufEnd - OutBufCur) && "Buffer overrun!"); 291 case 4: OutBufCur[3] = Ptr[3]; LLVM_FALLTHROUGH; 292 case 3: OutBufCur[2] = Ptr[2]; LLVM_FALLTHROUGH; 293 case 2: OutBufCur[1] = Ptr[1]; LLVM_FALLTHROUGH; 294 case 1: OutBufCur[0] = Ptr[0]; LLVM_FALLTHROUGH; 297 memcpy(OutBufCur, Ptr, Size); 301 OutBufCur += Size; 309 size_t BufferBytesLeft = OutBufEnd - OutBufCur; 311 size_t BytesUsed = Fmt.print(OutBufCur, BufferBytesLeft); 315 OutBufCur += BytesUsed;