Lines Matching defs:error

221  * @X:  the error code
223 * Macro to raise an XPath error and return NULL.
247 "Memory allocation error\n",
248 "Syntax error\n",
249 "Resource error\n",
250 "Sub resource error\n",
252 "Encoding error\n",
256 "?? Unknown error ??\n" /* Must be last in the list! */
265 * Handle a redefinition of attribute error
284 if (ctxt->error != NULL)
285 ctxt->error(ctxt->userData, &ctxt->lastError);
307 * Handle a redefinition of attribute error
315 ctxt->error = XPATH_MEMORY_ERROR;
323 * @error: the error code
325 * Handle an XPath error
328 xmlXPathErr(xmlXPathParserContextPtr ctxt, int error)
330 if ((error < 0) || (error > MAXERRNO))
331 error = MAXERRNO;
335 error + XML_XPATH_EXPRESSION_OK - XPATH_EXPRESSION_OK,
338 xmlXPathErrorMessages[error]);
341 ctxt->error = error;
345 error + XML_XPATH_EXPRESSION_OK - XPATH_EXPRESSION_OK,
349 xmlXPathErrorMessages[error]);
353 /* cleanup current last error */
357 ctxt->context->lastError.code = error + XML_XPATH_EXPRESSION_OK -
363 if (ctxt->context->error != NULL) {
364 ctxt->context->error(ctxt->context->userData,
369 error + XML_XPATH_EXPRESSION_OK - XPATH_EXPRESSION_OK,
373 xmlXPathErrorMessages[error]);
383 * @no: the error number
385 * Formats an error message.
452 * Returns a xsltPointerList structure or NULL in case of an error.
618 * Returns the newly allocated xmlXPathCompExprPtr or NULL in case of error
870 "Internal error at %s:%d\n", \
2488 ctxt->error = XPATH_MEMORY_ERROR;
2504 * Check error with #xmlXPathCheckError.
2531 * Check error with #xmlXPathCheckError.
2558 * Check error with #xmlXPathCheckError.
2585 * Check error with #xmlXPathCheckError.
2620 * Check error with #xmlXPathCheckError.
2837 * of error.
2883 * Returns -2 in case of error 1 if first point < second point, 0 if
3032 * Returns -2 in case of error 1 if first point < second point, 0 if
3700 * Returns @val1 once extended or NULL in case of error.
3813 * Returns @val1 once extended or NULL in case of error.
3875 * Returns @set1 once extended or NULL in case of error.
3982 * Returns @set1 once extended or NULL in case of error.
4750 * Returns 0 in case of success, -1 in case of error
4767 * Returns 0 in case of success, -1 in case of error
4898 * Returns 0 in case of success, -1 in case of error
4916 * Returns 0 in case of success, -1 in case of error
5039 * Returns 0 in case of success, -1 in case of error
5662 * Returns the allocated string value of the object, NULL in case of error.
9318 /* not asserting an XPath error is probably better */
9326 /* not asserting an XPath error is probably better */
9329 if (ch & 0x80) /* must have had error encountered */
9734 * If we detect an UTF8 error that probably means that the
9736 * declaration header. Report the error and switch the encoding
10143 * Returns the value found or NULL in case of error
10407 * they are used in location paths. It is an error if the expression to
10486 * and a relative location path. It is an error if the expression
11540 * TODO: raise an internal error.
11625 if ((ctxt->error != XPATH_EXPRESSION_OK) || (res == -1)) {
11652 * Can this happen? Maybe in internal-error cases.
11691 * TODO: raise an internal error.
11775 if ((ctxt->error != XPATH_EXPRESSION_OK) || (res == -1)) {
12210 goto error;
12264 goto error;
12483 if (ctxt->error != XPATH_EXPRESSION_OK) {
12485 goto error;
12532 error:
12536 * TODO: Do we have to do this also for the "error"
12956 if (ctxt->error != XPATH_EXPRESSION_OK) {
13071 if (ctxt->error != XPATH_EXPRESSION_OK) {
13169 if (ctxt->error) {
13195 if (ctxt->error) {
13362 ctxt->error = XPATH_UNDEF_VARIABLE_ERROR;
13374 ctxt->error = XPATH_UNDEF_PREFIX_ERROR;
13380 ctxt->error = XPATH_UNDEF_VARIABLE_ERROR;
13399 "xmlXPathCompOpEval: parameter error\n");
13400 ctxt->error = XPATH_INVALID_OPERAND;
13407 "xmlXPathCompOpEval: parameter error\n");
13408 ctxt->error = XPATH_INVALID_OPERAND;
13428 ctxt->error = XPATH_UNDEF_PREFIX_ERROR;
13641 if (ctxt->error != XPATH_EXPRESSION_OK) {
13775 if (ctxt->error != XPATH_EXPRESSION_OK) {
13898 if (ctxt->error != XPATH_EXPRESSION_OK) {
13964 if (ctxt->error != XPATH_EXPRESSION_OK) {
14007 ctxt->error = XPATH_INVALID_OPERAND;
14050 if (ctxt->error != XPATH_EXPRESSION_OK)
14054 if (ctxt->error != XPATH_EXPRESSION_OK)
14066 if (ctxt->error != XPATH_EXPRESSION_OK)
14206 * QUESTION TODO: Is this an error?
14664 if( pctxt->error != XPATH_EXPRESSION_OK )
14672 * aleksey: in some cases this line prints *second* error message
14674 * However, we are not sure that all error messages are printed
14796 if ((pctxt->error != XPATH_EXPRESSION_OK) && (resObj) && (*resObj)) {
14876 if ((ctxt->error == XPATH_EXPRESSION_OK) &&
14944 if (ctxt->error != XPATH_EXPRESSION_OK) {
14978 if ((*pctxt->cur != 0) || (pctxt->error != XPATH_EXPRESSION_OK)) {