Home
last modified time | relevance | path

Searched refs:ancestors (Results 1 – 25 of 45) sorted by relevance

12

/external/webkit/Source/WebCore/editing/
DBreakBlockquoteCommand.cpp129 Vector<Element*> ancestors; in doApply() local
131 ancestors.append(node); in doApply()
142 for (size_t i = ancestors.size(); i != 0; --i) { in doApply()
143 RefPtr<Element> clonedChild = ancestors[i - 1]->cloneElementWithoutChildren(); in doApply()
146 Node* listChildNode = i > 1 ? ancestors[i - 2] : startNode; in doApply()
168 if (!ancestors.isEmpty()) { in doApply()
175 for (ancestor = ancestors.first(), clonedParent = clonedAncestor->parentElement(); in doApply()
188 Node* originalParent = ancestors.first(); in doApply()
DInsertParagraphSeparatorCommand.cpp122 …etAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<Element*>& ancestors) in getAncestorsInsideBlock() argument
124 ancestors.clear(); in getAncestorsInsideBlock()
129 ancestors.append(n); in getAncestorsInsideBlock()
133 …phSeparatorCommand::cloneHierarchyUnderNewBlock(const Vector<Element*>& ancestors, PassRefPtr<Elem… in cloneHierarchyUnderNewBlock() argument
137 for (size_t i = ancestors.size(); i != 0; --i) { in cloneHierarchyUnderNewBlock()
138 RefPtr<Element> child = ancestors[i - 1]->cloneElementWithoutChildren(); in cloneHierarchyUnderNewBlock()
241 Vector<Element*> ancestors; in doApply() local
242 …sideBlock(positionOutsideTabSpan(insertionPosition).deprecatedNode(), startBlock, ancestors); in doApply()
243 RefPtr<Element> parent = cloneHierarchyUnderNewBlock(ancestors, blockToInsert); in doApply()
275 Vector<Element*> ancestors; in doApply() local
[all …]
DInsertParagraphSeparatorCommand.h49 …tAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<Element*>& ancestors);
50 …PassRefPtr<Element> cloneHierarchyUnderNewBlock(const Vector<Element*>& ancestors, PassRefPtr<Elem…
DCompositeEditCommand.cpp785 Vector<RefPtr<Node> > ancestors; in cloneParagraphUnderNewElement() local
789 ancestors.append(n); in cloneParagraphUnderNewElement()
793 for (size_t i = ancestors.size(); i != 0; --i) { in cloneParagraphUnderNewElement()
794 Node* item = ancestors[i - 1].get(); in cloneParagraphUnderNewElement()
/external/webkit/Source/WebCore/dom/
DEventDispatcher.cpp184 inline static bool ancestorsCrossShadowBoundaries(const Vector<EventContext>& ancestors) in ancestorsCrossShadowBoundaries() argument
186 return ancestors.isEmpty() || ancestors.first().node() == ancestors.last().node(); in ancestorsCrossShadowBoundaries()
DRange.cpp863 Vector<RefPtr<Node> > ancestors; in processAncestorsAndTheirSiblings() local
865 ancestors.append(n); in processAncestorsAndTheirSiblings()
868 … for (Vector<RefPtr<Node> >::const_iterator it = ancestors.begin(); it != ancestors.end(); it++) { in processAncestorsAndTheirSiblings()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTree.cs404 List<ITree> ancestors = new List<ITree>(); in GetAncestors()
408 ancestors.Insert(0, t); // insert at start in GetAncestors()
411 return ancestors; in GetAncestors()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTree.cs484 List<ITree> ancestors = new List<ITree>(); in GetAncestors()
489 ancestors.Insert( 0, t ); // insert at start in GetAncestors()
492 return ancestors; in GetAncestors()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTree.java331 List ancestors = new ArrayList(); in getAncestors()
335 ancestors.add(0, t); // insert at start in getAncestors()
338 return ancestors; in getAncestors()
/external/webkit/Source/WebCore/inspector/front-end/
Dtreeoutline.js307 var ancestors = [];
310 ancestors.unshift(currentObject);
317 for (var i = 0; i < ancestors.length; ++i) {
320 if (ancestors[i] === representedObject)
324 item = this.findTreeElement(ancestors[i], isAncestor, getParent);
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DBaseTree.as279 /** Return a list of all ancestors of this node. The first node of
282 public function get ancestors():Array {
284 var ancestors:Array = new Array();
288 ancestors.unshift(t); // insert at start
291 return ancestors;
DTree.as30 /** Return a list of all ancestors of this node. The first node of
33 function get ancestors():Array;
/external/webkit/Source/WebCore/inspector/
DInspectorInstrumentation.cpp77 …onst AtomicString& eventType, DOMWindow* window, Node* node, const Vector<EventContext>& ancestors) in eventHasListeners() argument
85 for (size_t i = 0; i < ancestors.size(); i++) { in eventHasListeners()
86 Node* ancestor = ancestors[i].node(); in eventHasListeners()
243 …torAgent, const Event& event, DOMWindow* window, Node* node, const Vector<EventContext>& ancestors) in willDispatchEventImpl() argument
249 if (timelineAgent && eventHasListeners(event.type(), window, node, ancestors)) { in willDispatchEventImpl()
DInspectorInstrumentation.h96 …cument*, const Event& event, DOMWindow* window, Node* node, const Vector<EventContext>& ancestors);
215 …rAgent*, const Event& event, DOMWindow* window, Node* node, const Vector<EventContext>& ancestors);
475 …document, const Event& event, DOMWindow* window, Node* node, const Vector<EventContext>& ancestors) in willDispatchEvent() argument
479 return willDispatchEventImpl(inspectorAgent, event, window, node, ancestors); in willDispatchEvent()
DInspectorDOMAgent.cpp736 Vector<ContainerNode*> ancestors; in getEventListenersForNode() local
738 ancestors.append(ancestor); in getEventListenersForNode()
742 for (size_t i = ancestors.size(); i; --i) { in getEventListenersForNode()
743 ContainerNode* ancestor = ancestors[i - 1]; in getEventListenersForNode()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java819 NodeVector ancestors = in getCountString() local
822 int lastIndex = ancestors.size() - 1; in getCountString()
830 int target = ancestors.elementAt(i); in getCountString()
982 NodeSetDTM ancestors = new NodeSetDTM(xctxt.getDTMManager()); in getMatchingAncestors() local
1010 ancestors.addElement(node); in getMatchingAncestors()
1019 return ancestors; in getMatchingAncestors()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBaseTree.m429 /** Return a list of all ancestors of this node. The first node of
436 AMutableArray *ancestors = [AMutableArray arrayWithCapacity:5];
440 [ancestors insertObject:t atIndex:0]; // insert at start
443 return ancestors;
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Dtree.py912 ancestors = []
915 ancestors.insert(0, t) # insert at start
918 return ancestors
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/
Dprototype-1.6.0.3.js1698 ancestors: function(element) { method
1741 var ancestors = element.ancestors();
1742 return Object.isNumber(expression) ? ancestors[expression] :
1743 Selector.findElement(ancestors, expression, index);
3868 var elements = [element].concat(element.ancestors());
Dconcat-jquery-mootools-prototype.js10077 ancestors: function(element) { method
10120 var ancestors = element.ancestors();
10121 return Object.isNumber(expression) ? ancestors[expression] :
10122 Selector.findElement(ancestors, expression, index);
12247 var elements = [element].concat(element.ancestors());
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Dtree.rb277 def ancestors method
/external/webkit/Source/WebCore/css/
DCSSStyleSelector.cpp657 Vector<Element*, 30> ancestors; in pushParent() local
659 ancestors.append(ancestor); in pushParent()
660 int count = ancestors.size(); in pushParent()
662 pushParentStackFrame(ancestors[n]); in pushParent()
/external/libmtp/
DREADME10 libmtp is based on several ancestors:
/external/antlr/antlr-3.4/tool/
DCHANGES.txt524 /** Return a list of all ancestors of this node. The first node of
/external/webkit/Source/WebCore/
DChangeLog-2007-10-149772 their ancestors (up to and including the table tag) as
10959 …ect is inherited, you don't need to walk up the render tree looking for ancestors with user-select…
34335 out to its sibling or one of its ancestors' siblings. We
47306 We stopped adding markup for all the ancestors
47557 special ancestors as long as they are inline when annotation is off.
47788 and the ancestors of lastClosed up to them because it
47794 including special common ancestors a bit.
48928 (WebCore::createMarkup): Only add markup for ancestors of
50361 For Elements, don't inline styles inherited from ancestors.
50367 Added a FIXME about unecessary markup for inline ancestors
[all …]

12