Lines Matching refs:BufferStart
81 BufferStart = BufStart; in InitLexer()
92 if (BufferStart == BufferPtr) { in InitLexer()
94 StringRef Buf(BufferStart, BufferEnd - BufferStart); in InitLexer()
1054 bool Lexer::isNewLineEscaped(const char *BufferStart, const char *Str) { in isNewLineEscaped() argument
1056 if (Str - 1 < BufferStart) in isNewLineEscaped()
1061 if (Str - 2 < BufferStart) in isNewLineEscaped()
1068 while (Str > BufferStart && isHorizontalWhitespace(*Str)) in isNewLineEscaped()
1131 assert(Loc >= BufferStart && Loc <= BufferEnd && in getSourceLocation()
1136 unsigned CharNo = Loc-BufferStart; in getSourceLocation()
1424 BufferPtr = BufferStart + Offset; in SetByteOffset()
2121 FileLoc.getLocWithOffset(StartOfFilename - BufferStart), in codeCompleteIncludedFile()
2122 FileLoc.getLocWithOffset(CompletionPoint - BufferStart)); in codeCompleteIncludedFile()
2780 if (CurPtr != BufferStart && (CurPtr[-1] != '\n' && CurPtr[-1] != '\r')) { in LexEndOfFile()
2871 if (CurPtr != BufferStart && in IsStartOfConflictMarker()
2915 if (CurPtr != BufferStart && in HandleEndOfConflictMarker()
2983 SourceLocation Loc = FileLoc.getLocWithOffset(CurPtr-BufferStart); in isCodeCompletionPoint()