/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 83 ResXMLParser* st = new ResXMLParser(*osb); in android_content_XmlBlock_nativeCreateParseState() 98 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeNext() 100 return ResXMLParser::END_DOCUMENT; in android_content_XmlBlock_nativeNext() 104 ResXMLParser::event_code_t code = st->next(); in android_content_XmlBlock_nativeNext() 106 case ResXMLParser::START_TAG: in android_content_XmlBlock_nativeNext() 108 case ResXMLParser::END_TAG: in android_content_XmlBlock_nativeNext() 110 case ResXMLParser::TEXT: in android_content_XmlBlock_nativeNext() 112 case ResXMLParser::START_DOCUMENT: in android_content_XmlBlock_nativeNext() 114 case ResXMLParser::END_DOCUMENT: in android_content_XmlBlock_nativeNext() 116 case ResXMLParser::BAD_DOCUMENT: in android_content_XmlBlock_nativeNext() [all …]
|
D | android_util_AssetManager.cpp | 1230 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle() 1358 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes()
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 34 using android::ResXMLParser; 39 ResXmlVisitorAdapter(ResXMLParser* parser) : parser_{parser} {} in ResXmlVisitorAdapter() 46 case ResXMLParser::START_DOCUMENT: in Accept() 50 case ResXMLParser::END_DOCUMENT: in Accept() 54 case ResXMLParser::START_TAG: { in Accept() 61 case ResXMLParser::END_TAG: in Accept() 67 } while (depth > 0 || parser_->getEventType() == ResXMLParser::FIRST_CHUNK_CODE); in Accept() 71 ResXMLParser* parser_; 74 bool CanCompileLayout(ResXMLParser* parser) { in CanCompileLayout() 118 android::ResXMLParser parser{xml_tree}; in CompileApkAssetsLayouts()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | Xml.cpp | 37 ResXMLParser::event_code_t type; in FindTag() 40 if (type == ResXMLParser::START_TAG) { in FindTag() 72 } while (type != ResXMLParser::BAD_DOCUMENT && type != ResXMLParser::END_DOCUMENT); in FindTag()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AttributeResolution.h | 54 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, 60 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs,
|
D | ResourceTypes.h | 693 class ResXMLParser 696 explicit ResXMLParser(const ResXMLTree& tree); 805 class ResXMLTree : public ResXMLParser 824 friend class ResXMLParser;
|
/frameworks/base/cmds/idmap/ |
D | scan.cpp | 164 ResXMLParser::event_code_t type; in parse_manifest() 169 if (type == ResXMLParser::START_TAG) { in parse_manifest() 177 } while (type != ResXMLParser::BAD_DOCUMENT && type != ResXMLParser::END_DOCUMENT); in parse_manifest()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 223 static void CopyAttributes(Element* el, android::ResXMLParser* parser, StringPool* out_pool) { in CopyAttributes() 286 ResXMLParser::event_code_t code; in Inflate() 287 while ((code = tree.next()) != ResXMLParser::BAD_DOCUMENT && code != ResXMLParser::END_DOCUMENT) { in Inflate() 290 case ResXMLParser::START_NAMESPACE: { in Inflate() 312 case ResXMLParser::START_TAG: { in Inflate() 344 case ResXMLParser::TEXT: { in Inflate() 357 case ResXMLParser::END_NAMESPACE: in Inflate() 360 case ResXMLParser::END_TAG: in Inflate()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 150 ResXMLParser::event_code_t event; in getAppInfo() 151 while ((event = xml.next()) != ResXMLParser::BAD_DOCUMENT && in getAppInfo() 152 event != ResXMLParser::END_DOCUMENT) { in getAppInfo() 153 if (event != ResXMLParser::START_TAG) { in getAppInfo()
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 63 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyle() 144 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyleFramework()
|
D | AttributeResolution_test.cpp | 60 while (xml_parser_.next() != ResXMLParser::START_TAG) { in SetUp()
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 38 explicit XmlAttributeFinder(const ResXMLParser* parser) in XmlAttributeFinder() 48 const ResXMLParser* parser_; 205 void ApplyStyle(Theme* theme, ResXMLParser* xml_parser, uint32_t def_style_attr, in ApplyStyle() 406 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs, in RetrieveAttributes()
|
D | ResourceTypes.cpp | 1080 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() function in android::ResXMLParser 1085 void ResXMLParser::restart() in restart() 1090 const ResStringPool& ResXMLParser::getStrings() const in getStrings() 1095 ResXMLParser::event_code_t ResXMLParser::getEventType() const in getEventType() 1100 ResXMLParser::event_code_t ResXMLParser::next() in next() 1112 int32_t ResXMLParser::getCommentID() const in getCommentID() 1117 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment() 1123 uint32_t ResXMLParser::getLineNumber() const in getLineNumber() 1128 int32_t ResXMLParser::getTextID() const in getTextID() 1136 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText() [all …]
|
/frameworks/base/tools/aapt/ |
D | Resource.cpp | 478 const ResXMLParser& parser, in validateAttr() 578 static void checkForIds(const String8& path, ResXMLParser& parser) in checkForIds()
|
D | ResourceTable.cpp | 1618 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile() 1661 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile()
|