Lines Matching refs:BufferPtr
75 // BufferPtr - Current pointer into the buffer. This is the next character
77 const char *BufferPtr;
159 return BufferPtr == BufferEnd;
222 return getSourceLocation(BufferPtr);
226 const char *getBufferLocation() const { return BufferPtr; }
478 /// starting at BufferPtr, going to TokEnd that forms the token. This method
480 /// addition, since tokens cannot overlap, this also updates BufferPtr to be
484 unsigned TokLen = TokEnd-BufferPtr;
486 Result.setLocation(getSourceLocation(BufferPtr, TokLen));
488 BufferPtr = TokEnd;
622 void cutOffLexing() { BufferPtr = BufferEnd; }