Lines Matching defs:BufPtr
55 void Lexer::InitLexer(const char *BufStart, const char *BufPtr,
58 BufferPtr = BufPtr;
132 const char *BufStart, const char *BufPtr, const char *BufEnd)
135 InitLexer(BufStart, BufPtr, BufEnd);
231 static size_t getSpellingSlow(const Token &Tok, const char *BufPtr,
236 const char *BufEnd = BufPtr + Tok.getLength();
240 while (BufPtr < BufEnd) {
242 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
243 BufPtr += Size;
258 size_t RawLength = RawEnd - BufPtr + 1;
261 memcpy(Spelling + Length, BufPtr, RawLength);
263 BufPtr += RawLength;
269 while (BufPtr < BufEnd) {
271 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
272 BufPtr += Size;