Lines Matching refs:def
237 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
244 sym->def[def].tri = mod; in conf_set_sym_val()
251 sym->def[def].tri = yes; in conf_set_sym_val()
256 sym->def[def].tri = no; in conf_set_sym_val()
260 if (def != S_DEF_AUTO) in conf_set_sym_val()
266 if (def != S_DEF_AUTO) { in conf_set_sym_val()
285 sym->def[def].val = xstrdup(p); in conf_set_sym_val()
288 if (def != S_DEF_AUTO) in conf_set_sym_val()
320 int conf_read_simple(const char *name, int def) in conf_read_simple() argument
386 def_flags = SYMBOL_DEF << def; in conf_read_simple()
393 free(sym->def[def].val); in conf_read_simple()
396 sym->def[def].val = NULL; in conf_read_simple()
397 sym->def[def].tri = no; in conf_read_simple()
401 if (def == S_DEF_USER) { in conf_read_simple()
448 if (def == S_DEF_AUTO) { in conf_read_simple()
468 if (conf_set_sym_val(sym, def, def_flags, val)) in conf_read_simple()
471 if (def != S_DEF_USER) in conf_read_simple()
511 if (sym->def[S_DEF_USER].tri == sym_get_tristate_value(sym)) in conf_read()
515 if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) in conf_read()
991 sym->def[S_DEF_AUTO].tri) in conf_touch_deps()
998 sym->def[S_DEF_AUTO].val)) in conf_touch_deps()