/libcore/luni/src/test/java/tests/org/w3c/dom/ |
IsSupported.java | 59 Node rootNode; 62 rootNode = doc.getDocumentElement(); 63 state = rootNode.isSupported("XXX", "1.0"); 68 Node rootNode; 71 rootNode = doc.getDocumentElement(); 72 state = rootNode.isSupported("XML", "9.0"); 77 Node rootNode; 80 rootNode = doc.getDocumentElement(); 81 state = rootNode.isSupported("xml", "1.0"); 86 Node rootNode; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
SelectorQuery.cpp | 68 ClassElementList(ContainerNode& rootNode, const AtomicString& className) 70 , m_rootNode(&rootNode) 71 , m_currentElement(nextInternal(ElementTraversal::firstWithin(rootNode))) { } 118 inline bool SelectorDataList::selectorMatches(const CSSSelector& selector, Element& element, const ContainerNode& rootNode) const 123 selectorCheckingContext.scope = !rootNode.isDocumentNode() ? &rootNode : 0; 140 PassRefPtrWillBeRawPtr<StaticNodeList> SelectorDataList::queryAll(ContainerNode& rootNode) const 143 execute<AllElementsSelectorQueryTrait>(rootNode, result); 147 PassRefPtrWillBeRawPtr<Element> SelectorDataList::queryFirst(ContainerNode& rootNode) const 150 execute<SingleElementSelectorQueryTrait>(rootNode, matchedElement) [all...] |
SelectorQuery.h | 52 PassRefPtrWillBeRawPtr<StaticNodeList> queryAll(ContainerNode& rootNode) const; 53 PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const; 56 bool canUseFastQuery(const ContainerNode& rootNode) const; 60 void collectElementsByClassName(ContainerNode& rootNode, const AtomicString& className, typename SelectorQueryTrait::OutputType&) const; 62 void collectElementsByTagName(ContainerNode& rootNode, const QualifiedName& tagName, typename SelectorQueryTrait::OutputType&) const; 65 void findTraverseRootsAndExecute(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const; 69 void executeForTraverseRoot(const CSSSelector&, ContainerNode* traverseRoot, MatchTraverseRootState, ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const; 71 void executeForTraverseRoots(const CSSSelector&, SimpleElementListType& traverseRoots, MatchTraverseRootState, ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const; 74 bool selectorListMatches(ContainerNode& rootNode, Element&, typename SelectorQueryTrait::OutputType&) const; 76 void executeSlow(ContainerNode& rootNode, typename SelectorQueryTrait::OutputType&) const [all...] |
TagCollection.h | 36 static PassRefPtrWillBeRawPtr<TagCollection> create(ContainerNode& rootNode, const AtomicString& namespaceURI, const AtomicString& localName) 39 return adoptRefWillBeNoop(new TagCollection(rootNode, TagCollectionType, namespaceURI, localName)); 42 static PassRefPtrWillBeRawPtr<TagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName) 45 return adoptRefWillBeNoop(new TagCollection(rootNode, TagCollectionType, starAtom, localName)); 53 TagCollection(ContainerNode& rootNode, CollectionType, const AtomicString& namespaceURI, const AtomicString& localName); 63 static PassRefPtrWillBeRawPtr<HTMLTagCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& localName) 66 return adoptRefWillBeNoop(new HTMLTagCollection(rootNode, localName)); 72 HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName);
|
ChildNodeList.h | 36 static PassRefPtrWillBeRawPtr<ChildNodeList> create(ContainerNode& rootNode) 38 return adoptRefWillBeNoop(new ChildNodeList(rootNode)); 51 ContainerNode& rootNode() const { return ownerNode(); } 55 Node* traverseToFirstElement() const { return rootNode().firstChild(); } 56 Node* traverseToLastElement() const { return rootNode().lastChild(); } 63 explicit ChildNodeList(ContainerNode& rootNode);
|
TreeScope.cpp | 58 TreeScope::TreeScope(ContainerNode& rootNode, Document& document) 59 : m_rootNode(&rootNode) 67 ASSERT(rootNode != document); 104 if (rootNode().isShadowRoot()) { 105 if (ShadowRoot* olderShadowRoot = toShadowRoot(rootNode()).olderShadowRoot()) 122 return rootNode().hasTreeSharedParent(); 137 ASSERT(!rootNode().isDocumentNode()); 225 if (rootNode().document().isHTMLDocument()) 254 HitTestResult result = hitTestInDocument(&rootNode().document(), x, y); 287 for (HTMLLabelElement* label = Traversal<HTMLLabelElement>::firstWithin(rootNode()); label; label = Traversal<HTMLLabelElement>::next(*label)) [all...] |
NameNodeList.h | 35 static PassRefPtrWillBeRawPtr<NameNodeList> create(ContainerNode& rootNode, CollectionType type, const AtomicString& name) 38 return adoptRefWillBeNoop(new NameNodeList(rootNode, name)); 44 NameNodeList(ContainerNode& rootNode, const AtomicString& name);
|
EmptyNodeList.h | 42 static PassRefPtrWillBeRawPtr<EmptyNodeList> create(Node& rootNode) 44 return adoptRefWillBeNoop(new EmptyNodeList(rootNode)); 53 explicit EmptyNodeList(Node& rootNode) : m_owner(rootNode) { }
|
TagCollection.cpp | 32 TagCollection::TagCollection(ContainerNode& rootNode, CollectionType type, const AtomicString& namespaceURI, const AtomicString& localName) 33 : HTMLCollection(rootNode, type, DoesNotOverrideItemAfter) 59 HTMLTagCollection::HTMLTagCollection(ContainerNode& rootNode, const AtomicString& localName) 60 : TagCollection(rootNode, HTMLTagCollectionType, starAtom, localName)
|
NameNodeList.cpp | 34 NameNodeList::NameNodeList(ContainerNode& rootNode, const AtomicString& name) 35 : LiveNodeList(rootNode, NameNodeListType, InvalidateOnNameAttrChange)
|
ClassCollection.h | 43 static PassRefPtrWillBeRawPtr<ClassCollection> create(ContainerNode& rootNode, CollectionType type, const AtomicString& classNames) 46 return adoptRefWillBeNoop(new ClassCollection(rootNode, classNames)); 54 ClassCollection(ContainerNode& rootNode, const AtomicString& classNames);
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
xpath_util.js | 44 * Given an XPath expression and rootNode, it returns an array of children nodes 49 * @param {Node} rootNode The HTML node to start evaluating the XPath from. 52 cvox.XpathUtil.evalXPath = function(expression, rootNode) { 54 var xpathIterator = rootNode.ownerDocument.evaluate( 56 rootNode, 74 * Given a rootNode, it returns an array of all its leaf nodes. 75 * @param {Node} rootNode The node to get the leaf nodes from. 76 * @return {Array} The array of leaf nodes for the given rootNode. 78 cvox.XpathUtil.getLeafNodes = function(rootNode) { 80 var xpathIterator = rootNode.ownerDocument.evaluate [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowUriMatcher.java | 27 public MatchNode rootNode; 30 rootNode = new MatchNode(code); 35 MatchNode authNode = rootNode.map.get(authority); 37 authNode = new MatchNode(rootNode.code); 38 rootNode.map.put(authority, authNode); 50 if (!rootNode.map.containsKey(auth)) { 51 return rootNode.code; 54 return matchSegments(rootNode.map.get(auth), segments); 79 return rootNode.code; 89 nextNode = new MatchNode(rootNode.code) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/ |
DOMStorageItemsView.js | 77 this._dataGrid.rootNode().removeChildren(); 92 var rootNode = this._dataGrid.rootNode(); 93 var children = rootNode.children; 100 rootNode.removeChild(childNode); 116 var rootNode = this._dataGrid.rootNode(); 117 var children = rootNode.children; 127 rootNode.insertChild(childNode, children.length - 1); 139 var rootNode = this._dataGrid.rootNode() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasViewInfoTest.java | 81 UiViewElementNode rootNode = createNode("android.widget.LinearLayout", true); 82 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); 83 UiViewElementNode child1Node = createNode(rootNode, "android.widget.Button", false); 85 UiViewElementNode child2Node = createNode(rootNode, "android.widget.Button", false); 95 assertSame(rootView.getUiViewNode(), rootNode); 164 UiViewElementNode rootNode = createNode("android.widget.LinearLayout", true); 165 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); 166 UiViewElementNode child1Node = createNode(rootNode, "android.widget.Button", false); 168 UiViewElementNode child2Node = createNode(rootNode, "include", true); 180 assertSame(rootNode, rootView.getUiViewNode()) [all...] |
SelectionManagerTest.java | 46 UiViewElementNode rootNode = CanvasViewInfoTest.createNode("android.widget.LinearLayout", 48 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); 49 UiViewElementNode child1Node = CanvasViewInfoTest.createNode(rootNode, 52 UiViewElementNode child2Node = CanvasViewInfoTest.createNode(rootNode, 97 UiViewElementNode rootNode = CanvasViewInfoTest.createNode("android.widget.LinearLayout", 99 ViewInfo root = new ViewInfo("LinearLayout", rootNode, 10, 10, 100, 100); 100 UiViewElementNode child1Node = CanvasViewInfoTest.createNode(rootNode, 103 UiViewElementNode child2Node = CanvasViewInfoTest.createNode(rootNode,
|
/external/e2fsprogs/debugfs/ |
htree.c | 33 struct ext2_dx_root_info * rootnode, 62 hash_alg = rootnode->hash_version; 110 struct ext2_dx_root_info * rootnode, 116 struct ext2_dx_root_info * rootnode, 147 htree_dump_int_block(fs, ino, inode, rootnode, 150 htree_dump_leaf_node(fs, ino, inode, rootnode, 159 struct ext2_dx_root_info * rootnode, 186 htree_dump_int_node(fs, ino, inode, rootnode, 201 struct ext2_dx_root_info *rootnode; local 246 rootnode = (struct ext2_dx_root_info *) (buf + 24) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
isSupported12.java | 91 Node rootNode; 95 rootNode = doc.getDocumentElement(); 96 state = rootNode.isSupported("Core", "2.0"); 100 state = rootNode.isSupported(featureElement, "1.0"); 104 state = rootNode.isSupported(featureElement, "2.0");
|
isSupported13.java | 62 Node rootNode; 65 rootNode = doc.getDocumentElement(); 66 state = rootNode.isSupported("Core", "");
|
isSupported14.java | 62 Node rootNode; 67 rootNode = doc.getDocumentElement(); 68 state = rootNode.isSupported("Core", nullString);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodeelementnodetype.java | 62 Element rootNode; 65 rootNode = doc.getDocumentElement(); 66 nodeType = (int) rootNode.getNodeType();
|
nodeelementnodetype.java | 63 Element rootNode; 66 rootNode = doc.getDocumentElement(); 67 nodeType = (int) rootNode.getNodeType();
|
hc_noderemovechild.java | 66 Element rootNode; 72 rootNode = doc.getDocumentElement(); 73 childList = rootNode.getChildNodes(); 75 removedChild = rootNode.removeChild(childToRemove);
|
noderemovechild.java | 66 Element rootNode; 72 rootNode = doc.getDocumentElement(); 73 childList = rootNode.getChildNodes(); 75 removedChild = rootNode.removeChild(childToRemove);
|
/packages/apps/Mms/src/com/android/mms/dom/ |
NodeListImpl.java | 39 * @param rootNode The root <code>Node</code> of the search. 42 * @param deep Limit the search to the direct children of rootNode if false, 45 public NodeListImpl(Node rootNode, String tagName, boolean deepSearch) { 46 mRootNode = rootNode;
|