Home
last modified time | relevance | path

Searched refs:m_tokenizer (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLViewSourceParser.cpp37 , m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(document))) in HTMLViewSourceParser()
40 m_tokenizer->setState(HTMLTokenizer::PLAINTEXTState); in HTMLViewSourceParser()
46 m_sourceTracker.start(m_input.current(), m_tokenizer.get(), m_token); in pumpTokenizer()
47 if (!m_tokenizer->nextToken(m_input.current(), m_token)) in pumpTokenizer()
49 m_sourceTracker.end(m_input.current(), m_tokenizer.get(), m_token); in pumpTokenizer()
55 m_tokenizer->updateStateFor(AtomicString(m_token.name())); in pumpTokenizer()
DBackgroundHTMLParser.cpp82 , m_tokenizer(HTMLTokenizer::create(config->options)) in BackgroundHTMLParser()
103 m_tokenizer = checkpoint->tokenizer.release(); in resumeFrom()
134 m_tokenizer->setState(HTMLTokenizer::PLAINTEXTState); in forcePlaintextForTextDocument()
151 m_sourceTracker.start(m_input.current(), m_tokenizer.get(), *m_token); in pumpTokenizer()
152 if (!m_tokenizer->nextToken(m_input.current(), *m_token)) { in pumpTokenizer()
157 m_sourceTracker.end(m_input.current(), m_tokenizer.get(), *m_token); in pumpTokenizer()
162 …_xssAuditor->filterToken(FilterTokenRequest(*m_token, m_sourceTracker, m_tokenizer->shouldAllowCDA… in pumpTokenizer()
176 …if (!m_treeBuilderSimulator.simulate(m_pendingTokens->last(), m_tokenizer.get()) || m_pendingToken… in pumpTokenizer()
199 chunk->tokenizerState = m_tokenizer->state(); in sendTokensToMainThread()
DHTMLDocumentParser.cpp77 , m_tokenizer(m_options.useThreading ? nullptr : HTMLTokenizer::create(m_options)) in HTMLDocumentParser()
89 ASSERT(shouldUseThreading() || (m_token && m_tokenizer)); in HTMLDocumentParser()
98 , m_tokenizer(HTMLTokenizer::create(m_options)) in HTMLDocumentParser()
109 m_tokenizer->setState(tokenizerStateForContextElement(contextElement, reportErrors, m_options)); in HTMLDocumentParser()
130 if (!m_tokenizer) { in pinToMainThread()
133 m_tokenizer = HTMLTokenizer::create(m_options); in pinToMainThread()
174 if (m_tokenizer) { in prepareToStopParsing()
333 OwnPtr<HTMLTokenizer> tokenizer = m_tokenizer.release(); in validateSpeculations()
388 ASSERT(!m_tokenizer); in processParsedChunkFromBackgroundParser()
442 ASSERT(!m_tokenizer); in processParsedChunkFromBackgroundParser()
[all …]
DInputStreamPreprocessor.h44 : m_tokenizer(tokenizer) in InputStreamPreprocessor()
110 if (m_tokenizer->shouldSkipNullCharacters()) { in processNextInputCharacter()
128 Tokenizer* m_tokenizer; variable
DHTMLMetaCharsetParser.cpp43 : m_tokenizer(HTMLTokenizer::create(HTMLParserOptions(0))) in HTMLMetaCharsetParser()
177 while (m_tokenizer->nextToken(m_input, m_token)) { in checkForMetaCharset()
182 m_tokenizer->updateStateFor(tagName); in checkForMetaCharset()
DHTMLDocumentParser.h81 HTMLTokenizer* tokenizer() const { return m_tokenizer.get(); } in tokenizer()
181 OwnPtr<HTMLTokenizer> m_tokenizer; variable
DHTMLViewSourceParser.h61 OwnPtr<HTMLTokenizer> m_tokenizer; variable
DHTMLMetaCharsetParser.h68 OwnPtr<HTMLTokenizer> m_tokenizer; variable
DHTMLPreloadScanner.cpp377 , m_tokenizer(HTMLTokenizer::create(options)) in HTMLPreloadScanner()
400 while (m_tokenizer->nextToken(m_source, m_token)) { in scan()
402 m_tokenizer->updateStateFor(AtomicString(m_token.name())); in scan()
DBackgroundHTMLParser.h91 OwnPtr<HTMLTokenizer> m_tokenizer; variable
DHTMLPreloadScanner.h111 OwnPtr<HTMLTokenizer> m_tokenizer; variable
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParser-in.cpp211 , m_tokenizer(*this) in CSSParser()
231 m_tokenizer.setupTokenizer(prefix, prefixLength, string, suffix, suffixLength); in setupParser()
242 m_tokenizer.m_lineNumber = 0; in parseSheet()
245 m_tokenizer.m_internal = false; in parseSheet()
255 m_tokenizer.m_internal = true; in parseSheet()
9598 if (m_tokenizer.is8BitSource()) in createSupportsRule()
9599 …conditionText = String(m_tokenizer.m_dataStart8.get() + conditionOffset, conditionLength).stripWhi… in createSupportsRule()
9601 …conditionText = String(m_tokenizer.m_dataStart16.get() + conditionOffset, conditionLength).stripWh… in createSupportsRule()
9622 data->ruleHeaderRange.start = m_tokenizer.tokenStartOffset(); in markSupportsRuleHeaderStart()
9630 if (m_tokenizer.is8BitSource()) in markSupportsRuleHeaderEnd()
[all …]
DCSSParser.h441 CSSParserLocation currentLocation() { return m_tokenizer.currentLocation(); } in currentLocation()
620 CSSTokenizer m_tokenizer; variable
671 return parser->m_tokenizer.lex(yylval); in cssyylex()