Lines Matching refs:ch1

931     int ch1;			/* First child */  member
1088 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2, in xmlXPathCompExprAdd() argument
1109 comp->steps[comp->nbStep].ch1 = ch1; in xmlXPathCompExprAdd()
1159 tmp = op->ch1; in xmlXPathCompSwap()
1160 op->ch1 = op->ch2; in xmlXPathCompSwap()
1177 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \ argument
1178 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \
1647 if (op->ch1 >= 0) in xmlXPathDebugDumpStepOp()
1648 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch1], depth + 1); in xmlXPathDebugDumpStepOp()
11669 if (op->ch1 != -1) { in xmlXPathCompOpEvalPredicate()
11674 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) { in xmlXPathCompOpEvalPredicate()
11680 &comp->steps[op->ch1], set, contextSize, hasNsNodes); in xmlXPathCompOpEvalPredicate()
11827 if (op->ch1 != -1) { in xmlXPathCompOpEvalPositionalPredicate()
11829 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) { in xmlXPathCompOpEvalPositionalPredicate()
11835 &comp->steps[op->ch1], set, contextSize, hasNsNodes); in xmlXPathCompOpEvalPositionalPredicate()
12281 if (predOp->ch1 != -1) { in xmlXPathNodeCollectAndTest()
12285 predOp = &ctxt->comp->steps[predOp->ch1]; in xmlXPathNodeCollectAndTest()
12734 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalFirst()
12777 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12778 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12787 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12788 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12796 if (op->ch1 == -1) in xmlXPathCompOpEvalFirst()
12799 total = xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12811 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12813 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalFirst()
12866 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], last); in xmlXPathCompOpEvalLast()
12912 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12913 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12922 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12923 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12931 if (op->ch1 == -1) in xmlXPathCompOpEvalLast()
12934 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12946 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12948 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalLast()
12981 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEvalFilterFirst()
12982 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEvalFilterFirst()
12984 int f = comp->steps[op->ch2].ch1; in xmlXPathCompOpEvalFilterFirst()
12997 &comp->steps[op->ch1], in xmlXPathCompOpEvalFilterFirst()
13022 if (op->ch1 != -1) in xmlXPathCompOpEvalFilterFirst()
13023 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFilterFirst()
13291 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13317 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13343 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13362 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13378 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13404 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13424 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13453 if (op->ch1 != -1) in xmlXPathCompOpEval()
13454 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13463 if (op->ch1 != -1) in xmlXPathCompOpEval()
13464 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13472 if (op->ch1 == -1) in xmlXPathCompOpEval()
13475 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13489 if (op->ch1 != -1) in xmlXPathCompOpEval()
13491 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13527 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13529 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13597 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13598 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13627 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEval()
13638 ((comp->steps[op->ch1].op == XPATH_OP_SORT) || /* 18 */ in xmlXPathCompOpEval()
13639 (comp->steps[op->ch1].op == XPATH_OP_FILTER)) && /* 17 */ in xmlXPathCompOpEval()
13641 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEval()
13653 &comp->steps[op->ch1], in xmlXPathCompOpEval()
13671 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEval()
13672 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEval()
13674 int f = comp->steps[op->ch2].ch1; in xmlXPathCompOpEval()
13687 &comp->steps[op->ch1], in xmlXPathCompOpEval()
13721 if (op->ch1 != -1) in xmlXPathCompOpEval()
13723 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13976 if (op->ch1 != -1) in xmlXPathCompOpEval()
13977 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13997 if (op->ch1 != -1) in xmlXPathCompOpEval()
13999 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
14186 if (op->ch1 != -1) { in xmlXPathCompOpEvalToBoolean()
14187 op = &ctxt->comp->steps[op->ch1]; in xmlXPathCompOpEvalToBoolean()
14192 if (op->ch1 == -1) in xmlXPathCompOpEvalToBoolean()
14195 xmlXPathCompOpEval(ctxt, &ctxt->comp->steps[op->ch1]); in xmlXPathCompOpEvalToBoolean()
14743 (op->ch1 != -1) && in xmlXPathOptimizeExpression()
14746 xmlXPathStepOpPtr prevop = &comp->steps[op->ch1]; in xmlXPathOptimizeExpression()
14768 op->ch1 = prevop->ch1; in xmlXPathOptimizeExpression()
14778 op->ch1 = prevop->ch1; in xmlXPathOptimizeExpression()
14788 if (op->ch1 != -1) in xmlXPathOptimizeExpression()
14789 xmlXPathOptimizeExpression(comp, &comp->steps[op->ch1]); in xmlXPathOptimizeExpression()