Searched refs:parser_ (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/aapt2/xml/ |
D | XmlPullParser.cpp | 34 parser_ = XML_ParserCreateNS(nullptr, kXmlNamespaceSep); in XmlPullParser() 35 XML_SetUserData(parser_, this); in XmlPullParser() 36 XML_SetElementHandler(parser_, StartElementHandler, EndElementHandler); in XmlPullParser() 37 XML_SetNamespaceDeclHandler(parser_, StartNamespaceHandler, in XmlPullParser() 39 XML_SetCharacterDataHandler(parser_, CharacterDataHandler); in XmlPullParser() 40 XML_SetCommentHandler(parser_, CommentDataHandler); in XmlPullParser() 41 XML_SetCdataSectionHandler(parser_, StartCdataSectionHandler, EndCdataSectionHandler); in XmlPullParser() 46 XML_ParserFree(parser_); in ~XmlPullParser() 70 if (XML_Parse(parser_, buffer, buffer_size, done) == XML_STATUS_ERROR) { in Next() 71 error_ = XML_ErrorString(XML_GetErrorCode(parser_)); in Next() [all …]
|
D | XmlPullParser.h | 177 XML_Parser parser_; variable
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 39 ResXmlVisitorAdapter(ResXMLParser* parser) : parser_{parser} {} in ResXmlVisitorAdapter() 45 switch (parser_->next()) { in Accept() 57 const char16_t* name = parser_->getElementName(&name_length); in Accept() 67 } while (depth > 0 || parser_->getEventType() == ResXMLParser::FIRST_CHUNK_CODE); in Accept() 71 ResXMLParser* parser_; member in startop::ResXmlVisitorAdapter
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 41 parser_(parser) {} in XmlAttributeFinder() 44 return parser_->getAttributeNameResID(index); in GetAttribute() 48 const ResXMLParser* parser_; member in android::XmlAttributeFinder
|