Lines Matching refs:BufPtr
68 void Lexer::InitLexer(const char *BufStart, const char *BufPtr,
71 BufferPtr = BufPtr;
145 const char *BufStart, const char *BufPtr, const char *BufEnd)
148 InitLexer(BufStart, BufPtr, BufEnd);
250 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr,
255 const char *BufEnd = BufPtr + Tok.getLength();
259 while (BufPtr < BufEnd) {
261 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
262 BufPtr += Size;
277 size_t RawLength = RawEnd - BufPtr + 1;
280 memcpy(Spelling + Length, BufPtr, RawLength);
282 BufPtr += RawLength;
288 while (BufPtr < BufEnd) {
290 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
291 BufPtr += Size;