Lines Matching refs:BufStart
108 const char *BufStart = Buffer->getBufferStart(); in getLineNumberSpecialized() local
109 assert(Ptr >= BufStart && Ptr <= Buffer->getBufferEnd()); in getLineNumberSpecialized()
110 ptrdiff_t PtrDiff = Ptr - BufStart; in getLineNumberSpecialized()
144 const char *BufStart = Buffer->getBufferStart(); in getPointerForLineNumberSpecialized() local
149 return BufStart; in getPointerForLineNumberSpecialized()
152 return BufStart + Offsets[LineNo - 1] + 1; in getPointerForLineNumberSpecialized()
201 const char *BufStart = SB.Buffer->getBufferStart(); in getLineAndColumn() local
202 size_t NewlineOffs = StringRef(BufStart, Ptr - BufStart).find_last_of("\n\r"); in getLineAndColumn()
205 return std::make_pair(LineNo, Ptr - BufStart - NewlineOffs); in getLineAndColumn()
293 const char *BufStart = CurMB->getBufferStart(); in GetMessage() local
294 while (LineStart != BufStart && LineStart[-1] != '\n' && in GetMessage()