File size: 10,613 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
[
  {
    "function_name": "LIBXML_ATTR_FORMAT",
    "function_signature": "static void LIBXML_ATTR_FORMAT(3,0) htmlParseErr(xmlParserCtxtPtr ctxt, xmlParserErrors error,\n             const char *msg, const xmlChar *str1, const xmlChar *str2)\n{\n    xmlCtxtErr(ctxt, NULL, XML_FROM_HTML, error, XML_ERR_ERROR,\n               str1, str2, NULL, 0, msg, str1, str2); } /************************************************************************\n *\t\t\t\t\t\t\t\t\t*\n *\tParser stacks related functions and macros\t\t*\n *\t\t\t\t\t\t\t\t\t*\n ************************************************************************/ /**\n * Pushes a new element name on top of the name stack\n *\n * @param ctxt  an HTML parser context\n * @param value  the element name\n * @returns -1 in case of error, the index in the stack otherwise\n */ static int\nhtmlnamePush(htmlParserCtxtPtr ctxt, const xmlChar * value)",
    "test_filename": "tests_HTMLparser_LIBXML_ATTR_FORMAT.c"
  },
  {
    "function_name": "htmlNodeInfoPush",
    "function_signature": "static int htmlNodeInfoPush(htmlParserCtxtPtr ctxt, htmlParserNodeInfo *value)",
    "test_filename": "tests_HTMLparser_htmlNodeInfoPush.c"
  },
  {
    "function_name": "htmlValidateUtf8",
    "function_signature": "static int htmlValidateUtf8(xmlParserCtxtPtr ctxt, const xmlChar *str, size_t len,\n                 int partial)",
    "test_filename": "tests_HTMLparser_htmlValidateUtf8.c"
  },
  {
    "function_name": "htmlSkipBlankChars",
    "function_signature": "static int htmlSkipBlankChars(xmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlSkipBlankChars.c"
  },
  {
    "function_name": "htmlParserFinishElementParsing",
    "function_signature": "static void htmlParserFinishElementParsing(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParserFinishElementParsing.c"
  },
  {
    "function_name": "htmlCompareStartClose",
    "function_signature": "static int htmlCompareStartClose(const void *vkey, const void *member)",
    "test_filename": "tests_HTMLparser_htmlCompareStartClose.c"
  },
  {
    "function_name": "htmlCheckAutoClose",
    "function_signature": "static int htmlCheckAutoClose(const xmlChar * newtag, const xmlChar * oldtag)",
    "test_filename": "tests_HTMLparser_htmlCheckAutoClose.c"
  },
  {
    "function_name": "htmlAutoCloseOnClose",
    "function_signature": "static void htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)",
    "test_filename": "tests_HTMLparser_htmlAutoCloseOnClose.c"
  },
  {
    "function_name": "htmlAutoCloseOnEnd",
    "function_signature": "static void htmlAutoCloseOnEnd(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlAutoCloseOnEnd.c"
  },
  {
    "function_name": "htmlAutoClose",
    "function_signature": "static void htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)",
    "test_filename": "tests_HTMLparser_htmlAutoClose.c"
  },
  {
    "function_name": "htmlAutoCloseTag",
    "function_signature": "int htmlAutoCloseTag(xmlDoc *doc, const xmlChar *name, xmlNode *elem)",
    "test_filename": "tests_HTMLparser_htmlAutoCloseTag.c"
  },
  {
    "function_name": "htmlIsAutoClosed",
    "function_signature": "int htmlIsAutoClosed(xmlDoc *doc, xmlNode *elem)",
    "test_filename": "tests_HTMLparser_htmlIsAutoClosed.c"
  },
  {
    "function_name": "htmlCheckImplied",
    "function_signature": "static void htmlCheckImplied(htmlParserCtxtPtr ctxt, const xmlChar *newtag)",
    "test_filename": "tests_HTMLparser_htmlCheckImplied.c"
  },
  {
    "function_name": "htmlStartCharData",
    "function_signature": "static void htmlStartCharData(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlStartCharData.c"
  },
  {
    "function_name": "htmlIsScriptAttribute",
    "function_signature": "int htmlIsScriptAttribute(const xmlChar *name)",
    "test_filename": "tests_HTMLparser_htmlIsScriptAttribute.c"
  },
  {
    "function_name": "htmlUTF8ToHtml",
    "function_signature": "int htmlUTF8ToHtml(unsigned char* out, int *outlen,\n               const unsigned char* in, int *inlen)",
    "test_filename": "tests_HTMLparser_htmlUTF8ToHtml.c"
  },
  {
    "function_name": "htmlEncodeEntities",
    "function_signature": "int htmlEncodeEntities(unsigned char* out, int *outlen,\n\t\t   const unsigned char* in, int *inlen, int quoteChar)",
    "test_filename": "tests_HTMLparser_htmlEncodeEntities.c"
  },
  {
    "function_name": "areBlanks",
    "function_signature": "static int areBlanks(htmlParserCtxtPtr ctxt, const xmlChar *str, int len)",
    "test_filename": "tests_HTMLparser_areBlanks.c"
  },
  {
    "function_name": "htmlParseHTMLName",
    "function_signature": "static xmlHashedString htmlParseHTMLName(htmlParserCtxtPtr ctxt, int attr)",
    "test_filename": "tests_HTMLparser_htmlParseHTMLName.c"
  },
  {
    "function_name": "htmlCharDataSAXCallback",
    "function_signature": "static void htmlCharDataSAXCallback(htmlParserCtxtPtr ctxt, const xmlChar *buf,\n                        int size, int mode)",
    "test_filename": "tests_HTMLparser_htmlCharDataSAXCallback.c"
  },
  {
    "function_name": "htmlParseCharData",
    "function_signature": "static int htmlParseCharData(htmlParserCtxtPtr ctxt, int partial)",
    "test_filename": "tests_HTMLparser_htmlParseCharData.c"
  },
  {
    "function_name": "htmlParseComment",
    "function_signature": "static void htmlParseComment(htmlParserCtxtPtr ctxt, int bogus)",
    "test_filename": "tests_HTMLparser_htmlParseComment.c"
  },
  {
    "function_name": "htmlSkipBogusDoctype",
    "function_signature": "static void htmlSkipBogusDoctype(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlSkipBogusDoctype.c"
  },
  {
    "function_name": "htmlParseDocTypeDecl",
    "function_signature": "static void htmlParseDocTypeDecl(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseDocTypeDecl.c"
  },
  {
    "function_name": "htmlParseAttribute",
    "function_signature": "static xmlHashedString htmlParseAttribute(htmlParserCtxtPtr ctxt, xmlChar **value)",
    "test_filename": "tests_HTMLparser_htmlParseAttribute.c"
  },
  {
    "function_name": "htmlCharEncCheckAsciiCompatible",
    "function_signature": "static int htmlCharEncCheckAsciiCompatible(htmlParserCtxt *ctxt,\n                                const xmlChar *encoding)",
    "test_filename": "tests_HTMLparser_htmlCharEncCheckAsciiCompatible.c"
  },
  {
    "function_name": "htmlCheckMeta",
    "function_signature": "static void htmlCheckMeta(htmlParserCtxtPtr ctxt, const xmlChar **atts)",
    "test_filename": "tests_HTMLparser_htmlCheckMeta.c"
  },
  {
    "function_name": "htmlAttrHashInsert",
    "function_signature": "static int htmlAttrHashInsert(xmlParserCtxtPtr ctxt, unsigned size, const xmlChar *name,\n                   unsigned hashValue, int aindex)",
    "test_filename": "tests_HTMLparser_htmlAttrHashInsert.c"
  },
  {
    "function_name": "htmlParseStartTag",
    "function_signature": "static void htmlParseStartTag(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseStartTag.c"
  },
  {
    "function_name": "htmlParseEndTag",
    "function_signature": "static void htmlParseEndTag(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseEndTag.c"
  },
  {
    "function_name": "htmlParseContent",
    "function_signature": "static void htmlParseContent(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseContent.c"
  },
  {
    "function_name": "htmlParseElementInternal",
    "function_signature": "static int htmlParseElementInternal(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseElementInternal.c"
  },
  {
    "function_name": "htmlParseElement",
    "function_signature": "void htmlParseElement(htmlParserCtxt *ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseElement.c"
  },
  {
    "function_name": "htmlParseDocument",
    "function_signature": "int htmlParseDocument(htmlParserCtxt *ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseDocument.c"
  },
  {
    "function_name": "htmlInitParserCtxt",
    "function_signature": "static int htmlInitParserCtxt(htmlParserCtxtPtr ctxt, const htmlSAXHandler *sax,\n                   void *userData)",
    "test_filename": "tests_HTMLparser_htmlInitParserCtxt.c"
  },
  {
    "function_name": "htmlCreateMemoryParserCtxtInternal",
    "function_signature": "static htmlParserCtxtPtr htmlCreateMemoryParserCtxtInternal(const char *url,\n                                   const char *buffer, size_t size,\n                                   const char *encoding)",
    "test_filename": "tests_HTMLparser_htmlCreateMemoryParserCtxtInternal.c"
  },
  {
    "function_name": "htmlCreateDocParserCtxt",
    "function_signature": "static htmlParserCtxtPtr htmlCreateDocParserCtxt(const xmlChar *str, const char *url,\n                        const char *encoding)",
    "test_filename": "tests_HTMLparser_htmlCreateDocParserCtxt.c"
  },
  {
    "function_name": "htmlParseLookupGt",
    "function_signature": "static int htmlParseLookupGt(xmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseLookupGt.c"
  },
  {
    "function_name": "htmlParseLookupString",
    "function_signature": "static int htmlParseLookupString(xmlParserCtxtPtr ctxt, size_t startDelta,\n                      const char *str, size_t strLen, size_t extraLen)",
    "test_filename": "tests_HTMLparser_htmlParseLookupString.c"
  },
  {
    "function_name": "htmlParseLookupCommentEnd",
    "function_signature": "static int htmlParseLookupCommentEnd(htmlParserCtxtPtr ctxt)",
    "test_filename": "tests_HTMLparser_htmlParseLookupCommentEnd.c"
  },
  {
    "function_name": "htmlParseTryOrFinish",
    "function_signature": "static void htmlParseTryOrFinish(htmlParserCtxtPtr ctxt, int terminate)",
    "test_filename": "tests_HTMLparser_htmlParseTryOrFinish.c"
  },
  {
    "function_name": "htmlParseChunk",
    "function_signature": "int htmlParseChunk(htmlParserCtxt *ctxt, const char *chunk, int size,\n              int terminate)",
    "test_filename": "tests_HTMLparser_htmlParseChunk.c"
  },
  {
    "function_name": "htmlCtxtSetOptionsInternal",
    "function_signature": "static int htmlCtxtSetOptionsInternal(xmlParserCtxtPtr ctxt, int options, int keepMask)",
    "test_filename": "tests_HTMLparser_htmlCtxtSetOptionsInternal.c"
  },
  {
    "function_name": "htmlCtxtUseOptions",
    "function_signature": "int htmlCtxtUseOptions(htmlParserCtxt *ctxt, int options)",
    "test_filename": "tests_HTMLparser_htmlCtxtUseOptions.c"
  }
]