MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / node_output_pi_value

Function node_output_pi_value

Source/ThirdParty/pugixml/pugixml.cpp:3465–3484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3463 }
3464
3465 PUGI__FN void node_output_pi_value(xml_buffered_writer& writer, const char_t* s)
3466 {
3467 while (*s)
3468 {
3469 const char_t* prev = s;
3470
3471 // look for ?> sequence - we can't output it since ?> terminates PI
3472 while (*s && !(s[0] == '?' && s[1] == '>')) ++s;
3473
3474 writer.write_buffer(prev, static_cast<size_t>(s - prev));
3475
3476 if (*s)
3477 {
3478 assert(s[0] == '?' && s[1] == '>');
3479
3480 writer.write('?', ' ', '>');
3481 s += 2;
3482 }
3483 }
3484 }
3485
3486 PUGI__FN void node_output_attributes(xml_buffered_writer& writer, xml_node_struct* node, unsigned int flags)
3487 {

Callers 1

node_output_simpleFunction · 0.85

Calls 2

write_bufferMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected