libxml / injectable_functions /HTMLparser_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
6baed57 verified
[
{
"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"
}
]