Lines Matching refs:ThisTokEnd
80 const char *ThisTokEnd, bool &HadError, in ProcessCharEscape() argument
133 if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessCharEscape()
143 for (; ThisTokBuf != ThisTokEnd; ++ThisTokBuf) { in ProcessCharEscape()
178 } while (ThisTokBuf != ThisTokEnd && NumDigits < 3 && in ProcessCharEscape()
262 const char *ThisTokEnd, in ProcessUCNEscape() argument
272 if (ThisTokBuf == ThisTokEnd || !isHexDigit(*ThisTokBuf)) { in ProcessUCNEscape()
280 for (; ThisTokBuf != ThisTokEnd && UcnLenSave; ++ThisTokBuf, UcnLenSave--) { in ProcessUCNEscape()
334 const char *ThisTokEnd, unsigned CharByteWidth, in MeasureUCNEscape() argument
344 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, in MeasureUCNEscape()
369 const char *ThisTokEnd, in EncodeUCNEscape() argument
377 if (!ProcessUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, UcnVal, UcnLen, in EncodeUCNEscape()
510 : PP(PP), ThisTokBegin(TokSpelling.begin()), ThisTokEnd(TokSpelling.end()) { in NumericLiteralParser()
516 assert(!isPreprocessingNumberBody(*ThisTokEnd) && "didn't maximally munch?"); in NumericLiteralParser()
539 if (s == ThisTokEnd) { in NumericLiteralParser()
558 for (; s != ThisTokEnd; ++s) { in NumericLiteralParser()
595 assert(s + 1 < ThisTokEnd && "didn't maximally munch?"); in NumericLiteralParser()
639 assert(s <= ThisTokEnd && "didn't maximally munch?"); in NumericLiteralParser()
658 if (s != ThisTokEnd) { in NumericLiteralParser()
660 expandUCNs(UDSuffixBuf, StringRef(SuffixBegin, ThisTokEnd - SuffixBegin)); in NumericLiteralParser()
679 << StringRef(SuffixBegin, ThisTokEnd-SuffixBegin) << isFPConstant; in NumericLiteralParser()
766 } else if (Pos == ThisTokEnd) in checkSeparator()
789 assert(s < ThisTokEnd && "didn't maximally munch?"); in ParseNumberStartingWithZero()
794 if (s == ThisTokEnd) { in ParseNumberStartingWithZero()
858 assert(s < ThisTokEnd && "didn't maximally munch?"); in ParseNumberStartingWithZero()
862 if (s == ThisTokEnd) { in ParseNumberStartingWithZero()
879 if (s == ThisTokEnd) in ParseNumberStartingWithZero()
974 unsigned n = std::min(SuffixBegin - ThisTokBegin, ThisTokEnd - ThisTokBegin); in GetFloatValue()
1364 const char *ThisTokEnd = ThisTokBuf+ThisTokLen; in init() local
1367 if (ThisTokEnd[-1] != '"') { in init()
1368 const char *UDSuffixEnd = ThisTokEnd; in init()
1370 --ThisTokEnd; in init()
1371 } while (ThisTokEnd[-1] != '"'); in init()
1373 StringRef UDSuffix(ThisTokEnd, UDSuffixEnd - ThisTokEnd); in init()
1381 UDSuffixOffset = ThisTokEnd - ThisTokBuf; in init()
1408 --ThisTokEnd; in init()
1430 ThisTokEnd -= ThisTokBuf - Prefix; in init()
1431 assert(ThisTokEnd >= ThisTokBuf && "malformed raw string literal"); in init()
1435 StringRef RemainingTokenSpan(ThisTokBuf, ThisTokEnd - ThisTokBuf); in init()
1459 if (Features.PascalStrings && ThisTokBuf + 1 != ThisTokEnd && in init()
1471 while (ThisTokBuf != ThisTokEnd) { in init()
1477 } while (ThisTokBuf != ThisTokEnd && ThisTokBuf[0] != '\\'); in init()
1487 EncodeUCNEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, in init()
1495 ProcessCharEscape(ThisTokBegin, ThisTokBuf, ThisTokEnd, hadError, in init()