Lines Matching defs:BufPtr
79 void Lexer::InitLexer(const char *BufStart, const char *BufPtr,
82 BufferPtr = BufPtr;
147 const char *BufStart, const char *BufPtr, const char *BufEnd)
149 InitLexer(BufStart, BufPtr, BufEnd);
270 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr,
275 const char *BufEnd = BufPtr + Tok.getLength();
279 while (BufPtr < BufEnd) {
281 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
282 BufPtr += Size;
297 size_t RawLength = RawEnd - BufPtr + 1;
300 memcpy(Spelling + Length, BufPtr, RawLength);
302 BufPtr += RawLength;
308 while (BufPtr < BufEnd) {
310 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
311 BufPtr += Size;