Lines Matching refs:XMLNode
558 sp<XMLNode> root = XMLNode::parse(file); in parseXMLResource()
586 sp<XMLNode> XMLNode::parse(const sp<AaptFile>& file) in parse()
632 XMLNode::XMLNode() in XMLNode() function in XMLNode
638 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode() function in XMLNode
654 XMLNode::XMLNode(const String8& filename) in XMLNode() function in XMLNode
660 XMLNode::type XMLNode::getType() const in getType()
671 const String16& XMLNode::getNamespacePrefix() const in getNamespacePrefix()
676 const String16& XMLNode::getNamespaceUri() const in getNamespaceUri()
681 const String16& XMLNode::getElementNamespace() const in getElementNamespace()
686 const String16& XMLNode::getElementName() const in getElementName()
691 const Vector<sp<XMLNode> >& XMLNode::getChildren() const in getChildren()
697 Vector<sp<XMLNode> >& XMLNode::getChildren() in getChildren()
702 const String8& XMLNode::getFilename() const in getFilename()
707 const Vector<XMLNode::attribute_entry>&
708 XMLNode::getAttributes() const in getAttributes()
713 const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns, in getAttribute()
726 bool XMLNode::removeAttribute(const String16& ns, const String16& name) in removeAttribute()
738 XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns, in editAttribute()
751 const String16& XMLNode::getCData() const in getCData()
756 const String16& XMLNode::getComment() const in getComment()
761 int32_t XMLNode::getStartLineNumber() const in getStartLineNumber()
766 int32_t XMLNode::getEndLineNumber() const in getEndLineNumber()
771 sp<XMLNode> XMLNode::searchElement(const String16& tagNamespace, const String16& tagName) in searchElement()
773 if (getType() == XMLNode::TYPE_ELEMENT in searchElement()
780 sp<XMLNode> found = mChildren.itemAt(i)->searchElement(tagNamespace, tagName); in searchElement()
789 sp<XMLNode> XMLNode::getChildElement(const String16& tagNamespace, const String16& tagName) in getChildElement()
792 sp<XMLNode> child = mChildren.itemAt(i); in getChildElement()
793 if (child->getType() == XMLNode::TYPE_ELEMENT in getChildElement()
803 status_t XMLNode::addChild(const sp<XMLNode>& child) in addChild()
814 status_t XMLNode::insertChildAt(const sp<XMLNode>& child, size_t index) in insertChildAt()
825 status_t XMLNode::addAttribute(const String16& ns, const String16& name, in addAttribute()
845 status_t XMLNode::removeAttribute(size_t index) in removeAttribute()
871 void XMLNode::setAttributeResID(size_t attrIdx, uint32_t resId) in setAttributeResID()
890 status_t XMLNode::appendChars(const String16& chars) in appendChars()
900 status_t XMLNode::appendComment(const String16& comment) in appendComment()
909 void XMLNode::setStartLineNumber(int32_t line) in setStartLineNumber()
914 void XMLNode::setEndLineNumber(int32_t line) in setEndLineNumber()
919 void XMLNode::removeWhitespace(bool stripAll, const char** cDataTags) in removeWhitespace()
934 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace()
977 status_t XMLNode::parseValues(const sp<AaptAssets>& assets, in parseValues()
1013 status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets, in assignResourceIds()
1068 sp<XMLNode> XMLNode::clone() const { in clone()
1069 sp<XMLNode> copy = new XMLNode(); in clone()
1092 status_t XMLNode::flatten(const sp<AaptFile>& dest, in flatten()
1149 void XMLNode::print(int indent) in print()
1215 XMLNode::startNamespace(void *userData, const char *prefix, const char *uri) in startNamespace()
1221 sp<XMLNode> node = XMLNode::newNamespace(st->filename, in startNamespace()
1233 XMLNode::startElement(void *userData, const char *name, const char **atts) in startElement()
1241 sp<XMLNode> node = XMLNode::newElement(st->filename, ns16, name16); in startElement()
1261 XMLNode::characterData(void *userData, const XML_Char *s, int len) in characterData()
1267 sp<XMLNode> node = NULL; in characterData()
1271 sp<XMLNode> parent = st->stack.itemAt(st->stack.size()-1); in characterData()
1281 node = XMLNode::newCData(st->filename); in characterData()
1290 XMLNode::endElement(void *userData, const char *name) in endElement()
1296 sp<XMLNode> node = st->stack.itemAt(st->stack.size()-1); in endElement()
1311 XMLNode::endNamespace(void *userData, const char *prefix) in endNamespace()
1318 sp<XMLNode> node = st->stack.itemAt(st->stack.size()-1); in endNamespace()
1326 XMLNode::commentData(void *userData, const char *comment) in commentData()
1338 status_t XMLNode::collect_strings(StringPool* dest, Vector<uint32_t>* outResIds, in collect_strings()
1393 status_t XMLNode::collect_attr_strings(StringPool* outPool, in collect_attr_strings()
1448 status_t XMLNode::collect_resid_strings(StringPool* outPool, in collect_resid_strings()
1462 status_t XMLNode::flatten_node(const StringPool& strings, const sp<AaptFile>& dest, in flatten_node()