File size: 9,890 Bytes
6baed57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[
  {
    "function_name": "LIBXML_ATTR_FORMAT",
    "function_signature": "static void LIBXML_ATTR_FORMAT(3,0) xmlErrValid(xmlParserCtxtPtr ctxt, xmlParserErrors error,\n            const char *msg, const xmlChar *str1, const xmlChar *str2)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_DTD, error, XML_ERR_ERROR,\n               str1, str2, NULL, 0, msg, str1, str2); if (ctxt != NULL)\n\tctxt->valid = 0; }\n#endif /* LIBXML_VALID_ENABLED */ /**\n * Handle a fatal parser error, i.e. violating Well-Formedness constraints\n *\n * @param ctxt  an XML parser context\n * @param error  the error number\n * @param msg  the error message\n * @param str1  an error string\n * @param str2  an error string\n */ static void LIBXML_ATTR_FORMAT(3,0)\nxmlFatalErrMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,\n               const char *msg, const xmlChar *str1, const xmlChar *str2)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_FATAL,\n               str1, str2, NULL, 0, msg, str1, str2); } /**\n * Handle an xml:id error\n *\n * @param ctxt  an XML validation parser context\n * @param error  the error number\n * @param msg  the error message\n * @param str1  extra data\n */ static void LIBXML_ATTR_FORMAT(3,0)\nxmlErrId(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *msg,\n         const xmlChar *str1)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_ERROR,\n               str1, NULL, NULL, 0, msg, str1); } /**\n * Handle a parser warning\n *\n * @param ctxt  an XML parser context\n * @param error  the error number\n * @param msg  the error message\n * @param str1  an error string\n */ static void LIBXML_ATTR_FORMAT(3,0)\nxmlWarnMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,\n               const char *msg, const xmlChar *str1)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_PARSER, error, XML_ERR_WARNING,\n               str1, NULL, NULL, 0, msg, str1); } /**\n * Handle a namespace warning\n *\n * @param ctxt  an XML parser context\n * @param error  the error number\n * @param msg  the error message\n * @param str1  an error string\n * @param str2  an error string\n */ static void LIBXML_ATTR_FORMAT(3,0)\nxmlNsWarnMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,\n             const char *msg, const xmlChar *str1, const xmlChar *str2)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_NAMESPACE, error, XML_ERR_WARNING,\n               str1, str2, NULL, 0, msg, str1, str2); } /**\n * Provides the public ID e.g. \"-//SGMLSOURCE//DTD DEMO//EN\"\n *\n * @param ctx  the user data (XML parser context)\n * @returns a xmlChar *\n */ const xmlChar *\nxmlSAX2GetPublicId(void *ctx ATTRIBUTE_UNUSED)",
    "test_filename": "tests_SAX2_LIBXML_ATTR_FORMAT.c"
  },
  {
    "function_name": "xmlSAX2InternalSubset",
    "function_signature": "void xmlSAX2InternalSubset(void *ctx, const xmlChar *name,\n\t       const xmlChar *publicId, const xmlChar *systemId)",
    "test_filename": "tests_SAX2_xmlSAX2InternalSubset.c"
  },
  {
    "function_name": "xmlSAX2ExternalSubset",
    "function_signature": "void xmlSAX2ExternalSubset(void *ctx, const xmlChar *name,\n\t       const xmlChar *publicId, const xmlChar *systemId)",
    "test_filename": "tests_SAX2_xmlSAX2ExternalSubset.c"
  },
  {
    "function_name": "xmlSAX2EntityDecl",
    "function_signature": "void xmlSAX2EntityDecl(void *ctx, const xmlChar *name, int type,\n          const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)",
    "test_filename": "tests_SAX2_xmlSAX2EntityDecl.c"
  },
  {
    "function_name": "xmlSAX2AttributeDecl",
    "function_signature": "void xmlSAX2AttributeDecl(void *ctx, const xmlChar *elem, const xmlChar *fullname,\n              int type, int def, const xmlChar *defaultValue,\n\t      xmlEnumeration *tree)",
    "test_filename": "tests_SAX2_xmlSAX2AttributeDecl.c"
  },
  {
    "function_name": "xmlSAX2ElementDecl",
    "function_signature": "void xmlSAX2ElementDecl(void *ctx, const xmlChar * name, int type,\n            xmlElementContent *content)",
    "test_filename": "tests_SAX2_xmlSAX2ElementDecl.c"
  },
  {
    "function_name": "xmlSAX2NotationDecl",
    "function_signature": "void xmlSAX2NotationDecl(void *ctx, const xmlChar *name,\n\t     const xmlChar *publicId, const xmlChar *systemId)",
    "test_filename": "tests_SAX2_xmlSAX2NotationDecl.c"
  },
  {
    "function_name": "xmlSAX2StartDocument",
    "function_signature": "void xmlSAX2StartDocument(void *ctx)",
    "test_filename": "tests_SAX2_xmlSAX2StartDocument.c"
  },
  {
    "function_name": "xmlSAX2EndDocument",
    "function_signature": "void xmlSAX2EndDocument(void *ctx)",
    "test_filename": "tests_SAX2_xmlSAX2EndDocument.c"
  },
  {
    "function_name": "xmlSAX2AppendChild",
    "function_signature": "static void xmlSAX2AppendChild(xmlParserCtxtPtr ctxt, xmlNodePtr node)",
    "test_filename": "tests_SAX2_xmlSAX2AppendChild.c"
  },
  {
    "function_name": "LIBXML_ATTR_FORMAT",
    "function_signature": "static void LIBXML_ATTR_FORMAT(3,0) xmlNsErrMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,\n            const char *msg, const xmlChar *str1, const xmlChar *str2)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_NAMESPACE, error, XML_ERR_ERROR,\n               str1, str2, NULL, 0, msg, str1, str2); } /**\n * Handle an attribute that has been read by the parser.\n *\n * Deprecated SAX1 interface.\n *\n * @param ctxt  the parser context\n * @param fullname  the attribute name, including namespace prefix\n * @param value  the attribute value\n * @param prefix  the namespace prefix\n */ static void\nxmlSAX1Attribute(xmlParserCtxtPtr ctxt, const xmlChar *fullname,\n                 const xmlChar *value, const xmlChar *prefix)",
    "test_filename": "tests_SAX2_LIBXML_ATTR_FORMAT.c"
  },
  {
    "function_name": "xmlCheckDefaultedAttributes",
    "function_signature": "static void xmlCheckDefaultedAttributes(xmlParserCtxtPtr ctxt, const xmlChar *name,\n\tconst xmlChar *prefix, const xmlChar **atts)",
    "test_filename": "tests_SAX2_xmlCheckDefaultedAttributes.c"
  },
  {
    "function_name": "xmlSAX1StartElement",
    "function_signature": "static void xmlSAX1StartElement(void *ctx, const xmlChar *fullname, const xmlChar **atts)",
    "test_filename": "tests_SAX2_xmlSAX1StartElement.c"
  },
  {
    "function_name": "xmlSAX2HtmlAttribute",
    "function_signature": "static void xmlSAX2HtmlAttribute(xmlParserCtxtPtr ctxt, const xmlChar *fullname,\n                     const xmlChar *value)",
    "test_filename": "tests_SAX2_xmlSAX2HtmlAttribute.c"
  },
  {
    "function_name": "xmlSAX2StartHtmlElement",
    "function_signature": "static void xmlSAX2StartHtmlElement(xmlParserCtxtPtr ctxt, const xmlChar *fullname,\n                        const xmlChar **atts)",
    "test_filename": "tests_SAX2_xmlSAX2StartHtmlElement.c"
  },
  {
    "function_name": "xmlSAX2StartElement",
    "function_signature": "void xmlSAX2StartElement(void *ctx, const xmlChar *fullname, const xmlChar **atts)",
    "test_filename": "tests_SAX2_xmlSAX2StartElement.c"
  },
  {
    "function_name": "xmlSAX2EndElement",
    "function_signature": "void xmlSAX2EndElement(void *ctx, const xmlChar *name ATTRIBUTE_UNUSED)",
    "test_filename": "tests_SAX2_xmlSAX2EndElement.c"
  },
  {
    "function_name": "xmlSAX2TextNode",
    "function_signature": "static xmlNodePtr xmlSAX2TextNode(xmlParserCtxtPtr ctxt, xmlDocPtr doc, const xmlChar *str,\n                int len)",
    "test_filename": "tests_SAX2_xmlSAX2TextNode.c"
  },
  {
    "function_name": "xmlSAX2AttributeNs",
    "function_signature": "static xmlAttrPtr xmlSAX2AttributeNs(xmlParserCtxtPtr ctxt,\n                   const xmlChar * localname,\n                   const xmlChar * prefix,\n\t\t   const xmlChar * value,\n\t\t   const xmlChar * valueend)",
    "test_filename": "tests_SAX2_xmlSAX2AttributeNs.c"
  },
  {
    "function_name": "xmlSAX2StartElementNs",
    "function_signature": "void xmlSAX2StartElementNs(void *ctx,\n                      const xmlChar *localname,\n\t\t      const xmlChar *prefix,\n\t\t      const xmlChar *URI,\n\t\t      int nb_namespaces,\n\t\t      const xmlChar **namespaces,\n\t\t      int nb_attributes,\n\t\t      int nb_defaulted,\n\t\t      const xmlChar **attributes)",
    "test_filename": "tests_SAX2_xmlSAX2StartElementNs.c"
  },
  {
    "function_name": "xmlSAX2EndElementNs",
    "function_signature": "void xmlSAX2EndElementNs(void *ctx,\n                    const xmlChar * localname ATTRIBUTE_UNUSED,\n                    const xmlChar * prefix ATTRIBUTE_UNUSED,\n\t\t    const xmlChar * URI ATTRIBUTE_UNUSED)",
    "test_filename": "tests_SAX2_xmlSAX2EndElementNs.c"
  },
  {
    "function_name": "xmlSAX2Reference",
    "function_signature": "void xmlSAX2Reference(void *ctx, const xmlChar *name)",
    "test_filename": "tests_SAX2_xmlSAX2Reference.c"
  },
  {
    "function_name": "xmlSAX2Text",
    "function_signature": "static void xmlSAX2Text(xmlParserCtxtPtr ctxt, const xmlChar *ch, int len,\n            xmlElementType type)",
    "test_filename": "tests_SAX2_xmlSAX2Text.c"
  },
  {
    "function_name": "xmlSAX2ProcessingInstruction",
    "function_signature": "void xmlSAX2ProcessingInstruction(void *ctx, const xmlChar *target,\n                      const xmlChar *data)",
    "test_filename": "tests_SAX2_xmlSAX2ProcessingInstruction.c"
  },
  {
    "function_name": "xmlSAX2Comment",
    "function_signature": "void xmlSAX2Comment(void *ctx, const xmlChar *value)",
    "test_filename": "tests_SAX2_xmlSAX2Comment.c"
  },
  {
    "function_name": "xmlSAXVersion",
    "function_signature": "int xmlSAXVersion(xmlSAXHandler *hdlr, int version)",
    "test_filename": "tests_SAX2_xmlSAXVersion.c"
  },
  {
    "function_name": "xmlSAX2InitHtmlDefaultSAXHandler",
    "function_signature": "void xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr)",
    "test_filename": "tests_SAX2_xmlSAX2InitHtmlDefaultSAXHandler.c"
  }
]