Lines Matching refs:XMLNode
555 sp<XMLNode> root = XMLNode::parse(file); in parseXMLResource()
583 sp<XMLNode> XMLNode::parse(const sp<AaptFile>& file) in parse()
629 XMLNode::XMLNode() in XMLNode() function in XMLNode
635 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode() function in XMLNode
651 XMLNode::XMLNode(const String8& filename) in XMLNode() function in XMLNode
657 XMLNode::type XMLNode::getType() const in getType()
668 const String16& XMLNode::getNamespacePrefix() const in getNamespacePrefix()
673 const String16& XMLNode::getNamespaceUri() const in getNamespaceUri()
678 const String16& XMLNode::getElementNamespace() const in getElementNamespace()
683 const String16& XMLNode::getElementName() const in getElementName()
688 const Vector<sp<XMLNode> >& XMLNode::getChildren() const in getChildren()
694 Vector<sp<XMLNode> >& XMLNode::getChildren() in getChildren()
699 const String8& XMLNode::getFilename() const in getFilename()
704 const Vector<XMLNode::attribute_entry>&
705 XMLNode::getAttributes() const in getAttributes()
710 const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns, in getAttribute()
723 bool XMLNode::removeAttribute(const String16& ns, const String16& name) in removeAttribute()
735 XMLNode::attribute_entry* XMLNode::editAttribute(const String16& ns, in editAttribute()
748 const String16& XMLNode::getCData() const in getCData()
753 const String16& XMLNode::getComment() const in getComment()
758 int32_t XMLNode::getStartLineNumber() const in getStartLineNumber()
763 int32_t XMLNode::getEndLineNumber() const in getEndLineNumber()
768 sp<XMLNode> XMLNode::searchElement(const String16& tagNamespace, const String16& tagName) in searchElement()
770 if (getType() == XMLNode::TYPE_ELEMENT in searchElement()
777 sp<XMLNode> found = mChildren.itemAt(i)->searchElement(tagNamespace, tagName); in searchElement()
786 sp<XMLNode> XMLNode::getChildElement(const String16& tagNamespace, const String16& tagName) in getChildElement()
789 sp<XMLNode> child = mChildren.itemAt(i); in getChildElement()
790 if (child->getType() == XMLNode::TYPE_ELEMENT in getChildElement()
800 status_t XMLNode::addChild(const sp<XMLNode>& child) in addChild()
811 status_t XMLNode::insertChildAt(const sp<XMLNode>& child, size_t index) in insertChildAt()
822 status_t XMLNode::addAttribute(const String16& ns, const String16& name, in addAttribute()
842 status_t XMLNode::removeAttribute(size_t index) in removeAttribute()
868 void XMLNode::setAttributeResID(size_t attrIdx, uint32_t resId) in setAttributeResID()
887 status_t XMLNode::appendChars(const String16& chars) in appendChars()
897 status_t XMLNode::appendComment(const String16& comment) in appendComment()
906 void XMLNode::setStartLineNumber(int32_t line) in setStartLineNumber()
911 void XMLNode::setEndLineNumber(int32_t line) in setEndLineNumber()
916 void XMLNode::removeWhitespace(bool stripAll, const char** cDataTags) in removeWhitespace()
931 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace()
974 status_t XMLNode::parseValues(const sp<AaptAssets>& assets, in parseValues()
1010 status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets, in assignResourceIds()
1065 sp<XMLNode> XMLNode::clone() const { in clone()
1066 sp<XMLNode> copy = new XMLNode(); in clone()
1089 status_t XMLNode::flatten(const sp<AaptFile>& dest, in flatten()
1146 void XMLNode::print(int indent) in print()
1212 XMLNode::startNamespace(void *userData, const char *prefix, const char *uri) in startNamespace()
1218 sp<XMLNode> node = XMLNode::newNamespace(st->filename, in startNamespace()
1230 XMLNode::startElement(void *userData, const char *name, const char **atts) in startElement()
1238 sp<XMLNode> node = XMLNode::newElement(st->filename, ns16, name16); in startElement()
1258 XMLNode::characterData(void *userData, const XML_Char *s, int len) in characterData()
1264 sp<XMLNode> node = NULL; in characterData()
1268 sp<XMLNode> parent = st->stack.itemAt(st->stack.size()-1); in characterData()
1278 node = XMLNode::newCData(st->filename); in characterData()
1287 XMLNode::endElement(void *userData, const char *name) in endElement()
1293 sp<XMLNode> node = st->stack.itemAt(st->stack.size()-1); in endElement()
1308 XMLNode::endNamespace(void *userData, const char *prefix) in endNamespace()
1315 sp<XMLNode> node = st->stack.itemAt(st->stack.size()-1); in endNamespace()
1323 XMLNode::commentData(void *userData, const char *comment) in commentData()
1335 status_t XMLNode::collect_strings(StringPool* dest, Vector<uint32_t>* outResIds, in collect_strings()
1390 status_t XMLNode::collect_attr_strings(StringPool* outPool, in collect_attr_strings()
1445 status_t XMLNode::collect_resid_strings(StringPool* outPool, in collect_resid_strings()
1459 status_t XMLNode::flatten_node(const StringPool& strings, const sp<AaptFile>& dest, in flatten_node()