Lines Matching refs:CommentEnd

86   if (BufferPtr == CommentEnd)  in skipLineStartingDecorations()
96 if (NewBufferPtr == CommentEnd) in skipLineStartingDecorations()
102 if (NewBufferPtr == CommentEnd) in skipLineStartingDecorations()
311 assert(TokenPtr < CommentEnd); in lexCommentText()
312 while (TokenPtr != CommentEnd) { in lexCommentText()
322 if (TokenPtr == CommentEnd) { in lexCommentText()
336 if (C == ':' && TokenPtr != CommentEnd && *TokenPtr == ':') { in lexCommentText()
352 TokenPtr = skipCommandName(TokenPtr, CommentEnd); in lexCommentText()
357 if (Length == 1 && TokenPtr[-1] == 'f' && TokenPtr != CommentEnd) { in lexCommentText()
403 if (TokenPtr == CommentEnd) { in lexCommentText()
420 TokenPtr = skipNewline(TokenPtr, CommentEnd); in lexCommentText()
428 size_t End = StringRef(TokenPtr, CommentEnd - TokenPtr). in lexCommentText()
433 TokenPtr = CommentEnd; in lexCommentText()
456 if (BufferPtr != CommentEnd && in setupAndLexVerbatimBlock()
458 BufferPtr = skipNewline(BufferPtr, CommentEnd); in setupAndLexVerbatimBlock()
468 assert(BufferPtr < CommentEnd); in lexVerbatimBlockFirstLine()
474 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimBlockFirstLine()
484 NextLine = skipNewline(Newline, CommentEnd); in lexVerbatimBlockFirstLine()
517 if (BufferPtr == CommentEnd) { in lexVerbatimBlockBody()
539 const char *Newline = findNewline(BufferPtr, CommentEnd); in lexVerbatimLineText()
551 if (TokenPtr == CommentEnd) { in lexHTMLCharacterReference()
561 TokenPtr = skipNamedCharacterReference(TokenPtr, CommentEnd); in lexHTMLCharacterReference()
565 if (TokenPtr == CommentEnd) { in lexHTMLCharacterReference()
572 TokenPtr = skipDecimalCharacterReference(TokenPtr, CommentEnd); in lexHTMLCharacterReference()
577 TokenPtr = skipHexCharacterReference(TokenPtr, CommentEnd); in lexHTMLCharacterReference()
586 if (NamePtr == TokenPtr || TokenPtr == CommentEnd || in lexHTMLCharacterReference()
613 const char *TagNameEnd = skipHTMLIdentifier(BufferPtr + 2, CommentEnd); in setupAndLexHTMLStartTag()
623 BufferPtr = skipWhitespace(BufferPtr, CommentEnd); in setupAndLexHTMLStartTag()
626 if (BufferPtr != CommentEnd && in setupAndLexHTMLStartTag()
637 TokenPtr = skipHTMLIdentifier(TokenPtr, CommentEnd); in lexHTMLStartTag()
650 TokenPtr = skipHTMLQuotedString(TokenPtr, CommentEnd); in lexHTMLStartTag()
652 if (TokenPtr != CommentEnd) // Skip closing quote. in lexHTMLStartTag()
666 if (TokenPtr != CommentEnd && *TokenPtr == '>') { in lexHTMLStartTag()
679 BufferPtr = skipWhitespace(BufferPtr, CommentEnd); in lexHTMLStartTag()
680 if (BufferPtr == CommentEnd) { in lexHTMLStartTag()
696 const char *TagNameBegin = skipWhitespace(BufferPtr + 2, CommentEnd); in setupAndLexHTMLEndTag()
697 const char *TagNameEnd = skipHTMLIdentifier(TagNameBegin, CommentEnd); in setupAndLexHTMLEndTag()
704 const char *End = skipWhitespace(TagNameEnd, CommentEnd); in setupAndLexHTMLEndTag()
709 if (BufferPtr != CommentEnd && *BufferPtr == '>') in setupAndLexHTMLEndTag()
714 assert(BufferPtr != CommentEnd && *BufferPtr == '>'); in lexHTMLEndTag()
764 CommentEnd = findBCPLCommentEnd(BufferPtr, BufferEnd); in lex()
781 CommentEnd = findCCommentEnd(BufferPtr, BufferEnd); in lex()
807 if (BufferPtr != CommentEnd) { in lex()