• Home
  • Raw
  • Download

Lines Matching refs:vstateTab

275     if ((ctxt->vstateMax == 0) || (ctxt->vstateTab == NULL)) {  in vstateVPush()
277 ctxt->vstateTab = (xmlValidState *) xmlMalloc(ctxt->vstateMax * in vstateVPush()
278 sizeof(ctxt->vstateTab[0])); in vstateVPush()
279 if (ctxt->vstateTab == NULL) { in vstateVPush()
288 tmp = (xmlValidState *) xmlRealloc(ctxt->vstateTab, in vstateVPush()
289 2 * ctxt->vstateMax * sizeof(ctxt->vstateTab[0])); in vstateVPush()
295 ctxt->vstateTab = tmp; 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()
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()
331 ctxt->vstate = &ctxt->vstateTab[ctxt->vstateNr - 1]; in vstateVPop()
382 if (ctxt->vstateTab == NULL) { in vstateVPush()
384 ctxt->vstateTab = (xmlValidState *) xmlMalloc( in vstateVPush()
385 ctxt->vstateMax * sizeof(ctxt->vstateTab[0])); in vstateVPush()
386 if (ctxt->vstateTab == NULL) { in vstateVPush()
394 tmp = (xmlValidState *) xmlRealloc(ctxt->vstateTab, in vstateVPush()
395 2 * ctxt->vstateMax * sizeof(ctxt->vstateTab[0])); in vstateVPush()
401 ctxt->vstateTab = tmp; in vstateVPush()
402 ctxt->vstate = &ctxt->vstateTab[0]; in vstateVPush()
407 if ((i >= 0) && (ctxt->vstateTab[i].cont == cont) && in vstateVPush()
408 (ctxt->vstateTab[i].node == node) && in vstateVPush()
409 (ctxt->vstateTab[i].depth == depth) && in vstateVPush()
410 (ctxt->vstateTab[i].occurs == occurs) && in vstateVPush()
411 (ctxt->vstateTab[i].state == state)) 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()
425 ctxt->vstate = &ctxt->vstateTab[0]; 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()
615 xmlValidDebugState(&ctxt->vstateTab[j]); in xmlValidStateDebug()
901 if (cur->vstateTab != NULL) in xmlFreeValidCtxt()
902 xmlFree(cur->vstateTab); in xmlFreeValidCtxt()
5367 ctxt->vstateTab = (xmlValidState *) xmlMalloc( in xmlValidateElementContent()
5368 ctxt->vstateMax * sizeof(ctxt->vstateTab[0])); in xmlValidateElementContent()
5369 if (ctxt->vstateTab == NULL) { in xmlValidateElementContent()
5379 ctxt->vstate = &ctxt->vstateTab[0]; in xmlValidateElementContent()
5468 ctxt->vstate = &ctxt->vstateTab[0]; in xmlValidateElementContent()
5529 if (ctxt->vstateTab != NULL) { in xmlValidateElementContent()
5530 xmlFree(ctxt->vstateTab); in xmlValidateElementContent()
5531 ctxt->vstateTab = NULL; in xmlValidateElementContent()