Lines Matching refs:vstateNr
285 if (ctxt->vstateNr >= ctxt->vstateMax) { in vstateVPush()
297 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr]; in vstateVPush()
298 ctxt->vstateTab[ctxt->vstateNr].elemDecl = elemDecl; in vstateVPush()
299 ctxt->vstateTab[ctxt->vstateNr].node = node; in vstateVPush()
304 ctxt->vstateTab[ctxt->vstateNr].exec = in vstateVPush()
307 ctxt->vstateTab[ctxt->vstateNr].exec = NULL; in vstateVPush()
314 return(ctxt->vstateNr++); in vstateVPush()
321 if (ctxt->vstateNr < 1) return(-1); in vstateVPop()
322 ctxt->vstateNr--; in vstateVPop()
323 elemDecl = ctxt->vstateTab[ctxt->vstateNr].elemDecl; in vstateVPop()
324 ctxt->vstateTab[ctxt->vstateNr].elemDecl = NULL; in vstateVPop()
325 ctxt->vstateTab[ctxt->vstateNr].node = NULL; in vstateVPop()
327 xmlRegFreeExecCtxt(ctxt->vstateTab[ctxt->vstateNr].exec); in vstateVPop()
329 ctxt->vstateTab[ctxt->vstateNr].exec = NULL; in vstateVPop()
330 if (ctxt->vstateNr >= 1) in vstateVPop()
331 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr - 1]; in vstateVPop()
334 return(ctxt->vstateNr); in vstateVPop()
377 int i = ctxt->vstateNr - 1; in vstateVPush()
379 if (ctxt->vstateNr > MAX_RECURSE) { in vstateVPush()
391 if (ctxt->vstateNr >= ctxt->vstateMax) { in vstateVPush()
412 return(ctxt->vstateNr); in vstateVPush()
413 ctxt->vstateTab[ctxt->vstateNr].cont = cont; in vstateVPush()
414 ctxt->vstateTab[ctxt->vstateNr].node = node; in vstateVPush()
415 ctxt->vstateTab[ctxt->vstateNr].depth = depth; in vstateVPush()
416 ctxt->vstateTab[ctxt->vstateNr].occurs = occurs; in vstateVPush()
417 ctxt->vstateTab[ctxt->vstateNr].state = state; in vstateVPush()
418 return(ctxt->vstateNr++); in vstateVPush()
423 if (ctxt->vstateNr <= 1) return(-1); in vstateVPop()
424 ctxt->vstateNr--; in vstateVPop()
426 ctxt->vstate->cont = ctxt->vstateTab[ctxt->vstateNr].cont; in vstateVPop()
427 ctxt->vstate->node = ctxt->vstateTab[ctxt->vstateNr].node; in vstateVPop()
428 ctxt->vstate->depth = ctxt->vstateTab[ctxt->vstateNr].depth; in vstateVPop()
429 ctxt->vstate->occurs = ctxt->vstateTab[ctxt->vstateNr].occurs; in vstateVPop()
430 ctxt->vstate->state = ctxt->vstateTab[ctxt->vstateNr].state; in vstateVPop()
431 return(ctxt->vstateNr); in vstateVPop()
613 ctxt->vstateNr - 1); in xmlValidStateDebug()
614 for (i = 0, j = ctxt->vstateNr - 1;(i < 3) && (j > 0);i++,j--) in xmlValidStateDebug()
2641 if ((ctxt != NULL) && (ctxt->vstateNr != 0)) { in xmlAddID()
2969 if ((ctxt != NULL) && (ctxt->vstateNr != 0)) { in xmlAddRef()
5380 ctxt->vstateNr = 1; in xmlValidateElementContent()
5469 ctxt->vstateNr = 1; in xmlValidateElementContent()
5762 if ((ctxt->vstateNr > 0) && (ctxt->vstate != NULL)) { in xmlValidatePushElement()
5854 if ((ctxt->vstateNr > 0) && (ctxt->vstate != NULL)) { in xmlValidatePushCData()
5928 if ((ctxt->vstateNr > 0) && (ctxt->vstate != NULL)) { in xmlValidatePopElement()
6064 if (ctxt->vstateNr == 0) { in xmlValidateOneElement()