Home | History | Annotate | Download | only in libxml2

Lines Matching defs:ch1

561     int ch1;			/* First child */
705 * @ch1: first child index
719 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2,
737 comp->steps[comp->nbStep].ch1 = ch1;
787 tmp = op->ch1;
788 op->ch1 = op->ch2;
805 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \
806 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \
1275 if (op->ch1 >= 0)
1276 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch1], depth + 1);
11501 if (op->ch1 != -1) {
11506 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) {
11512 &comp->steps[op->ch1], set, contextSize, hasNsNodes);
11655 if (op->ch1 != -1) {
11657 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) {
11663 &comp->steps[op->ch1], set, contextSize, hasNsNodes);
11845 * If not -1, then ch1 will point to:
12085 * ROOT -- op->ch1
12087 * PREDICATE -- predOp->ch1 = [parent::bar]
12104 if (predOp->ch1 != -1) {
12108 predOp = &ctxt->comp->steps[predOp->ch1];
12566 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1],
12609 if (op->ch1 != -1)
12610 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12619 if (op->ch1 != -1)
12620 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12628 if (op->ch1 == -1)
12631 total = xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12643 if (op->ch1 != -1)
12645 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1],
12698 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], last);
12744 if (op->ch1 != -1)
12745 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12754 if (op->ch1 != -1)
12755 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12763 if (op->ch1 == -1)
12766 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12778 if (op->ch1 != -1)
12780 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1],
12813 if ((op->ch1 != -1) && (op->ch2 != -1) &&
12814 (comp->steps[op->ch1].op == XPATH_OP_SORT) &&
12816 int f = comp->steps[op->ch2].ch1;
12829 &comp->steps[op->ch1],
12854 if (op->ch1 != -1)
12855 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13118 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13144 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13170 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13189 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13205 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13231 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13251 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13280 if (op->ch1 != -1)
13281 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13290 if (op->ch1 != -1)
13291 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13299 if (op->ch1 == -1)
13302 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13316 if (op->ch1 != -1)
13318 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13351 if (op->ch1 != -1)
13353 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13410 if (op->ch1 != -1)
13411 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13437 if ((op->ch1 != -1) && (op->ch2 != -1) &&
13448 ((comp->steps[op->ch1].op == XPATH_OP_SORT) || /* 18 */
13449 (comp->steps[op->ch1].op == XPATH_OP_FILTER)) && /* 17 */
13451 (comp->steps[op->ch1].op == XPATH_OP_SORT) &&
13463 &comp->steps[op->ch1],
13481 if ((op->ch1 != -1) && (op->ch2 != -1) &&
13482 (comp->steps[op->ch1].op == XPATH_OP_SORT) &&
13484 int f = comp->steps[op->ch2].ch1;
13497 &comp->steps[op->ch1],
13531 if (op->ch1 != -1)
13533 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13782 if (op->ch1 != -1)
13783 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13803 if (op->ch1 != -1)
13805 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13991 if (op->ch1 != -1) {
13992 op = &ctxt->comp->steps[op->ch1];
13997 if (op->ch1 == -1)
14000 xmlXPathCompOpEval(ctxt, &ctxt->comp->steps[op->ch1]);
14551 if (op->ch1 != -1) {
14560 xmlXPathStepOpPtr prevop = &comp->steps[op->ch1];
14563 (prevop->ch1 != -1) &&
14569 (comp->steps[prevop->ch1].op == XPATH_OP_ROOT))
14575 op->ch1 = prevop->ch1;
14579 if (op->ch1 != -1)
14580 xmlXPathRewriteDOSExpression(comp, &comp->steps[op->ch1]);