Home
last modified time | relevance | path

Searched refs:consumedCharacters (Results 1 – 3 of 3) sorted by relevance

/external/webkit/Source/WebCore/html/parser/
DHTMLEntityParser.cpp88 void unconsumeCharacters(SegmentedString& source, const Vector<UChar, 10>& consumedCharacters) in unconsumeCharacters() argument
90 if (consumedCharacters.size() == 1) in unconsumeCharacters()
91 source.push(consumedCharacters[0]); in unconsumeCharacters()
92 else if (consumedCharacters.size() == 2) { in unconsumeCharacters()
93 source.push(consumedCharacters[0]); in unconsumeCharacters()
94 source.push(consumedCharacters[1]); in unconsumeCharacters()
96 … source.prepend(SegmentedString(String(consumedCharacters.data(), consumedCharacters.size()))); in unconsumeCharacters()
118 Vector<UChar, 10> consumedCharacters; in consumeHTMLEntity() local
203 consumedCharacters.append(cc); in consumeHTMLEntity()
210 unconsumeCharacters(source, consumedCharacters); in consumeHTMLEntity()
[all …]
/external/webkit/Source/WebCore/platform/text/
DSegmentedString.h206 void advance(unsigned count, UChar* consumedCharacters);
263 UChar* consumedCharacters; in lookAheadSlowCase() local
264 String consumedString = String::createUninitialized(count, consumedCharacters); in lookAheadSlowCase()
265 advance(count, consumedCharacters); in lookAheadSlowCase()
267 if (equals(string.characters(), consumedCharacters, count)) in lookAheadSlowCase()
DSegmentedString.cpp200 void SegmentedString::advance(unsigned count, UChar* consumedCharacters) in advance() argument
204 consumedCharacters[i] = *current(); in advance()