Lines Matching refs:next

65 	(*planp) = (*planp)->next;  in yanknode()
66 node->next = NULL; in yanknode()
79 PLAN *next; /* temp node holding subexpression results */ in yankexpr() local
96 if ((next = yankexpr(planp)) == NULL) in yankexpr()
105 if (next->execute == f_closeparen) { in yankexpr()
113 tail = subplan = next; in yankexpr()
115 tail->next = next; in yankexpr()
116 tail = next; in yankexpr()
118 tail->next = NULL; in yankexpr()
153 tail->next = expr; in paren_squish()
156 tail->next = NULL; in paren_squish()
168 PLAN *next; /* next node being processed */ in not_squish() local
175 while ((next = yanknode(&plan))) { in not_squish()
180 if (next->execute == f_expr) in not_squish()
181 next->p_data[0] = not_squish(next->p_data[0]); in not_squish()
188 if (next->execute == f_not) { in not_squish()
207 next = node; in not_squish()
209 next->p_data[0] = node; in not_squish()
214 tail = result = next; in not_squish()
216 tail->next = next; in not_squish()
217 tail = next; in not_squish()
219 tail->next = NULL; in not_squish()
231 PLAN *next; /* next node being processed */ in or_squish() local
235 tail = result = next = NULL; in or_squish()
237 while ((next = yanknode(&plan)) != NULL) { in or_squish()
242 if (next->execute == f_expr) in or_squish()
243 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
246 if (next->execute == f_not) in or_squish()
247 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
254 if (next->execute == f_or) { in or_squish()
257 next->p_data[0] = result; in or_squish()
258 next->p_data[1] = or_squish(plan); in or_squish()
259 if (next->p_data[1] == NULL) in or_squish()
261 return (next); in or_squish()
266 tail = result = next; in or_squish()
268 tail->next = next; in or_squish()
269 tail = next; in or_squish()
271 tail->next = NULL; in or_squish()