Lines Matching refs:def

121 	int cnt, def;  in randomize_choice_values()  local
142 def = rand() % cnt; in randomize_choice_values()
146 if (def == cnt++) { in randomize_choice_values()
147 sym->def[S_DEF_USER].tri = yes; in randomize_choice_values()
148 csym->def[S_DEF_USER].val = sym; in randomize_choice_values()
150 sym->def[S_DEF_USER].tri = no; in randomize_choice_values()
238 sym->def[S_DEF_USER].tri = yes; in conf_set_all_new_symbols()
241 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
244 sym->def[S_DEF_USER].tri = no; in conf_set_all_new_symbols()
247 sym->def[S_DEF_USER].tri = no; in conf_set_all_new_symbols()
251 sym->def[S_DEF_USER].tri = yes; in conf_set_all_new_symbols()
253 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
255 sym->def[S_DEF_USER].tri = yes; in conf_set_all_new_symbols()
311 sym->def[S_DEF_USER].tri == old_val) in conf_rewrite_tristates()
312 sym->def[S_DEF_USER].tri = new_val; in conf_rewrite_tristates()
317 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
326 printf("%s\n", def); in conf_askvalue()
336 printf("%s\n", def); in conf_askvalue()
352 const char *def; in conf_string() local
357 def = sym_get_string_value(sym); in conf_string()
358 if (def) in conf_string()
359 printf("[%s] ", def); in conf_string()
360 if (!conf_askvalue(sym, def)) in conf_string()
369 def = NULL; in conf_string()
375 def = line; in conf_string()
377 if (def && sym_set_string_value(sym, def)) in conf_string()
481 int cnt, def; in conf_choice() local
485 cnt = def = 0; in conf_choice()
496 def = cnt; in conf_choice()
517 cnt = def; in conf_choice()
531 cnt = def; in conf_choice()