Lines Matching refs:xmlres
321 static bool FlattenXmlToOutStream(const StringPiece& output_path, const xml::XmlResource& xmlres, in FlattenXmlToOutStream() argument
324 SerializeCompiledFileToPb(xmlres.file, &pb_compiled_file); in FlattenXmlToOutStream()
327 SerializeXmlToPb(*xmlres.root, &pb_xml_node); in FlattenXmlToOutStream()
364 std::unique_ptr<xml::XmlResource> xmlres; in CompileXml() local
373 xmlres = xml::Inflate(fin.get(), context->GetDiagnostics(), path_data.source); in CompileXml()
374 if (!xmlres) { in CompileXml()
379 xmlres->file.name = ResourceName({}, *ParseResourceType(path_data.resource_dir), path_data.name); in CompileXml()
380 xmlres->file.config = path_data.config; in CompileXml()
381 xmlres->file.source = path_data.source; in CompileXml()
382 xmlres->file.type = ResourceFile::Type::kProtoXml; in CompileXml()
386 if (!collector.Consume(context, xmlres.get())) { in CompileXml()
392 if (!inline_xml_format_parser.Consume(context, xmlres.get())) { in CompileXml()
411 if (!FlattenXmlToOutStream(output_path, *xmlres, &container_writer, in CompileXml()
441 for (const auto& res : xmlres->file.exported_symbols) { in CompileXml()