Lines Matching refs:xml_wrapper_
106 xml_wrapper_(new XmlWrapper), in MetricsLogBase()
116 delete xml_wrapper_; in ~MetricsLogBase()
123 int result = xmlTextWriterEndDocument(xml_wrapper_->writer()); in CloseLog()
126 result = xmlTextWriterFlush(xml_wrapper_->writer()); in CloseLog()
130 xmlNodePtr root = xmlDocGetRootElement(xml_wrapper_->doc()); in CloseLog()
141 result = xmlNodeDump(xml_wrapper_->buffer(), xml_wrapper_->doc(), in CloseLog()
147 xml_wrapper_->FreeDocWriter(); in CloseLog()
154 CHECK(xml_wrapper_); in GetEncodedLogSize()
155 CHECK(xml_wrapper_->buffer()); in GetEncodedLogSize()
156 return xml_wrapper_->buffer()->use; in GetEncodedLogSize()
164 memcpy(buffer, xml_wrapper_->buffer()->content, GetEncodedLogSize()); in GetEncodedLog()
170 return std::string(reinterpret_cast<char*>(xml_wrapper_->buffer()->content)); in GetEncodedLogString()
324 int result = xmlTextWriterWriteAttribute(xml_wrapper_->writer(), in WriteAttribute()
357 int result = xmlTextWriterStartElement(xml_wrapper_->writer(), in StartElement()
365 int result = xmlTextWriterEndElement(xml_wrapper_->writer()); in EndElement()