Lines Matching defs:ch2
563 int ch2; /* Second child */
707 * @ch2: second child index
720 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2,
739 comp->steps[comp->nbStep].ch2 = ch2;
789 op->ch1 = op->ch2;
790 op->ch2 = tmp;
806 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \
807 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \
1278 if (op->ch2 >= 0)
1279 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch2], depth + 1);
11549 if (op->ch2 != -1) {
11592 exprOp = &ctxt->comp->steps[op->ch2];
11708 if (op->ch2 == -1) {
11738 exprOp = &ctxt->comp->steps[op->ch2];
11898 if (op->ch2 != -1) {
11899 exprOp = &ctxt->comp->steps[op->ch2];
12128 * PREDICATE -- op->ch2 (predOp)
12133 * ELEM Object is a number : 1 -- predOp->ch2 = [1]
12140 if (op->ch2 != -1) {
12144 predOp = &ctxt->comp->steps[op->ch2];
12629 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch2],
12653 if (op->ch2 != -1)
12654 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
12663 if (op->ch2 != -1)
12664 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
12760 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch2], last);
12788 if (op->ch2 != -1)
12789 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
12798 if (op->ch2 != -1)
12799 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
12854 if ((op->ch1 != -1) && (op->ch2 != -1) &&
12856 (comp->steps[op->ch2].op == XPATH_OP_SORT)) {
12857 int f = comp->steps[op->ch2].ch1;
12898 if (op->ch2 == -1)
12926 if (op->ch2 != -1)
12927 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
12954 if (op->ch2 != -1)
12955 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13028 if (op->ch2 != -1)
13031 &comp->steps[op->ch2]);
13069 if (op->ch2 != -1)
13070 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13168 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13194 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13216 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13235 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13247 if (op->ch2 != -1) {
13252 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13277 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13297 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13323 if (op->ch2 != -1)
13324 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13333 if (op->ch2 != -1)
13334 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13465 if (op->ch2 != -1) {
13466 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch2]);
13485 if ((op->ch1 != -1) && (op->ch2 != -1) &&
13501 (comp->steps[op->ch2].op == XPATH_OP_VALUE)) { /* 12 */
13504 val = comp->steps[op->ch2].value4;
13529 if ((op->ch1 != -1) && (op->ch2 != -1) &&
13531 (comp->steps[op->ch2].op == XPATH_OP_SORT)) {
13532 int f = comp->steps[op->ch2].ch1;
13583 if (op->ch2 == -1)
13611 if (op->ch2 != -1)
13614 &comp->steps[op->ch2]);
13637 if (op->ch2 != -1)
13640 &comp->steps[op->ch2]);
13701 if (op->ch2 != -1)
13704 &comp->steps[op->ch2]);
13771 if (op->ch2 != -1)
13774 &comp->steps[op->ch2]);
13854 if (op->ch2 == -1)
13871 total += xmlXPathCompOpEval(ctxt,&comp->steps[op->ch2]);
13894 if (op->ch2 != -1)
13897 &comp->steps[op->ch2]);
13960 if (op->ch2 != -1)
13963 &comp->steps[op->ch2]);
14616 (prevop->ch2 == -1) &&
14632 if (op->ch2 != -1)
14633 xmlXPathRewriteDOSExpression(comp, &comp->steps[op->ch2]);