Lines Matching refs:BufPtr
83 void Lexer::InitLexer(const char *BufStart, const char *BufPtr, in InitLexer() argument
86 BufferPtr = BufPtr; in InitLexer()
155 const char *BufStart, const char *BufPtr, const char *BufEnd, in Lexer() argument
159 InitLexer(BufStart, BufPtr, BufEnd); in Lexer()
280 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr, in getSpellingSlow() argument
285 const char *BufEnd = BufPtr + Tok.getLength(); in getSpellingSlow()
289 while (BufPtr < BufEnd) { in getSpellingSlow()
290 auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts); in getSpellingSlow()
292 BufPtr += CharAndSize.Size; in getSpellingSlow()
307 size_t RawLength = RawEnd - BufPtr + 1; in getSpellingSlow()
310 memcpy(Spelling + Length, BufPtr, RawLength); in getSpellingSlow()
312 BufPtr += RawLength; in getSpellingSlow()
318 while (BufPtr < BufEnd) { in getSpellingSlow()
319 auto CharAndSize = Lexer::getCharAndSizeNoWarn(BufPtr, LangOpts); in getSpellingSlow()
321 BufPtr += CharAndSize.Size; in getSpellingSlow()