Home
last modified time | relevance | path

Searched refs:SegmentedString (Results 1 – 25 of 47) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/text/
DSegmentedString.cpp25 unsigned SegmentedString::length() const in length()
42 void SegmentedString::setExcludeLineNumbers() in setExcludeLineNumbers()
53 void SegmentedString::clear() in clear()
66 m_advanceFunc = &SegmentedString::advanceEmpty; in clear()
67 m_advanceAndUpdateLineNumberFunc = &SegmentedString::advanceEmpty; in clear()
70 void SegmentedString::append(const SegmentedSubstring& s) in append()
86 void SegmentedString::prepend(const SegmentedSubstring& s) in prepend()
112 void SegmentedString::close() in close()
119 void SegmentedString::append(const SegmentedString& s) in append()
140 void SegmentedString::prepend(const SegmentedString& s) in prepend()
[all …]
DSegmentedStringTest.cpp36 using blink::SegmentedString;
42 SegmentedString original(String("cde")); in TEST()
44 SegmentedString copied(original); in TEST()
45 SegmentedString assigned; in TEST()
54 SegmentedString copied(original); in TEST()
55 SegmentedString assigned; in TEST()
66 SegmentedString copied(original); in TEST()
67 SegmentedString assigned; in TEST()
76 SegmentedString copied(original); in TEST()
77 SegmentedString assigned; in TEST()
DSegmentedString.h31 class SegmentedString; variable
141 class PLATFORM_EXPORT SegmentedString {
143 SegmentedString() in SegmentedString() function
153 , m_advanceFunc(&SegmentedString::advanceEmpty) in SegmentedString()
154 , m_advanceAndUpdateLineNumberFunc(&SegmentedString::advanceEmpty) in SegmentedString()
158 SegmentedString(const String& str) in SegmentedString() function
178 void append(const SegmentedString&);
179 void prepend(const SegmentedString&);
348 m_advanceFunc = &SegmentedString::advance8; in updateAdvanceFunctionPointers()
351 … m_advanceAndUpdateLineNumberFunc = &SegmentedString::advanceAndUpdateLineNumber8; in updateAdvanceFunctionPointers()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLInputStream.h59 void appendToEnd(const SegmentedString& string) in appendToEnd()
64 void insertAtCurrentInsertionPoint(const SegmentedString& string) in insertAtCurrentInsertionPoint()
76 m_last->append(SegmentedString(String(&kEndOfFileMarker, 1))); in markEndOfFile()
90 SegmentedString& current() { return m_first; } in current()
91 const SegmentedString& current() const { return m_first; } in current()
93 void splitInto(SegmentedString& next) in splitInto()
96 m_first = SegmentedString(); in splitInto()
105 void mergeFrom(SegmentedString& next) in mergeFrom()
122 SegmentedString m_first;
123 SegmentedString* m_last;
[all …]
DCSSPreloadScanner.h36 class SegmentedString; variable
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&);
DHTMLPreloadScanner.h42 class SegmentedString; variable
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;
DHTMLSourceTracker.h44 void start(SegmentedString&, HTMLTokenizer*, HTMLToken&);
45 void end(SegmentedString&, HTMLTokenizer*, HTMLToken&);
50 SegmentedString m_previousSource;
51 SegmentedString m_currentSource;
DHTMLTokenizer.h148 bool nextToken(SegmentedString&, HTMLToken&);
199 inline bool processEntity(SegmentedString&);
210 inline bool emitAndResumeIn(SegmentedString& source, State state) in emitAndResumeIn()
218 inline bool emitAndReconsumeIn(SegmentedString&, State state) in emitAndReconsumeIn() argument
225 inline bool emitEndOfFile(SegmentedString& source) in emitEndOfFile()
236 inline bool flushEmitAndResumeIn(SegmentedString&, State);
240 inline bool flushBufferedEndTag(SegmentedString&);
DBackgroundHTMLInputStream.h45 SegmentedString& current() { return m_current; } in current()
57 …Checkpoint(const SegmentedString& i, size_t n, size_t t) : input(i), numberOfSegmentsAlreadyAppend… in Checkpoint()
59 SegmentedString input;
69 SegmentedString m_current;
DInputStreamPreprocessor.h54 ALWAYS_INLINE bool peek(SegmentedString& source) in peek()
71 ALWAYS_INLINE bool advance(SegmentedString& source) in advance()
88 bool processNextInputCharacter(SegmentedString& source) in processNextInputCharacter()
123 bool shouldTreatNullAsEndOfFileMarker(SegmentedString& source) const in shouldTreatNullAsEndOfFileMarker()
DCSSPreloadScanner.cpp55 void CSSPreloadScanner::scanCommon(const Char* begin, const Char* end, const SegmentedString& sourc… in scanCommon()
63 void CSSPreloadScanner::scan(const HTMLToken::DataVector& data, const SegmentedString& source, Prel… in scan()
68 void CSSPreloadScanner::scan(const String& tagName, const SegmentedString& source, PreloadRequestS… in scan()
79 inline void CSSPreloadScanner::tokenize(UChar c, const SegmentedString& source) in tokenize()
211 void CSSPreloadScanner::emitRule(const SegmentedString& source) in emitRule()
DBackgroundHTMLInputStream.cpp40 m_current.append(SegmentedString(input)); in append()
91 m_current.append(SegmentedString(m_segments[i])); in rewindTo()
95 m_current.prepend(SegmentedString(unparsedInput)); in rewindTo()
DHTMLTokenizer.cpp158 inline bool HTMLTokenizer::processEntity(SegmentedString& source) in processEntity()
175 bool HTMLTokenizer::flushBufferedEndTag(SegmentedString& source) in flushBufferedEndTag()
200 bool HTMLTokenizer::flushEmitAndResumeIn(SegmentedString& source, HTMLTokenizer::State state) in flushEmitAndResumeIn()
207 bool HTMLTokenizer::nextToken(SegmentedString& source, HTMLToken& token) in nextToken()
1079SegmentedString::LookAheadResult result = source.lookAhead(HTMLTokenizerNames::dashDash); in nextToken()
1080 if (result == SegmentedString::DidMatch) { in nextToken()
1085 } else if (result == SegmentedString::NotEnoughCharacters) in nextToken()
1088SegmentedString::LookAheadResult result = source.lookAheadIgnoringCase(HTMLTokenizerNames::doctype… in nextToken()
1089 if (result == SegmentedString::DidMatch) { in nextToken()
1092 } else if (result == SegmentedString::NotEnoughCharacters) in nextToken()
[all …]
DHTMLEntityParser.cpp93 static void unconsumeCharacters(SegmentedString& source, ConsumedCharacterBuffer& consumedCharacter… in unconsumeCharacters()
101 source.prepend(SegmentedString(String(consumedCharacters))); in unconsumeCharacters()
104 static bool consumeNamedEntity(SegmentedString& source, DecodedHTMLEntity& decodedEntity, bool& not… in consumeNamedEntity()
157 bool consumeHTMLEntity(SegmentedString& source, DecodedHTMLEntity& decodedEntity, bool& notEnoughCh… in consumeHTMLEntity()
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()
DHTMLPreloadScanner.cpp163 …r<PreloadRequest> createPreloadRequest(const KURL& predictedBaseURL, const SegmentedString& source) in createPreloadRequest()
404 void TokenPreloadScanner::scan(const HTMLToken& token, const SegmentedString& source, PreloadReques… in scan()
409 void TokenPreloadScanner::scan(const CompactHTMLToken& token, const SegmentedString& source, Preloa… in scan()
415 void TokenPreloadScanner::scanCommon(const Token& token, const SegmentedString& source, PreloadRequ… in scanCommon()
499 void HTMLPreloadScanner::appendToEnd(const SegmentedString& source) in appendToEnd()
DHTMLMetaCharsetParser.h58 SegmentedString m_input;
DHTMLEntityParser.h64 bool consumeHTMLEntity(SegmentedString&, DecodedHTMLEntity& decodedEntity, bool& notEnoughCharacter…
DHTMLViewSourceParser.h50 virtual void insert(const SegmentedString&) OVERRIDE { ASSERT_NOT_REACHED(); } in insert() argument
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DBufferedLineReader.h56 m_buffer.append(SegmentedString(data)); in append()
80 SegmentedString m_buffer;
DVTTTokenizer.h49 SegmentedString m_input;
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
DMarkupTokenizerInlines.h40 inline void advanceStringAndASSERTIgnoringCase(SegmentedString& source, const char* expectedCharact… in advanceStringAndASSERTIgnoringCase()
46 inline void advanceStringAndASSERT(SegmentedString& source, const char* expectedCharacters) in advanceStringAndASSERT()
DXMLDocumentParser.h110 virtual void insert(const SegmentedString&) OVERRIDE;
160 SegmentedString m_originalSourceForTransform;
193 SegmentedString m_pendingSrc;
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentParser.h35 class SegmentedString; variable
50 virtual void insert(const SegmentedString&) = 0;
DRawDataDocumentParser.h54 virtual void insert(const SegmentedString&) OVERRIDE in insert() argument

12