/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 86 ResXMLParser* st = new ResXMLParser(*osb); in android_content_XmlBlock_nativeCreateParseState() 99 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeNext() 101 return ResXMLParser::END_DOCUMENT; in android_content_XmlBlock_nativeNext() 105 ResXMLParser::event_code_t code = st->next(); in android_content_XmlBlock_nativeNext() 107 case ResXMLParser::START_TAG: in android_content_XmlBlock_nativeNext() 109 case ResXMLParser::END_TAG: in android_content_XmlBlock_nativeNext() 111 case ResXMLParser::TEXT: in android_content_XmlBlock_nativeNext() 113 case ResXMLParser::START_DOCUMENT: in android_content_XmlBlock_nativeNext() 115 case ResXMLParser::END_DOCUMENT: in android_content_XmlBlock_nativeNext() 117 case ResXMLParser::BAD_DOCUMENT: in android_content_XmlBlock_nativeNext() [all …]
|
D | android_util_AssetManager.cpp | 1189 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeApplyStyle() 1320 ResXMLParser* xml_parser = reinterpret_cast<ResXMLParser*>(xml_parser_ptr); in NativeRetrieveAttributes()
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | XmlParser.cpp | 26 ResXMLParser::ResXMLPosition get_tree_position(const T& tree) { in get_tree_position() 27 ResXMLParser::ResXMLPosition pos{}; in get_tree_position() 34 XmlParser::Node::Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos) in Node() 40 ResXMLParser::ResXMLPosition pos = get_position(); in operator ==() 41 ResXMLParser::ResXMLPosition rhs_pos = rhs.get_position(); in operator ==() 50 ResXMLParser::ResXMLPosition XmlParser::Node::get_position() const { in get_position() 54 void XmlParser::Node::set_position(const ResXMLParser::ResXMLPosition& pos) { in set_position() 92 Result<Res_value> FindAttribute(const ResXMLParser& parser, const std::string& label, in FindAttribute() 107 Result<std::string> GetStringValue(const ResXMLParser& parser, const Res_value& value, in GetStringValue()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | XmlParser.h | 32 using Event = ResXMLParser::event_code_t; 51 Node(const ResXMLTree& tree, const ResXMLParser::ResXMLPosition& pos); 54 ResXMLParser::ResXMLPosition get_position() const; 55 void set_position(const ResXMLParser::ResXMLPosition& pos); 62 ResXMLParser parser_;
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AttributeResolution.h | 56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, 65 ResXMLParser* xml_parser,
|
D | ResourceTypes.h | 724 class ResXMLParser 727 explicit ResXMLParser(const ResXMLTree& tree); 831 static inline bool operator==(const android::ResXMLParser::ResXMLPosition& lhs, 832 const android::ResXMLParser::ResXMLPosition& rhs) { 841 class ResXMLTree : public ResXMLParser 860 friend class ResXMLParser;
|
/frameworks/base/libs/androidfw/fuzz/resxmlparser_fuzzer/ |
D | resxmlparser_fuzzer.cpp | 68 if (code == android::ResXMLParser::START_TAG) { in LLVMFuzzerTestOneInput() 77 } else if (code == android::ResXMLParser::TEXT) { in LLVMFuzzerTestOneInput()
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 224 static void CopyAttributes(Element* el, android::ResXMLParser* parser, in CopyAttributes() 288 ResXMLParser::event_code_t code; in Inflate() 289 while ((code = tree.next()) != ResXMLParser::BAD_DOCUMENT && code != ResXMLParser::END_DOCUMENT) { in Inflate() 292 case ResXMLParser::START_NAMESPACE: { in Inflate() 316 case ResXMLParser::START_TAG: { in Inflate() 348 case ResXMLParser::TEXT: { in Inflate() 361 case ResXMLParser::END_NAMESPACE: in Inflate() 364 case ResXMLParser::END_TAG: in Inflate()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 149 ResXMLParser::event_code_t event; in getAppInfo() 150 while ((event = xml.next()) != ResXMLParser::BAD_DOCUMENT && in getAppInfo() 151 event != ResXMLParser::END_DOCUMENT) { in getAppInfo() 152 if (event != ResXMLParser::START_TAG) { in getAppInfo()
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 41 explicit XmlAttributeFinder(const ResXMLParser* parser) in XmlAttributeFinder() 50 const ResXMLParser* parser_; 91 ResXMLParser* xml_parser, in GetXmlStyleBag() 220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle() 353 ResXMLParser* xml_parser, in RetrieveAttributes()
|
D | ResourceTypes.cpp | 1264 ResXMLParser::ResXMLParser(const ResXMLTree& tree) in ResXMLParser() function in android::ResXMLParser 1269 void ResXMLParser::restart() in restart() 1274 const ResStringPool& ResXMLParser::getStrings() const in getStrings() 1279 ResXMLParser::event_code_t ResXMLParser::getEventType() const in getEventType() 1284 ResXMLParser::event_code_t ResXMLParser::next() in next() 1296 int32_t ResXMLParser::getCommentID() const in getCommentID() 1301 const char16_t* ResXMLParser::getComment(size_t* outLen) const in getComment() 1307 uint32_t ResXMLParser::getLineNumber() const in getLineNumber() 1312 int32_t ResXMLParser::getTextID() const in getTextID() 1320 const char16_t* ResXMLParser::getText(size_t* outLen) const in getText() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | AttributeResolution_bench.cpp | 62 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyle() 135 while (xml_tree.next() != ResXMLParser::START_TAG) { in BM_ApplyStyleFramework()
|
D | Idmap_test.cpp | 160 while (xml_tree->next() != ResXMLParser::START_TAG) { } in TEST_F()
|
D | AttributeResolution_test.cpp | 60 while (xml_parser_.next() != ResXMLParser::START_TAG) { in SetUp()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 973 std::vector<ResXMLParser::ResXMLPosition> tagsToSkip; in doDump() 1098 ResXMLParser::ResXMLPosition initialPos; in doDump() 1102 std::vector<ResXMLParser::ResXMLPosition> usesSdkTagPositions; in doDump() 1103 ResXMLParser::ResXMLPosition curPos; in doDump() 1247 ResXMLParser::ResXMLPosition curPos; in doDump()
|
D | Resource.cpp | 481 const ResXMLParser& parser, in validateAttr() 581 static void checkForIds(const String8& path, ResXMLParser& parser) in checkForIds()
|
D | ResourceTable.cpp | 1620 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile() 1663 ResXMLParser::ResXMLPosition parserPosition; in compileResourceFile()
|