Lines Matching refs:nbStep
102 int nbStep; /* number of steps in the automata */ member
170 int nbStep; member
245 for (i = 0;i < comp->nbStep;i++) { in xmlFreePattern()
351 if (comp->nbStep >= comp->maxStep) { in xmlPatternAdd()
363 comp->steps[comp->nbStep].op = op; in xmlPatternAdd()
364 comp->steps[comp->nbStep].value = value; in xmlPatternAdd()
365 comp->steps[comp->nbStep].value2 = value2; in xmlPatternAdd()
366 comp->nbStep++; in xmlPatternAdd()
380 int j = comp->nbStep - 1;
414 if ((comp->nbStep > 0) && (comp->steps[0].op == XML_OP_ANCESTOR)) { in xmlReversePattern()
415 for (i = 0, j = 1;j < comp->nbStep;i++,j++) { in xmlReversePattern()
420 comp->nbStep--; in xmlReversePattern()
422 if (comp->nbStep >= comp->maxStep) { in xmlReversePattern()
435 j = comp->nbStep - 1; in xmlReversePattern()
451 comp->steps[comp->nbStep].value = NULL; in xmlReversePattern()
452 comp->steps[comp->nbStep].value2 = NULL; in xmlReversePattern()
453 comp->steps[comp->nbStep++].op = XML_OP_END; in xmlReversePattern()
506 for (;i < comp->nbStep;i++) { in xmlPatMatch()
1436 printf("Stream: %d steps\n", stream->nbStep); in xmlDebugStreamComp()
1437 for (i = 0;i < stream->nbStep;i++) { in xmlDebugStreamComp()
1512 cur->nbStep = 0; in xmlNewStreamComp()
1550 if (comp->nbStep >= comp->maxStep) { in xmlStreamCompAddStep()
1561 cur = &comp->steps[comp->nbStep++]; in xmlStreamCompAddStep()
1566 return(comp->nbStep - 1); in xmlStreamCompAddStep()
1588 if ((comp->nbStep == 1) && in xmlStreamCompile()
1601 stream = xmlNewStreamComp((comp->nbStep / 2) + 1); in xmlStreamCompile()
1613 for (;i < comp->nbStep;i++) { in xmlStreamCompile()
1650 if ((comp->nbStep == i + 1) && in xmlStreamCompile()
1656 if (comp->nbStep == i + 1) { in xmlStreamCompile()
1731 if (stream->nbStep > 0) { in xmlStreamCompile()
1736 if (stream->nbStep <= s) in xmlStreamCompile()
1881 if (comp->nbStep == 0) { in xmlStreamPushInternal()
1885 if ((comp->nbStep == 1) && in xmlStreamPushInternal()
1909 if (comp->nbStep == 0) { in xmlStreamPushInternal()
2556 for (i = 0;i < comp->stream->nbStep;i++) in xmlPatternMaxDepth()
2559 if (comp->stream->nbStep > ret) in xmlPatternMaxDepth()
2560 ret = comp->stream->nbStep; in xmlPatternMaxDepth()
2584 if (comp->stream->nbStep < ret) in xmlPatternMinDepth()
2585 ret = comp->stream->nbStep; in xmlPatternMinDepth()