Lines Matching refs:dep

106 void menu_add_dep(struct expr *dep)  in menu_add_dep()  argument
108 current_entry->dep = expr_alloc_and(current_entry->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 = dep; in menu_add_prop()
177 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
179 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt()
188 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument
190 menu_add_prop(type, NULL, expr, dep); in menu_add_expr()
193 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() argument
195 menu_add_prop(type, NULL, expr_alloc_symbol(sym), dep); in menu_add_symbol()
298 struct expr *parentdep, *basedep, *dep, *dep2, **ep; in menu_finalize() local
337 parentdep = parent->dep; in menu_finalize()
345 basedep = rewrite_m(menu->dep); in menu_finalize()
349 menu->dep = basedep; in menu_finalize()
389 dep = rewrite_m(prop->visible.expr); in menu_finalize()
390 dep = expr_transform(dep); in menu_finalize()
391 dep = expr_alloc_and(expr_copy(basedep), dep); in menu_finalize()
392 dep = expr_eliminate_dups(dep); in menu_finalize()
394 dep = expr_trans_bool(dep); in menu_finalize()
395 prop->visible.expr = dep; in menu_finalize()
404 expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); in menu_finalize()
408 expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); in menu_finalize()
452 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; in menu_finalize()
453 if (!expr_contains_symbol(dep, sym)) in menu_finalize()
456 if (expr_depends_symbol(dep, sym)) in menu_finalize()
469 dep = expr_trans_compare(dep, E_UNEQUAL, &symbol_no); in menu_finalize()
470 dep = expr_eliminate_dups(expr_transform(dep)); in menu_finalize()
472 expr_eliminate_eq(&dep, &dep2); in menu_finalize()
473 expr_free(dep); in menu_finalize()
493 sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); in menu_finalize()
520 menu->dep = expr_alloc_and(basedep, menu->dep); in menu_finalize()