Searched refs:pb_node (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | LoadedApk.cpp | 53 pb::XmlNode pb_node; in DetermineApkFormat() local 55 if (proto_reader.ReadMessage(&pb_node)) { in DetermineApkFormat() 138 pb::XmlNode pb_node; in LoadProtoApkFromFileCollection() local 140 if (!proto_reader.ReadMessage(&pb_node)) { in LoadProtoApkFromFileCollection() 146 std::unique_ptr<xml::XmlResource> manifest = DeserializeXmlResourceFromPb(pb_node, &error); in LoadProtoApkFromFileCollection() 330 pb::XmlNode pb_node; in LoadXml() local 332 if (!proto_reader.ReadMessage(&pb_node)) { in LoadXml() 338 doc = DeserializeXmlResourceFromPb(pb_node, &err); in LoadXml()
|
/frameworks/base/tools/aapt2/format/proto/ |
D | ProtoDeserialize.h | 46 std::unique_ptr<xml::XmlResource> DeserializeXmlResourceFromPb(const pb::XmlNode& pb_node, 49 bool DeserializeXmlFromPb(const pb::XmlNode& pb_node, xml::Element* out_el,
|
D | ProtoDeserialize.cpp | 1010 std::unique_ptr<xml::XmlResource> DeserializeXmlResourceFromPb(const pb::XmlNode& pb_node, in DeserializeXmlResourceFromPb() argument 1012 if (!pb_node.has_element()) { in DeserializeXmlResourceFromPb() 1018 if (!DeserializeXmlFromPb(pb_node, resource->root.get(), &resource->string_pool, out_error)) { in DeserializeXmlResourceFromPb() 1024 bool DeserializeXmlFromPb(const pb::XmlNode& pb_node, xml::Element* out_el, in DeserializeXmlFromPb() argument 1026 const pb::XmlElement& pb_el = pb_node.element(); in DeserializeXmlFromPb() 1029 out_el->line_number = pb_node.source().line_number(); in DeserializeXmlFromPb() 1030 out_el->column_number = pb_node.source().column_number(); in DeserializeXmlFromPb()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert.cpp | 108 pb::XmlNode pb_node; in SerializeFile() local 110 if (!proto_reader.ReadMessage(&pb_node)) { in SerializeFile() 117 unique_ptr<xml::XmlResource> xml = DeserializeXmlResourceFromPb(pb_node, &error); in SerializeFile() 159 pb::XmlNode pb_node; in SerializeXml() local 160 SerializeXmlResourceToPb(*xml, &pb_node); in SerializeXml() 161 return io::CopyProtoToArchive(context_, &pb_node, path, compression_flags, writer); in SerializeXml()
|
D | Link.cpp | 273 pb::XmlNode pb_node; in FlattenXml() local 277 SerializeXmlResourceToPb(xml_res, &pb_node); in FlattenXml() 278 return io::CopyProtoToArchive(context, &pb_node, path, ArchiveEntry::kCompress, writer); in FlattenXml()
|