Home
last modified time | relevance | path

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

/scripts/kconfig/
Dconfdata.c237 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()
[all …]
Dconf.c150 sym->def[S_DEF_USER].tri = yes; in randomize_choice_values()
272 sym->def[S_DEF_USER].tri = val; in conf_set_all_new_symbols()
285 sym->def[S_DEF_USER].tri == old_val) in conf_rewrite_tristates()
286 sym->def[S_DEF_USER].tri = new_val; in conf_rewrite_tristates()
291 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
300 printf("%s\n", def); in conf_askvalue()
310 printf("%s\n", def); in conf_askvalue()
326 const char *def; in conf_string() local
331 def = sym_get_string_value(sym); in conf_string()
332 if (def) in conf_string()
[all …]
Dsymbol.c296 if (sym_has_value(sym) && sym->def[S_DEF_USER].tri == yes) { in sym_calc_choice()
308 if (res && sym_has_value(res) && res->def[S_DEF_USER].tri == no) in sym_calc_choice()
451 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value()
485 newval.val = sym->def[S_DEF_USER].val; in sym_calc_value()
552 if (!(sym->flags & SYMBOL_DEF_USER) || sym->def[S_DEF_USER].tri != val) { in sym_set_tristate_value()
553 sym->def[S_DEF_USER].tri = val; in sym_set_tristate_value()
589 menu->sym->def[S_DEF_USER].tri = val; in choice_set_value()
752 oldval = sym->def[S_DEF_USER].val; in sym_set_string_value()
756 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
760 sym->def[S_DEF_USER].val = val = xmalloc(size); in sym_set_string_value()
Dexpr.h110 struct symbol_value def[S_DEF_COUNT]; member
Dstreamline_config.pl223 } elsif ($state eq "DEP" && /^\s*def(_(bool|tristate)|ault)\s+(\S.*)$/) {
Dgconf.c1004 const char *def; in fill_row() local
1113 def = sym_get_string_value(sym); in fill_row()
1114 row[COL_VALUE] = g_strdup(def); in fill_row()
/scripts/genksyms/
Dgenksyms.c465 struct string_list *sym, *def; in read_reference() local
478 def = read_node(f); in read_reference()
479 if (def && def->tag == SYM_NORMAL && in read_reference()
480 !strcmp(def->string, "extern")) { in read_reference()
482 free_node(def); in read_reference()
483 def = read_node(f); in read_reference()
485 while (def) { in read_reference()
486 def->next = defn; in read_reference()
487 defn = def; in read_reference()
488 def = read_node(f); in read_reference()
/scripts/coccinelle/misc/
Ddo_div.cocci21 def get_digit_type_and_value(str):
51 def filter_out_safe_constants(str):
61 def construct_warnings(suggested_fun):
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