Lines Matching refs:ch1
955 int ch1; /* First child */ member
1114 xmlXPathCompExprAdd(xmlXPathParserContextPtr ctxt, int ch1, int ch2, in xmlXPathCompExprAdd() argument
1136 comp->steps[comp->nbStep].ch1 = ch1; in xmlXPathCompExprAdd()
1186 tmp = op->ch1; in xmlXPathCompSwap()
1187 op->ch1 = op->ch2; in xmlXPathCompSwap()
1204 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \ argument
1205 xmlXPathCompExprAdd(ctxt, (ch1), (ch2), (op), \
1673 if (op->ch1 >= 0) in xmlXPathDebugDumpStepOp()
1674 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch1], depth + 1); in xmlXPathDebugDumpStepOp()
11882 if (op->ch1 != -1) { in xmlXPathCompOpEvalPredicate()
11887 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) { in xmlXPathCompOpEvalPredicate()
11895 xmlXPathCompOpEvalPredicate(ctxt, &comp->steps[op->ch1], set, in xmlXPathCompOpEvalPredicate()
12169 if (predOp->ch1 != -1) { in xmlXPathNodeCollectAndTest()
12173 predOp = &ctxt->comp->steps[predOp->ch1]; in xmlXPathNodeCollectAndTest()
12617 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalFirst()
12677 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12678 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12687 if (op->ch1 == -1) in xmlXPathCompOpEvalFirst()
12690 total = xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFirst()
12702 if (op->ch1 != -1) in xmlXPathCompOpEvalFirst()
12704 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalFirst()
12758 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], last); in xmlXPathCompOpEvalLast()
12817 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12818 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12827 if (op->ch1 == -1) in xmlXPathCompOpEvalLast()
12830 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalLast()
12842 if (op->ch1 != -1) in xmlXPathCompOpEvalLast()
12844 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], in xmlXPathCompOpEvalLast()
12876 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEvalFilterFirst()
12877 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEvalFilterFirst()
12879 int f = comp->steps[op->ch2].ch1; in xmlXPathCompOpEvalFilterFirst()
12892 &comp->steps[op->ch1], in xmlXPathCompOpEvalFilterFirst()
12911 if (op->ch1 != -1) in xmlXPathCompOpEvalFilterFirst()
12912 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEvalFilterFirst()
12975 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
12992 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13009 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13020 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13028 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13046 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13058 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13099 if (op->ch1 != -1) in xmlXPathCompOpEval()
13100 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13109 if (op->ch1 == -1) in xmlXPathCompOpEval()
13112 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13126 if (op->ch1 != -1) in xmlXPathCompOpEval()
13128 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13160 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13162 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13229 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13230 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13245 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEval()
13256 ((comp->steps[op->ch1].op == XPATH_OP_SORT) || /* 18 */ in xmlXPathCompOpEval()
13257 (comp->steps[op->ch1].op == XPATH_OP_FILTER)) && /* 17 */ in xmlXPathCompOpEval()
13259 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEval()
13271 &comp->steps[op->ch1], in xmlXPathCompOpEval()
13290 if ((op->ch1 != -1) && (op->ch2 != -1) && in xmlXPathCompOpEval()
13291 (comp->steps[op->ch1].op == XPATH_OP_SORT) && in xmlXPathCompOpEval()
13293 int f = comp->steps[op->ch2].ch1; in xmlXPathCompOpEval()
13306 &comp->steps[op->ch1], in xmlXPathCompOpEval()
13333 if (op->ch1 != -1) in xmlXPathCompOpEval()
13335 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13362 if (op->ch1 != -1) in xmlXPathCompOpEval()
13363 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13386 if (op->ch1 != -1) { in xmlXPathCompOpEval()
13388 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]); in xmlXPathCompOpEval()
13574 if (op->ch1 != -1) { in xmlXPathCompOpEvalToBoolean()
13575 op = &ctxt->comp->steps[op->ch1]; in xmlXPathCompOpEvalToBoolean()
13580 if (op->ch1 == -1) in xmlXPathCompOpEvalToBoolean()
13583 xmlXPathCompOpEval(ctxt, &ctxt->comp->steps[op->ch1]); in xmlXPathCompOpEvalToBoolean()
14150 (op->ch1 != -1) && in xmlXPathOptimizeExpression()
14153 xmlXPathStepOpPtr prevop = &comp->steps[op->ch1]; in xmlXPathOptimizeExpression()
14175 op->ch1 = prevop->ch1; in xmlXPathOptimizeExpression()
14185 op->ch1 = prevop->ch1; in xmlXPathOptimizeExpression()
14205 if (op->ch1 != -1) in xmlXPathOptimizeExpression()
14206 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch1]); in xmlXPathOptimizeExpression()