Lines Matching defs:ch1

562     int ch1;			/* First child */
706 * @ch1: first child index
720 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2,
738 comp->steps[comp->nbStep].ch1 = ch1;
788 tmp = op->ch1;
789 op->ch1 = op->ch2;
806 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \
807 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \
1276 if (op->ch1 >= 0)
1277 xmlXPathDebugDumpStepOp(output, comp, &comp->steps[op->ch1], depth + 1);
11574 if (op->ch1 != -1) {
11579 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) {
11585 &comp->steps[op->ch1], set, contextSize, hasNsNodes);
11728 if (op->ch1 != -1) {
11730 if (comp->steps[op->ch1].op != XPATH_OP_PREDICATE) {
11736 &comp->steps[op->ch1], set, contextSize, hasNsNodes);
11928 * If not -1, then ch1 will point to:
12167 * ROOT -- op->ch1
12169 * PREDICATE -- predOp->ch1 = [parent::bar]
12186 if (predOp->ch1 != -1) {
12190 predOp = &ctxt->comp->steps[predOp->ch1];
12648 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1],
12691 if (op->ch1 != -1)
12692 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12701 if (op->ch1 != -1)
12702 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12710 if (op->ch1 == -1)
12713 total = xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12725 if (op->ch1 != -1)
12727 xmlXPathCompOpEvalFirst(ctxt, &comp->steps[op->ch1],
12780 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1], last);
12826 if (op->ch1 != -1)
12827 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12836 if (op->ch1 != -1)
12837 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12845 if (op->ch1 == -1)
12848 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
12860 if (op->ch1 != -1)
12862 xmlXPathCompOpEvalLast(ctxt, &comp->steps[op->ch1],
12895 if ((op->ch1 != -1) && (op->ch2 != -1) &&
12896 (comp->steps[op->ch1].op == XPATH_OP_SORT) &&
12898 int f = comp->steps[op->ch2].ch1;
12911 &comp->steps[op->ch1],
12936 if (op->ch1 != -1)
12937 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13200 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13226 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13252 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13271 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13287 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13313 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13333 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13362 if (op->ch1 != -1)
13363 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13372 if (op->ch1 != -1)
13373 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13381 if (op->ch1 == -1)
13384 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13398 if (op->ch1 != -1)
13400 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13436 if (op->ch1 != -1)
13438 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13501 if (op->ch1 != -1)
13502 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13528 if ((op->ch1 != -1) && (op->ch2 != -1) &&
13539 ((comp->steps[op->ch1].op == XPATH_OP_SORT) || /* 18 */
13540 (comp->steps[op->ch1].op == XPATH_OP_FILTER)) && /* 17 */
13542 (comp->steps[op->ch1].op == XPATH_OP_SORT) &&
13554 &comp->steps[op->ch1],
13572 if ((op->ch1 != -1) && (op->ch2 != -1) &&
13573 (comp->steps[op->ch1].op == XPATH_OP_SORT) &&
13575 int f = comp->steps[op->ch2].ch1;
13588 &comp->steps[op->ch1],
13622 if (op->ch1 != -1)
13624 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13873 if (op->ch1 != -1)
13874 total += xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
13894 if (op->ch1 != -1)
13896 xmlXPathCompOpEval(ctxt, &comp->steps[op->ch1]);
14083 if (op->ch1 != -1) {
14084 op = &ctxt->comp->steps[op->ch1];
14089 if (op->ch1 == -1)
14092 xmlXPathCompOpEval(ctxt, &ctxt->comp->steps[op->ch1]);
14644 if (op->ch1 != -1) {
14653 xmlXPathStepOpPtr prevop = &comp->steps[op->ch1];
14656 (prevop->ch1 != -1) &&
14662 (comp->steps[prevop->ch1].op == XPATH_OP_ROOT))
14668 op->ch1 = prevop->ch1;
14672 if (op->ch1 != -1)
14673 xmlXPathRewriteDOSExpression(comp, &comp->steps[op->ch1]);