Lines Matching defs:BufPtr
127 void Lexer::InitLexer(const char *BufStart, const char *BufPtr,
130 BufferPtr = BufPtr;
199 const char *BufStart, const char *BufPtr, const char *BufEnd,
203 InitLexer(BufStart, BufPtr, BufEnd);
324 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr,
329 const char *BufEnd = BufPtr + Tok.getLength();
333 while (BufPtr < BufEnd) {
334 auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts);
336 BufPtr += CharAndSize.Size;
351 size_t RawLength = RawEnd - BufPtr + 1;
354 memcpy(Spelling + Length, BufPtr, RawLength);
356 BufPtr += RawLength;
362 while (BufPtr < BufEnd) {
363 auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts);
365 BufPtr += CharAndSize.Size;