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

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
WidthIterator.h 84 template <typename TextIterator>
85 inline unsigned advanceInternal(TextIterator&, GlyphBuffer*);
WidthIterator.cpp 133 template <typename TextIterator>
134 inline unsigned WidthIterator::advanceInternal(TextIterator& textIterator, GlyphBuffer* glyphBuffer)
153 while (textIterator.consume(character, clusterLength)) {
155 const GlyphData& glyphData = glyphDataForCharacter(character, rtl, textIterator.currentCharacter(), advanceLength);
225 if (m_run.allowsTrailingExpansion() || (m_run.ltr() && textIterator.currentCharacter() + advanceLength < static_cast<size_t>(m_run.length()))
226 || (m_run.rtl() && textIterator.currentCharacter())) {
236 if (treatAsSpace && (character != '\t' || !m_run.allowTabs()) && (textIterator.currentCharacter() || character == noBreakSpace) && m_font->fontDescription().wordSpacing())
251 if (!textIterator.currentCharacter())
259 textIterator.advance(advanceLength)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
TextIterator.h 77 class TextIterator {
80 explicit TextIterator(const Range*, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior);
82 TextIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior);
83 ~TextIterator();
197 // in the Range used to create the TextIterator.
334 TextIterator m_textIterator;
356 // Very similar to the TextIterator, except that the chunks of text returned are "well behaved",
373 // Did we have to look ahead in the textIterator to confirm the current chunk?
376 TextIterator m_textIterator;
TextCheckingHelper.cpp 35 #include "core/editing/TextIterator.h"
147 return TextIterator::rangeLength(paragraphRange().get());
161 return TextIterator::subrange(paragraphRange().get(), characterOffset, characterCount);
171 return TextIterator::rangeLength(range.get());
202 m_checkingStart = TextIterator::rangeLength(offsetAsRange().get());
210 m_checkingEnd = checkingStart() + TextIterator::rangeLength(checkingRange().get());
218 m_checkingLength = TextIterator::rangeLength(checkingRange().get());
264 RefPtrWillBeRawPtr<Range> misspellingRange = TextIterator::subrange(m_range.get(), currentChunkOffset + misspellingLocation, misspellingLength);
311 int totalRangeLength = TextIterator::rangeLength(paragraphRange.get());
315 int rangeStartOffset = TextIterator::rangeLength(offsetAsRange.get())
    [all...]
PlainTextRange.cpp 33 #include "core/editing/TextIterator.h"
84 TextIterator it(rangeOfContents(const_cast<ContainerNode*>(&scope)).get(), behaviorFlags);
179 size_t start = TextIterator::rangeLength(testRange.get());
183 size_t end = TextIterator::rangeLength(testRange.get());
TextIterator.cpp 28 #include "core/editing/TextIterator.h"
242 TextIterator::TextIterator(const Range* range, TextIteratorBehaviorFlags behavior)
273 TextIterator::TextIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags behavior)
303 void TextIterator::initialize(const Position& start, const Position& end)
355 TextIterator::~TextIterator()
359 void TextIterator::advance()
547 UChar TextIterator::characterAt(unsigned index) cons
    [all...]
TextIteratorTest.cpp 32 #include "core/editing/TextIterator.h"
71 Vector<String> iterateWithIterator(TextIterator&);
87 document().view()->updateLayoutAndStyleIfNeededRecursive(); // Force renderers to be created; TextIterator needs them.
89 TextIterator iterator(range.get(), iteratorBehavior);
96 TextIterator iterator(start, end, iteratorBehavior);
100 Vector<String> TextIteratorTest::iterateWithIterator(TextIterator& iterator)
207 // TextIterator doesn't emit "input" nor "shadow" since (1) the renderer for <input> is not created; and
227 "Hello, ", // TextIterator doesn't emit "text" since its renderer is not created. The shadow tree is ignored.
297 "shadow", // TextIterator emits "shadow" since TextIteratorEntersAuthorShadowRoots is specified.
353 // FIXME: Fix this. We probably need pure-renderer-based implementation of TextIterator to achieve this
    [all...]
SpellChecker.cpp 291 RefPtrWillBeRawPtr<Range> badGrammarRange = TextIterator::subrange(grammarSearchRange.get(), grammarPhraseOffset + grammarDetail.location, grammarDetail.length);
300 RefPtrWillBeRawPtr<Range> misspellingRange = TextIterator::subrange(spellingSearchRange.get(), misspellingOffset, misspelledWord.length());
    [all...]
CompositeEditCommand.cpp 59 #include "core/editing/TextIterator.h"
    [all...]
ApplyStyleCommand.cpp 43 #include "core/editing/TextIterator.h"
262 int startIndex = TextIterator::rangeLength(startRange.get(), true);
263 int endIndex = TextIterator::rangeLength(endRange.get(), true);
    [all...]
VisibleUnits.cpp 38 #include "core/editing/TextIterator.h"
470 TextIterator forwardsIterator(forwardsScanRange.get());
564 TextIterator it(searchRange.get(), TextIteratorEmitsCharactersBetweenAllVisiblePositions);
    [all...]
htmlediting.cpp 42 #include "core/editing/TextIterator.h"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/mac/
WebSubstringUtil.mm 44 #include "core/editing/TextIterator.h"
68 for (TextIterator it(range); !it.atEnd() && [string length] < length; it.advance()) {
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DocumentMarkerController.cpp 34 #include "core/editing/TextIterator.h"
84 // Use a TextIterator to visit the potentially multiple nodes the range covers.
85 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) {
93 // Use a TextIterator to visit the potentially multiple nodes the range covers.
94 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) {
102 // Use a TextIterator to visit the potentially multiple nodes the range covers.
103 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) {
112 // Use a TextIterator to visit the potentially multiple nodes the range covers.
113 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) {
137 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextFormControlElement.cpp 37 #include "core/editing/TextIterator.h"
336 return TextIterator::rangeLength(range.get());
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXRenderObject.cpp 43 #include "core/editing/TextIterator.h"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebLocalFrameImpl.cpp 98 #include "core/editing/TextIterator.h"
216 // TextIterator iterates over the visual representation of the DOM. As such,
227 // the plainText() function in core/editing/TextIterator.h, but we implement the maximum
230 for (TextIterator it(range.get()); !it.atEnd(); it.advance()) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/
webcore_remaining.target.darwin-arm.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.darwin-arm64.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.darwin-mips.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.darwin-x86.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.darwin-x86_64.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.linux-arm.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.linux-arm64.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]
webcore_remaining.target.linux-mips.mk 303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
    [all...]

Completed in 323 milliseconds

1 2