Lines Matching refs:ch1
920 int ch1; /* First child */ member
1079 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2, in xmlXPathCompExprAdd() argument
1100 comp->steps[comp->nbStep].ch1 = ch1; in xmlXPathCompExprAdd()
1150 tmp = op->ch1; in xmlXPathCompSwap()
1151 op->ch1 = op->ch2; in xmlXPathCompSwap()
1168 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \ argument
1169 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \
1637 if (op->ch1 >= 0) in xmlXPathDebugDumpStepOp()
1638 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch1], depth + 1); in xmlXPathDebugDumpStepOp()
11644 if (op->ch1 != -1) { in xmlXPathCompOpEvalPredicate()
11649 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) { in xmlXPathCompOpEvalPredicate()
11655 &comp->steps[op->ch1], set, contextSize, hasNsNodes); in xmlXPathCompOpEvalPredicate()
11805 if (op->ch1 != -1) { in xmlXPathCompOpEvalPositionalPredicate()
11807 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) { in xmlXPathCompOpEvalPositionalPredicate()
11813 &comp->steps[op->ch1], set, contextSize, hasNsNodes); in xmlXPathCompOpEvalPositionalPredicate()
12263 if (predOp->ch1 != -1) { in xmlXPathNodeCollectAndTest()
12267 predOp = &ctxt->comp->steps[predOp->ch1]; in xmlXPathNodeCollectAndTest()
12727 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalFirst()
12774 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12775 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12784 if (op->ch1 == -1) in xmlXPathCompOpEvalFirst()
12787 total = xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12799 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12801 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalFirst()
12846 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], last); in xmlXPathCompOpEvalLast()
12892 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12893 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12902 if (op->ch1 == -1) in xmlXPathCompOpEvalLast()
12905 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12917 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12919 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalLast()
12953 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEvalFilterFirst()
12954 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEvalFilterFirst()
12956 int f = comp->steps[op->ch2].ch1; in xmlXPathCompOpEvalFilterFirst()
12969 &comp->steps[op->ch1], in xmlXPathCompOpEvalFilterFirst()
12988 if (op->ch1 != -1) in xmlXPathCompOpEvalFilterFirst()
12989 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFilterFirst()
13225 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13242 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13259 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13270 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13278 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13296 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13308 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13337 if (op->ch1 != -1) in xmlXPathCompOpEval()
13338 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13347 if (op->ch1 == -1) in xmlXPathCompOpEval()
13350 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13364 if (op->ch1 != -1) in xmlXPathCompOpEval()
13366 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13398 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13400 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13464 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13465 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13487 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEval()
13498 ((comp->steps[op->ch1].op == XPATH_OP_SORT) || /* 18 */ in xmlXPathCompOpEval()
13499 (comp->steps[op->ch1].op == XPATH_OP_FILTER)) && /* 17 */ in xmlXPathCompOpEval()
13501 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEval()
13513 &comp->steps[op->ch1], in xmlXPathCompOpEval()
13532 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEval()
13533 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEval()
13535 int f = comp->steps[op->ch2].ch1; in xmlXPathCompOpEval()
13548 &comp->steps[op->ch1], in xmlXPathCompOpEval()
13575 if (op->ch1 != -1) in xmlXPathCompOpEval()
13577 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13800 if (op->ch1 != -1) in xmlXPathCompOpEval()
13801 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13824 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13826 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
14006 if (op->ch1 != -1) { in xmlXPathCompOpEvalToBoolean()
14007 op = &ctxt->comp->steps[op->ch1]; in xmlXPathCompOpEvalToBoolean()
14012 if (op->ch1 == -1) in xmlXPathCompOpEvalToBoolean()
14015 xmlXPathCompOpEval(ctxt, &ctxt->comp->steps[op->ch1]); in xmlXPathCompOpEvalToBoolean()
14563 (op->ch1 != -1) && in xmlXPathOptimizeExpression()
14566 xmlXPathStepOpPtr prevop = &comp->steps[op->ch1]; in xmlXPathOptimizeExpression()
14588 op->ch1 = prevop->ch1; in xmlXPathOptimizeExpression()
14598 op->ch1 = prevop->ch1; in xmlXPathOptimizeExpression()
14612 if (op->ch1 != -1) in xmlXPathOptimizeExpression()
14613 xmlXPathOptimizeExpression(comp, &comp->steps[op->ch1]); in xmlXPathOptimizeExpression()