Home
last modified time | relevance | path

Searched refs:HTMLTokenizer (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLTokenizer.cpp85 static inline bool isEndTagBufferingState(HTMLTokenizer::State state) in isEndTagBufferingState()
88 case HTMLTokenizer::RCDATAEndTagOpenState: in isEndTagBufferingState()
89 case HTMLTokenizer::RCDATAEndTagNameState: in isEndTagBufferingState()
90 case HTMLTokenizer::RAWTEXTEndTagOpenState: in isEndTagBufferingState()
91 case HTMLTokenizer::RAWTEXTEndTagNameState: in isEndTagBufferingState()
92 case HTMLTokenizer::ScriptDataEndTagOpenState: in isEndTagBufferingState()
93 case HTMLTokenizer::ScriptDataEndTagNameState: in isEndTagBufferingState()
94 case HTMLTokenizer::ScriptDataEscapedEndTagOpenState: in isEndTagBufferingState()
95 case HTMLTokenizer::ScriptDataEscapedEndTagNameState: in isEndTagBufferingState()
102 #define HTML_BEGIN_STATE(stateName) BEGIN_STATE(HTMLTokenizer, stateName)
[all …]
DHTMLTokenizer.h37 class HTMLTokenizer {
38 WTF_MAKE_NONCOPYABLE(HTMLTokenizer);
41 …static PassOwnPtr<HTMLTokenizer> create(const HTMLParserOptions& options) { return adoptPtr(new HT… in create()
42 ~HTMLTokenizer();
191 && (m_state == HTMLTokenizer::DataState in shouldSkipNullCharacters()
192 || m_state == HTMLTokenizer::RCDATAState in shouldSkipNullCharacters()
193 || m_state == HTMLTokenizer::RAWTEXTState); in shouldSkipNullCharacters()
197 explicit HTMLTokenizer(const HTMLParserOptions&);
229 m_state = HTMLTokenizer::DataState; in emitEndOfFile()
274 InputStreamPreprocessor<HTMLTokenizer> m_inputStreamPreprocessor;
DHTMLSourceTracker.h34 class HTMLTokenizer; variable
44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&);
45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&);
DHTMLDocumentParser.cpp55 static HTMLTokenizer::State tokenizerStateForContextElement(Element* contextElement, bool reportErr… in tokenizerStateForContextElement()
58 return HTMLTokenizer::DataState; in tokenizerStateForContextElement()
63 return HTMLTokenizer::RCDATAState; in tokenizerStateForContextElement()
70 return reportErrors ? HTMLTokenizer::RAWTEXTState : HTMLTokenizer::PLAINTEXTState; in tokenizerStateForContextElement()
72 return reportErrors ? HTMLTokenizer::ScriptDataState : HTMLTokenizer::PLAINTEXTState; in tokenizerStateForContextElement()
74 return HTMLTokenizer::PLAINTEXTState; in tokenizerStateForContextElement()
75 return HTMLTokenizer::DataState; in tokenizerStateForContextElement()
109 , m_tokenizer(m_options.useThreading ? nullptr : HTMLTokenizer::create(m_options)) in HTMLDocumentParser()
130 , m_tokenizer(HTMLTokenizer::create(m_options)) in HTMLDocumentParser()
182 m_tokenizer = HTMLTokenizer::create(m_options); in pinToMainThread()
[all …]
DHTMLTreeBuilderSimulator.cpp132 bool HTMLTreeBuilderSimulator::simulate(const CompactHTMLToken& token, HTMLTokenizer* tokenizer) in simulate()
148 tokenizer->setState(HTMLTokenizer::RCDATAState); in simulate()
150 tokenizer->setState(HTMLTokenizer::PLAINTEXTState); in simulate()
152 tokenizer->setState(HTMLTokenizer::ScriptDataState); in simulate()
159 tokenizer->setState(HTMLTokenizer::RAWTEXTState); in simulate()
172 tokenizer->setState(HTMLTokenizer::DataState); in simulate()
DHTMLMetaCharsetParser.h37 class HTMLTokenizer; variable
56 OwnPtr<HTMLTokenizer> m_tokenizer;
DHTMLTreeBuilderSimulator.h35 class HTMLTokenizer; variable
57 bool simulate(const CompactHTMLToken&, HTMLTokenizer*);
DHTMLDocumentParser.h84 HTMLTokenizer* tokenizer() const { return m_tokenizer.get(); } in tokenizer()
96 HTMLTokenizer::State tokenizerState;
148 …AndResumeFrom(PassOwnPtr<ParsedChunk> lastChunk, PassOwnPtr<HTMLToken>, PassOwnPtr<HTMLTokenizer>);
185 OwnPtr<HTMLTokenizer> m_tokenizer;
DHTMLViewSourceParser.cpp39 , m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(&document))) in HTMLViewSourceParser()
42 m_tokenizer->setState(HTMLTokenizer::PLAINTEXTState); in HTMLViewSourceParser()
DHTMLSourceTracker.cpp39 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& t… in start()
53 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& tok… in end()
DBackgroundHTMLParser.h63 OwnPtr<HTMLTokenizer> tokenizer;
96 OwnPtr<HTMLTokenizer> m_tokenizer;
DHTMLPreloadScanner.h41 class HTMLTokenizer; variable
114 OwnPtr<HTMLTokenizer> m_tokenizer;
DHTMLTokenizerNames.in1 namespace="HTMLTokenizer"
DHTMLViewSourceParser.h62 OwnPtr<HTMLTokenizer> m_tokenizer;
DBackgroundHTMLParser.cpp88 , m_tokenizer(HTMLTokenizer::create(config->options)) in BackgroundHTMLParser()
186 m_tokenizer->setState(HTMLTokenizer::PLAINTEXTState); in forcePlaintextForTextDocument()
DHTMLMetaCharsetParser.cpp43 : m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(0))) in HTMLMetaCharsetParser()
DHTMLTreeBuilder.cpp712 m_parser->tokenizer()->setState(HTMLTokenizer::PLAINTEXTState); in processStartTagForInBody()
820 m_parser->tokenizer()->setState(HTMLTokenizer::RCDATAState); in processStartTagForInBody()
2116 … ASSERT(m_parser->tokenizer()->state() == HTMLTokenizer::DataState || m_options.useThreading); in processEndTag()
2117 m_parser->tokenizer()->setState(HTMLTokenizer::DataState); in processEndTag()
2620 m_parser->tokenizer()->setState(HTMLTokenizer::RCDATAState); in processGenericRCDATAStartTag()
2630 m_parser->tokenizer()->setState(HTMLTokenizer::RAWTEXTState); in processGenericRawTextStartTag()
2640 m_parser->tokenizer()->setState(HTMLTokenizer::ScriptDataState); in processScriptStartTag()
DHTMLPreloadScanner.cpp491 , m_tokenizer(HTMLTokenizer::create(options)) in HTMLPreloadScanner()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_html.target.linux-mips64.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
Dwebcore_html.target.linux-arm.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
Dwebcore_html.target.linux-x86.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
Dwebcore_html.target.darwin-x86_64.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
Dwebcore_html.target.darwin-x86.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
Dwebcore_html.target.linux-mips.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \
Dwebcore_html.target.linux-x86_64.mk266 third_party/WebKit/Source/core/html/parser/HTMLTokenizer.cpp \

12