Lines Matching refs:def

234 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
241 sym->def[def].tri = mod;
248 sym->def[def].tri = yes;
253 sym->def[def].tri = no;
257 if (def != S_DEF_AUTO)
272 if (def != S_DEF_AUTO)
280 sym->def[def].val = xstrdup(p);
283 if (def != S_DEF_AUTO)
350 int conf_read_simple(const char *name, int def)
394 def_flags = SYMBOL_DEF << def;
404 if (sym->def[def].val)
405 free(sym->def[def].val);
408 sym->def[def].val = NULL;
409 sym->def[def].tri = no;
425 if (def == S_DEF_USER) {
442 sym->def[def].tri = no;
462 if (def == S_DEF_AUTO)
478 if (conf_set_sym_val(sym, def, def_flags, p))
490 switch (sym->def[def].tri) {
494 if (cs->def[def].tri == yes) {
500 if (cs->def[def].tri != no)
502 cs->def[def].val = sym;
505 cs->def[def].tri = EXPR_OR(cs->def[def].tri, sym->def[def].tri);
537 if (sym->def[S_DEF_USER].tri == sym_get_tristate_value(sym))
541 if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val))
566 if (sym_string_within_range(sym, sym->def[S_DEF_USER].val))
1001 sym->def[S_DEF_AUTO].tri)
1008 sym->def[S_DEF_AUTO].val))
1139 int cnt, def;
1160 def = (rand() % cnt);
1164 if (def == cnt++) {
1165 sym->def[S_DEF_USER].tri = yes;
1166 csym->def[S_DEF_USER].val = sym;
1169 sym->def[S_DEF_USER].tri = no;
1195 sym->def[S_DEF_USER].tri = no;
1261 sym->def[S_DEF_USER].tri = yes;
1264 sym->def[S_DEF_USER].tri = mod;
1268 sym->def[S_DEF_USER].tri = yes;
1270 sym->def[S_DEF_USER].tri = no;
1273 sym->def[S_DEF_USER].tri = no;
1277 sym->def[S_DEF_USER].tri = yes;
1279 sym->def[S_DEF_USER].tri = mod;
1281 sym->def[S_DEF_USER].tri = yes;
1339 sym->def[S_DEF_USER].tri == old_val)
1340 sym->def[S_DEF_USER].tri = new_val;