Home
last modified time | relevance | path

Searched refs:def (Results 1 – 12 of 12) sorted by relevance

/scripts/kconfig/
Dconfdata.c234 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument
241 sym->def[def].tri = mod; in conf_set_sym_val()
248 sym->def[def].tri = yes; in conf_set_sym_val()
253 sym->def[def].tri = no; in conf_set_sym_val()
257 if (def != S_DEF_AUTO) in conf_set_sym_val()
272 if (def != S_DEF_AUTO) in conf_set_sym_val()
280 sym->def[def].val = xstrdup(p); in conf_set_sym_val()
283 if (def != S_DEF_AUTO) in conf_set_sym_val()
350 int conf_read_simple(const char *name, int def) in conf_read_simple() argument
394 def_flags = SYMBOL_DEF << def; in conf_read_simple()
[all …]
Dconf.c86 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
97 printf("%s\n", def); in conf_askvalue()
107 printf("%s\n", def); in conf_askvalue()
123 printf("%s\n", def); in conf_askvalue()
135 const char *def; in conf_string() local
140 def = sym_get_string_value(sym); in conf_string()
142 printf("[%s] ", def); in conf_string()
143 if (!conf_askvalue(sym, def)) in conf_string()
152 def = NULL; in conf_string()
158 def = line; in conf_string()
[all …]
Dsymbol.c289 def_sym = sym->def[S_DEF_USER].val; in sym_calc_choice()
383 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value()
417 newval.val = sym->def[S_DEF_USER].val; in sym_calc_value()
517 cs->def[S_DEF_USER].val = sym; in sym_set_tristate_value()
526 sym->def[S_DEF_USER].tri = val; in sym_set_tristate_value()
671 oldval = sym->def[S_DEF_USER].val; in sym_set_string_value()
675 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
679 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
Dexpr.h104 struct symbol_value def[S_DEF_COUNT]; member
Dstreamline_config.pl223 } elsif ($state eq "DEP" && /^\s*def(_(bool|tristate)|ault)\s+(\S.*)$/) {
Dgconf.c1041 const char *def; in fill_row() local
1150 def = sym_get_string_value(sym); in fill_row()
1151 row[COL_VALUE] = g_strdup(def); in fill_row()
/scripts/genksyms/
Dgenksyms.c460 struct string_list *sym, *def; in read_reference() local
473 def = read_node(f); in read_reference()
474 if (def && def->tag == SYM_NORMAL && in read_reference()
475 !strcmp(def->string, "extern")) { in read_reference()
477 free_node(def); in read_reference()
478 def = read_node(f); in read_reference()
480 while (def) { in read_reference()
481 def->next = defn; in read_reference()
482 defn = def; in read_reference()
483 def = read_node(f); in read_reference()
/scripts/coccinelle/misc/
Dflexible_array.cocci20 def relevant(positions):
/scripts/coccinelle/api/
Dkfree_sensitive.cocci24 def relevant(p):
Dmemdup_user.cocci22 def relevant(p):
Dkvmalloc.cocci20 def relevant(p):
/scripts/
Dasn1_compiler.c707 struct token *def; member