/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
D | AtomicHTMLToken.h | 44 ASSERT(m_type == HTMLToken::DOCTYPE); in forceQuirks() 48 HTMLToken::Type type() const { return m_type; } in type() 64 ASSERT(m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag); in selfClosing() 88 ASSERT(m_type == HTMLToken::Character); in characters() 94 ASSERT(m_type == HTMLToken::Comment); in comment() 101 ASSERT(m_type == HTMLToken::DOCTYPE); in publicIdentifier() 108 ASSERT(m_type == HTMLToken::DOCTYPE); in systemIdentifier() 112 explicit AtomicHTMLToken(HTMLToken& token) in AtomicHTMLToken() 116 case HTMLToken::Uninitialized: in AtomicHTMLToken() 119 case HTMLToken::DOCTYPE: in AtomicHTMLToken() [all …]
|
D | CompactHTMLToken.cpp | 43 CompactHTMLToken::CompactHTMLToken(const HTMLToken* token, const TextPosition& textPosition) in CompactHTMLToken() 50 case HTMLToken::Uninitialized: in CompactHTMLToken() 53 case HTMLToken::DOCTYPE: { in CompactHTMLToken() 62 case HTMLToken::EndOfFile: in CompactHTMLToken() 64 case HTMLToken::StartTag: in CompactHTMLToken() 66 …for (Vector<HTMLToken::Attribute>::const_iterator it = token->attributes().begin(); it != token->a… in CompactHTMLToken() 69 case HTMLToken::EndTag: in CompactHTMLToken() 72 case HTMLToken::Comment: in CompactHTMLToken() 73 case HTMLToken::Character: { in CompactHTMLToken()
|
D | HTMLSourceTracker.cpp | 38 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& t… in start() 40 if (token.type() == HTMLToken::Uninitialized) { in start() 51 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& tok… in end() 59 String HTMLSourceTracker::sourceForToken(const HTMLToken& token) in sourceForToken() 65 if (token.type() == HTMLToken::EndOfFile) { in sourceForToken()
|
D | XSSAuditor.cpp | 128 static bool hasName(const HTMLToken& token, const QualifiedName& name) in hasName() 133 static bool findAttributeWithName(const HTMLToken& token, const QualifiedName& name, size_t& indexO… in findAttributeWithName() 247 static bool isSemicolonSeparatedAttribute(const HTMLToken::Attribute& attribute) in isSemicolonSeparatedAttribute() 396 if (request.token.type() == HTMLToken::StartTag) in filterToken() 399 if (request.token.type() == HTMLToken::Character) in filterToken() 401 else if (request.token.type() == HTMLToken::EndTag) in filterToken() 477 ASSERT(request.token.type() == HTMLToken::StartTag); in filterScriptToken() 491 ASSERT(request.token.type() == HTMLToken::StartTag); in filterObjectToken() 505 ASSERT(request.token.type() == HTMLToken::StartTag); in filterParamToken() 512 const HTMLToken::Attribute& nameAttribute = request.token.attributes().at(indexOfNameAttribute); in filterParamToken() [all …]
|
D | HTMLSourceTracker.h | 44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&); 45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&); 47 String sourceForToken(const HTMLToken&);
|
D | HTMLTreeBuilder.cpp | 398 if (token->type() == HTMLToken::Character) { in processToken() 409 case HTMLToken::Uninitialized: in processToken() 410 case HTMLToken::Character: in processToken() 413 case HTMLToken::DOCTYPE: in processToken() 416 case HTMLToken::StartTag: in processToken() 419 case HTMLToken::EndTag: in processToken() 422 case HTMLToken::Comment: in processToken() 425 case HTMLToken::EndOfFile: in processToken() 433 ASSERT(token->type() == HTMLToken::DOCTYPE); in processDoctypeToken() 450 AtomicHTMLToken fakeToken(HTMLToken::StartTag, tagName.localName(), attributes); in processFakeStartTag() [all …]
|
D | HTMLMetaCharsetParser.cpp | 56 const HTMLToken::AttributeList& tokenAttributes = m_token.attributes(); in processMeta() 58 …for (HTMLToken::AttributeList::const_iterator iter = tokenAttributes.begin(); iter != tokenAttribu… in processMeta() 98 bool end = m_token.type() == HTMLToken::EndTag; in checkForMetaCharset() 99 if (end || m_token.type() == HTMLToken::StartTag) { in checkForMetaCharset()
|
D | XSSAuditor.h | 45 FilterTokenRequest(HTMLToken& token, HTMLSourceTracker& sourceTracker, bool shouldAllowCDATA) in FilterTokenRequest() 51 HTMLToken& token; 106 String nameFromAttribute(const FilterTokenRequest&, const HTMLToken::Attribute&); 107 String snippetFromAttribute(const FilterTokenRequest&, const HTMLToken::Attribute&);
|
D | HTMLTokenizer.h | 148 bool nextToken(SegmentedString&, HTMLToken&); 250 ASSERT(m_token->type() != HTMLToken::Uninitialized); in saveEndTagNameIfNeeded() 251 if (m_token->type() == HTMLToken::StartTag) in saveEndTagNameIfNeeded() 259 return m_token->type() == HTMLToken::Character; in haveBufferedCharacterToken() 268 HTMLToken* m_token;
|
D | CompactHTMLToken.h | 51 CompactHTMLToken(const HTMLToken*, const TextPosition&); 55 HTMLToken::Type type() const { return static_cast<HTMLToken::Type>(m_type); } in type()
|
D | HTMLDocumentParser.h | 148 …void discardSpeculationsAndResumeFrom(PassOwnPtr<ParsedChunk> lastChunk, PassOwnPtr<HTMLToken>, Pa… 161 void constructTreeFromHTMLToken(HTMLToken&); 179 HTMLToken& token() { return *m_token; } in token() 184 OwnPtr<HTMLToken> m_token;
|
D | HTMLPreloadScanner.cpp | 65 static const StringImpl* tagImplFor(const HTMLToken::DataVector& data) in tagImplFor() 134 void processAttributes(const HTMLToken::AttributeList& attributes) in processAttributes() 139 …for (HTMLToken::AttributeList::const_iterator iter = attributes.begin(); iter != attributes.end();… in processAttributes() 387 void TokenPreloadScanner::scan(const HTMLToken& token, const SegmentedString& source, PreloadReques… in scan() 401 case HTMLToken::Character: { in scanCommon() 407 case HTMLToken::EndTag: { in scanCommon() 424 case HTMLToken::StartTag: { in scanCommon() 500 if (m_token.type() == HTMLToken::StartTag) in scan()
|
D | HTMLDocumentParser.cpp | 108 , m_token(m_options.useThreading ? nullptr : adoptPtr(new HTMLToken)) in HTMLDocumentParser() 129 , m_token(adoptPtr(new HTMLToken)) in HTMLDocumentParser() 179 m_token = adoptPtr(new HTMLToken); in pinToMainThread() 386 OwnPtr<HTMLToken> token = m_token.release(); in validateSpeculations() 410 …AndResumeFrom(PassOwnPtr<ParsedChunk> lastChunkBeforeScript, PassOwnPtr<HTMLToken> token, PassOwnP… in discardSpeculationsAndResumeFrom() 467 if (tokens->last().type() == HTMLToken::EndOfFile) { in processParsedChunkFromBackgroundParser() 488 if (it->type() == HTMLToken::EndOfFile) { in processParsedChunkFromBackgroundParser() 656 void HTMLDocumentParser::constructTreeFromHTMLToken(HTMLToken& rawToken) in constructTreeFromHTMLToken() 670 if (rawToken.type() != HTMLToken::Character) in constructTreeFromHTMLToken() 676 ASSERT(rawToken.type() == HTMLToken::Character); in constructTreeFromHTMLToken() [all …]
|
D | BackgroundHTMLParser.h | 62 OwnPtr<HTMLToken> token; 95 OwnPtr<HTMLToken> m_token;
|
D | HTMLPreloadScanner.h | 51 void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests); 113 HTMLToken m_token;
|
D | HTMLTokenizer.cpp | 52 QualifiedName AtomicHTMLToken::nameForAttribute(const HTMLToken::Attribute& attribute) const in nameForAttribute() 59 …return m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag || m_type == HTMLToken::DOCTYP… in usesName() 64 return m_type == HTMLToken::StartTag || m_type == HTMLToken::EndTag; in usesAttributes() 177 ASSERT(m_token->type() == HTMLToken::Character || m_token->type() == HTMLToken::Uninitialized); in flushBufferedEndTag() 179 if (m_token->type() == HTMLToken::Character) in flushBufferedEndTag() 207 bool HTMLTokenizer::nextToken(SegmentedString& source, HTMLToken& token) in nextToken() 211 ASSERT(!m_token || m_token == &token || token.type() == HTMLToken::Uninitialized); in nextToken() 237 if (m_token->type() == HTMLToken::Character) { in nextToken()
|
D | HTMLMetaCharsetParser.h | 59 HTMLToken m_token;
|
D | HTMLToken.h | 63 class HTMLToken { 64 WTF_MAKE_NONCOPYABLE(HTMLToken); 98 HTMLToken() { clear(); } in HTMLToken() function
|
D | TextDocumentParser.cpp | 61 AtomicHTMLToken fakePre(HTMLToken::StartTag, preTag.localName(), attributes); in insertFakePreElement()
|
D | HTMLConstructionSite.cpp | 548 ASSERT(token->type() == HTMLToken::DOCTYPE); in insertDoctype() 573 ASSERT(token->type() == HTMLToken::Comment); in insertComment() 579 ASSERT(token->type() == HTMLToken::Comment); in insertCommentOnDocument() 586 ASSERT(token->type() == HTMLToken::Comment); in insertCommentOnHTMLHtmlElement() 628 ASSERT(token->type() == HTMLToken::StartTag); in insertSelfClosingHTMLElement() 664 ASSERT(token->type() == HTMLToken::StartTag); in insertForeignElement() 765 AtomicHTMLToken fakeToken(HTMLToken::StartTag, item->localName(), item->attributes()); in createElementFromSavedToken()
|
D | CSSPreloadScanner.h | 46 void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
|
D | HTMLViewSourceParser.h | 60 HTMLToken m_token;
|
D | HTMLTreeBuilderSimulator.cpp | 134 if (token.type() == HTMLToken::StartTag) { in simulate() 163 if (token.type() == HTMLToken::EndTag) { in simulate()
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLViewSourceDocument.h | 34 class HTMLToken; variable 48 void addSource(const String&, HTMLToken&, SourceAnnotation); 57 void processDoctypeToken(const String& source, HTMLToken&); 58 void processEndOfFileToken(const String& source, HTMLToken&); 59 void processTagToken(const String& source, HTMLToken&, SourceAnnotation); 60 void processCommentToken(const String& source, HTMLToken&); 61 void processCharacterToken(const String& source, HTMLToken&, SourceAnnotation);
|
D | HTMLViewSourceDocument.cpp | 95 void HTMLViewSourceDocument::addSource(const String& source, HTMLToken& token, SourceAnnotation ann… in addSource() 101 case HTMLToken::Uninitialized: in addSource() 104 case HTMLToken::DOCTYPE: in addSource() 107 case HTMLToken::EndOfFile: in addSource() 110 case HTMLToken::StartTag: in addSource() 111 case HTMLToken::EndTag: in addSource() 114 case HTMLToken::Comment: in addSource() 117 case HTMLToken::Character: in addSource() 123 void HTMLViewSourceDocument::processDoctypeToken(const String& source, HTMLToken&) in processDoctypeToken() argument 130 void HTMLViewSourceDocument::processEndOfFileToken(const String& source, HTMLToken&) in processEndOfFileToken() argument [all …]
|