Home
last modified time | relevance | path

Searched refs:TextIterator (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
DTextCheckingHelper.cpp147 return TextIterator::rangeLength(paragraphRange().get()); in rangeLength()
161 return TextIterator::subrange(paragraphRange().get(), characterOffset, characterCount); in subrange()
171 return TextIterator::rangeLength(range.get()); in offsetTo()
202 m_checkingStart = TextIterator::rangeLength(offsetAsRange().get()); in checkingStart()
210 m_checkingEnd = checkingStart() + TextIterator::rangeLength(checkingRange().get()); in checkingEnd()
218 m_checkingLength = TextIterator::rangeLength(checkingRange().get()); in checkingLength()
266TextIterator::subrange(misspellingStart, misspellingEnd, currentChunkOffset + misspellingLocation,… in findFirstMisspelling()
313 int totalRangeLength = TextIterator::rangeLength(paragraphStart, paragraphEnd); in findFirstMisspellingOrBadGrammar()
316 int rangeStartOffset = TextIterator::rangeLength(paragraphStart, m_start); in findFirstMisspellingOrBadGrammar()
323 int currentLength = TextIterator::rangeLength(paragraphStart, paragraphEnd); in findFirstMisspellingOrBadGrammar()
[all …]
DTextIterator.cpp243 TextIterator::TextIterator(const Range* range, TextIteratorBehaviorFlags behavior) in TextIterator() function in blink::TextIterator
274 TextIterator::TextIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags be… in TextIterator() function in blink::TextIterator
304 void TextIterator::initialize(const Position& start, const Position& end) in initialize()
358 TextIterator::~TextIterator() in ~TextIterator()
362 bool TextIterator::isInsideReplacedElement() const in isInsideReplacedElement()
371 void TextIterator::advance() in advance()
561 UChar TextIterator::characterAt(unsigned index) const in characterAt()
576 String TextIterator::substring(unsigned position, unsigned length) const in substring()
590 void TextIterator::appendTextToStringBuilder(StringBuilder& builder, unsigned position, unsigned ma… in appendTextToStringBuilder()
603 bool TextIterator::handleTextNode() in handleTextNode()
[all …]
DTextIterator.h78 class TextIterator {
81 explicit TextIterator(const Range*, TextIteratorBehaviorFlags = TextIteratorDefaultBehavior);
83TextIterator(const Position& start, const Position& end, TextIteratorBehaviorFlags = TextIteratorD…
84 ~TextIterator();
359 TextIterator m_textIterator;
401 TextIterator m_textIterator;
DPlainTextRange.cpp85 TextIterator it(rangeOfContents(const_cast<ContainerNode*>(&scope)).get(), behaviorFlags); in createRangeFor()
177 size_t start = TextIterator::rangeLength(testRange.get()); in create()
181 size_t end = TextIterator::rangeLength(testRange.get()); in create()
DTextIteratorTest.cpp71 Vector<String> iterateWithIterator(TextIterator&);
88 TextIterator iterator(range.get(), iteratorBehavior); in iterate()
94 TextIterator iterator(start, end, iteratorBehavior); in iteratePartial()
98 Vector<String> TextIteratorTest::iterateWithIterator(TextIterator& iterator) in iterateWithIterator()
550 EXPECT_EQ(3, TextIterator::rangeLength(range.get())); in TEST_F()
DSpellChecker.cpp308TextIterator::subrange(badGrammarStart, badGrammarEnd, grammarPhraseOffset + grammarDetail.locatio… in advanceToNextMisspelling()
319TextIterator::subrange(misspellingStart, misspellingEnd, misspellingOffset, misspelledWord.length(… in advanceToNextMisspelling()
DCompositeEditCommand.cpp1191 …startIndex = TextIterator::rangeLength(startOfParagraphToMove.toParentAnchoredPosition(), visibleS… in moveParagraphs()
1195 …endIndex = TextIterator::rangeLength(startOfParagraphToMove.toParentAnchoredPosition(), visibleEnd… in moveParagraphs()
1254 …destinationIndex = TextIterator::rangeLength(firstPositionInNode(document().documentElement()), de… in moveParagraphs()
DVisibleUnits.cpp469 TextIterator forwardsIterator(forwardsScanRange.get()); in previousBoundary()
561 TextIterator it(searchStart, searchEnd, TextIteratorEmitsCharactersBetweenAllVisiblePositions); in nextBoundary()
DApplyStyleCommand.cpp265 int startIndex = TextIterator::rangeLength(startRange.get(), true); in applyBlockStyle()
266 int endIndex = TextIterator::rangeLength(endRange.get(), true); in applyBlockStyle()
Dhtmlediting.cpp1122 return TextIterator::rangeLength(range.get(), true); in indexForVisiblePosition()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DWidthIterator.h88 template <typename TextIterator>
89 unsigned advanceInternal(TextIterator&, GlyphBuffer*);
DWidthIterator.cpp177 template <typename TextIterator>
178 unsigned WidthIterator::advanceInternal(TextIterator& textIterator, GlyphBuffer* glyphBuffer) in advanceInternal()
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentMarkerController.h45 class TextIterator; variable
110 …void removeMarkers(TextIterator&, DocumentMarker::MarkerTypes, RemovePartiallyOverlappingMarkerOrN…
DDocumentMarkerController.cpp100 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in addMarker()
108 for (TextIterator markedText(start, end); !markedText.atEnd(); markedText.advance()) { in addMarker()
116 for (TextIterator markedText(range); !markedText.atEnd(); markedText.advance()) { in addTextMatchMarker()
137 void DocumentMarkerController::removeMarkers(TextIterator& markedText, DocumentMarker::MarkerTypes … in removeMarkers()
152 TextIterator markedText(range); in removeMarkers()
158 TextIterator markedText(start, end); in removeMarkers()
/external/chromium_org/third_party/WebKit/Source/web/mac/
DWebSubstringUtil.mm44 #include "core/editing/TextIterator.h"
69 for (TextIterator it(range); !it.atEnd() && [string length] < length; it.advance()) {
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextFormControlElement.cpp411 return TextIterator::rangeLength(range.get()); in indexForVisiblePosition()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXRenderObject.cpp1783 return TextIterator::rangeLength(range.get()); in indexForVisiblePosition()
/external/chromium_org/third_party/WebKit/Source/web/
DWebLocalFrameImpl.cpp239 for (TextIterator it(range.get()); !it.atEnd(); it.advance()) { in frameContentAsPlainText()
/external/chromium_org/third_party/WebKit/Source/core/
Dwebcore_remaining.target.linux-mips64.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.darwin-x86.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.darwin-arm.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.linux-mips.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.darwin-arm64.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.linux-arm64.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \
Dwebcore_remaining.target.linux-x86_64.mk303 third_party/WebKit/Source/core/editing/TextIterator.cpp \

12