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()
128 …uct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) in menu_add_prop() argument
134 prop->visible.expr = menu_check_dep(dep); in menu_add_prop()
178 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument
180 return menu_add_prop(type, prompt, NULL, dep); in menu_add_prompt()
189 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep) in menu_add_expr() argument
191 menu_add_prop(type, NULL, expr, dep); in menu_add_expr()
194 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() argument
196 menu_add_prop(type, NULL, expr_alloc_symbol(sym), dep); in menu_add_symbol()
287 struct expr *parentdep, *basedep, *dep, *dep2, **ep; in menu_finalize() local
312 parentdep = parent->dep; in menu_finalize()
315 basedep = expr_transform(menu->dep); in menu_finalize()
318 menu->dep = basedep; in menu_finalize()
326 dep = expr_transform(prop->visible.expr); in menu_finalize()
327 dep = expr_alloc_and(expr_copy(basedep), dep); in menu_finalize()
328 dep = expr_eliminate_dups(dep); in menu_finalize()
330 dep = expr_trans_bool(dep); in menu_finalize()
331 prop->visible.expr = dep; in menu_finalize()
335 expr_alloc_and(expr_alloc_symbol(menu->sym), expr_copy(dep))); in menu_finalize()
347 dep = menu->prompt ? menu->prompt->visible.expr : menu->dep; in menu_finalize()
348 if (!expr_contains_symbol(dep, sym)) in menu_finalize()
350 if (expr_depends_symbol(dep, sym)) in menu_finalize()
352 dep = expr_trans_compare(dep, E_UNEQUAL, &symbol_no); in menu_finalize()
353 dep = expr_eliminate_dups(expr_transform(dep)); in menu_finalize()
355 expr_eliminate_eq(&dep, &dep2); in menu_finalize()
356 expr_free(dep); in menu_finalize()
373 sym->dir_dep.expr = expr_alloc_or(sym->dir_dep.expr, parent->dep); in menu_finalize()
400 menu->dep = expr_alloc_and(basedep, menu->dep); in menu_finalize()