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