• Home
  • Raw
  • Download

Lines Matching refs:ToXml

30   std::string ToXml(const Document& doc);
33 void ToXml(const std::string& name, const std::string& value);
34 void ToXml(const Element& element);
35 void ToXml(const Content& content);
36 void ToXml(const Misk& misk);
37 void ToXml(const DoctypeDecl& doctype);
44 void XmlWriter::ToXml(const std::string& name, const std::string& value) { in ToXml() function in protobuf_mutator::xml::__anonbc989db70111::XmlWriter
49 void XmlWriter::ToXml(const Misk& misk) { in ToXml() function in protobuf_mutator::xml::__anonbc989db70111::XmlWriter
59 void XmlWriter::ToXml(const DoctypeDecl& doctype) { in ToXml() function in protobuf_mutator::xml::__anonbc989db70111::XmlWriter
63 for (int i = 0; i < doctype.misk_size(); ++i) ToXml(doctype.misk(i)); in ToXml()
67 void XmlWriter::ToXml(const Content& content) { in ToXml() function in protobuf_mutator::xml::__anonbc989db70111::XmlWriter
69 if (content.has_element()) ToXml(content.element()); in ToXml()
76 if (content.has_misk()) ToXml(content.misk()); in ToXml()
79 void XmlWriter::ToXml(const Element& element) { in ToXml() function in protobuf_mutator::xml::__anonbc989db70111::XmlWriter
86 ToXml(element.tag().attribute(i).name(), in ToXml()
94 for (int i = 0; i < element.content_size(); ++i) ToXml(element.content(i)); in ToXml()
99 std::string XmlWriter::ToXml(const Document& doc) { in ToXml() function in protobuf_mutator::xml::__anonbc989db70111::XmlWriter
105 ToXml("version", (doc.version().size() == 7) ? "1.0" : doc.version()); in ToXml()
106 if (doc.has_encoding()) ToXml("encoding", doc.encoding()); in ToXml()
108 ToXml("encoding", doc.standalone() ? "yes" : "no"); in ToXml()
112 for (int i = 0; i < doc.misk1_size(); ++i) ToXml(doc.misk1(i)); in ToXml()
113 if (doc.has_doctype()) ToXml(doc.doctype()); in ToXml()
114 ToXml(doc.element()); in ToXml()
115 for (int i = 0; i < doc.misk2_size(); ++i) ToXml(doc.misk2(i)); in ToXml()
124 return writer.ToXml(document); in MessageToXml()