Lines Matching refs:node
57 PLAN *node; /* top node removed from the plan */ in yanknode() local
59 if ((node = (*planp)) == NULL) in yanknode()
62 node->next = NULL; in yanknode()
63 return (node); in yanknode()
76 PLAN *node; /* pointer to returned node or expression */ in yankexpr() local
82 if ((node = yanknode(planp)) == NULL) in yankexpr()
91 if (node->type == N_OPENPAREN) in yankexpr()
105 node->p_data[0] = subplan; in yankexpr()
106 node->type = N_EXPR; in yankexpr()
107 node->eval = f_expr; in yankexpr()
119 return (node); in yankexpr()
167 PLAN *node; /* temporary node used in N_NOT processing */ in not_squish() local
189 node = yanknode(&plan); in not_squish()
190 while (node != NULL && node->type == N_NOT) { in not_squish()
192 node = yanknode(&plan); in not_squish()
194 if (node == NULL) in not_squish()
196 if (node->type == N_OR) in not_squish()
198 if (node->type == N_EXPR) in not_squish()
199 node = not_squish(node); in not_squish()
201 next = node; in not_squish()
203 next->p_data[0] = node; in not_squish()