Lines Matching defs:error

148                     goto error;
170 error:
1014 if (PyObject_HasAttrString(handler, (char *) "error")) {
1020 PyObject_CallMethod(handler, (char *) "error", (char *) "s",
1544 * Per parserCtxt error handler *
1662 ctxt->sax->error = libxml_xmlParserCtxtErrorFuncHandler;
1664 ctxt->vctxt.error = libxml_xmlParserCtxtValidityErrorFuncHandler;
1668 ctxt->sax->error = xmlParserError;
1669 ctxt->vctxt.error = xmlParserValidityError;
1700 /* no python error handler registered */
1740 PyObject *error;
1762 result = PyEval_CallObject(pyCtxt->error, list);
1847 /* TODO: check warn and error is a function ! */
1848 Py_XDECREF(pyCtxt->error);
1850 pyCtxt->error = pyobj_error;
1860 ctxt->error = libxml_xmlValidCtxtErrorFuncHandler;
1882 Py_XDECREF(pyCtxt->error);
1895 * Per xmlTextReader error handler *
1947 /* clear previous error handler */
1951 /* ok, it's our error handler! */
1968 /* set new error handler */
2005 /* ok, it's our error handler! */
2014 /* f is null or it's not our error handler */
2046 /* ok, it's our error handler! */
2053 * else, something wrong happened, because the error handler is
2104 ("libxml_xmlXPathFuncCallback: internal error %s not found !\n",
3043 * RelaxNG error handler registration *
3050 PyObject *error;
3072 result = PyEval_CallObject(pyCtxt->error, list);
3157 /* first time to set the error handlers */
3166 /* TODO: check warn and error is a function ! */
3167 Py_XDECREF(pyCtxt->error);
3169 pyCtxt->error = pyobj_error;
3199 Py_XDECREF(pyCtxt->error);
3214 PyObject *error;
3236 result = PyEval_CallObject(pyCtxt->error, list);
3321 /* first time to set the error handlers */
3330 /* TODO: check warn and error is a function ! */
3331 Py_XDECREF(pyCtxt->error);
3333 pyCtxt->error = pyobj_error;
3364 Py_XDECREF(pyCtxt->error);