Home | History | Annotate | Download | only in libxml2

Lines Matching defs:ERROR

42 #ifdef ERROR
43 #undef ERROR
45 #define ERROR(a, b, c, d)
181 int error; /* error code */
200 * Returns the newly allocated xmlPatternPtr or NULL in case of error
208 ERROR(NULL, NULL, NULL,
217 ERROR(NULL, NULL, NULL,
289 * Returns the newly allocated xmlPatParserContextPtr or NULL in case of error
301 ERROR(NULL, NULL, NULL,
356 ERROR(ctxt, NULL, NULL,
405 * returns 0 in case of success and -1 in case of error.
427 ERROR(ctxt, NULL, NULL,
690 /* got an error try to rollback */
730 if (xmlPatternAdd(ctxt, ctxt->comp, (op), (val), (val2))) goto error;
734 ctxt->error = (X); return; }
738 ctxt->error = (X); return(0); }
769 ctxt->error = 1;
788 ctxt->error = 1;
800 ctxt->error = 1;
933 ERROR(NULL, NULL, NULL,
935 ctxt->error = 1;
948 ctxt->error = 1;
949 goto error;
972 ctxt->error = 1;
973 goto error;
982 ERROR(NULL, NULL, NULL,
984 ctxt->error = 1;
985 goto error;
994 error:
1035 ctxt->error = 1;
1040 if (ctxt->error != 0)
1041 goto error;
1051 ERROR(NULL, NULL, NULL,
1053 ctxt->error = 1;
1069 ctxt->error = 1;
1070 goto error;
1093 ctxt->error = 1;
1094 goto error;
1104 ERROR(NULL, NULL, NULL,
1106 ctxt->error = 1;
1107 goto error;
1123 ERROR(NULL, NULL, NULL,
1125 ctxt->error = 1;
1126 goto error;
1136 ctxt->error = 1;
1137 goto error;
1160 ctxt->error = 1;
1161 goto error;
1171 ERROR(NULL, NULL, NULL,
1173 ctxt->error = 1;
1174 goto error;
1188 ctxt->error = 1;
1189 goto error;
1192 if (ctxt->error != 0)
1193 goto error;
1198 ctxt->error = 1;
1199 goto error;
1204 ctxt->error = 1;
1205 goto error;
1213 error:
1254 ctxt->error = 1;
1255 goto error;
1265 if (ctxt->error != 0)
1266 goto error;
1277 ctxt->error = 1;
1278 goto error;
1282 if (ctxt->error != 0)
1283 goto error;
1292 if (ctxt->error != 0)
1293 goto error;
1301 ctxt->error = 1;
1302 goto error;
1305 if (ctxt->error != 0)
1306 goto error;
1313 ctxt->error = 1;
1315 error:
1335 goto error;
1351 /* TODO: A more meaningful error message. */
1354 goto error;
1366 goto error;
1381 if (ctxt->error != 0)
1382 goto error;
1396 goto error;
1406 ctxt->error = 1;
1409 error:
1410 ctxt->error = 1;
1414 ctxt->error = 1;
1488 * Returns the new structure or NULL in case of error.
1499 ERROR(NULL, NULL, NULL,
1507 ERROR(NULL, NULL, NULL,
1542 * Returns -1 in case of error or the step index if successful
1553 ERROR(NULL, NULL, NULL,
1619 goto error;
1626 goto error;
1637 goto error;
1662 goto error;
1685 goto error;
1694 goto error;
1702 goto error;
1736 goto error;
1745 error:
1756 * Returns the new structure or NULL in case of error.
1764 ERROR(NULL, NULL, NULL,
1772 ERROR(NULL, NULL, NULL,
1810 * Returns -1 in case of error or the state index if successful
1828 ERROR(NULL, NULL, NULL,
1853 * Returns: -1 in case of error, 1 if the current state in the stream is a
2212 * Returns: -1 in case of error, 1 if the current state in the stream is a
2237 * Returns: -1 in case of error, 1 if the current state in the stream is a
2262 * Returns: -1 in case of error, 1 if the current state in the stream is a
2277 * Returns: -1 in case of error, 0 otherwise.
2355 * Returns the compiled form of the pattern or NULL in case of error
2384 if (ctxt == NULL) goto error;
2386 if (cur == NULL) goto error;
2407 if (ctxt->error != 0)
2408 goto error;
2427 goto error;
2446 error:
2524 * Returns 1 if streamable, 0 if not and -1 in case of error.
2545 * and -1 in case of error
2572 * Returns -1 in case of error otherwise the depth,
2598 * Returns 1 if true, 0 if false and -1 in case of error