Lines Matching refs:expr_p
67 static boolean_t matchattrs(expr_t * expr_p, const char *attrs);
104 expr_t *expr_p; in expr_dup() local
115 expr_p = list_p; in expr_dup()
116 while (expr_p = (expr_t *) queue_next(&list_p->qn, &expr_p->qn)) { in expr_dup()
119 new_p = expr(spec_dup(expr_p->left_p), in expr_dup()
120 spec_dup(expr_p->right_p)); in expr_dup()
136 expr_t *expr_p; in expr_destroy() local
138 while (expr_p = (expr_t *) queue_next(&list_p->qn, &list_p->qn)) { in expr_destroy()
139 (void) queue_remove(&expr_p->qn); in expr_destroy()
141 if (expr_p->left_p) in expr_destroy()
142 spec_destroy(expr_p->left_p); in expr_destroy()
143 if (expr_p->right_p) in expr_destroy()
144 spec_destroy(expr_p->right_p); in expr_destroy()
145 free(expr_p); in expr_destroy()
179 expr_t *expr_p = NULL; in expr_print() local
181 while ((expr_p = (expr_t *) queue_next(&list_p->qn, &expr_p->qn))) { in expr_print()
182 spec_print(stream, expr_p->left_p); in expr_print()
184 spec_print(stream, expr_p->right_p); in expr_print()
199 expr_t *expr_p = NULL; in expr_match() local
201 while ((expr_p = (expr_t *) queue_next(&list_p->qn, &expr_p->qn))) { in expr_match()
202 if (matchattrs(expr_p, attrs)) in expr_match()
222 matchattrs(expr_t * expr_p, in matchattrs() argument
227 args.spec_p = expr_p->right_p; in matchattrs()
230 spec_attrtrav(expr_p->left_p, in matchattrs()