Lines Matching refs:libxml_xpathCallbacks

80 static libxml_xpathCallbackArray *libxml_xpathCallbacks = NULL;  variable
203 if (libxml_xpathCallbacks != NULL) { /* if ext funcs declared */ in libxml_xmlPythonCleanupParser()
205 if ((*libxml_xpathCallbacks)[ix].name != NULL) in libxml_xmlPythonCleanupParser()
206 xmlFree((*libxml_xpathCallbacks)[ix].name); in libxml_xmlPythonCleanupParser()
207 if ((*libxml_xpathCallbacks)[ix].ns_uri != NULL) in libxml_xmlPythonCleanupParser()
208 xmlFree((*libxml_xpathCallbacks)[ix].ns_uri); in libxml_xmlPythonCleanupParser()
211 xmlFree(libxml_xpathCallbacks); in libxml_xmlPythonCleanupParser()
212 libxml_xpathCallbacks = NULL; in libxml_xmlPythonCleanupParser()
2255 (xmlStrEqual(name, (*libxml_xpathCallbacks)[i].name)) && in libxml_xmlXPathFuncCallback()
2256 (xmlStrEqual(ns_uri, (*libxml_xpathCallbacks)[i].ns_uri))) { in libxml_xmlXPathFuncCallback()
2257 current_function = (*libxml_xpathCallbacks)[i].function; in libxml_xmlXPathFuncCallback()
2298 if ((ctxt == (*libxml_xpathCallbacks)[i].ctx) && in libxml_xmlXPathFuncLookupFunc()
2299 (xmlStrEqual(name, (*libxml_xpathCallbacks)[i].name)) && in libxml_xmlXPathFuncLookupFunc()
2300 (xmlStrEqual(ns_uri, (*libxml_xpathCallbacks)[i].ns_uri))) { in libxml_xmlXPathFuncLookupFunc()
2318 libxml_xpathCallbacks = (libxml_xpathCallbackArray*)xmlMalloc( in libxml_xpathCallbacksInitialize()
2322 (*libxml_xpathCallbacks)[i].ctx = NULL; in libxml_xpathCallbacksInitialize()
2323 (*libxml_xpathCallbacks)[i].name = NULL; in libxml_xpathCallbacksInitialize()
2324 (*libxml_xpathCallbacks)[i].ns_uri = NULL; in libxml_xpathCallbacksInitialize()
2325 (*libxml_xpathCallbacks)[i].function = NULL; in libxml_xpathCallbacksInitialize()
2362 if ((ctx == (*libxml_xpathCallbacks)[i].ctx) && in libxml_xmlRegisterXPathFunction()
2363 (xmlStrEqual(name, (*libxml_xpathCallbacks)[i].name)) && in libxml_xmlRegisterXPathFunction()
2364 (xmlStrEqual(ns_uri, (*libxml_xpathCallbacks)[i].ns_uri))) { in libxml_xmlRegisterXPathFunction()
2366 Py_XDECREF((*libxml_xpathCallbacks)[i].function); in libxml_xmlRegisterXPathFunction()
2367 (*libxml_xpathCallbacks)[i].function = pyobj_f; in libxml_xmlRegisterXPathFunction()
2374 libxml_xpathCallbacks = (libxml_xpathCallbackArray*)xmlRealloc( in libxml_xmlRegisterXPathFunction()
2375 libxml_xpathCallbacks, in libxml_xmlRegisterXPathFunction()
2380 (*libxml_xpathCallbacks)[i].ctx = ctx; in libxml_xmlRegisterXPathFunction()
2381 (*libxml_xpathCallbacks)[i].name = xmlStrdup(name); in libxml_xmlRegisterXPathFunction()
2382 (*libxml_xpathCallbacks)[i].ns_uri = xmlStrdup(ns_uri); in libxml_xmlRegisterXPathFunction()
2383 (*libxml_xpathCallbacks)[i].function = pyobj_f; in libxml_xmlRegisterXPathFunction()