Lines Matching refs:StartPtr
3385 std::optional<uint32_t> Lexer::tryReadNumericUCN(const char *&StartPtr, in tryReadNumericUCN() argument
3389 char Kind = getCharAndSize(StartPtr, CharSize); in tryReadNumericUCN()
3409 const char *CurPtr = StartPtr + CharSize; in tryReadNumericUCN()
3488 if (CurPtr - StartPtr == (ptrdiff_t)(Count + 1 + (Delimited ? 2 : 0))) in tryReadNumericUCN()
3489 StartPtr = CurPtr; in tryReadNumericUCN()
3491 while (StartPtr != CurPtr) in tryReadNumericUCN()
3492 (void)getAndAdvanceChar(StartPtr, *Result); in tryReadNumericUCN()
3494 StartPtr = CurPtr; in tryReadNumericUCN()
3499 std::optional<uint32_t> Lexer::tryReadNamedUCN(const char *&StartPtr, in tryReadNamedUCN() argument
3505 char C = getCharAndSize(StartPtr, CharSize); in tryReadNamedUCN()
3508 const char *CurPtr = StartPtr + CharSize; in tryReadNamedUCN()
3582 if (CurPtr - StartPtr == (ptrdiff_t)(Buffer.size() + 3)) in tryReadNamedUCN()
3583 StartPtr = CurPtr; in tryReadNamedUCN()
3585 while (StartPtr != CurPtr) in tryReadNamedUCN()
3586 (void)getAndAdvanceChar(StartPtr, *Result); in tryReadNamedUCN()
3588 StartPtr = CurPtr; in tryReadNamedUCN()
3593 uint32_t Lexer::tryReadUCN(const char *&StartPtr, const char *SlashLoc, in tryReadUCN() argument
3598 char Kind = getCharAndSize(StartPtr, CharSize); in tryReadUCN()
3600 CodePointOpt = tryReadNumericUCN(StartPtr, SlashLoc, Result); in tryReadUCN()
3602 CodePointOpt = tryReadNamedUCN(StartPtr, SlashLoc, Result); in tryReadUCN()