/external/webkit/WebCore/editing/ |
BreakBlockquoteCommand.cpp | 132 // Build up list of ancestors in between the start node and the top blockquote. 133 Vector<Element*> ancestors; local 135 ancestors.append(node); 141 // Clone startNode's ancestors into the cloned blockquote. 143 // that was cloned (i.e. the clone of either ancestors.last() 144 // or clonedBlockquote if ancestors is empty). 146 for (size_t i = ancestors.size(); i != 0; --i) { 147 RefPtr<Element> clonedChild = ancestors[i - 1]->cloneElementWithoutChildren(); 150 Node* listChildNode = i > 1 ? ancestors[i - 2] : startNode; 172 if (!ancestors.isEmpty()) [all...] |
InsertParagraphSeparatorCommand.cpp | 122 void InsertParagraphSeparatorCommand::getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<Element*>& ancestors) 124 ancestors.clear(); 126 // Build up list of ancestors elements between the insertion node and the outer block. 129 ancestors.append(n); 133 PassRefPtr<Element> InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock(const Vector<Element*>& ancestors, PassRefPtr<Element> blockToInsert) 135 // Make clones of ancestors in between the start node and the start block. 137 for (size_t i = ancestors.size(); i != 0; --i) { 138 RefPtr<Element> child = ancestors[i - 1]->cloneElementWithoutChildren(); 244 Vector<Element*> ancestors; local 245 getAncestorsInsideBlock(insertionPosition.node(), startBlock, ancestors); 275 Vector<Element*> ancestors; local 308 Vector<Element*> ancestors; local [all...] |
CompositeEditCommand.cpp | 754 Vector<RefPtr<Node> > ancestors; local 758 ancestors.append(n); 762 for (size_t i = ancestors.size(); i != 0; --i) { 763 Node* item = ancestors[i - 1].get(); [all...] |
/libcore/luni/src/main/java/java/util/prefs/ |
XMLParser.java | 179 StringTokenizer ancestors = new StringTokenizer(prefs.absolutePath(), "/"); local 180 exportNode(ancestors, prefs, withSubTree, out); 188 private static void exportNode(StringTokenizer ancestors, 191 if (ancestors.hasMoreTokens()) { 192 String name = ancestors.nextToken(); 194 if (ancestors.hasMoreTokens()) { 196 exportNode(ancestors, prefs, withSubTree, out);
|
/external/webkit/WebCore/inspector/ |
InspectorDOMAgent.cpp | 380 // The Node's Event Ancestors (not including self) 381 Vector<RefPtr<ContainerNode> > ancestors; local 382 node->eventAncestors(ancestors); 386 for (size_t i = ancestors.size(); i; --i) { 387 ContainerNode* ancestor = ancestors[i - 1].get();
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
ElemNumber.java | 173 * Only ancestors that are searched are 186 * Only ancestors that are searched are 203 * Only ancestors that are searched are 222 * attribute is specified, then the only ancestors that are searched are those 226 * When level="multiple", it constructs a list of all ancestors of the current node 230 * If the from attribute is specified, then the only ancestors that are searched are 819 NodeVector ancestors = local 822 int lastIndex = ancestors.size() - 1; 830 int target = ancestors.elementAt(i); 965 * Get the ancestors, up to the root, that match th 982 NodeSetDTM ancestors = new NodeSetDTM(xctxt.getDTMManager()); local [all...] |
/external/webkit/WebCore/dom/ |
Node.cpp | 1130 // newChild node, or if the node to append is one of this node's ancestors. 2682 Vector<RefPtr<ContainerNode> > ancestors; local [all...] |