Lines Matching defs:BufPtr
128 void Lexer::InitLexer(const char *BufStart, const char *BufPtr,
131 BufferPtr = BufPtr;
200 const char *BufStart, const char *BufPtr, const char *BufEnd,
204 InitLexer(BufStart, BufPtr, BufEnd);
325 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr,
330 const char *BufEnd = BufPtr + Tok.getLength();
334 while (BufPtr < BufEnd) {
335 auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts);
337 BufPtr += CharAndSize.Size;
352 size_t RawLength = RawEnd - BufPtr + 1;
355 memcpy(Spelling + Length, BufPtr, RawLength);
357 BufPtr += RawLength;
363 while (BufPtr < BufEnd) {
364 auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts);
366 BufPtr += CharAndSize.Size;