Lines Matching refs:XMLNode

46     sp<XMLNode> root = XMLNode::parse(target);  in compileXmlFile()
62 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile()
73 const sp<XMLNode>& root, in compileXmlFile()
4761 const sp<AaptFile>& target, const sp<XMLNode>& root) { in versionForCompat()
4762 XMLNode* node = root.get(); in versionForCompat()
4763 while (node->getType() != XMLNode::TYPE_ELEMENT) { in versionForCompat()
4833 const sp<XMLNode>& root) { in modifyForCompat()
4855 sp<XMLNode> newRoot = NULL; in modifyForCompat()
4858 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat()
4861 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat()
4879 const Vector<XMLNode::attribute_entry>& attrs = node->getAttributes(); in modifyForCompat()
4881 const XMLNode::attribute_entry& attr = attrs[i]; in modifyForCompat()
4907 const Vector<sp<XMLNode> >& children = node->getChildren(); in modifyForCompat()
5019 static sp<XMLNode> findOnlyChildElement(const sp<XMLNode>& parent) { in findOnlyChildElement()
5020 const Vector<sp<XMLNode> >& children = parent->getChildren(); in findOnlyChildElement()
5021 sp<XMLNode> onlyChild; in findOnlyChildElement()
5023 if (children[i]->getType() != XMLNode::TYPE_CDATA) { in findOnlyChildElement()
5069 const sp<XMLNode>& root) { in processBundleFormat()
5070 Vector<sp<XMLNode> > namespaces; in processBundleFormat()
5071 if (root->getType() == XMLNode::TYPE_NAMESPACE) { in processBundleFormat()
5080 const sp<XMLNode>& parent, in processBundleFormatImpl()
5081 Vector<sp<XMLNode> >* namespaces) { in processBundleFormatImpl()
5087 Vector<sp<XMLNode> >& children = parent->getChildren(); in processBundleFormatImpl()
5089 const sp<XMLNode>& child = children[i]; in processBundleFormatImpl()
5091 if (child->getType() == XMLNode::TYPE_CDATA) { in processBundleFormatImpl()
5093 } else if (child->getType() == XMLNode::TYPE_NAMESPACE) { in processBundleFormatImpl()
5105 if (child->getType() == XMLNode::TYPE_NAMESPACE) { in processBundleFormatImpl()
5114 sp<XMLNode> nestedRoot = findOnlyChildElement(child); in processBundleFormatImpl()
5124 const XMLNode::attribute_entry* attr = child->getAttribute(String16(), kName16); in processBundleFormatImpl()
5219 const sp<XMLNode>& ns = namespaces->itemAt(nsIndex - 1); in processBundleFormatImpl()
5220 sp<XMLNode> newNs = XMLNode::newNamespace(ns->getFilename(), ns->getNamespacePrefix(), in processBundleFormatImpl()