Searched refs:def (Results 1 – 7 of 7) sorted by relevance
/scripts/ |
D | namespace.pl | 82 my %def = (); # all definitions for each name 317 if (!exists($def{$name})) { 318 $def{$name} = []; 320 push(@{$def{$name}}, $fullname); 350 my $def = $def{$name}; 351 for ($j = 0; $j < $#{$def{$name}}; ++$j) { 352 if ($def{$name}[$j] eq $object) { 353 splice(@{$def{$name}}, $j, 1); 363 foreach my $name (keys(%def)) { 364 if ($#{$def{$name}} > 0) { [all …]
|
/scripts/kconfig/ |
D | confdata.c | 120 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() argument 127 sym->def[def].tri = mod; in conf_set_sym_val() 134 sym->def[def].tri = yes; in conf_set_sym_val() 139 sym->def[def].tri = no; in conf_set_sym_val() 172 sym->def[def].val = strdup(p); in conf_set_sym_val() 185 int conf_read_simple(const char *name, int def) in conf_read_simple() argument 231 def_flags = SYMBOL_DEF << def; in conf_read_simple() 241 if (sym->def[def].val) in conf_read_simple() 242 free(sym->def[def].val); in conf_read_simple() 245 sym->def[def].val = NULL; in conf_read_simple() [all …]
|
D | conf.c | 82 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument 93 printf("%s\n", def); in conf_askvalue() 103 printf("%s\n", def); in conf_askvalue() 120 printf("%s\n", def); in conf_askvalue() 132 const char *def; in conf_string() local 137 def = sym_get_string_value(sym); in conf_string() 139 printf("[%s] ", def); in conf_string() 140 if (!conf_askvalue(sym, def)) in conf_string() 149 def = NULL; in conf_string() 155 def = line; in conf_string() [all …]
|
D | symbol.c | 38 static void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() argument 42 prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); in sym_add_default() 279 def_sym = sym->def[S_DEF_USER].val; in sym_calc_choice() 343 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value() 382 newval.val = sym->def[S_DEF_USER].val; in sym_calc_value() 501 cs->def[S_DEF_USER].val = sym; in sym_set_tristate_value() 510 sym->def[S_DEF_USER].tri = val; in sym_set_tristate_value() 655 oldval = sym->def[S_DEF_USER].val; in sym_set_string_value() 659 sym->def[S_DEF_USER].val = val = malloc(size); in sym_set_string_value() 663 sym->def[S_DEF_USER].val = val = malloc(size); in sym_set_string_value()
|
D | expr.h | 79 struct symbol_value def[S_DEF_COUNT]; member
|
D | gconf.c | 1065 const char *def; in fill_row() local 1174 def = sym_get_string_value(sym); in fill_row() 1175 row[COL_VALUE] = g_strdup(def); in fill_row()
|
/scripts/genksyms/ |
D | genksyms.c | 471 struct string_list *sym, *def; in read_reference() local 484 def = read_node(f); in read_reference() 485 if (def && def->tag == SYM_NORMAL && in read_reference() 486 !strcmp(def->string, "extern")) { in read_reference() 488 free_node(def); in read_reference() 489 def = read_node(f); in read_reference() 491 while (def) { in read_reference() 492 def->next = defn; in read_reference() 493 defn = def; in read_reference() 494 def = read_node(f); in read_reference()
|