Home | History | Annotate | Download | only in Lex

Lines Matching full:curptr

41   : PreprocessorLexer(&PP, FID), TokBuf(D), CurPtr(D), LastHashTokPtr(0),
54 // Shadow CurPtr into an automatic variable.
55 const unsigned char *CurPtrShadow = CurPtr;
66 CurPtr = CurPtrShadow;
118 LastHashTokPtr = CurPtr - DISK_TOKEN_SIZE;
178 const unsigned char* p = CurPtr;
192 CurPtr = p;
261 // If we are skipping the first #if block it will be the case that CurPtr
264 if (CurPtr > HashEntryI) {
265 assert(CurPtr == HashEntryI + DISK_TOKEN_SIZE);
268 CurPtr += DISK_TOKEN_SIZE*2;
275 // Otherwise, we need to advance. Update CurPtr to point to the '#' token.
276 CurPtr = HashEntryI;
280 LastHashTokPtr = CurPtr;
283 assert(((tok::TokenKind)*CurPtr) == tok::hash);
284 CurPtr += DISK_TOKEN_SIZE;
287 if (isEndif) { CurPtr += DISK_TOKEN_SIZE*2; }
298 const unsigned char *OffsetPtr = CurPtr + (DISK_TOKEN_SIZE - 4);