Searched refs:xml_res (Results 1 – 4 of 4) sorted by relevance
278 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(xml::XmlResource* xml_res, IDiagnostics* diag) { in ExtractAppInfoFromBinaryManifest() argument280 xml::Element* manifest_el = xml::FindRootElement(xml_res->root.get()); in ExtractAppInfoFromBinaryManifest()288 diag->Error(DiagMessage(xml_res->file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromBinaryManifest()294 diag->Error(DiagMessage(xml_res->file.source) << "<manifest> must have a 'package' attribute"); in ExtractAppInfoFromBinaryManifest()301 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()311 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()322 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()332 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromBinaryManifest()344 diag->Error(DiagMessage(xml_res->file.source.WithLine(uses_sdk_el->line_number)) in ExtractAppInfoFromBinaryManifest()
60 Maybe<AppInfo> ExtractAppInfoFromBinaryManifest(xml::XmlResource* xml_res, IDiagnostics* diag);
251 static bool FlattenXml(IAaptContext* context, xml::XmlResource* xml_res, const StringPiece& path, in FlattenXml() argument257 if (!flattener.Consume(context, xml_res)) { in FlattenXml()758 Maybe<AppInfo> ExtractAppInfoFromManifest(xml::XmlResource* xml_res, IDiagnostics* diag) { in ExtractAppInfoFromManifest() argument760 xml::Element* manifest_el = xml::FindRootElement(xml_res->root.get()); in ExtractAppInfoFromManifest()768 diag->Error(DiagMessage(xml_res->file.source) << "root tag must be <manifest>"); in ExtractAppInfoFromManifest()774 diag->Error(DiagMessage(xml_res->file.source) in ExtractAppInfoFromManifest()784 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()795 diag->Error(DiagMessage(xml_res->file.source.WithLine(manifest_el->line_number)) in ExtractAppInfoFromManifest()
26 bool Consume(IAaptContext* context, xml::XmlResource* xml_res) override;