Lines Matching refs:CommentEnd
95 if (BufferPtr == CommentEnd) in skipLineStartingDecorations()
105 if (NewBufferPtr == CommentEnd) in skipLineStartingDecorations()
111 if (NewBufferPtr == CommentEnd) in skipLineStartingDecorations()
320 assert(TokenPtr < CommentEnd); in lexCommentText()
321 while (TokenPtr != CommentEnd) { in lexCommentText()
331 if (TokenPtr == CommentEnd) { in lexCommentText()
345 if (C == ':' && TokenPtr != CommentEnd && *TokenPtr == ':') { in lexCommentText()
361 TokenPtr = skipCommandName(TokenPtr, CommentEnd); in lexCommentText()
366 if (Length == 1 && TokenPtr[-1] == 'f' && TokenPtr != CommentEnd) { in lexCommentText()
412 if (TokenPtr == CommentEnd) { in lexCommentText()
428 TokenPtr = skipNewline(TokenPtr, CommentEnd); in lexCommentText()
436 size_t End = StringRef(TokenPtr, CommentEnd - TokenPtr). in lexCommentText()
441 TokenPtr = CommentEnd; in lexCommentText()
464 if (BufferPtr != CommentEnd && in setupAndLexVerbatimBlock()
466 BufferPtr = skipNewline(BufferPtr, CommentEnd); in setupAndLexVerbatimBlock()
476 assert(BufferPtr < CommentEnd); in lexVerbatimBlockFirstLine()
482 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimBlockFirstLine()
492 NextLine = skipNewline(Newline, CommentEnd); in lexVerbatimBlockFirstLine()
525 if (BufferPtr == CommentEnd) { in lexVerbatimBlockBody()
547 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimLineText()
559 if (TokenPtr == CommentEnd) { in lexHTMLCharacterReference()
569 TokenPtr = skipNamedCharacterReference(TokenPtr, CommentEnd); in lexHTMLCharacterReference()
573 if (TokenPtr == CommentEnd) { in lexHTMLCharacterReference()
580 TokenPtr = skipDecimalCharacterReference(TokenPtr, CommentEnd); in lexHTMLCharacterReference()
585 TokenPtr = skipHexCharacterReference(TokenPtr, CommentEnd); in lexHTMLCharacterReference()
594 if (NamePtr == TokenPtr || TokenPtr == CommentEnd || in lexHTMLCharacterReference()
620 const char *TagNameEnd = skipHTMLIdentifier(BufferPtr + 2, CommentEnd); in setupAndLexHTMLStartTag()
630 BufferPtr = skipWhitespace(BufferPtr, CommentEnd); in setupAndLexHTMLStartTag()
633 if (BufferPtr != CommentEnd && in setupAndLexHTMLStartTag()
644 TokenPtr = skipHTMLIdentifier(TokenPtr, CommentEnd); in lexHTMLStartTag()
657 TokenPtr = skipHTMLQuotedString(TokenPtr, CommentEnd); in lexHTMLStartTag()
659 if (TokenPtr != CommentEnd) // Skip closing quote. in lexHTMLStartTag()
673 if (TokenPtr != CommentEnd && *TokenPtr == '>') { in lexHTMLStartTag()
686 BufferPtr = skipWhitespace(BufferPtr, CommentEnd); in lexHTMLStartTag()
687 if (BufferPtr == CommentEnd) { in lexHTMLStartTag()
703 const char *TagNameBegin = skipWhitespace(BufferPtr + 2, CommentEnd); in setupAndLexHTMLEndTag()
704 const char *TagNameEnd = skipHTMLIdentifier(TagNameBegin, CommentEnd); in setupAndLexHTMLEndTag()
711 const char *End = skipWhitespace(TagNameEnd, CommentEnd); in setupAndLexHTMLEndTag()
716 if (BufferPtr != CommentEnd && *BufferPtr == '>') in setupAndLexHTMLEndTag()
721 assert(BufferPtr != CommentEnd && *BufferPtr == '>'); in lexHTMLEndTag()
771 CommentEnd = findBCPLCommentEnd(BufferPtr, BufferEnd); in lex()
788 CommentEnd = findCCommentEnd(BufferPtr, BufferEnd); in lex()
814 if (BufferPtr != CommentEnd) { in lex()