MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / my_xml_error_lineno

Function my_xml_error_lineno

strings/xml.c:561–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559}
560
561uint my_xml_error_lineno(MY_XML_PARSER *p)
562{
563 uint res=0;
564 const char *s;
565 for (s=p->beg ; s<p->cur; s++)
566 {
567 if (s[0] == '\n')
568 res++;
569 }
570 return res;
571}

Callers 3

my_parse_charset_xmlFunction · 0.85
parse_xmlMethod · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68