Lines Matching refs:dep

107 void menu_add_dep(struct expr *dep)  in menu_add_dep()  argument
109 current_entry->dep = expr_alloc_and(current_entry->dep, menu_check_dep(dep)); in menu_add_dep()
127 …uct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) in menu_add_prop() argument
133 prop->visible.expr = menu_check_dep(dep); in menu_add_prop()
164 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
166 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt()
175 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument
177 menu_add_prop(type, NULL, expr, dep); in menu_add_expr()
180 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() argument
182 menu_add_prop(type, NULL, expr_alloc_symbol(sym), dep); in menu_add_symbol()
267 struct expr *parentdep, *basedep, *dep, *dep2, **ep; in menu_finalize() local
292 parentdep = parent->dep; in menu_finalize()
295 basedep = expr_transform(menu->dep); in menu_finalize()
298 menu->dep = basedep; in menu_finalize()
306 dep = expr_transform(prop->visible.expr); in menu_finalize()
307 dep = expr_alloc_and(expr_copy(basedep), dep); in menu_finalize()
308 dep = expr_eliminate_dups(dep); in menu_finalize()
310 dep = expr_trans_bool(dep); in menu_finalize()
311 prop->visible.expr = dep; in menu_finalize()
315 expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); in menu_finalize()
327 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; in menu_finalize()
328 if (!expr_contains_symbol(dep, sym)) in menu_finalize()
330 if (expr_depends_symbol(dep, sym)) in menu_finalize()
332 dep = expr_trans_compare(dep, E_UNEQUAL, &symbol_no); in menu_finalize()
333 dep = expr_eliminate_dups(expr_transform(dep)); in menu_finalize()
335 expr_eliminate_eq(&dep, &dep2); in menu_finalize()
336 expr_free(dep); in menu_finalize()
353 sym->dir_dep.expr = parent->dep; in menu_finalize()
380 menu->dep = expr_alloc_and(basedep, menu->dep); in menu_finalize()