Lines Matching refs:dep
108 void menu_add_dep(struct expr *dep) in menu_add_dep() argument
110 current_entry->dep = expr_alloc_and(current_entry->dep, dep); in menu_add_dep()
130 struct expr *dep) in menu_add_prop() argument
141 prop->visible.expr = dep; in menu_add_prop()
158 struct expr *dep) in menu_add_prompt() argument
160 struct property *prop = menu_add_prop(type, NULL, dep); in menu_add_prompt()
205 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument
207 menu_add_prop(type, expr, dep); in menu_add_expr()
210 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() argument
212 menu_add_prop(type, expr_alloc_symbol(sym), dep); in menu_add_symbol()
290 struct expr *parentdep, *basedep, *dep, *dep2, **ep; in menu_finalize() local
326 parentdep = parent->dep; in menu_finalize()
335 basedep = rewrite_m(menu->dep); in menu_finalize()
339 menu->dep = basedep; in menu_finalize()
379 dep = rewrite_m(prop->visible.expr); in menu_finalize()
380 dep = expr_transform(dep); in menu_finalize()
381 dep = expr_alloc_and(expr_copy(basedep), dep); in menu_finalize()
382 dep = expr_eliminate_dups(dep); in menu_finalize()
384 dep = expr_trans_bool(dep); in menu_finalize()
385 prop->visible.expr = dep; in menu_finalize()
394 expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); in menu_finalize()
398 expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); in menu_finalize()
442 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; in menu_finalize()
443 if (!expr_contains_symbol(dep, sym)) in menu_finalize()
446 if (expr_depends_symbol(dep, sym)) in menu_finalize()
459 dep = expr_trans_compare(dep, E_UNEQUAL, &symbol_no); in menu_finalize()
460 dep = expr_eliminate_dups(expr_transform(dep)); in menu_finalize()
462 expr_eliminate_eq(&dep, &dep2); in menu_finalize()
463 expr_free(dep); in menu_finalize()
483 sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); in menu_finalize()
510 menu->dep = expr_alloc_and(basedep, menu->dep); in menu_finalize()
718 get_dep_str(r, prop->menu->dep, " Depends on: "); in get_prompt_str()
727 if (!expr_eq(prop->menu->dep, prop->visible.expr)) in get_prompt_str()
819 get_dep_str(r, prop->menu->dep, " Depends on: "); in get_symbol_str()