Lines Matching refs:errNr
369 int errNr; /* Depth of the error stack */ member
1769 "Pushing error %d at %d on stack\n", err, ctxt->errNr); in xmlRelaxNGValidErrorPush()
1773 ctxt->errNr = 0; in xmlRelaxNGValidErrorPush()
1784 if (ctxt->errNr >= ctxt->errMax) { in xmlRelaxNGValidErrorPush()
1795 ctxt->err = &ctxt->errTab[ctxt->errNr - 1]; in xmlRelaxNGValidErrorPush()
1799 return (ctxt->errNr); in xmlRelaxNGValidErrorPush()
1800 cur = &ctxt->errTab[ctxt->errNr]; in xmlRelaxNGValidErrorPush()
1819 return (ctxt->errNr++); in xmlRelaxNGValidErrorPush()
1833 if (ctxt->errNr <= 0) { in xmlRelaxNGValidErrorPop()
1837 ctxt->errNr--; in xmlRelaxNGValidErrorPop()
1838 if (ctxt->errNr > 0) in xmlRelaxNGValidErrorPop()
1839 ctxt->err = &ctxt->errTab[ctxt->errNr - 1]; in xmlRelaxNGValidErrorPop()
1842 cur = &ctxt->errTab[ctxt->errNr]; in xmlRelaxNGValidErrorPop()
2274 for (i = level; i < ctxt->errNr; i++) { in xmlRelaxNGPopErrors()
2286 ctxt->errNr = level; in xmlRelaxNGPopErrors()
2287 if (ctxt->errNr <= 0) in xmlRelaxNGPopErrors()
2305 "Dumping error stack %d errors\n", ctxt->errNr); in xmlRelaxNGDumpValidError()
2307 for (i = 0, k = 0; i < ctxt->errNr; i++) { in xmlRelaxNGDumpValidError()
2333 ctxt->errNr = 0; in xmlRelaxNGDumpValidError()
2371 if (ctxt->errNr != 0) in xmlRelaxNGAddValidError()
8807 if (ctxt->errNr > 0) in xmlRelaxNGValidateValue()
8917 if (ctxt->errNr > 0) in xmlRelaxNGValidateValue()
8936 if (ctxt->errNr > 0) in xmlRelaxNGValidateValue()
8941 if (ctxt->errNr > 0) in xmlRelaxNGValidateValue()
9285 int errNr = ctxt->errNr; in xmlRelaxNGValidateInterleave() local
9557 if (ctxt->errNr > errNr) in xmlRelaxNGValidateInterleave()
9558 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateInterleave()
9703 if (ctxt->errNr > 0) in xmlRelaxNGElementMatch()
9838 int ret = 0, i, tmp, oldflags, errNr; in xmlRelaxNGValidateState() local
9882 errNr = ctxt->errNr; in xmlRelaxNGValidateState()
9904 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
9905 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
9906 if (ctxt->errNr != 0) { in xmlRelaxNGValidateState()
9930 if (ctxt->errNr != 0) { in xmlRelaxNGValidateState()
9931 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
9932 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
9942 errNr = ctxt->errNr; in xmlRelaxNGValidateState()
10100 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10101 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10121 errNr = ctxt->errNr; in xmlRelaxNGValidateState()
10134 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10135 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10146 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10147 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10156 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10157 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10161 errNr = ctxt->errNr; in xmlRelaxNGValidateState()
10166 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10167 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10174 errNr = ctxt->errNr; in xmlRelaxNGValidateState()
10307 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10308 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10319 errNr = ctxt->errNr; in xmlRelaxNGValidateState()
10407 if (ctxt->errNr > errNr) in xmlRelaxNGValidateState()
10408 xmlRelaxNGPopErrors(ctxt, errNr); in xmlRelaxNGValidateState()
10788 else if (ctxt->errNr != 0) { in xmlRelaxNGValidateDocument()
10791 ctxt->errNr); in xmlRelaxNGValidateDocument()
10897 ret->errNr = 0; in xmlRelaxNGNewValidCtxt()