MCPcopy Create free account
hub / github.com/acl-dev/acl / to_string

Method to_string

lib_acl_cpp/src/stdlib/xml2.cpp:545–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545const char* xml2::to_string(size_t* len /* = NULL */) const
546{
547 const char* dat = acl_xml2_build(xml_);
548 if (dat >= acl_vstring_end(xml_->vbuf)) {
549 if (len) {
550 *len = 0;
551 }
552 return "";
553 }
554
555 if (len) {
556 *len = acl_vstring_end(xml_->vbuf) - dat;
557 }
558 return dat;
559}
560
561void xml2::reset()
562{

Callers 15

do_xmlMethod · 0.45
test_url_coderFunction · 0.45
mainFunction · 0.45
test_buildFunction · 0.45
test_parseFunction · 0.45
test_parse_mmapFunction · 0.45
testFunction · 0.45
test3Function · 0.45
do_xmlMethod · 0.45
do_jsonMethod · 0.45
do_xmlMethod · 0.45
do_xmlMethod · 0.45

Calls 1

acl_xml2_buildFunction · 0.85

Tested by 15

test_url_coderFunction · 0.36
test_buildFunction · 0.36
test_parseFunction · 0.36
test_parse_mmapFunction · 0.36
testFunction · 0.36
gsonFunction · 0.36
testFunction · 0.36
test1Function · 0.36
serializeFunction · 0.36
test1Function · 0.36
benchmarkFunction · 0.36
test_memFunction · 0.36