/external/webkit/Source/WebCore/editing/ |
InsertTextCommand.cpp | 127 // If the caret is just before a placeholder, downstream will normalize the caret to it. 128 Position downstream(startPosition.downstream()); 129 if (lineBreakExistsAtPosition(downstream)) { 133 placeholder = downstream; 145 deleteInsignificantText(startPosition.upstream(), startPosition.downstream()); 149 startPosition = startPosition.downstream(); 207 Position insertPos = VisiblePosition(pos, DOWNSTREAM).deepEquivalent();
|
CompositeEditCommand.cpp | 454 // Set upstream and downstream to define the extent of the whitespace surrounding text[offset]. 459 int downstream = endOffset; local 460 while ((unsigned)downstream < text.length() && isWhitespace(text[downstream])) 461 downstream++; 463 int length = downstream - upstream; 468 VisiblePosition visibleDownstreamPos(Position(textNode, downstream, Position::PositionIsOffsetInAnchor)); 475 isEndOfParagraph(visibleDownstreamPos) || (unsigned)downstream == text.length()); 496 deleteInsignificantText(position.upstream(), position.downstream()); 497 position = upstreamPos.downstream(); [all...] |
htmlediting.cpp | 245 Position downstreamStart = p.downstream(); 248 if (p.isCandidate() && p.downstream() != downstreamStart) 268 Position downstreamStart = p.downstream(); 271 if (p.isCandidate() && p.downstream() != downstreamStart) 438 VisiblePosition vPos = VisiblePosition(pos, DOWNSTREAM); 439 VisiblePosition firstInElement = VisiblePosition(firstPositionInOrBeforeNode(n), DOWNSTREAM); 454 VisiblePosition vPos = VisiblePosition(pos, DOWNSTREAM); 455 VisiblePosition lastInElement = VisiblePosition(Position(n, n->childNodeCount(), Position::PositionIsOffsetInAnchor), DOWNSTREAM); 520 Position downstream(visiblePosition.deepEquivalent().downstream()); [all...] |
VisiblePosition.cpp | 58 // When not at a line wrap, make sure to end up with DOWNSTREAM affinity. 59 if (m_affinity == UPSTREAM && (isNull() || inSameLine(VisiblePosition(position, DOWNSTREAM), *this))) 60 m_affinity = DOWNSTREAM; 86 VisiblePosition prev = VisiblePosition(pos, DOWNSTREAM); 90 // we should always be able to make the affinity DOWNSTREAM, because going previous from an 111 Position downstreamStart = p.downstream(); 234 if ((p.isCandidate() && p.downstream() != downstreamStart) || p.atStartOfTree() || p.atEndOfTree()) 246 VisiblePosition left = VisiblePosition(pos, DOWNSTREAM); 262 Position downstreamStart = p.downstream(); 386 if ((p.isCandidate() && p.downstream() != downstreamStart) || p.atStartOfTree() || p.atEndOfTree() [all...] |
InsertParagraphSeparatorCommand.cpp | 183 insertionPosition = insertionPosition.downstream(); 247 setEndingSelection(VisibleSelection(firstPositionInNode(parent.get()), DOWNSTREAM)); 269 insertionPosition = insertionPosition.downstream(); 281 setEndingSelection(VisibleSelection(insertionPosition, DOWNSTREAM)); 298 // Move downstream. Typing style code will take care of carrying along the 300 insertionPosition = insertionPosition.downstream(); 308 // FIXME: We need the affinity for pos, but pos.downstream() does not give it 380 setEndingSelection(VisibleSelection(firstPositionInNode(blockToInsert.get()), DOWNSTREAM));
|
DeleteSelectionCommand.cpp | 180 m_downstreamStart = start.downstream(); 182 m_downstreamEnd = end.downstream(); 241 m_downstreamStart = pos.downstream(); 250 // Expand out one character downstream for smart delete and recalculate 254 m_downstreamEnd = pos.downstream(); 625 if (mergeDestination.deepEquivalent().downstream().deprecatedNode()->hasTagName(brTag)) { 626 removeNodeAndPruneAncestors(mergeDestination.deepEquivalent().downstream().deprecatedNode()); [all...] |
BreakBlockquoteCommand.cpp | 64 // pos is a position equivalent to the caret. We use downstream() so that pos will 66 Position pos = endingSelection().start().downstream(); 81 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM)); 91 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM)); 197 setEndingSelection(VisibleSelection(positionBeforeNode(breakNode.get()), DOWNSTREAM));
|
ReplaceSelectionCommand.cpp | [all...] |
TypingCommand.cpp | 463 setEndingSelection(VisibleSelection(firstPositionInNode(root), DOWNSTREAM)); 521 setEndingSelection(VisibleSelection(positionBeforeNode(table), endingSelection().start(), DOWNSTREAM)); 590 Position downstreamEnd = endingSelection().end().downstream(); 593 downstreamEnd = visibleEnd.next(CannotCrossEditingBoundary).deepEquivalent().downstream(); 596 setEndingSelection(VisibleSelection(endingSelection().end(), positionAfterNode(downstreamEnd.deprecatedNode()), DOWNSTREAM));
|
VisibleSelection.cpp | 44 : m_affinity(DOWNSTREAM) 93 return VisibleSelection(firstPositionInNode(node), lastPositionInNode(node), DOWNSTREAM); 164 s = m_start.downstream(); 406 m_affinity = DOWNSTREAM; 425 m_start = m_start.downstream(); 440 ASSERT(m_affinity == DOWNSTREAM);
|
ApplyBlockElementCommand.cpp | 92 setEndingSelection(VisibleSelection(startRange->startPosition(), endRange->startPosition(), DOWNSTREAM)); 99 Position start = startOfSelection.deepEquivalent().downstream(); 105 setEndingSelection(VisibleSelection(positionBeforeNode(placeholder.get()), DOWNSTREAM));
|
ApplyStyleCommand.cpp | 126 , m_start(endingSelection().start().downstream()) 154 , m_start(endingSelection().start().downstream()) 168 , m_start(endingSelection().start().downstream()) 597 embeddingRemoveEnd = positionInParentBeforeNode(endUnsplitAncestor).downstream(); [all...] |
markup.cpp | 441 Node* downstreamNode = v.deepEquivalent().downstream().deprecatedNode(); [all...] |
Editor.cpp | 267 VisiblePosition start(Position(startContainer, range->startOffset(ec), Position::PositionIsOffsetInAnchor), DOWNSTREAM); 572 Position position = m_frame->selection()->selection().start().downstream(); 658 startNode = m_frame->selection()->selection().start().downstream().deprecatedNode(); [all...] |
SelectionController.cpp | [all...] |
/external/webkit/Source/WebCore/dom/ |
Position.h | 154 Position downstream(EditingBoundaryCrossingRule = CannotCrossEditingBoundary) const;
|
Position.cpp | 347 Position nextPosition = downstream(CanCrossEditingBoundary); 498 // upstream() and downstream() want to return positions that are either in a 511 // This function and downstream() are used for moving back and forth between visually equivalent candidates. 514 // and downstream() will return the right one. 637 // Also, downstream() will return the last position in the last atomic node in boundary for all of the positions 639 Position Position::downstream(EditingBoundaryCrossingRule rule) const function in class:WebCore::Position [all...] |
Range.cpp | [all...] |
/external/v8/benchmarks/ |
deltablue.js | 599 * unsatisfiable downstream constraint to be satisfied. We therefore collect 600 * a list of unsatisfied downstream constraints and attempt to 680 * downstream of the given constraint and recompute the actual 685 * encountered downstream of the given constraint. The sender is 687 * the given mark. Thus, encountering a marked node downstream of 709 * downstream of the given constraint. Answer a collection of
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-deltablue.js | 593 * unsatisfiable downstream constraint to be satisfied. We therefore collect 594 * a list of unsatisfied downstream constraints and attempt to 674 * downstream of the given constraint and recompute the actual 679 * encountered downstream of the given constraint. The sender is 681 * the given mark. Thus, encountering a marked node downstream of 703 * downstream of the given constraint. Answer a collection of
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-deltablue.js | 593 * unsatisfiable downstream constraint to be satisfied. We therefore collect 594 * a list of unsatisfied downstream constraints and attempt to 674 * downstream of the given constraint and recompute the actual 679 * encountered downstream of the given constraint. The sender is 681 * the given mark. Thus, encountering a marked node downstream of 703 * downstream of the given constraint. Answer a collection of
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-deltablue.js | 593 * unsatisfiable downstream constraint to be satisfied. We therefore collect 594 * a list of unsatisfied downstream constraints and attempt to 674 * downstream of the given constraint and recompute the actual 679 * encountered downstream of the given constraint. The sender is 681 * the given mark. Thus, encountering a marked node downstream of 703 * downstream of the given constraint. Answer a collection of
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
base.py | 691 it is possible that you might need "downstream" expectations that [all...] |
/external/oprofile/events/mips/74K/ |
events | 30 event:0xc counters:0,2 um:zero minimum:500 name:IFU_IDU_CLOGED_DOWNSTREAM_CYCLES : 12-0 Cycles IFU-IDU gate is closed (waiting for downstream to unclog) due to MTC0/MFC0 sequence in pipe, EHB, or blocked DD, DR, or DS
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebFrame.mm | 745 Position newStart = start.upstream().leadingWhitespacePosition(DOWNSTREAM, true); 748 Position newEnd = end.downstream().trailingWhitespacePosition(DOWNSTREAM, true); [all...] |