Searched refs:SegmentedString (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLSourceTracker.h30 #include "core/platform/text/SegmentedString.h"
44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&);
45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&);
50 SegmentedString m_previousSource;
51 SegmentedString m_currentSource;
H A DHTMLInputStream.h30 #include "core/platform/text/SegmentedString.h"
59 void appendToEnd(const SegmentedString& string)
64 void insertAtCurrentInsertionPoint(const SegmentedString& string)
76 m_last->append(SegmentedString(String(&kEndOfFileMarker, 1)));
90 SegmentedString& current() { return m_first; }
91 const SegmentedString& current() const { return m_first; }
93 void splitInto(SegmentedString& next)
96 m_first = SegmentedString();
98 // We used to only have one SegmentedString in the InputStream
105 void mergeFrom(SegmentedString
[all...]
H A DCSSPreloadScanner.h37 class SegmentedString;
47 void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
48 void scan(const HTMLIdentifier&, const SegmentedString&, PreloadRequestStream&);
65 void scanCommon(const Char* begin, const Char* end, const SegmentedString&, PreloadRequestStream&);
67 inline void tokenize(UChar, const SegmentedString&);
68 void emitRule(const SegmentedString&);
H A DBackgroundHTMLInputStream.h29 #include "core/platform/text/SegmentedString.h"
45 SegmentedString& current() { return m_current; }
57 Checkpoint(const SegmentedString& i, size_t n) : input(i), numberOfSegmentsAlreadyAppended(n) { }
59 SegmentedString input;
68 SegmentedString m_current;
H A DHTMLPreloadScanner.h33 #include "core/platform/text/SegmentedString.h"
42 class SegmentedString;
50 void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
51 void scan(const CompactHTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
70 inline void scanCommon(const Token&, const SegmentedString&, PreloadRequestStream& requests);
103 void appendToEnd(const SegmentedString&);
108 SegmentedString m_source;
H A DInputStreamPreprocessor.h31 #include "core/platform/text/SegmentedString.h"
54 ALWAYS_INLINE bool peek(SegmentedString& source)
71 ALWAYS_INLINE bool advance(SegmentedString& source)
88 bool processNextInputCharacter(SegmentedString& source)
123 bool shouldTreatNullAsEndOfFileMarker(SegmentedString& source) const
H A DHTMLTokenizer.h33 #include "core/platform/text/SegmentedString.h"
150 bool nextToken(SegmentedString&, HTMLToken&);
201 inline bool processEntity(SegmentedString&);
212 inline bool emitAndResumeIn(SegmentedString& source, State state)
220 inline bool emitAndReconsumeIn(SegmentedString&, State state)
227 inline bool emitEndOfFile(SegmentedString& source)
238 inline bool flushEmitAndResumeIn(SegmentedString&, State);
242 inline bool flushBufferedEndTag(SegmentedString&);
H A DBackgroundHTMLInputStream.cpp39 m_current.append(SegmentedString(input));
87 m_current.append(SegmentedString(m_segments[i]));
91 m_current.prepend(SegmentedString(unparsedInput));
H A DHTMLEntityParser.h30 #include "core/platform/text/SegmentedString.h"
64 bool consumeHTMLEntity(SegmentedString&, DecodedHTMLEntity& decodedEntity, bool& notEnoughCharacters, UChar additionalAllowedCharacter = '\0');
H A DHTMLSourceTracker.cpp38 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token)
51 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token)
H A DCSSPreloadScanner.cpp34 #include "core/platform/text/SegmentedString.h"
56 void CSSPreloadScanner::scanCommon(const Char* begin, const Char* end, const SegmentedString& source, PreloadRequestStream& requests)
64 void CSSPreloadScanner::scan(const HTMLToken::DataVector& data, const SegmentedString& source, PreloadRequestStream& requests)
69 void CSSPreloadScanner::scan(const HTMLIdentifier& identifier, const SegmentedString& source, PreloadRequestStream& requests)
81 inline void CSSPreloadScanner::tokenize(UChar c, const SegmentedString& source)
213 void CSSPreloadScanner::emitRule(const SegmentedString& source)
H A DHTMLEntityParser.cpp93 static void unconsumeCharacters(SegmentedString& source, ConsumedCharacterBuffer& consumedCharacters)
101 source.prepend(SegmentedString(String(consumedCharacters)));
104 static bool consumeNamedEntity(SegmentedString& source, DecodedHTMLEntity& decodedEntity, bool& notEnoughCharacters, UChar additionalAllowedCharacter, UChar& cc)
156 bool consumeHTMLEntity(SegmentedString& source, DecodedHTMLEntity& decodedEntity, bool& notEnoughCharacters, UChar additionalAllowedCharacter)
H A DHTMLMetaCharsetParser.h30 #include "core/platform/text/SegmentedString.h"
70 SegmentedString m_input;
H A DHTMLViewSourceParser.h49 virtual void insert(const SegmentedString&) OVERRIDE { ASSERT_NOT_REACHED(); }
H A DHTMLTokenizer.cpp155 inline bool HTMLTokenizer::processEntity(SegmentedString& source)
172 bool HTMLTokenizer::flushBufferedEndTag(SegmentedString& source)
197 bool HTMLTokenizer::flushEmitAndResumeIn(SegmentedString& source, HTMLTokenizer::State state)
204 bool HTMLTokenizer::nextToken(SegmentedString& source, HTMLToken& token)
1079 SegmentedString::LookAheadResult result = source.lookAhead(dashDashString);
1080 if (result == SegmentedString::DidMatch) {
1085 } else if (result == SegmentedString::NotEnoughCharacters)
1088 SegmentedString::LookAheadResult result = source.lookAheadIgnoringCase(doctypeString);
1089 if (result == SegmentedString::DidMatch) {
1092 } else if (result == SegmentedString
[all...]
H A DHTMLPreloadScanner.cpp125 PassOwnPtr<PreloadRequest> createPreloadRequest(const KURL& predictedBaseURL, const SegmentedString& source)
254 void TokenPreloadScanner::scan(const HTMLToken& token, const SegmentedString& source, PreloadRequestStream& requests)
259 void TokenPreloadScanner::scan(const CompactHTMLToken& token, const SegmentedString& source, PreloadRequestStream& requests)
265 void TokenPreloadScanner::scanCommon(const Token& token, const SegmentedString& source, PreloadRequestStream& requests)
339 void HTMLPreloadScanner::appendToEnd(const SegmentedString& source)
H A DHTMLDocumentParser.h44 #include "core/platform/text/SegmentedString.h"
100 virtual void insert(const SegmentedString&) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/core/platform/text/
H A DSegmentedString.cpp21 #include "core/platform/text/SegmentedString.h"
25 SegmentedString::SegmentedString(const SegmentedString& other) function in class:WebCore::SegmentedString
47 const SegmentedString& SegmentedString::operator=(const SegmentedString& other)
73 unsigned SegmentedString::length() const
90 void SegmentedString::setExcludeLineNumbers()
101 void SegmentedString
[all...]
H A DSegmentedString.h30 class SegmentedString;
138 class SegmentedString { class in namespace:WebCore
140 SegmentedString() function in class:WebCore::SegmentedString
150 , m_advanceFunc(&SegmentedString::advanceEmpty)
151 , m_advanceAndUpdateLineNumberFunc(&SegmentedString::advanceEmpty)
155 SegmentedString(const String& str) function in class:WebCore::SegmentedString
172 SegmentedString(const SegmentedString&);
174 const SegmentedString& operator=(const SegmentedString
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
H A DMarkupTokenizerInlines.h31 #include "core/platform/text/SegmentedString.h"
40 inline void advanceStringAndASSERTIgnoringCase(SegmentedString& source, const char* expectedCharacters)
46 inline void advanceStringAndASSERT(SegmentedString& source, const char* expectedCharacters)
H A DXMLDocumentParser.h32 #include "core/platform/text/SegmentedString.h"
108 virtual void insert(const SegmentedString&);
158 SegmentedString m_originalSourceForTransform;
191 SegmentedString m_pendingSrc;
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DRawDataDocumentParser.h55 virtual void insert(const SegmentedString&) argument
H A DDocumentParser.h34 class SegmentedString;
47 virtual void insert(const SegmentedString&) = 0;
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DWebVTTTokenizer.h65 bool nextToken(SegmentedString&, WebVTTToken&);
79 inline bool emitAndResumeIn(SegmentedString& source, State::State state)
86 inline bool emitEndOfFile(SegmentedString& source)
H A DWebVTTTokenizer.cpp67 bool WebVTTTokenizer::nextToken(SegmentedString& source, WebVTTToken& token)

Completed in 1411 milliseconds

12