Lines Matching refs:CommentEnd
86 if (BufferPtr == CommentEnd)
96 if (NewBufferPtr == CommentEnd)
102 if (NewBufferPtr == CommentEnd)
298 assert(TokenPtr < CommentEnd);
299 while (TokenPtr != CommentEnd) {
309 if (TokenPtr == CommentEnd) {
323 if (C == ':' && TokenPtr != CommentEnd && *TokenPtr == ':') {
339 TokenPtr = skipCommandName(TokenPtr, CommentEnd);
344 if (Length == 1 && TokenPtr[-1] == 'f' && TokenPtr != CommentEnd) {
389 if (TokenPtr == CommentEnd) {
406 TokenPtr = skipNewline(TokenPtr, CommentEnd);
414 size_t End = StringRef(TokenPtr, CommentEnd - TokenPtr).
419 TokenPtr = CommentEnd;
442 if (BufferPtr != CommentEnd &&
444 BufferPtr = skipNewline(BufferPtr, CommentEnd);
454 assert(BufferPtr < CommentEnd);
460 const char *Newline = findNewline(BufferPtr, CommentEnd);
470 NextLine = skipNewline(Newline, CommentEnd);
519 const char *Newline = findNewline(BufferPtr, CommentEnd);
531 if (TokenPtr == CommentEnd) {
541 TokenPtr = skipNamedCharacterReference(TokenPtr, CommentEnd);
545 if (TokenPtr == CommentEnd) {
552 TokenPtr = skipDecimalCharacterReference(TokenPtr, CommentEnd);
557 TokenPtr = skipHexCharacterReference(TokenPtr, CommentEnd);
566 if (NamePtr == TokenPtr || TokenPtr == CommentEnd ||
593 const char *TagNameEnd = skipHTMLIdentifier(BufferPtr + 2, CommentEnd);
603 BufferPtr = skipWhitespace(BufferPtr, CommentEnd);
606 if (BufferPtr != CommentEnd &&
617 TokenPtr = skipHTMLIdentifier(TokenPtr, CommentEnd);
630 TokenPtr = skipHTMLQuotedString(TokenPtr, CommentEnd);
632 if (TokenPtr != CommentEnd) // Skip closing quote.
646 if (TokenPtr != CommentEnd && *TokenPtr == '>') {
659 BufferPtr = skipWhitespace(BufferPtr, CommentEnd);
660 if (BufferPtr == CommentEnd) {
676 const char *TagNameBegin = skipWhitespace(BufferPtr + 2, CommentEnd);
677 const char *TagNameEnd = skipHTMLIdentifier(TagNameBegin, CommentEnd);
684 const char *End = skipWhitespace(TagNameEnd, CommentEnd);
689 if (BufferPtr != CommentEnd && *BufferPtr == '>')
694 assert(BufferPtr != CommentEnd && *BufferPtr == '>');
744 CommentEnd = findBCPLCommentEnd(BufferPtr, BufferEnd);
761 CommentEnd = findCCommentEnd(BufferPtr, BufferEnd);
787 if (BufferPtr != CommentEnd) {