Lines Matching refs:Element

17 static xml::Element* findManifest(xml::Node* root) {  in findManifest()
30 xml::Element* el = static_cast<xml::Element*>(root); in findManifest()
38 static xml::Element* findChildWithSameName(xml::Element* parent, xml::Element* src) { in findChildWithSameName()
51 static int compare(xml::Element* lhs, xml::Element* rhs) { in compare()
85 bool ManifestMerger::checkEqual(xml::Element* elA, xml::Element* elB) { in checkEqual()
96 std::vector<xml::Element*> childrenA = elA->getChildElements(); in checkEqual()
97 std::vector<xml::Element*> childrenB = elB->getChildElements(); in checkEqual()
109 auto cmp = [](xml::Element* lhs, xml::Element* rhs) -> bool { in checkEqual()
124 bool ManifestMerger::mergeNewOrEqual(xml::Element* parentA, xml::Element* elA, xml::Element* elB) { in mergeNewOrEqual()
132 bool ManifestMerger::mergePreferRequired(xml::Element* parentA, xml::Element* elA, in mergePreferRequired()
133 xml::Element* elB) { in mergePreferRequired()
163 bool ManifestMerger::mergeUsesSdk(xml::Element* elA, xml::Element* elB) { in mergeUsesSdk()
233 bool ManifestMerger::mergeApplication(xml::Element* applicationA, xml::Element* applicationB) { in mergeApplication()
260 for (xml::Element* elB : applicationB->getChildElements()) { in mergeApplication()
268 xml::Element* elA = findChildWithSameName(applicationA, elB); in mergeApplication()
271 xml::Element* elA = findChildWithSameName(applicationA, elB); in mergeApplication()
281 xml::Element* manifestA = findManifest(mRoot.get()); in mergeLibraryManifest()
282 xml::Element* manifestB = findManifest(libRoot.get()); in mergeLibraryManifest()
296 xml::Element* applicationA = manifestA->findChild({}, u"application"); in mergeLibraryManifest()
297 xml::Element* applicationB = manifestB->findChild({}, u"application"); in mergeLibraryManifest()
301 xml::Element* usesSdkA = manifestA->findChild({}, u"uses-sdk"); in mergeLibraryManifest()
302 xml::Element* usesSdkB = manifestB->findChild({}, u"uses-sdk"); in mergeLibraryManifest()
305 for (xml::Element* elB : manifestB->getChildElements()) { in mergeLibraryManifest()
312 xml::Element* elA = findChildWithSameName(manifestA, elB); in mergeLibraryManifest()
315 xml::Element* elA = findChildWithSameName(manifestA, elB); in mergeLibraryManifest()
319 xml::Element* elA = findChildWithSameName(manifestA, elB); in mergeLibraryManifest()
342 << static_cast<xml::Element*>(node)->namespaceUri in printMerged()
343 << ":" << static_cast<xml::Element*>(node)->name in printMerged()
345 for (const auto& attr : static_cast<xml::Element*>(node)->attributes) { in printMerged()