HomeSort by relevance Sort by last modified time
    Searched refs:SegmentedString (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLSourceTracker.h 30 #include "platform/text/SegmentedString.h"
44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&);
45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&);
50 SegmentedString m_previousSource;
51 SegmentedString m_currentSource;
CSSPreloadScanner.h 36 class SegmentedString;
46 void scan(const HTMLToken::DataVector&, const SegmentedString&, PreloadRequestStream&);
47 void scan(const String&, const SegmentedString&, PreloadRequestStream&);
64 void scanCommon(const Char* begin, const Char* end, const SegmentedString&, PreloadRequestStream&);
66 inline void tokenize(UChar, const SegmentedString&);
67 void emitRule(const SegmentedString&);
HTMLInputStream.h 30 #include "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& next
    [all...]
BackgroundHTMLInputStream.h 29 #include "platform/text/SegmentedString.h"
45 SegmentedString& current() { return m_current; }
57 Checkpoint(const SegmentedString& i, size_t n, size_t t) : input(i), numberOfSegmentsAlreadyAppended(n), tokensExtractedSincePreviousCheckpoint(t) { }
59 SegmentedString input;
69 SegmentedString m_current;
HTMLPreloadScanner.h 33 #include "platform/text/SegmentedString.h"
42 class SegmentedString;
51 void scan(const HTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
52 void scan(const CompactHTMLToken&, const SegmentedString&, PreloadRequestStream& requests);
71 inline void scanCommon(const Token&, const SegmentedString&, PreloadRequestStream& requests);
107 void appendToEnd(const SegmentedString&);
112 SegmentedString m_source;
InputStreamPreprocessor.h 31 #include "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
HTMLMetaCharsetParser.h 30 #include "platform/text/SegmentedString.h"
58 SegmentedString m_input;
HTMLTokenizer.h 33 #include "platform/text/SegmentedString.h"
148 bool nextToken(SegmentedString&, HTMLToken&);
199 inline bool processEntity(SegmentedString&);
210 inline bool emitAndResumeIn(SegmentedString& source, State state)
218 inline bool emitAndReconsumeIn(SegmentedString&, State state)
225 inline bool emitEndOfFile(SegmentedString& source)
236 inline bool flushEmitAndResumeIn(SegmentedString&, State);
240 inline bool flushBufferedEndTag(SegmentedString&);
BackgroundHTMLInputStream.cpp 40 m_current.append(SegmentedString(input));
91 m_current.append(SegmentedString(m_segments[i]));
95 m_current.prepend(SegmentedString(unparsedInput));
HTMLEntityParser.h 30 #include "platform/text/SegmentedString.h"
64 bool consumeHTMLEntity(SegmentedString&, DecodedHTMLEntity& decodedEntity, bool& notEnoughCharacters, UChar additionalAllowedCharacter = '\0');
HTMLViewSourceParser.h 50 virtual void insert(const SegmentedString&) OVERRIDE { ASSERT_NOT_REACHED(); }
HTMLSourceTracker.cpp 38 void HTMLSourceTracker::start(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token)
51 void HTMLSourceTracker::end(SegmentedString& currentInput, HTMLTokenizer* tokenizer, HTMLToken& token)
CSSPreloadScanner.cpp 33 #include "platform/text/SegmentedString.h"
55 void CSSPreloadScanner::scanCommon(const Char* begin, const Char* end, const SegmentedString& source, PreloadRequestStream& requests)
63 void CSSPreloadScanner::scan(const HTMLToken::DataVector& data, const SegmentedString& source, PreloadRequestStream& requests)
68 void CSSPreloadScanner::scan(const String& tagName, const SegmentedString& source, PreloadRequestStream& requests)
79 inline void CSSPreloadScanner::tokenize(UChar c, const SegmentedString& source)
211 void CSSPreloadScanner::emitRule(const SegmentedString& source)
HTMLEntityParser.cpp 93 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)
157 bool consumeHTMLEntity(SegmentedString& source, DecodedHTMLEntity& decodedEntity, bool& notEnoughCharacters, UChar additionalAllowedCharacter)
HTMLTokenizer.cpp 158 inline bool HTMLTokenizer::processEntity(SegmentedString& source)
175 bool HTMLTokenizer::flushBufferedEndTag(SegmentedString& source)
200 bool HTMLTokenizer::flushEmitAndResumeIn(SegmentedString& source, HTMLTokenizer::State state)
207 bool HTMLTokenizer::nextToken(SegmentedString& source, HTMLToken& token)
    [all...]
HTMLMetaCharsetParser.cpp 95 m_input.append(SegmentedString(m_assumedCodec->decode(data, length)));
  /external/chromium_org/third_party/WebKit/Source/platform/text/
SegmentedStringTest.cpp 32 #include "platform/text/SegmentedString.h"
36 using WebCore::SegmentedString;
42 SegmentedString original(String("cde"));
44 SegmentedString copied(original);
45 SegmentedString assigned;
54 SegmentedString copied(original);
55 SegmentedString assigned;
65 // first char in SegmentedString.
66 SegmentedString copied(original);
67 SegmentedString assigned
    [all...]
SegmentedString.cpp 21 #include "platform/text/SegmentedString.h"
25 unsigned SegmentedString::length() const
42 void SegmentedString::setExcludeLineNumbers()
53 void SegmentedString::clear()
66 m_advanceFunc = &SegmentedString::advanceEmpty;
67 m_advanceAndUpdateLineNumberFunc = &SegmentedString::advanceEmpty;
70 void SegmentedString::append(const SegmentedSubstring& s)
86 void SegmentedString::prepend(const SegmentedSubstring& s)
94 // this SegmentedString. We're also ASSERTing that s is a fresh
112 void SegmentedString::close(
    [all...]
SegmentedString.h 31 class SegmentedString;
141 class PLATFORM_EXPORT SegmentedString {
143 SegmentedString()
153 , m_advanceFunc(&SegmentedString::advanceEmpty)
154 , m_advanceAndUpdateLineNumberFunc(&SegmentedString::advanceEmpty)
158 SegmentedString(const String& str)
178 void append(const SegmentedString&);
179 void prepend(const SegmentedString&);
348 m_advanceFunc = &SegmentedString::advance8;
351 m_advanceAndUpdateLineNumberFunc = &SegmentedString::advanceAndUpdateLineNumber8
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
VTTTokenizer.h 49 SegmentedString m_input;
BufferedLineReader.h 34 #include "platform/text/SegmentedString.h"
56 m_buffer.append(SegmentedString(data));
80 SegmentedString m_buffer;
  /external/chromium_org/third_party/WebKit/Source/core/dom/
RawDataDocumentParser.h 54 virtual void insert(const SegmentedString&) OVERRIDE
DocumentParser.h 35 class SegmentedString;
50 virtual void insert(const SegmentedString&) = 0;
  /external/chromium_org/third_party/WebKit/Source/core/xml/parser/
MarkupTokenizerInlines.h 31 #include "platform/text/SegmentedString.h"
40 inline void advanceStringAndASSERTIgnoringCase(SegmentedString& source, const char* expectedCharacters)
46 inline void advanceStringAndASSERT(SegmentedString& source, const char* expectedCharacters)
XMLDocumentParser.h 34 #include "platform/text/SegmentedString.h"
110 virtual void insert(const SegmentedString&) OVERRIDE;
160 SegmentedString m_originalSourceForTransform;
193 SegmentedString m_pendingSrc;

Completed in 1842 milliseconds

1 2