Lines Matching defs:ERROR
47 #ifdef ERROR
48 #undef ERROR
50 #define ERROR(str) \
51 ctxt->error = XML_REGEXP_COMPILE_ERROR; \
246 int error;
311 int status; /* execution status != 0 indicate an error */
344 * error handling
346 int errStateNo; /* the error state number */
347 xmlRegStatePtr errState; /* the error state */
348 xmlChar *errString; /* the string raising the error */
349 int *errCounts; /* counters at the error state */
368 * Regexp memory error handler *
383 ctxt->error = XML_ERR_NO_MEMORY;
406 ctxt->error = XML_REGEXP_COMPILE_ERROR;
427 * Returns the new regexp or NULL in case of error
682 * Returns the new context or NULL in case of error
697 ret->error = 0;
712 * Returns the new range or NULL in case of error
753 * Returns the new copy or NULL in case of error.
784 * Returns the new atom or NULL in case of error
836 * Returns the new atom or NULL in case of error
859 goto error;
864 goto error;
870 error:
1179 if (ctxt->error)
1180 fprintf(output, "error ");
1223 ERROR("add range: atom is NULL");
1227 ERROR("add range: atom is not ranges");
1290 ERROR("atom push: atom is NULL");
1355 ERROR("add state: state is NULL");
1359 ERROR("add state: target is NULL");
1541 * Returns 0 if success and -1 in case of error.
1549 ERROR("genrate transition: atom == NULL");
3257 goto error;
3296 goto error;
3359 goto error;
3404 goto error;
3418 goto error;
3455 error:
3530 * For error handling, exec->counts is allocated twice the size
3687 * a negative value in case of error.
3732 goto error;
3748 error:
3770 * a negative value in case of error.
4032 * entering a sink state, save the current state as error
4078 * store the current state as the error state.
4129 * a negative value in case of error.
4147 * a negative value in case of error.
4196 * @err: error extraction or normal one
4205 * Returns: 0 in case of success or -1 in case of error.
4368 * Returns: 0 in case of success or -1 in case of error.
4378 * @exec: a regexp execution context generating an error
4379 * @string: return value for the error string
4385 * Extract error informations from the regexp execution, the parameter
4393 * Returns: 0 in case of success or -1 in case of error.
4791 ERROR("IsXXXX expected");
4814 ERROR("Unknown char property");
4852 ERROR("Escaped sequence: expecting \\");
4860 ERROR("Expecting '{'");
4866 ERROR("Expecting '}'");
4873 ERROR("Expecting '{'");
4880 ERROR("Expecting '}'");
4967 ERROR("Wrong escape sequence, misuse of character '\\'");
4988 ERROR("Expecting ']'");
5005 ERROR("Invalid escape value");
5013 ERROR("Expecting a char range");
5045 ERROR("Invalid escape value");
5052 ERROR("Expecting the end of a char range");
5058 ERROR("End of range is before start of range");
5081 (CUR != 0) && (ctxt->error == 0));
5096 while ((CUR != ']') && (ctxt->error == 0)) {
5113 ERROR("charClassExpr: ']' expected");
5143 ERROR("xmlFAParseCharClass: ']' expected");
5156 * Returns 0 if success or -1 in case of error
5217 ERROR("Improper quantifier");
5224 ERROR("Unterminated quantifier");
5282 ERROR("xmlFAParseAtom: expecting ')'");
5314 ERROR("internal: no atom generated");
5344 while ((ret != 0) && (ctxt->error == 0)) {
5383 while ((CUR == '|') && (ctxt->error == 0)) {
5386 ERROR("expecting a branch after |")
5450 * Returns the compiled expression or NULL in case of error
5469 ERROR("xmlFAParseRegExp: extra characters");
5471 if (ctxt->error != 0) {
5483 if (ctxt->error != 0) {
5499 * Returns 1 if it matches, 0 if not and a negative value in case of error
5514 * Returns 1 if it yes, 0 if not and a negative value in case of error
5676 * Returns 0 or -1 in case of error
5698 * Returns the target state or NULL in case of error
5736 * Returns the target state or NULL in case of error
5796 * Returns the target state or NULL in case of error
5863 * Returns the target state or NULL in case of error
5950 * Returns the target state or NULL in case of error
6018 * Returns the target state or NULL in case of error
6098 * Returns the target state or NULL in case of error
6145 * Returns the new state or NULL in case of error
6168 * Returns the target state or NULL in case of error
6193 * Returns the target state or NULL in case of error
6214 * Returns the counter number or -1 in case of error
6242 * Returns the target state or NULL in case of error
6266 * Returns the target state or NULL in case of error
6286 * Returns the compiled regexp or NULL in case of error
6292 if ((am == NULL) || (am->error != 0)) return(NULL);
6306 * Returns 1 if true, 0 if not, and -1 in case of error
6352 * Returns the context or NULL in case of error
6553 * Returns the pointer or NULL in case of error
6845 * Returns the node or NULL in case of error
6868 * Returns the node or NULL in case of error
6893 * Returns the node or NULL in case of error
6919 * Returns the node or NULL in case of error
7067 * Returns 1 if nillable, 0 if not and -1 in case of error
7196 * Returns the resulting expression or NULL in case of internal error
7248 * and -1 in case of internel error.
7310 * Returns the resulting expression or NULL in case of internal error
7763 * Returns the resulting expression or NULL in case of internal error, the
8100 fprintf(stderr, "Error in tree\n");
8125 * Returns the maximum length or -1 in case of error
8140 * Returns the number of nodes in use or -1 in case of error
8155 * Returns the number of nodes ever allocated or -1 in case of error