libxml / injectable_functions /tree_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
6baed57 verified
[
{
"function_name": "xmlGetEntityFromDtd",
"function_signature": "static xmlEntityPtr xmlGetEntityFromDtd(const xmlDtd *dtd, const xmlChar *name)",
"test_filename": "tests_tree_xmlGetEntityFromDtd.c"
},
{
"function_name": "xmlGetParameterEntityFromDtd",
"function_signature": "static xmlEntityPtr xmlGetParameterEntityFromDtd(const xmlDtd *dtd, const xmlChar *name)",
"test_filename": "tests_tree_xmlGetParameterEntityFromDtd.c"
},
{
"function_name": "xmlValidateNCName",
"function_signature": "int xmlValidateNCName(const xmlChar *value, int space)",
"test_filename": "tests_tree_xmlValidateNCName.c"
},
{
"function_name": "xmlValidateQName",
"function_signature": "int xmlValidateQName(const xmlChar *value, int space)",
"test_filename": "tests_tree_xmlValidateQName.c"
},
{
"function_name": "xmlValidateName",
"function_signature": "int xmlValidateName(const xmlChar *value, int space)",
"test_filename": "tests_tree_xmlValidateName.c"
},
{
"function_name": "xmlValidateNMToken",
"function_signature": "int xmlValidateNMToken(const xmlChar *value, int space)",
"test_filename": "tests_tree_xmlValidateNMToken.c"
},
{
"function_name": "xmlFreeNsList",
"function_signature": "void xmlFreeNsList(xmlNs *cur)",
"test_filename": "tests_tree_xmlFreeNsList.c"
},
{
"function_name": "xmlFreeDtd",
"function_signature": "void xmlFreeDtd(xmlDtd *cur)",
"test_filename": "tests_tree_xmlFreeDtd.c"
},
{
"function_name": "xmlFreeDoc",
"function_signature": "void xmlFreeDoc(xmlDoc *cur)",
"test_filename": "tests_tree_xmlFreeDoc.c"
},
{
"function_name": "xmlNodeParseAttValue",
"function_signature": "int xmlNodeParseAttValue(const xmlDoc *doc, xmlAttr *attr,\n const xmlChar *value, size_t len, xmlNode **listPtr)",
"test_filename": "tests_tree_xmlNodeParseAttValue.c"
},
{
"function_name": "xmlNewPropInternal",
"function_signature": "static xmlAttrPtr xmlNewPropInternal(xmlNodePtr node, xmlNsPtr ns,\n const xmlChar * name, const xmlChar * value,\n int eatname)",
"test_filename": "tests_tree_xmlNewPropInternal.c"
},
{
"function_name": "xmlFreePropList",
"function_signature": "void xmlFreePropList(xmlAttr *cur)",
"test_filename": "tests_tree_xmlFreePropList.c"
},
{
"function_name": "xmlFreeProp",
"function_signature": "void xmlFreeProp(xmlAttr *cur)",
"test_filename": "tests_tree_xmlFreeProp.c"
},
{
"function_name": "xmlRemoveProp",
"function_signature": "int xmlRemoveProp(xmlAttr *cur)",
"test_filename": "tests_tree_xmlRemoveProp.c"
},
{
"function_name": "xmlNewElem",
"function_signature": "static xmlNodePtr xmlNewElem(xmlDocPtr doc, xmlNsPtr ns, const xmlChar *name,\n const xmlChar *content)",
"test_filename": "tests_tree_xmlNewElem.c"
},
{
"function_name": "xmlNewEntityRef",
"function_signature": "static xmlNodePtr xmlNewEntityRef(xmlDocPtr doc, xmlChar *name)",
"test_filename": "tests_tree_xmlNewEntityRef.c"
},
{
"function_name": "xmlRemoveEntity",
"function_signature": "static void xmlRemoveEntity(xmlEntityPtr ent)",
"test_filename": "tests_tree_xmlRemoveEntity.c"
},
{
"function_name": "xmlNodeSetDoc",
"function_signature": "static int xmlNodeSetDoc(xmlNodePtr node, xmlDocPtr doc)",
"test_filename": "tests_tree_xmlNodeSetDoc.c"
},
{
"function_name": "xmlSetTreeDoc",
"function_signature": "int xmlSetTreeDoc(xmlNode *tree, xmlDoc *doc)",
"test_filename": "tests_tree_xmlSetTreeDoc.c"
},
{
"function_name": "xmlSetListDoc",
"function_signature": "int xmlSetListDoc(xmlNode *list, xmlDoc *doc)",
"test_filename": "tests_tree_xmlSetListDoc.c"
},
{
"function_name": "xmlTextSetContent",
"function_signature": "static void xmlTextSetContent(xmlNodePtr text, xmlChar *content)",
"test_filename": "tests_tree_xmlTextSetContent.c"
},
{
"function_name": "xmlTextAddContent",
"function_signature": "static int xmlTextAddContent(xmlNodePtr text, const xmlChar *content, int len)",
"test_filename": "tests_tree_xmlTextAddContent.c"
},
{
"function_name": "xmlInsertProp",
"function_signature": "static xmlNodePtr xmlInsertProp(xmlDocPtr doc, xmlNodePtr cur, xmlNodePtr parent,\n xmlNodePtr prev, xmlNodePtr next)",
"test_filename": "tests_tree_xmlInsertProp.c"
},
{
"function_name": "xmlInsertNode",
"function_signature": "static xmlNodePtr xmlInsertNode(xmlDocPtr doc, xmlNodePtr cur, xmlNodePtr parent,\n xmlNodePtr prev, xmlNodePtr next, int coalesce)",
"test_filename": "tests_tree_xmlInsertNode.c"
},
{
"function_name": "xmlChildElementCount",
"function_signature": "unsigned long xmlChildElementCount(xmlNode *parent)",
"test_filename": "tests_tree_xmlChildElementCount.c"
},
{
"function_name": "xmlFreeNodeList",
"function_signature": "void xmlFreeNodeList(xmlNode *cur)",
"test_filename": "tests_tree_xmlFreeNodeList.c"
},
{
"function_name": "xmlFreeNode",
"function_signature": "void xmlFreeNode(xmlNode *cur)",
"test_filename": "tests_tree_xmlFreeNode.c"
},
{
"function_name": "xmlUnlinkNodeInternal",
"function_signature": "static void xmlUnlinkNodeInternal(xmlNodePtr cur)",
"test_filename": "tests_tree_xmlUnlinkNodeInternal.c"
},
{
"function_name": "xmlUnlinkNode",
"function_signature": "void xmlUnlinkNode(xmlNode *cur)",
"test_filename": "tests_tree_xmlUnlinkNode.c"
},
{
"function_name": "xmlCopyPropInternal",
"function_signature": "static xmlAttrPtr xmlCopyPropInternal(xmlDocPtr doc, xmlNodePtr target, xmlAttrPtr cur)",
"test_filename": "tests_tree_xmlCopyPropInternal.c"
},
{
"function_name": "xmlGetLineNoInternal",
"function_signature": "static long xmlGetLineNoInternal(const xmlNode *node, int depth)",
"test_filename": "tests_tree_xmlGetLineNoInternal.c"
},
{
"function_name": "xmlNodeSetLang",
"function_signature": "int xmlNodeSetLang(xmlNode *cur, const xmlChar *lang)",
"test_filename": "tests_tree_xmlNodeSetLang.c"
},
{
"function_name": "xmlNodeSetSpacePreserve",
"function_signature": "int xmlNodeSetSpacePreserve(xmlNode *cur, int val)",
"test_filename": "tests_tree_xmlNodeSetSpacePreserve.c"
},
{
"function_name": "xmlNodeGetSpacePreserve",
"function_signature": "int xmlNodeGetSpacePreserve(const xmlNode *cur)",
"test_filename": "tests_tree_xmlNodeGetSpacePreserve.c"
},
{
"function_name": "xmlNodeSetName",
"function_signature": "void xmlNodeSetName(xmlNode *cur, const xmlChar *name)",
"test_filename": "tests_tree_xmlNodeSetName.c"
},
{
"function_name": "xmlNodeSetBase",
"function_signature": "int xmlNodeSetBase(xmlNode *cur, const xmlChar* uri)",
"test_filename": "tests_tree_xmlNodeSetBase.c"
},
{
"function_name": "xmlNodeGetBaseSafe",
"function_signature": "int xmlNodeGetBaseSafe(const xmlDoc *doc, const xmlNode *cur, xmlChar **baseOut)",
"test_filename": "tests_tree_xmlNodeGetBaseSafe.c"
},
{
"function_name": "xmlNodeBufGetContent",
"function_signature": "int xmlNodeBufGetContent(xmlBuffer *buffer, const xmlNode *cur)",
"test_filename": "tests_tree_xmlNodeBufGetContent.c"
},
{
"function_name": "xmlBufGetEntityRefContent",
"function_signature": "static void xmlBufGetEntityRefContent(xmlBufPtr buf, const xmlNode *ref)",
"test_filename": "tests_tree_xmlBufGetEntityRefContent.c"
},
{
"function_name": "xmlBufGetChildContent",
"function_signature": "static void xmlBufGetChildContent(xmlBufPtr buf, const xmlNode *tree)",
"test_filename": "tests_tree_xmlBufGetChildContent.c"
},
{
"function_name": "xmlBufGetNodeContent",
"function_signature": "int xmlBufGetNodeContent(xmlBuf *buf, const xmlNode *cur)",
"test_filename": "tests_tree_xmlBufGetNodeContent.c"
},
{
"function_name": "xmlNodeSetContentInternal",
"function_signature": "static int xmlNodeSetContentInternal(xmlNodePtr cur, const xmlChar *content, int len)",
"test_filename": "tests_tree_xmlNodeSetContentInternal.c"
},
{
"function_name": "xmlNodeAddContentLen",
"function_signature": "int xmlNodeAddContentLen(xmlNode *cur, const xmlChar *content, int len)",
"test_filename": "tests_tree_xmlNodeAddContentLen.c"
},
{
"function_name": "xmlGetNsListSafe",
"function_signature": "int xmlGetNsListSafe(const xmlDoc *doc ATTRIBUTE_UNUSED, const xmlNode *node,\n xmlNs ***out)",
"test_filename": "tests_tree_xmlGetNsListSafe.c"
},
{
"function_name": "xmlNewXmlNs",
"function_signature": "static xmlNsPtr xmlNewXmlNs(void)",
"test_filename": "tests_tree_xmlNewXmlNs.c"
},
{
"function_name": "xmlTreeEnsureXMLDecl",
"function_signature": "static xmlNsPtr xmlTreeEnsureXMLDecl(xmlDocPtr doc)",
"test_filename": "tests_tree_xmlTreeEnsureXMLDecl.c"
},
{
"function_name": "xmlSearchNsSafe",
"function_signature": "int xmlSearchNsSafe(xmlNode *node, const xmlChar *prefix,\n xmlNs **out)",
"test_filename": "tests_tree_xmlSearchNsSafe.c"
},
{
"function_name": "xmlNsInScope",
"function_signature": "static int xmlNsInScope(xmlDocPtr doc ATTRIBUTE_UNUSED, xmlNodePtr node,\n xmlNodePtr ancestor, const xmlChar * prefix)",
"test_filename": "tests_tree_xmlNsInScope.c"
},
{
"function_name": "xmlSearchNsByHrefSafe",
"function_signature": "int xmlSearchNsByHrefSafe(xmlNode *node, const xmlChar *href,\n xmlNs **out)",
"test_filename": "tests_tree_xmlSearchNsByHrefSafe.c"
},
{
"function_name": "xmlNewReconciledNs",
"function_signature": "static xmlNsPtr xmlNewReconciledNs(xmlNodePtr tree, xmlNsPtr ns)",
"test_filename": "tests_tree_xmlNewReconciledNs.c"
},
{
"function_name": "xmlGrowNsCache",
"function_signature": "static int xmlGrowNsCache(xmlNsCache **cache, int *capacity)",
"test_filename": "tests_tree_xmlGrowNsCache.c"
},
{
"function_name": "xmlReconciliateNs",
"function_signature": "int xmlReconciliateNs(xmlDoc *doc, xmlNode *tree)",
"test_filename": "tests_tree_xmlReconciliateNs.c"
},
{
"function_name": "xmlGetPropNodeInternal",
"function_signature": "static xmlAttrPtr xmlGetPropNodeInternal(const xmlNode *node, const xmlChar *name,\n\t\t const xmlChar *nsName, int useDTD)",
"test_filename": "tests_tree_xmlGetPropNodeInternal.c"
},
{
"function_name": "xmlNodeGetAttrValue",
"function_signature": "int xmlNodeGetAttrValue(const xmlNode *node, const xmlChar *name,\n const xmlChar *nsUri, xmlChar **out)",
"test_filename": "tests_tree_xmlNodeGetAttrValue.c"
},
{
"function_name": "xmlUnsetProp",
"function_signature": "int xmlUnsetProp(xmlNode *node, const xmlChar *name)",
"test_filename": "tests_tree_xmlUnsetProp.c"
},
{
"function_name": "xmlUnsetNsProp",
"function_signature": "int xmlUnsetNsProp(xmlNode *node, xmlNs *ns, const xmlChar *name)",
"test_filename": "tests_tree_xmlUnsetNsProp.c"
},
{
"function_name": "xmlIsBlankNode",
"function_signature": "int xmlIsBlankNode(const xmlNode *node)",
"test_filename": "tests_tree_xmlIsBlankNode.c"
},
{
"function_name": "xmlTextConcat",
"function_signature": "int xmlTextConcat(xmlNode *node, const xmlChar *content, int len)",
"test_filename": "tests_tree_xmlTextConcat.c"
},
{
"function_name": "xmlDOMWrapNsMapFree",
"function_signature": "static void xmlDOMWrapNsMapFree(xmlNsMapPtr nsmap)",
"test_filename": "tests_tree_xmlDOMWrapNsMapFree.c"
},
{
"function_name": "xmlDOMWrapNsMapAddItem",
"function_signature": "static xmlNsMapItemPtr xmlDOMWrapNsMapAddItem(xmlNsMapPtr *nsmap, int position,\n\t\t xmlNsPtr oldNs, xmlNsPtr newNs, int depth)",
"test_filename": "tests_tree_xmlDOMWrapNsMapAddItem.c"
},
{
"function_name": "xmlDOMWrapStoreNs",
"function_signature": "static xmlNsPtr xmlDOMWrapStoreNs(xmlDocPtr doc,\n\t\t const xmlChar *nsName,\n\t\t const xmlChar *prefix)",
"test_filename": "tests_tree_xmlDOMWrapStoreNs.c"
},
{
"function_name": "xmlDOMWrapFreeCtxt",
"function_signature": "void xmlDOMWrapFreeCtxt(xmlDOMWrapCtxt *ctxt)",
"test_filename": "tests_tree_xmlDOMWrapFreeCtxt.c"
},
{
"function_name": "xmlTreeNSListLookupByPrefix",
"function_signature": "static xmlNsPtr xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix)",
"test_filename": "tests_tree_xmlTreeNSListLookupByPrefix.c"
},
{
"function_name": "xmlDOMWrapNSNormGatherInScopeNs",
"function_signature": "static int xmlDOMWrapNSNormGatherInScopeNs(xmlNsMapPtr *map,\n\t\t\t\txmlNodePtr node)",
"test_filename": "tests_tree_xmlDOMWrapNSNormGatherInScopeNs.c"
},
{
"function_name": "xmlDOMWrapNSNormAddNsMapItem2",
"function_signature": "static int xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number,\n\t\t\txmlNsPtr oldNs, xmlNsPtr newNs)",
"test_filename": "tests_tree_xmlDOMWrapNSNormAddNsMapItem2.c"
},
{
"function_name": "xmlDOMWrapRemoveNode",
"function_signature": "int xmlDOMWrapRemoveNode(xmlDOMWrapCtxt *ctxt, xmlDoc *doc,\n\t\t xmlNode *node, int options ATTRIBUTE_UNUSED)",
"test_filename": "tests_tree_xmlDOMWrapRemoveNode.c"
},
{
"function_name": "xmlSearchNsByNamespaceStrict",
"function_signature": "static int xmlSearchNsByNamespaceStrict(xmlDocPtr doc, xmlNodePtr node,\n\t\t\t const xmlChar* nsName,\n\t\t\t xmlNsPtr *retNs, int prefixed)",
"test_filename": "tests_tree_xmlSearchNsByNamespaceStrict.c"
},
{
"function_name": "xmlSearchNsByPrefixStrict",
"function_signature": "static int xmlSearchNsByPrefixStrict(xmlDocPtr doc, xmlNodePtr node,\n\t\t\t const xmlChar* prefix,\n\t\t\t xmlNsPtr *retNs)",
"test_filename": "tests_tree_xmlSearchNsByPrefixStrict.c"
},
{
"function_name": "xmlDOMWrapNSNormDeclareNsForced",
"function_signature": "static xmlNsPtr xmlDOMWrapNSNormDeclareNsForced(xmlDocPtr doc,\n\t\t\t\txmlNodePtr elem,\n\t\t\t\tconst xmlChar *nsName,\n\t\t\t\tconst xmlChar *prefix,\n\t\t\t\tint checkShadow)",
"test_filename": "tests_tree_xmlDOMWrapNSNormDeclareNsForced.c"
},
{
"function_name": "xmlDOMWrapNSNormAcquireNormalizedNs",
"function_signature": "static int xmlDOMWrapNSNormAcquireNormalizedNs(xmlDocPtr doc,\n\t\t\t\t xmlNodePtr elem,\n\t\t\t\t xmlNsPtr ns,\n\t\t\t\t xmlNsPtr *retNs,\n\t\t\t\t xmlNsMapPtr *nsMap,\n\n\t\t\t\t int depth,\n\t\t\t\t int ancestorsOnly,\n\t\t\t\t int prefixed)",
"test_filename": "tests_tree_xmlDOMWrapNSNormAcquireNormalizedNs.c"
},
{
"function_name": "xmlDOMWrapReconcileNamespaces",
"function_signature": "int xmlDOMWrapReconcileNamespaces(xmlDOMWrapCtxt *ctxt ATTRIBUTE_UNUSED,\n\t\t\t xmlNode *elem,\n\t\t\t int options)",
"test_filename": "tests_tree_xmlDOMWrapReconcileNamespaces.c"
},
{
"function_name": "xmlDOMWrapAdoptBranch",
"function_signature": "static int xmlDOMWrapAdoptBranch(xmlDOMWrapCtxtPtr ctxt,\n\t\t xmlDocPtr sourceDoc ATTRIBUTE_UNUSED,\n\t\t xmlNodePtr node,\n\t\t xmlDocPtr destDoc,\n\t\t xmlNodePtr destParent,\n\t\t int options ATTRIBUTE_UNUSED)",
"test_filename": "tests_tree_xmlDOMWrapAdoptBranch.c"
},
{
"function_name": "xmlDOMWrapCloneNode",
"function_signature": "int xmlDOMWrapCloneNode(xmlDOMWrapCtxt *ctxt,\n\t\t xmlDoc *sourceDoc,\n\t\t xmlNode *node,\n\t\t xmlNode **resNode,\n\t\t xmlDoc *destDoc,\n\t\t xmlNode *destParent,\n\t\t int deep,\n\t\t int options ATTRIBUTE_UNUSED)",
"test_filename": "tests_tree_xmlDOMWrapCloneNode.c"
},
{
"function_name": "xmlDOMWrapAdoptAttr",
"function_signature": "static int xmlDOMWrapAdoptAttr(xmlDOMWrapCtxtPtr ctxt,\n\t\t xmlDocPtr sourceDoc ATTRIBUTE_UNUSED,\n\t\t xmlAttrPtr attr,\n\t\t xmlDocPtr destDoc,\n\t\t xmlNodePtr destParent,\n\t\t int options ATTRIBUTE_UNUSED)",
"test_filename": "tests_tree_xmlDOMWrapAdoptAttr.c"
},
{
"function_name": "xmlDOMWrapAdoptNode",
"function_signature": "int xmlDOMWrapAdoptNode(xmlDOMWrapCtxt *ctxt,\n\t\t xmlDoc *sourceDoc,\n\t\t xmlNode *node,\n\t\t xmlDoc *destDoc,\n\t\t xmlNode *destParent,\n\t\t int options)",
"test_filename": "tests_tree_xmlDOMWrapAdoptNode.c"
},
{
"function_name": "xmlIsXHTML",
"function_signature": "int xmlIsXHTML(const xmlChar *systemID, const xmlChar *publicID)",
"test_filename": "tests_tree_xmlIsXHTML.c"
}
]