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: ");
678 xmlAutomataStatePtr oldstate = ctxt->state;
690 ctxt->state = xmlAutomataNewTransition(ctxt->am,
691 ctxt->state, NULL, fullname, NULL);
694 ctxt->state = xmlAutomataNewTransition(ctxt->am,
695 ctxt->state, NULL, fullname, NULL);
696 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
699 ctxt->state = xmlAutomataNewTransition(ctxt->am,
700 ctxt->state, NULL, fullname, NULL);
701 xmlAutomataNewTransition(ctxt->am, ctxt->state,
702 ctxt->state, fullname, NULL);
705 ctxt->state = xmlAutomataNewEpsilon(ctxt->am,
706 ctxt->state, NULL);
708 ctxt->state, ctxt->state, fullname, NULL);
722 oldstate = ctxt->state;
725 ctxt->state = xmlAutomataNewEpsilon(ctxt->am, oldstate, NULL);
726 oldstate = ctxt->state;
734 oldend = ctxt->state;
735 ctxt->state = xmlAutomataNewEpsilon(ctxt->am, oldend, NULL);
740 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
743 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
759 ctxt->state = xmlAutomataNewEpsilon(ctxt->am,
760 ctxt->state, NULL);
762 oldstate = ctxt->state;
770 ctxt->state = oldstate;
772 xmlAutomataNewEpsilon(ctxt->am, ctxt->state, oldend);
776 ctxt->state = oldstate;
778 xmlAutomataNewEpsilon(ctxt->am, ctxt->state, oldend);
779 ctxt->state = xmlAutomataNewEpsilon(ctxt->am, oldend, NULL);
784 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
787 xmlAutomataNewEpsilon(ctxt->am, oldstate, ctxt->state);
840 ctxt->state = xmlAutomataGetInitState(ctxt->am);
842 xmlAutomataSetFinalState(ctxt->am, ctxt->state);
856 ctxt->state = NULL;
861 ctxt->state = NULL;
4848 if (STATE == ROLLBACK_PARENT) {
4857 * we may have to save a backup state here. This is the equivalent
5079 if (STATE == ROLLBACK_PARENT) {
5093 if (STATE == ROLLBACK_PARENT) {
5108 STATE = 0;
5384 * The first entry in the stack is reserved to the current state
5395 STATE = 0;
5484 STATE = 0;
5772 xmlValidStatePtr state = ctxt->vstate;
5778 if (state->elemDecl != NULL) {
5779 elemDecl = state->elemDecl;
5786 xmlErrValidNode(ctxt, state->node,
5789 state->node->name, NULL, NULL);
5800 xmlErrValidNode(ctxt, state->node,
5803 state->node->name, NULL, NULL);
5809 xmlErrValidNode(ctxt, state->node,
5812 qname, state->node->name, NULL);
5823 if (state->exec != NULL) {
5824 ret = xmlRegExecPushString(state->exec, qname, NULL);
5826 xmlErrValidNode(ctxt, state->node,
5829 state->node->name, qname, NULL);
5864 xmlValidStatePtr state = ctxt->vstate;
5870 if (state->elemDecl != NULL) {
5871 elemDecl = state->elemDecl;
5878 xmlErrValidNode(ctxt, state->node,
5881 state->node->name, NULL, NULL);
5894 xmlErrValidNode(ctxt, state->node,
5897 state->node->name, NULL, NULL);
5938 xmlValidStatePtr state = ctxt->vstate;
5944 if (state->elemDecl != NULL) {
5945 elemDecl = state->elemDecl;
5948 if (state->exec != NULL) {
5949 ret = xmlRegExecPushString(state->exec, NULL, NULL);
5951 xmlErrValidNode(ctxt, state->node,
5954 state->node->name, NULL,NULL);