• Home
  • Raw
  • Download

Lines Matching refs:step

138     int step;  member
460 xmlPatPushState(xmlStepStates *states, int step, xmlNodePtr node) { in xmlPatPushState() argument
476 states->states[states->nbstates].step = step; in xmlPatPushState()
479 fprintf(stderr, "Push: %d, %s\n", step, node->name); in xmlPatPushState()
496 xmlStepOpPtr step; in xmlPatMatch() local
503 step = &comp->steps[i]; in xmlPatMatch()
504 switch (step->op) { in xmlPatMatch()
521 if (step->value == NULL) in xmlPatMatch()
523 if (step->value[0] != node->name[0]) in xmlPatMatch()
525 if (!xmlStrEqual(step->value, node->name)) in xmlPatMatch()
530 if (step->value2 != NULL) in xmlPatMatch()
533 if (step->value2 == NULL) in xmlPatMatch()
535 if (!xmlStrEqual(step->value2, node->ns->href)) in xmlPatMatch()
552 if (step->value != NULL) { in xmlPatMatch()
555 (step->value[0] == lst->name[0]) && in xmlPatMatch()
556 (xmlStrEqual(step->value, lst->name))) in xmlPatMatch()
568 if (step->value != NULL) { in xmlPatMatch()
569 if (step->value[0] != node->name[0]) in xmlPatMatch()
571 if (!xmlStrEqual(step->value, node->name)) in xmlPatMatch()
576 if (step->value2 != NULL) in xmlPatMatch()
578 } else if (step->value2 != NULL) { in xmlPatMatch()
579 if (!xmlStrEqual(step->value2, node->ns->href)) in xmlPatMatch()
594 if (step->value == NULL) in xmlPatMatch()
596 if (step->value[0] != node->name[0]) in xmlPatMatch()
598 if (!xmlStrEqual(step->value, node->name)) in xmlPatMatch()
602 if (step->value2 != NULL) in xmlPatMatch()
605 if (step->value2 == NULL) in xmlPatMatch()
607 if (!xmlStrEqual(step->value2, node->ns->href)) in xmlPatMatch()
613 if (step->value == NULL) { in xmlPatMatch()
615 step = &comp->steps[i]; in xmlPatMatch()
616 if (step->op == XML_OP_ROOT) in xmlPatMatch()
618 if (step->op != XML_OP_ELEM) in xmlPatMatch()
620 if (step->value == NULL) in xmlPatMatch()
635 (step->value[0] == node->name[0]) && in xmlPatMatch()
636 (xmlStrEqual(step->value, node->name))) { in xmlPatMatch()
639 if (step->value2 == NULL) in xmlPatMatch()
642 if ((step->value2 != NULL) && in xmlPatMatch()
643 (xmlStrEqual(step->value2, node->ns->href))) in xmlPatMatch()
655 if (step->op == XML_OP_ANCESTOR) in xmlPatMatch()
664 if (step->value != NULL) in xmlPatMatch()
667 if (step->value == NULL) in xmlPatMatch()
669 if (!xmlStrEqual(step->value, node->ns->href)) in xmlPatMatch()
694 i = states.states[states.nbstates].step; in xmlPatMatch()
1576 xmlStepOp step; in xmlStreamCompile() local
1609 step = comp->steps[i]; in xmlStreamCompile()
1610 switch (step.op) { in xmlStreamCompile()
1619 s = xmlStreamCompAddStep(stream, NULL, step.value, in xmlStreamCompile()
1630 step.value, step.value2, XML_ATTRIBUTE_NODE, flags); in xmlStreamCompile()
1636 if ((step.value == NULL) && (step.value2 == NULL)) { in xmlStreamCompile()
1678 s = xmlStreamCompAddStep(stream, step.value, step.value2, in xmlStreamCompile()
1687 s = xmlStreamCompAddStep(stream, step.value, step.value2, in xmlStreamCompile()
1858 xmlStreamStep step; in xmlStreamPushInternal() local
1994 step = comp->steps[stepNr]; in xmlStreamPushInternal()
1995 if (step.nodeType != nodeType) { in xmlStreamPushInternal()
1996 if (step.nodeType == XML_ATTRIBUTE_NODE) { in xmlStreamPushInternal()
2003 } else if (step.nodeType != XML_STREAM_ANY_NODE) in xmlStreamPushInternal()
2010 if (step.nodeType == XML_STREAM_ANY_NODE) { in xmlStreamPushInternal()
2012 } else if (step.name == NULL) { in xmlStreamPushInternal()
2013 if (step.ns == NULL) { in xmlStreamPushInternal()
2019 match = xmlStrEqual(step.ns, ns); in xmlStreamPushInternal()
2020 } else if (((step.ns != NULL) == (ns != NULL)) && in xmlStreamPushInternal()
2022 (step.name[0] == name[0]) && in xmlStreamPushInternal()
2023 xmlStrEqual(step.name, name) && in xmlStreamPushInternal()
2024 ((step.ns == ns) || xmlStrEqual(step.ns, ns))) in xmlStreamPushInternal()
2035 if (step.name == NULL) { in xmlStreamPushInternal()
2036 if (step.ns == NULL) in xmlStreamPushInternal()
2039 match = (step.ns == ns); in xmlStreamPushInternal()
2041 match = ((step.name == name) && (step.ns == ns)); in xmlStreamPushInternal()
2045 final = step.flags & XML_STREAM_STEP_FINAL; in xmlStreamPushInternal()
2062 if ((ret != 1) && (step.flags & XML_STREAM_STEP_IN_SET)) { in xmlStreamPushInternal()
2090 step = comp->steps[0]; in xmlStreamPushInternal()
2091 if (step.flags & XML_STREAM_STEP_ROOT) in xmlStreamPushInternal()
2094 desc = step.flags & XML_STREAM_STEP_DESC; in xmlStreamPushInternal()
2132 if (step.nodeType != nodeType) { in xmlStreamPushInternal()
2135 else if (step.nodeType != XML_STREAM_ANY_NODE) in xmlStreamPushInternal()
2142 if (step.nodeType == XML_STREAM_ANY_NODE) { in xmlStreamPushInternal()
2144 } else if (step.name == NULL) { in xmlStreamPushInternal()
2145 if (step.ns == NULL) { in xmlStreamPushInternal()
2151 match = xmlStrEqual(step.ns, ns); in xmlStreamPushInternal()
2152 } else if (((step.ns != NULL) == (ns != NULL)) && in xmlStreamPushInternal()
2154 (step.name[0] == name[0]) && in xmlStreamPushInternal()
2155 xmlStrEqual(step.name, name) && in xmlStreamPushInternal()
2156 ((step.ns == ns) || xmlStrEqual(step.ns, ns))) in xmlStreamPushInternal()
2160 final = step.flags & XML_STREAM_STEP_FINAL; in xmlStreamPushInternal()
2166 if ((ret != 1) && (step.flags & XML_STREAM_STEP_IN_SET)) { in xmlStreamPushInternal()