Lines Matching refs:next
63 (*planp) = (*planp)->next; in yanknode()
64 node->next = NULL; in yanknode()
77 PLAN *next; /* temp node holding subexpression results */ in yankexpr() local
94 if ((next = yankexpr(planp)) == NULL) in yankexpr()
103 if (next->execute == f_closeparen) { in yankexpr()
111 tail = subplan = next; in yankexpr()
113 tail->next = next; in yankexpr()
114 tail = next; in yankexpr()
116 tail->next = NULL; in yankexpr()
151 tail->next = expr; in paren_squish()
154 tail->next = NULL; in paren_squish()
166 PLAN *next; /* next node being processed */ in not_squish() local
173 while ((next = yanknode(&plan))) { in not_squish()
178 if (next->execute == f_expr) in not_squish()
179 next->p_data[0] = not_squish(next->p_data[0]); in not_squish()
186 if (next->execute == f_not) { in not_squish()
205 next = node; in not_squish()
207 next->p_data[0] = node; in not_squish()
212 tail = result = next; in not_squish()
214 tail->next = next; in not_squish()
215 tail = next; in not_squish()
217 tail->next = NULL; in not_squish()
229 PLAN *next; /* next node being processed */ in or_squish() local
233 tail = result = next = NULL; in or_squish()
235 while ((next = yanknode(&plan)) != NULL) { in or_squish()
240 if (next->execute == f_expr) in or_squish()
241 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
244 if (next->execute == f_not) in or_squish()
245 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
252 if (next->execute == f_or) { in or_squish()
255 next->p_data[0] = result; in or_squish()
256 next->p_data[1] = or_squish(plan); in or_squish()
257 if (next->p_data[1] == NULL) in or_squish()
259 return (next); in or_squish()
264 tail = result = next; in or_squish()
266 tail->next = next; in or_squish()
267 tail = next; in or_squish()
269 tail->next = NULL; in or_squish()