Lines Matching refs:next

64 	(*planp) = (*planp)->next;  in yanknode()
65 node->next = NULL; in yanknode()
78 PLAN *next; /* temp node holding subexpression results */ in yankexpr() local
95 if ((next = yankexpr(planp)) == NULL) in yankexpr()
104 if (next->execute == f_closeparen) { in yankexpr()
112 tail = subplan = next; in yankexpr()
114 tail->next = next; in yankexpr()
115 tail = next; in yankexpr()
117 tail->next = NULL; in yankexpr()
152 tail->next = expr; in paren_squish()
155 tail->next = NULL; in paren_squish()
167 PLAN *next; /* next node being processed */ in not_squish() local
174 while ((next = yanknode(&plan))) { in not_squish()
179 if (next->execute == f_expr) in not_squish()
180 next->p_data[0] = not_squish(next->p_data[0]); in not_squish()
187 if (next->execute == f_not) { in not_squish()
206 next = node; in not_squish()
208 next->p_data[0] = node; in not_squish()
213 tail = result = next; in not_squish()
215 tail->next = next; in not_squish()
216 tail = next; in not_squish()
218 tail->next = NULL; in not_squish()
230 PLAN *next; /* next node being processed */ in or_squish() local
234 tail = result = next = NULL; in or_squish()
236 while ((next = yanknode(&plan)) != NULL) { in or_squish()
241 if (next->execute == f_expr) in or_squish()
242 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
245 if (next->execute == f_not) in or_squish()
246 next->p_data[0] = or_squish(next->p_data[0]); in or_squish()
253 if (next->execute == f_or) { in or_squish()
256 next->p_data[0] = result; in or_squish()
257 next->p_data[1] = or_squish(plan); in or_squish()
258 if (next->p_data[1] == NULL) in or_squish()
260 return (next); in or_squish()
265 tail = result = next; in or_squish()
267 tail->next = next; in or_squish()
268 tail = next; in or_squish()
270 tail->next = NULL; in or_squish()