startOffset 120 Source/core/animation/TimedItem.cpp const double startOffset = multiplyZeroAlwaysGivesZero(m_specified.iterationStart, iterationDuration); startOffset 121 Source/core/animation/TimedItem.cpp ASSERT(startOffset >= 0); startOffset 122 Source/core/animation/TimedItem.cpp const double scaledActiveTime = calculateScaledActiveTime(activeDuration, activeTime, startOffset, m_specified); startOffset 123 Source/core/animation/TimedItem.cpp const double iterationTime = calculateIterationTime(iterationDuration, repeatedDuration(), scaledActiveTime, startOffset, m_specified); startOffset 142 Source/core/animation/TimedItem.cpp const double startOffset = m_specified.iterationStart * localIterationDuration; startOffset 143 Source/core/animation/TimedItem.cpp ASSERT(startOffset >= 0); startOffset 144 Source/core/animation/TimedItem.cpp const double scaledActiveTime = calculateScaledActiveTime(localActiveDuration, localActiveTime, startOffset, m_specified); startOffset 145 Source/core/animation/TimedItem.cpp const double iterationTime = calculateIterationTime(localIterationDuration, localRepeatedDuration, scaledActiveTime, startOffset, m_specified); startOffset 102 Source/core/animation/TimedItemCalculations.h static inline double calculateScaledActiveTime(double activeDuration, double activeTime, double startOffset, const Timing& specified) startOffset 105 Source/core/animation/TimedItemCalculations.h ASSERT(startOffset >= 0); startOffset 111 Source/core/animation/TimedItemCalculations.h return multiplyZeroAlwaysGivesZero(specified.playbackRate < 0 ? activeTime - activeDuration : activeTime, specified.playbackRate) + startOffset; startOffset 120 Source/core/animation/TimedItemCalculations.h static inline double calculateIterationTime(double iterationDuration, double repeatedDuration, double scaledActiveTime, double startOffset, const Timing& specified) startOffset 129 Source/core/animation/TimedItemCalculations.h ASSERT(scaledActiveTime <= repeatedDuration + startOffset); startOffset 132 Source/core/animation/TimedItemCalculations.h || (scaledActiveTime - startOffset == repeatedDuration && specified.iterationCount && endsOnIterationBoundary(specified.iterationCount, specified.iterationStart))) startOffset 56 Source/core/css/CSSParserValues.h void init(const String& string, unsigned startOffset, unsigned length) startOffset 65 Source/core/css/CSSParserValues.h m_data.characters8 = const_cast<LChar*>(string.characters8()) + startOffset; startOffset 68 Source/core/css/CSSParserValues.h m_data.characters16 = const_cast<UChar*>(string.characters16()) + startOffset; startOffset 1422 Source/core/css/CSSTokenizer-in.cpp unsigned startOffset = currentCharacter<SrcCharacterType>() - dataStart<SrcCharacterType>() - 1; // Start with a slash. startOffset 1423 Source/core/css/CSSTokenizer-in.cpp m_parser.m_observer->startComment(startOffset - m_parsedTextPrefixLength); startOffset 108 Source/core/dom/DocumentMarker.cpp DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset) startOffset 110 Source/core/dom/DocumentMarker.cpp , m_startOffset(startOffset) startOffset 116 Source/core/dom/DocumentMarker.cpp DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const String& description) startOffset 118 Source/core/dom/DocumentMarker.cpp , m_startOffset(startOffset) startOffset 125 Source/core/dom/DocumentMarker.cpp DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, const String& description, uint32_t hash) startOffset 127 Source/core/dom/DocumentMarker.cpp , m_startOffset(startOffset) startOffset 134 Source/core/dom/DocumentMarker.cpp DocumentMarker::DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch) startOffset 136 Source/core/dom/DocumentMarker.cpp , m_startOffset(startOffset) startOffset 143 Source/core/dom/DocumentMarker.cpp DocumentMarker::DocumentMarker(MarkerType type, unsigned startOffset, unsigned endOffset, PassRefPtr<DocumentMarkerDetails> details) startOffset 145 Source/core/dom/DocumentMarker.cpp , m_startOffset(startOffset) startOffset 97 Source/core/dom/DocumentMarker.h DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset); startOffset 98 Source/core/dom/DocumentMarker.h DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description); startOffset 99 Source/core/dom/DocumentMarker.h DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, const String& description, uint32_t hash); startOffset 100 Source/core/dom/DocumentMarker.h DocumentMarker(unsigned startOffset, unsigned endOffset, bool activeMatch); startOffset 101 Source/core/dom/DocumentMarker.h DocumentMarker(MarkerType, unsigned startOffset, unsigned endOffset, PassRefPtr<DocumentMarkerDetails>); startOffset 104 Source/core/dom/DocumentMarker.h unsigned startOffset() const { return m_startOffset; } startOffset 123 Source/core/dom/DocumentMarker.h return type() == o.type() && startOffset() == o.startOffset() && endOffset() == o.endOffset(); startOffset 89 Source/core/dom/DocumentMarkerController.cpp addMarker(textPiece->startContainer(), DocumentMarker(type, textPiece->startOffset(), textPiece->endOffset(), description, hash)); startOffset 98 Source/core/dom/DocumentMarkerController.cpp addMarker(textPiece->startContainer(), DocumentMarker(type, textPiece->startOffset(), textPiece->endOffset(), description)); startOffset 107 Source/core/dom/DocumentMarkerController.cpp addMarker(textPiece->startContainer(), DocumentMarker(type, textPiece->startOffset(), textPiece->endOffset())); startOffset 112 Source/core/dom/DocumentMarkerController.cpp void DocumentMarkerController::addMarkerToNode(Node* node, unsigned startOffset, unsigned length, DocumentMarker::MarkerType type) startOffset 114 Source/core/dom/DocumentMarkerController.cpp addMarker(node, DocumentMarker(type, startOffset, startOffset + length)); startOffset 117 Source/core/dom/DocumentMarkerController.cpp void DocumentMarkerController::addMarkerToNode(Node* node, unsigned startOffset, unsigned length, DocumentMarker::MarkerType type, PassRefPtr<DocumentMarkerDetails> details) startOffset 119 Source/core/dom/DocumentMarkerController.cpp addMarker(node, DocumentMarker(type, startOffset, startOffset + length, details)); startOffset 128 Source/core/dom/DocumentMarkerController.cpp unsigned startOffset = textPiece->startOffset(); startOffset 130 Source/core/dom/DocumentMarkerController.cpp addMarker(textPiece->startContainer(), DocumentMarker(startOffset, endOffset, activeMatch)); startOffset 131 Source/core/dom/DocumentMarkerController.cpp if (endOffset > startOffset) { startOffset 156 Source/core/dom/DocumentMarkerController.cpp int startOffset = textPiece->startOffset(); startOffset 158 Source/core/dom/DocumentMarkerController.cpp removeMarkers(textPiece->startContainer(), startOffset, endOffset - startOffset, markerTypes, shouldRemovePartiallyOverlappingMarker); startOffset 164 Source/core/dom/DocumentMarkerController.cpp return lhv.startOffset() < rhv.startOffset(); startOffset 167 Source/core/dom/DocumentMarkerController.cpp static bool startsAfter(const DocumentMarker& marker, size_t startOffset) startOffset 169 Source/core/dom/DocumentMarkerController.cpp return marker.startOffset() < startOffset; startOffset 172 Source/core/dom/DocumentMarkerController.cpp static bool endsBefore(size_t startOffset, const DocumentMarker& rhv) startOffset 174 Source/core/dom/DocumentMarkerController.cpp return startOffset < rhv.endOffset(); startOffset 184 Source/core/dom/DocumentMarkerController.cpp return lhv.endOffset() < rhv.startOffset(); startOffset 187 Source/core/dom/DocumentMarkerController.cpp static bool doesNotInclude(const DocumentMarker& marker, size_t startOffset) startOffset 189 Source/core/dom/DocumentMarkerController.cpp return marker.endOffset() < startOffset; startOffset 197 Source/core/dom/DocumentMarkerController.cpp ASSERT(newMarker.endOffset() >= newMarker.startOffset()); startOffset 198 Source/core/dom/DocumentMarkerController.cpp if (newMarker.endOffset() == newMarker.startOffset()) startOffset 215 Source/core/dom/DocumentMarkerController.cpp if (list->isEmpty() || list->last().endOffset() < newMarker.startOffset()) { startOffset 239 Source/core/dom/DocumentMarkerController.cpp for (MarkerList::iterator i = firstOverlapping; i != list->end() && i->startOffset() <= inserted->endOffset(); ) { startOffset 240 Source/core/dom/DocumentMarkerController.cpp inserted->setStartOffset(std::min(inserted->startOffset(), i->startOffset())); startOffset 248 Source/core/dom/DocumentMarkerController.cpp void DocumentMarkerController::copyMarkers(Node* srcNode, unsigned startOffset, int length, Node* dstNode, int delta) startOffset 267 Source/core/dom/DocumentMarkerController.cpp unsigned endOffset = startOffset + length - 1; startOffset 268 Source/core/dom/DocumentMarkerController.cpp MarkerList::iterator startPos = std::lower_bound(list->begin(), list->end(), startOffset, doesNotInclude); startOffset 273 Source/core/dom/DocumentMarkerController.cpp if (marker.startOffset() > endOffset) startOffset 278 Source/core/dom/DocumentMarkerController.cpp if (marker.startOffset() < startOffset) startOffset 279 Source/core/dom/DocumentMarkerController.cpp marker.setStartOffset(startOffset); startOffset 293 Source/core/dom/DocumentMarkerController.cpp void DocumentMarkerController::removeMarkers(Node* node, unsigned startOffset, int length, DocumentMarker::MarkerTypes markerTypes, RemovePartiallyOverlappingMarkerOrNot shouldRemovePartiallyOverlappingMarker) startOffset 318 Source/core/dom/DocumentMarkerController.cpp unsigned endOffset = startOffset + length; startOffset 319 Source/core/dom/DocumentMarkerController.cpp MarkerList::iterator startPos = std::upper_bound(list->begin(), list->end(), startOffset, endsBefore); startOffset 324 Source/core/dom/DocumentMarkerController.cpp if (marker.startOffset() >= endOffset) startOffset 339 Source/core/dom/DocumentMarkerController.cpp if (startOffset > marker.startOffset()) { startOffset 341 Source/core/dom/DocumentMarkerController.cpp newLeft.setEndOffset(startOffset); startOffset 454 Source/core/dom/DocumentMarkerController.cpp if (node == startContainer && marker->endOffset() <= static_cast<unsigned>(range->startOffset())) startOffset 456 Source/core/dom/DocumentMarkerController.cpp if (node == endContainer && marker->startOffset() >= static_cast<unsigned>(range->endOffset())) startOffset 610 Source/core/dom/DocumentMarkerController.cpp void DocumentMarkerController::shiftMarkers(Node* node, unsigned startOffset, int delta) startOffset 625 Source/core/dom/DocumentMarkerController.cpp MarkerList::iterator startPos = std::lower_bound(list->begin(), list->end(), startOffset, startsAfter); startOffset 627 Source/core/dom/DocumentMarkerController.cpp ASSERT((int)marker->startOffset() + delta >= 0); startOffset 653 Source/core/dom/DocumentMarkerController.cpp int startOffset = node == startContainer ? range->startOffset() : 0; startOffset 655 Source/core/dom/DocumentMarkerController.cpp setMarkersActive(node, startOffset, endOffset, active); startOffset 659 Source/core/dom/DocumentMarkerController.cpp void DocumentMarkerController::setMarkersActive(Node* node, unsigned startOffset, unsigned endOffset, bool active) startOffset 669 Source/core/dom/DocumentMarkerController.cpp MarkerList::iterator startPos = std::upper_bound(list->begin(), list->end(), startOffset, endsBefore); startOffset 673 Source/core/dom/DocumentMarkerController.cpp if (marker->startOffset() >= endOffset) startOffset 704 Source/core/dom/DocumentMarkerController.cpp if (node == startContainer && marker->endOffset() <= static_cast<unsigned>(range->startOffset())) startOffset 706 Source/core/dom/DocumentMarkerController.cpp if (node == endContainer && marker->startOffset() >= static_cast<unsigned>(range->endOffset())) startOffset 727 Source/core/dom/DocumentMarkerController.cpp fprintf(stderr, " %d:[%d:%d](%d)", marker.type(), marker.startOffset(), marker.endOffset(), marker.activeMatch()); startOffset 55 Source/core/dom/DocumentMarkerController.h void addMarkerToNode(Node*, unsigned startOffset, unsigned length, DocumentMarker::MarkerType); startOffset 56 Source/core/dom/DocumentMarkerController.h void addMarkerToNode(Node*, unsigned startOffset, unsigned length, DocumentMarker::MarkerType, PassRefPtr<DocumentMarkerDetails>); startOffset 59 Source/core/dom/DocumentMarkerController.h void copyMarkers(Node* srcNode, unsigned startOffset, int length, Node* dstNode, int delta); startOffset 68 Source/core/dom/DocumentMarkerController.h void removeMarkers(Node*, unsigned startOffset, int length, DocumentMarker::MarkerTypes = DocumentMarker::AllMarkers(), RemovePartiallyOverlappingMarkerOrNot = DoNotRemovePartiallyOverlappingMarker); startOffset 74 Source/core/dom/DocumentMarkerController.h void shiftMarkers(Node*, unsigned startOffset, int delta); startOffset 76 Source/core/dom/DocumentMarkerController.h void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool); startOffset 79 Source/core/dom/Range.cpp inline Range::Range(Document& ownerDocument, Node* startContainer, int startOffset, Node* endContainer, int endOffset) startOffset 93 Source/core/dom/Range.cpp setStart(startContainer, startOffset); startOffset 97 Source/core/dom/Range.cpp PassRefPtrWillBeRawPtr<Range> Range::create(Document& ownerDocument, Node* startContainer, int startOffset, Node* endContainer, int endOffset) startOffset 99 Source/core/dom/Range.cpp return adoptRefWillBeNoop(new Range(ownerDocument, startContainer, startOffset, endContainer, endOffset)); startOffset 776 Source/core/dom/Range.cpp static inline void deleteCharacterData(PassRefPtr<CharacterData> data, unsigned startOffset, unsigned endOffset, ExceptionState& exceptionState) startOffset 780 Source/core/dom/Range.cpp if (startOffset) startOffset 781 Source/core/dom/Range.cpp data->deleteData(0, startOffset, exceptionState); startOffset 785 Source/core/dom/Range.cpp Node* container, unsigned startOffset, unsigned endOffset, ExceptionState& exceptionState) startOffset 788 Source/core/dom/Range.cpp ASSERT(startOffset <= endOffset); startOffset 799 Source/core/dom/Range.cpp deleteCharacterData(c, startOffset, endOffset, exceptionState); startOffset 807 Source/core/dom/Range.cpp toCharacterData(container)->deleteData(startOffset, endOffset - startOffset, exceptionState); startOffset 813 Source/core/dom/Range.cpp c->setData(c->data().substring(startOffset, endOffset - startOffset)); startOffset 823 Source/core/dom/Range.cpp data.remove(startOffset, endOffset - startOffset); startOffset 842 Source/core/dom/Range.cpp for (unsigned i = startOffset; n && i; i--) startOffset 844 Source/core/dom/Range.cpp for (unsigned i = startOffset; n && i < endOffset; i++, n = n->nextSibling()) startOffset 1534 Source/core/dom/Range.cpp int startOffset = node == startContainer ? m_start.offset() : 0; startOffset 1537 Source/core/dom/Range.cpp renderText->absoluteRectsForRange(rects, startOffset, endOffset, useSelectionHeight, &isFixed); startOffset 1566 Source/core/dom/Range.cpp int startOffset = node == startContainer ? m_start.offset() : 0; startOffset 1569 Source/core/dom/Range.cpp renderText->absoluteQuadsForRange(quads, startOffset, endOffset, useSelectionHeight, &isFixed); startOffset 1855 Source/core/dom/Range.cpp int startOffset = (node == startContainer) ? m_start.offset() : 0; startOffset 1859 Source/core/dom/Range.cpp renderText.absoluteQuadsForRange(textQuads, startOffset, endOffset); startOffset 1899 Source/core/dom/Range.cpp fprintf(stderr, "start offset: %d, end offset: %d\n", range->startOffset(), range->endOffset()); startOffset 54 Source/core/dom/Range.h static PassRefPtrWillBeRawPtr<Range> create(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset); startOffset 60 Source/core/dom/Range.h int startOffset() const { return m_start.offset(); } startOffset 65 Source/core/dom/Range.h int startOffset(ExceptionState&) const; startOffset 157 Source/core/dom/Range.h Range(Document&, Node* startContainer, int startOffset, Node* endContainer, int endOffset); startOffset 169 Source/core/dom/Range.h static PassRefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOffset, ExceptionState&); startOffset 63 Source/core/dom/RangeTest.cpp EXPECT_EQ(0, range04->startOffset()); startOffset 69 Source/core/dom/RangeTest.cpp EXPECT_EQ(0, range02->startOffset()); startOffset 76 Source/core/dom/RangeTest.cpp EXPECT_EQ(2, range22->startOffset()); startOffset 82 Source/core/dom/RangeTest.cpp EXPECT_EQ(2, range24->startOffset()); startOffset 108 Source/core/dom/RangeTest.cpp EXPECT_EQ(0, rangeOuterOutside->startOffset()); startOffset 114 Source/core/dom/RangeTest.cpp EXPECT_EQ(1, rangeOuterInside->startOffset()); startOffset 120 Source/core/dom/RangeTest.cpp EXPECT_EQ(2, rangeOuterSurroundingText->startOffset()); startOffset 126 Source/core/dom/RangeTest.cpp EXPECT_EQ(0, rangeInnerLeft->startOffset()); startOffset 132 Source/core/dom/RangeTest.cpp EXPECT_EQ(0, rangeInnerRight->startOffset()); startOffset 138 Source/core/dom/RangeTest.cpp EXPECT_EQ(3, rangeFromTextToMiddleOfElement->startOffset()); startOffset 196 Source/core/editing/ApplyBlockElementCommand.cpp int startOffset = start.offsetInContainerNode(); startOffset 198 Source/core/editing/ApplyBlockElementCommand.cpp splitTextNode(startText, startOffset); startOffset 201 Source/core/editing/ApplyBlockElementCommand.cpp ASSERT(end.offsetInContainerNode() >= startOffset); startOffset 202 Source/core/editing/ApplyBlockElementCommand.cpp end = Position(startText, end.offsetInContainerNode() - startOffset); startOffset 205 Source/core/editing/ApplyBlockElementCommand.cpp ASSERT(m_endOfLastParagraph.offsetInContainerNode() >= startOffset); startOffset 206 Source/core/editing/ApplyBlockElementCommand.cpp m_endOfLastParagraph = Position(startText, m_endOfLastParagraph.offsetInContainerNode() - startOffset); startOffset 1258 Source/core/editing/ApplyStyleCommand.cpp int startOffset = start.computeOffsetInContainerNode(); startOffset 1259 Source/core/editing/ApplyStyleCommand.cpp if (startOffset) startOffset 625 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::rebalanceWhitespaceOnTextSubstring(PassRefPtr<Text> prpTextNode, int startOffset, int endOffset) startOffset 633 Source/core/editing/CompositeEditCommand.cpp int upstream = startOffset; startOffset 802 Source/core/editing/CompositeEditCommand.cpp int startOffset = textNode == start.deprecatedNode() ? start.deprecatedEditingOffset() : 0; startOffset 804 Source/core/editing/CompositeEditCommand.cpp deleteInsignificantText(textNode, startOffset, endOffset); startOffset 111 Source/core/editing/CompositeEditCommand.h void rebalanceWhitespaceOnTextSubstring(PassRefPtr<Text>, int startOffset, int endOffset); startOffset 35 Source/core/editing/CompositionUnderline.h : startOffset(0), endOffset(0), thick(false) { } startOffset 37 Source/core/editing/CompositionUnderline.h : startOffset(s), endOffset(e), color(c), thick(t) { } startOffset 38 Source/core/editing/CompositionUnderline.h unsigned startOffset; startOffset 442 Source/core/editing/DeleteSelectionCommand.cpp int startOffset = m_upstreamStart.deprecatedEditingOffset(); startOffset 449 Source/core/editing/DeleteSelectionCommand.cpp if (startNode->isSameNode(m_startBlock.get()) && !startOffset && canHaveChildrenForEditing(startNode) && !isHTMLTableElement(*startNode)) { startOffset 450 Source/core/editing/DeleteSelectionCommand.cpp startOffset = 0; startOffset 456 Source/core/editing/DeleteSelectionCommand.cpp if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) { startOffset 462 Source/core/editing/DeleteSelectionCommand.cpp if (startOffset >= lastOffsetForEditing(startNode)) { startOffset 464 Source/core/editing/DeleteSelectionCommand.cpp startOffset = 0; startOffset 472 Source/core/editing/DeleteSelectionCommand.cpp if (m_downstreamEnd.deprecatedEditingOffset() - startOffset > 0) { startOffset 476 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset); startOffset 478 Source/core/editing/DeleteSelectionCommand.cpp removeChildrenInRange(startNode, startOffset, m_downstreamEnd.deprecatedEditingOffset()); startOffset 484 Source/core/editing/DeleteSelectionCommand.cpp if (!startNode->renderer() || (!startOffset && m_downstreamEnd.atLastEditingPositionForNode())) startOffset 492 Source/core/editing/DeleteSelectionCommand.cpp if (startOffset > 0) { startOffset 496 Source/core/editing/DeleteSelectionCommand.cpp deleteTextFromNode(text, startOffset, text->length() - startOffset); startOffset 499 Source/core/editing/DeleteSelectionCommand.cpp node = startNode->traverseToChildAt(startOffset); startOffset 271 Source/core/editing/EditorCommand.cpp return Range::create(a->ownerDocument(), start->startContainer(), start->startOffset(), end->endContainer(), end->endOffset()); startOffset 199 Source/core/editing/InputMethodController.cpp underline.startOffset -= baseOffset; startOffset 304 Source/core/editing/InputMethodController.cpp m_customCompositionUnderlines[i].startOffset += baseOffset; startOffset 338 Source/core/editing/InputMethodController.cpp m_customCompositionUnderlines[i].startOffset += compositionStart; startOffset 314 Source/core/editing/MarkupAccumulator.cpp start = m_range->startOffset(); startOffset 110 Source/core/editing/PlainTextRange.cpp textRunRange->setEnd(range->startContainer(), range->startOffset(), ASSERT_NO_EXCEPTION); startOffset 124 Source/core/editing/PlainTextRange.cpp resultRange->setStart(textRunRange->startContainer(), offset + textRunRange->startOffset(), IGNORE_EXCEPTION); startOffset 127 Source/core/editing/PlainTextRange.cpp resultRange->setStart(textRunRange->startContainer(), textRunRange->startOffset(), IGNORE_EXCEPTION); startOffset 136 Source/core/editing/PlainTextRange.cpp resultRange->setEnd(textRunRange->startContainer(), offset + textRunRange->startOffset(), IGNORE_EXCEPTION); startOffset 139 Source/core/editing/PlainTextRange.cpp resultRange->setEnd(textRunRange->startContainer(), textRunRange->startOffset(), IGNORE_EXCEPTION); startOffset 174 Source/core/editing/PlainTextRange.cpp RefPtrWillBeRawPtr<Range> testRange = Range::create(scope.document(), const_cast<Node*>(&scope), 0, range.startContainer(), range.startOffset()); startOffset 1299 Source/core/editing/ReplaceSelectionCommand.cpp unsigned startOffset = 0; startOffset 1302 Source/core/editing/ReplaceSelectionCommand.cpp startOffset = startDownstream.offsetInContainerNode(); startOffset 1309 Source/core/editing/ReplaceSelectionCommand.cpp insertTextIntoNode(toText(startNode), startOffset, collapseWhiteSpace ? nonBreakingSpaceString() : " "); startOffset 76 Source/core/editing/SpellCheckRequester.cpp offsets[i] = markers[i]->startOffset(); startOffset 241 Source/core/editing/SpellChecker.cpp grammarSearchRange->setEnd(chars.range()->startContainer(), chars.range()->startOffset(), IGNORE_EXCEPTION); startOffset 272 Source/core/editing/SpellChecker.cpp grammarSearchRange->setEnd(chars.range()->startContainer(), chars.range()->startOffset(), IGNORE_EXCEPTION); startOffset 811 Source/core/editing/SpellChecker.cpp unsigned startOffset = static_cast<unsigned>(from); startOffset 816 Source/core/editing/SpellChecker.cpp if (marker->startOffset() <= startOffset && endOffset <= marker->endOffset() && marker->type() == markerType) startOffset 413 Source/core/editing/TextCheckingHelper.cpp int TextCheckingHelper::findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const startOffset 426 Source/core/editing/TextCheckingHelper.cpp if (detailStartOffsetInParagraph < startOffset) startOffset 434 Source/core/editing/TextCheckingHelper.cpp RefPtrWillBeRawPtr<Range> badGrammarRange = TextIterator::subrange(m_range.get(), badGrammarPhraseLocation - startOffset + detail->location, detail->length); startOffset 465 Source/core/editing/TextCheckingHelper.cpp int startOffset = 0; startOffset 466 Source/core/editing/TextCheckingHelper.cpp while (startOffset < paragraph.checkingEnd()) { startOffset 470 Source/core/editing/TextCheckingHelper.cpp m_client->textChecker().checkGrammarOfString(paragraph.textSubstring(startOffset), grammarDetails, &badGrammarPhraseLocation, &badGrammarPhraseLength); startOffset 478 Source/core/editing/TextCheckingHelper.cpp badGrammarPhraseLocation += startOffset; startOffset 501 Source/core/editing/TextCheckingHelper.cpp startOffset = badGrammarPhraseLocation + badGrammarPhraseLength; startOffset 98 Source/core/editing/TextCheckingHelper.h int findFirstGrammarDetail(const Vector<GrammarDetail>& grammarDetails, int badGrammarPhraseLocation, int startOffset, int endOffset, bool markAll) const; startOffset 86 Source/core/editing/TextIterator.cpp size_t search(size_t& startOffset); startOffset 311 Source/core/editing/TextIterator.cpp int startOffset = start.computeOffsetInContainerNode(); startOffset 319 Source/core/editing/TextIterator.cpp m_startOffset = startOffset; startOffset 326 Source/core/editing/TextIterator.cpp else if (Node* child = startContainer->traverseToChildAt(startOffset)) startOffset 328 Source/core/editing/TextIterator.cpp else if (!startOffset) startOffset 551 Source/core/editing/TextIterator.cpp return string()[startOffset() + index]; startOffset 565 Source/core/editing/TextIterator.cpp return string().substring(startOffset() + position, length); startOffset 577 Source/core/editing/TextIterator.cpp builder.append(string(), startOffset() + position, lengthToAppend); startOffset 1184 Source/core/editing/TextIterator.cpp return node->traverseToChildAt(textRange->startOffset()); startOffset 1221 Source/core/editing/TextIterator.cpp int startOffset = r->startOffset(); startOffset 1224 Source/core/editing/TextIterator.cpp if (!startNode->offsetInCharacters() && startOffset >= 0) { startOffset 1227 Source/core/editing/TextIterator.cpp if (Node* childAtOffset = startNode->traverseToChildAt(startOffset)) { startOffset 1229 Source/core/editing/TextIterator.cpp startOffset = 0; startOffset 1248 Source/core/editing/TextIterator.cpp m_startOffset = startOffset; startOffset 1351 Source/core/editing/TextIterator.cpp int startOffset; startOffset 1353 Source/core/editing/TextIterator.cpp RenderText* renderer = handleFirstLetter(startOffset, offsetInNode); startOffset 1362 Source/core/editing/TextIterator.cpp m_offset = startOffset + offsetInNode; startOffset 1381 Source/core/editing/TextIterator.cpp RenderText* SimplifiedBackwardsTextIterator::handleFirstLetter(int& startOffset, int& offsetInNode) startOffset 1384 Source/core/editing/TextIterator.cpp startOffset = (m_node == m_startNode) ? m_startOffset : 0; startOffset 1393 Source/core/editing/TextIterator.cpp if (startOffset >= offsetAfterFirstLetter) { startOffset 1448 Source/core/editing/TextIterator.cpp void SimplifiedBackwardsTextIterator::emitCharacter(UChar c, Node* node, int startOffset, int endOffset) startOffset 1452 Source/core/editing/TextIterator.cpp m_positionStartOffset = startOffset; startOffset 1513 Source/core/editing/TextIterator.cpp int offset = r->startOffset() + m_runOffset; startOffset 1576 Source/core/editing/TextIterator.cpp start->startContainer(), start->startOffset(), startOffset 2086 Source/core/editing/TextIterator.cpp beforeStartRange->setEnd(startRange->startContainer(), startRange->startOffset(), IGNORE_EXCEPTION); startOffset 103 Source/core/editing/TextIterator.h string().appendTo(output, startOffset() + position, lengthToAppend); startOffset 124 Source/core/editing/TextIterator.h int startOffset() const { return m_positionStartOffset; } startOffset 242 Source/core/editing/TextIterator.h RenderText* handleFirstLetter(int& startOffset, int& offsetInNode); startOffset 245 Source/core/editing/TextIterator.h void emitCharacter(UChar, Node*, int startOffset, int endOffset); startOffset 249 Source/core/editing/markup.cpp unsigned startOffset = 0; startOffset 253 Source/core/editing/markup.cpp startOffset = range->startOffset(); startOffset 257 Source/core/editing/markup.cpp Position start = createLegacyEditingPosition(&node, startOffset); startOffset 271 Source/core/editing/markup.cpp str.remove(0, range->startOffset()); startOffset 91 Source/core/events/CompositionEvent.cpp m_activeSegmentStart = underlines->at(i).startOffset; startOffset 98 Source/core/events/CompositionEvent.cpp m_segments.append(underlines->at(i).startOffset); startOffset 130 Source/core/html/ime/InputMethodContext.cpp return selectedSegment().startOffset; startOffset 152 Source/core/html/ime/InputMethodContext.cpp m_segments.append(underlines[i].startOffset); startOffset 135 Source/core/inspector/InjectedScriptCanvasModule.cpp void InjectedScriptCanvasModule::traceLog(ErrorString* errorString, const TraceLogId& traceLogId, const int* startOffset, const int* maxLength, RefPtr<TraceLog>* traceLog) startOffset 139 Source/core/inspector/InjectedScriptCanvasModule.cpp if (startOffset) startOffset 140 Source/core/inspector/InjectedScriptCanvasModule.cpp function.appendArgument(*startOffset); startOffset 865 Source/core/inspector/InspectorCSSAgent.cpp unsigned startOffset; startOffset 867 Source/core/inspector/InspectorCSSAgent.cpp bool success = inspectorStyleSheet->lineNumberAndColumnToOffset(startLineNumber, startColumn, &startOffset) startOffset 874 Source/core/inspector/InspectorCSSAgent.cpp if (startOffset > endOffset) { startOffset 878 Source/core/inspector/InspectorCSSAgent.cpp sourceRange->start = startOffset; startOffset 162 Source/core/inspector/InspectorCanvasAgent.cpp void InspectorCanvasAgent::getTraceLog(ErrorString* errorString, const TraceLogId& traceLogId, const int* startOffset, const int* maxLength, RefPtr<TraceLog>& traceLog) startOffset 166 Source/core/inspector/InspectorCanvasAgent.cpp module.traceLog(errorString, traceLogId, startOffset, maxLength, &traceLog); startOffset 310 Source/core/inspector/InspectorStyleSheet.cpp unsigned startOffset = m_commentRangeStart; startOffset 313 Source/core/inspector/InspectorStyleSheet.cpp ASSERT(startOffset >= m_propertyRangeStart); startOffset 316 Source/core/inspector/InspectorStyleSheet.cpp if (!m_parsedText.substring(m_propertyRangeStart, startOffset).stripWhiteSpace().isEmpty()) startOffset 324 Source/core/inspector/InspectorStyleSheet.cpp String commentText = m_parsedText.substring(startOffset, offset - startOffset); startOffset 353 Source/core/inspector/InspectorStyleSheet.cpp CSSPropertySourceData(propertyData.name, propertyData.value, false, true, true, SourceRange(startOffset - topRuleBodyRangeStart, offset - topRuleBodyRangeStart))); startOffset 429 Source/core/page/DOMSelection.cpp RefPtrWillBeRawPtr<Range> merged = Range::create(originalRange->startContainer()->document(), start->startContainer(), start->startOffset(), end->endContainer(), end->endOffset()); startOffset 453 Source/core/page/DOMSelection.cpp setBaseAndExtent(selectedRange->startContainer(ASSERT_NO_EXCEPTION), selectedRange->startOffset(), selectedRange->startContainer(), selectedRange->startOffset(), ASSERT_NO_EXCEPTION); startOffset 474 Source/core/page/DOMSelection.cpp bool nodeFullySelected = Range::compareBoundaryPoints(parentNode, nodeIndex, selectedRange->startContainer(), selectedRange->startOffset(), exceptionState) >= 0 && !exceptionState.hadException() startOffset 482 Source/core/page/DOMSelection.cpp || (Range::compareBoundaryPoints(parentNode, nodeIndex + 1, selectedRange->startContainer(), selectedRange->startOffset(), exceptionState) < 0 && !exceptionState.hadException()); startOffset 456 Source/core/page/EventHandler.cpp start.moveToOffset(markers[0]->startOffset()); startOffset 391 Source/core/rendering/InlineTextBox.cpp int startOffset, int endOffset, int truncationPoint, startOffset 414 Source/core/rendering/InlineTextBox.cpp if (startOffset <= endOffset) { startOffset 415 Source/core/rendering/InlineTextBox.cpp textRunPaintInfo.from = startOffset; startOffset 430 Source/core/rendering/InlineTextBox.cpp if (startOffset < truncationPoint) { startOffset 431 Source/core/rendering/InlineTextBox.cpp textRunPaintInfo.from = startOffset; startOffset 709 Source/core/rendering/InlineTextBox.cpp int startOffset = 0; startOffset 713 Source/core/rendering/InlineTextBox.cpp startOffset = 0; startOffset 717 Source/core/rendering/InlineTextBox.cpp startOffset = ePos; startOffset 721 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, startOffset, endOffset, paintRunLength, emphasisMarkTextOrigin, boxRect, textShadow, textStrokeWidth > 0, isHorizontal()); startOffset 743 Source/core/rendering/InlineTextBox.cpp int startOffset = combinedText ? 0 : sPos; startOffset 746 Source/core/rendering/InlineTextBox.cpp paintTextWithShadows(context, rendererToUse, combinedText ? combinedText->originalFont() : font, emphasisMarkTextRun, emphasisMark, emphasisMarkOffset, startOffset, endOffset, paintRunLength, emphasisMarkTextOrigin, boxRect, selectionShadow, selectionStrokeWidth > 0, isHorizontal()); startOffset 780 Source/core/rendering/InlineTextBox.cpp if (underline.startOffset <= end()) { startOffset 1218 Source/core/rendering/InlineTextBox.cpp if (m_start <= (int)marker->startOffset()) startOffset 1226 Source/core/rendering/InlineTextBox.cpp int startPosition = max<int>(marker->startOffset() - m_start, 0); startOffset 1279 Source/core/rendering/InlineTextBox.cpp int sPos = max(marker->startOffset() - m_start, (unsigned)0); startOffset 1333 Source/core/rendering/InlineTextBox.cpp if (marker->startOffset() > end()) startOffset 1365 Source/core/rendering/InlineTextBox.cpp if (paintStart <= underline.startOffset) { startOffset 1366 Source/core/rendering/InlineTextBox.cpp paintStart = underline.startOffset; startOffset 3392 Source/core/rendering/RenderBlock.cpp LayoutUnit startOffset = max(isHorizontal ? r.y() : r.x(), beforeBorderPadding); startOffset 3396 Source/core/rendering/RenderBlock.cpp unsigned startColumn = (startOffset - beforeBorderPadding) / colHeight; startOffset 463 Source/core/rendering/RenderBlockLineLayout.cpp if (wordMeasurement.width <=0 || wordMeasurement.startOffset == wordMeasurement.endOffset) startOffset 465 Source/core/rendering/RenderBlockLineLayout.cpp if (wordMeasurement.renderer != renderer || wordMeasurement.startOffset != lastEndOffset || wordMeasurement.endOffset > run->m_stop) startOffset 470 Source/core/rendering/RenderBlockLineLayout.cpp int wordLength = lastEndOffset - wordMeasurement.startOffset; startOffset 471 Source/core/rendering/RenderBlockLineLayout.cpp measuredWidth += renderer->width(wordMeasurement.startOffset, wordLength, xPos, run->direction(), lineInfo.isFirstLine()); startOffset 472 Source/core/rendering/RenderBlockLineLayout.cpp if (i > 0 && wordLength == 1 && renderer->characterAt(wordMeasurement.startOffset) == ' ') startOffset 1742 Source/core/rendering/RenderBox.cpp LayoutUnit startOffset = cb->startOffsetForLine(logicalTopPosition, false); startOffset 1743 Source/core/rendering/RenderBox.cpp if (startOffset > startContentSideWithMargin) startOffset 1746 Source/core/rendering/RenderBox.cpp result += startOffset - startContentSide; startOffset 1308 Source/core/rendering/RenderFlexibleBox.cpp LayoutUnit startOffset = maxAscent - ascent; startOffset 1309 Source/core/rendering/RenderFlexibleBox.cpp adjustAlignmentForChild(child, startOffset); startOffset 1312 Source/core/rendering/RenderFlexibleBox.cpp minMarginAfterBaseline = std::min(minMarginAfterBaseline, availableAlignmentSpaceForChild(lineCrossAxisExtent, child) - startOffset); startOffset 147 Source/core/rendering/RenderMediaControls.cpp int startOffset = startPosition; startOffset 155 Source/core/rendering/RenderMediaControls.cpp if (startOffset < borderRadius && rangeWidth < borderRadius) startOffset 162 Source/core/rendering/RenderMediaControls.cpp highlightRect.move(startOffset, 0); startOffset 181 Source/core/rendering/RenderMediaControls.cpp if (startOffset < borderRadius && endOffset < borderRadius) startOffset 183 Source/core/rendering/RenderMediaControls.cpp else if (startOffset < borderRadius) startOffset 131 Source/core/rendering/RenderMultiColumnSet.cpp LayoutUnit startOffset = index > 0 ? m_contentRuns[index - 1].breakOffset() : LayoutUnit(); startOffset 132 Source/core/rendering/RenderMultiColumnSet.cpp return std::max<LayoutUnit>(m_contentRuns[index].columnLogicalHeight(startOffset), m_minimumColumnHeight); startOffset 164 Source/core/rendering/RenderMultiColumnSet.h LayoutUnit columnLogicalHeight(LayoutUnit startOffset) const { return ceilf((m_breakOffset - startOffset).toFloat() / float(m_assumedImplicitBreaks + 1)); } startOffset 66 Source/core/rendering/RenderText.h void absoluteRectsForRange(Vector<IntRect>&, unsigned startOffset = 0, unsigned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); startOffset 69 Source/core/rendering/RenderText.h void absoluteQuadsForRange(Vector<FloatQuad>&, unsigned startOffset = 0, unsigned endOffset = INT_MAX, bool useSelectionHeight = false, bool* wasFixed = 0); startOffset 32 Source/core/rendering/RenderTextFragment.cpp RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str, int startOffset, int length) startOffset 33 Source/core/rendering/RenderTextFragment.cpp : RenderText(node, str ? str->substring(startOffset, length) : PassRefPtr<StringImpl>(nullptr)) startOffset 34 Source/core/rendering/RenderTextFragment.cpp , m_start(startOffset) startOffset 36 Source/core/rendering/RenderTextFragment.h RenderTextFragment(Node*, StringImpl*, int startOffset, int length); startOffset 752 Source/core/rendering/RenderView.cpp void RenderView::getSelection(RenderObject*& startRenderer, int& startOffset, RenderObject*& endRenderer, int& endOffset) const startOffset 755 Source/core/rendering/RenderView.cpp startOffset = m_selectionStartPos; startOffset 87 Source/core/rendering/RenderView.h void getSelection(RenderObject*& startRenderer, int& startOffset, RenderObject*& endRenderer, int& endOffset) const; startOffset 51 Source/core/rendering/line/BreakingContextInlineHeaders.h , startOffset(0) startOffset 58 Source/core/rendering/line/BreakingContextInlineHeaders.h int startOffset; startOffset 660 Source/core/rendering/line/BreakingContextInlineHeaders.h wordMeasurement.startOffset = lastSpace; startOffset 818 Source/core/rendering/line/BreakingContextInlineHeaders.h wordMeasurement.startOffset = lastSpace; startOffset 75 Source/core/rendering/svg/RenderSVGTextPath.cpp return toSVGTextPathElement(node())->startOffset()->currentValue()->valueAsPercentage(); startOffset 33 Source/core/rendering/svg/RenderSVGTextPath.h float startOffset() const; startOffset 711 Source/core/rendering/svg/SVGInlineTextBox.cpp int markerStartPosition = max<int>(marker->startOffset() - textBox->start(), 0); startOffset 415 Source/core/rendering/svg/SVGRenderTreeAsText.cpp unsigned startOffset = fragment.characterOffset; startOffset 434 Source/core/rendering/svg/SVGRenderTreeAsText.cpp startOffset -= textBox->start(); startOffset 439 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << " startOffset " << startOffset << " endOffset " << endOffset; startOffset 177 Source/core/rendering/svg/SVGTextLayoutEngine.cpp m_textPathStartOffset = textPath->startOffset(); startOffset 59 Source/core/svg/SVGTextPathElement.h SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } startOffset 876 Source/core/testing/Internals.cpp return Range::create(node->document(), node, marker->startOffset(), node, marker->endOffset()); startOffset 893 Source/core/testing/Internals.cpp void Internals::setMarkersActive(Node* node, unsigned startOffset, unsigned endOffset, bool active, ExceptionState& exceptionState) startOffset 900 Source/core/testing/Internals.cpp node->document().markers().setMarkersActive(node, startOffset, endOffset, active); startOffset 155 Source/core/testing/Internals.h void setMarkersActive(Node*, unsigned startOffset, unsigned endOffset, bool, ExceptionState&); startOffset 82 Source/platform/animation/TimingFunction.cpp double startOffset = 0; startOffset 85 Source/platform/animation/TimingFunction.cpp startOffset = 1; startOffset 88 Source/platform/animation/TimingFunction.cpp startOffset = 0.5; startOffset 91 Source/platform/animation/TimingFunction.cpp startOffset = 0; startOffset 97 Source/platform/animation/TimingFunction.cpp return std::min(1.0, floor((m_steps * fraction) + startOffset) / m_steps); startOffset 332 Source/platform/text/BidiResolver.h unsigned startOffset = m_sor.offset(); startOffset 340 Source/platform/text/BidiResolver.h if (endOffset >= startOffset) startOffset 341 Source/platform/text/BidiResolver.h m_runs.addRun(new Run(startOffset, endOffset + 1, context(), m_direction)); startOffset 161 Source/platform/text/TextRun.h TextRun subRun(unsigned startOffset, unsigned length) const startOffset 163 Source/platform/text/TextRun.h ASSERT(startOffset < m_len); startOffset 168 Source/platform/text/TextRun.h result.setText(data8(startOffset), length); startOffset 171 Source/platform/text/TextRun.h result.setText(data16(startOffset), length); startOffset 47 Source/web/CompositionUnderlineBuilder.h : WebCore::CompositionUnderline(u.startOffset, u.endOffset, startOffset 169 Source/web/ContextMenuClientImpl.cpp markerRange->setStart(markerRange->startContainer(), marker.startOffset()); startOffset 245 Source/web/TextFinder.cpp searchRange->setStart(m_resumeScopingFromRange->startContainer(), m_resumeScopingFromRange->startOffset(exceptionState2) + 1, exceptionState); startOffset 1218 Source/web/WebFrameImpl.cpp if (markers.size() < 1 || markers[0]->startOffset() >= markers[0]->endOffset()) startOffset 1220 Source/web/WebFrameImpl.cpp RefPtrWillBeRawPtr<Range> markerRange = Range::create(caretRange->ownerDocument(), caretRange->startContainer(), markers[0]->startOffset(), caretRange->endContainer(), markers[0]->endOffset()); startOffset 67 Source/web/WebRange.cpp return m_private->startOffset(); startOffset 2170 Source/web/WebViewImpl.cpp selectedRange->startOffset(), startOffset 2172 Source/web/WebViewImpl.cpp selectedRange->startOffset())); startOffset 2266 Source/web/WebViewImpl.cpp results[index] = WebCompositionUnderline(underline.startOffset, underline.endOffset, static_cast<WebColor>(underline.color.rgb()), underline.thick); startOffset 2996 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(5, range.startOffset()); startOffset 3006 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(5, range.startOffset()); startOffset 3016 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(5, range.startOffset()); startOffset 3026 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(0, range.startOffset()); startOffset 643 Source/web/tests/WebViewTest.cpp EXPECT_EQ(8u, underlineResults[0].startOffset); startOffset 676 Source/web/tests/WebViewTest.cpp EXPECT_EQ(2u, underlineResults[0].startOffset); startOffset 1475 Source/wtf/text/StringImpl.cpp ALWAYS_INLINE static bool equalInner(const StringImpl* stringImpl, unsigned startOffset, const char* matchString, unsigned matchLength, bool caseSensitive) startOffset 1479 Source/wtf/text/StringImpl.cpp ASSERT(startOffset + matchLength <= stringImpl->length()); startOffset 1483 Source/wtf/text/StringImpl.cpp return equal(stringImpl->characters8() + startOffset, reinterpret_cast<const LChar*>(matchString), matchLength); startOffset 1484 Source/wtf/text/StringImpl.cpp return equal(stringImpl->characters16() + startOffset, reinterpret_cast<const LChar*>(matchString), matchLength); startOffset 1487 Source/wtf/text/StringImpl.cpp return equalIgnoringCase(stringImpl->characters8() + startOffset, reinterpret_cast<const LChar*>(matchString), matchLength); startOffset 1488 Source/wtf/text/StringImpl.cpp return equalIgnoringCase(stringImpl->characters16() + startOffset, reinterpret_cast<const LChar*>(matchString), matchLength); startOffset 1524 Source/wtf/text/StringImpl.cpp unsigned startOffset = length() - matchLength; startOffset 1525 Source/wtf/text/StringImpl.cpp return equalInner(this, startOffset, matchString, matchLength, caseSensitive); startOffset 42 public/web/WebCompositionUnderline.h : startOffset(0) startOffset 48 public/web/WebCompositionUnderline.h : startOffset(s) startOffset 53 public/web/WebCompositionUnderline.h unsigned startOffset; startOffset 65 public/web/WebRange.h BLINK_EXPORT int startOffset() const;