Home | History | Annotate | Download | only in libxml2

Lines Matching defs:STATE

261  * Each xmlValidState represent the validation state associated to the
341 * debug/maintain than a generic NFA -> DFA state based algo. The
345 * this is the content of a saved state for rollbacks
356 unsigned char state; /* ROLLBACK_XXX */
365 #define STATE ctxt->vstate->state
376 unsigned char state) {
405 * Don't push on the stack a state already here
411 (ctxt->vstateTab[i].state == state))
417 ctxt->vstateTab[ctxt->vstateNr].state = state;
430 ctxt->vstate->state = ctxt->vstateTab[ctxt->vstateNr].state;
581 xmlValidDebugState(xmlValidStatePtr state) {
583 if (state->cont == NULL)
586 switch (state->cont->type) {
592 state->cont->name);
601 xmlValidPrintNode(state->node);
603 state->depth, state->occurs, state->state);
610 xmlGenericError(xmlGenericErrorContext, "state: ");
676 xmlAutomataStatePtr oldstate = ctxt->state;
688 ctxt->state = xmlAutomataNewTransition(ctxt->am,
689 ctxt->state, NULL, fullname, NULL);
692 ctxt->state = xmlAutomataNewTransition(ctxt->am,
693 ctxt->state, NULL, fullname, NULL);
694 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
697 ctxt->state = xmlAutomataNewTransition(ctxt->am,
698 ctxt->state, NULL, fullname, NULL);
699 xmlAutomataNewTransition(ctxt->am, ctxt->state,
700 ctxt->state, fullname, NULL);
703 ctxt->state = xmlAutomataNewEpsilon(ctxt->am,
704 ctxt->state, NULL);
706 ctxt->state, ctxt->state, fullname, NULL);
720 oldstate = ctxt->state;
723 ctxt->state = xmlAutomataNewEpsilon(ctxt->am, oldstate, NULL);
724 oldstate = ctxt->state;
732 oldend = ctxt->state;
733 ctxt->state = xmlAutomataNewEpsilon(ctxt->am, oldend, NULL);
738 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
741 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
757 ctxt->state = xmlAutomataNewEpsilon(ctxt->am,
758 ctxt->state, NULL);
760 oldstate = ctxt->state;
768 ctxt->state = oldstate;
770 xmlAutomataNewEpsilon(ctxt->am, ctxt->state, oldend);
774 ctxt->state = oldstate;
776 xmlAutomataNewEpsilon(ctxt->am, ctxt->state, oldend);
777 ctxt->state = xmlAutomataNewEpsilon(ctxt->am, oldend, NULL);
782 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
785 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
838 ctxt->state = xmlAutomataGetInitState(ctxt->am);
840 xmlAutomataSetFinalState(ctxt->am, ctxt->state);
854 ctxt->state = NULL;
859 ctxt->state = NULL;
4798 if (STATE == ROLLBACK_PARENT) {
4807 * we may have to save a backup state here. This is the equivalent
5029 if (STATE == ROLLBACK_PARENT) {
5043 if (STATE == ROLLBACK_PARENT) {
5058 STATE = 0;
5334 * The first entry in the stack is reserved to the current state
5345 STATE = 0;
5434 STATE = 0;
5723 xmlValidStatePtr state = ctxt->vstate;
5729 if (state->elemDecl != NULL) {
5730 elemDecl = state->elemDecl;
5737 xmlErrValidNode(ctxt, state->node,
5740 state->node->name, NULL, NULL);
5751 xmlErrValidNode(ctxt, state->node,
5754 state->node->name, NULL, NULL);
5760 xmlErrValidNode(ctxt, state->node,
5763 qname, state->node->name, NULL);
5774 if (state->exec != NULL) {
5775 ret = xmlRegExecPushString(state->exec, qname, NULL);
5777 xmlErrValidNode(ctxt, state->node,
5780 state->node->name, qname, NULL);
5815 xmlValidStatePtr state = ctxt->vstate;
5821 if (state->elemDecl != NULL) {
5822 elemDecl = state->elemDecl;
5829 xmlErrValidNode(ctxt, state->node,
5832 state->node->name, NULL, NULL);
5845 xmlErrValidNode(ctxt, state->node,
5848 state->node->name, NULL, NULL);
5889 xmlValidStatePtr state = ctxt->vstate;
5895 if (state->elemDecl != NULL) {
5896 elemDecl = state->elemDecl;
5899 if (state->exec != NULL) {
5900 ret = xmlRegExecPushString(state->exec, NULL, NULL);
5902 xmlErrValidNode(ctxt, state->node,
5905 state->node->name, NULL,NULL);