Lines Matching refs:next

58 	(*planp) = (*planp)->next;  in yanknode()
59 node->next = NULL; in yanknode()
72 PLAN *next; /* temp node holding subexpression results */ in yankexpr() local
89 if ((next = yankexpr(planp)) == NULL) in yankexpr()
98 if (next->execute == f_closeparen) { in yankexpr()
106 tail = subplan = next; in yankexpr()
108 tail->next = next; in yankexpr()
109 tail = next; in yankexpr()
111 tail->next = NULL; in yankexpr()
146 tail->next = expr; in paren_squish()
149 tail->next = NULL; in paren_squish()
161 PLAN *next; /* next node being processed */ in not_squish() local
168 while ((next = yanknode(&plan))) { in not_squish()
173 if (next->execute == f_expr) in not_squish()
174 next->p_data[0] = not_squish(next->p_data[0]); in not_squish()
181 if (next->execute == f_not) { in not_squish()
200 next = node; in not_squish()
202 next->p_data[0] = node; in not_squish()
207 tail = result = next; in not_squish()
209 tail->next = next; in not_squish()
210 tail = next; in not_squish()
212 tail->next = NULL; in not_squish()
224 PLAN *next; /* next node being processed */ in or_squish() local
228 tail = result = next = NULL; in or_squish()
230 while ((next = yanknode(&plan)) != NULL) { in or_squish()
235 if (next->execute == f_expr) in or_squish()
236 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
239 if (next->execute == f_not) in or_squish()
240 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
247 if (next->execute == f_or) { in or_squish()
250 next->p_data[0] = result; in or_squish()
251 next->p_data[1] = or_squish(plan); in or_squish()
252 if (next->p_data[1] == NULL) in or_squish()
254 return (next); in or_squish()
259 tail = result = next; in or_squish()
261 tail->next = next; in or_squish()
262 tail = next; in or_squish()
264 tail->next = NULL; in or_squish()