Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/
H A Dconfdata.c120 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()
133 sym->def[def].tri = yes; in conf_set_sym_val()
138 sym->def[def].tri = no; in conf_set_sym_val()
169 sym->def[def].val = strdup(p); in conf_set_sym_val()
182 int conf_read_simple(const char *name, int def) in conf_read_simple() argument
228 def_flags = SYMBOL_DEF << def; in conf_read_simple()
238 if (sym->def[def].val) in conf_read_simple()
239 free(sym->def[def].val); in conf_read_simple()
241 sym->def[def].val = NULL; in conf_read_simple()
[all …]
H A Dconf.c84 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() argument
95 printf("%s\n", def); in conf_askvalue()
105 printf("%s\n", def); in conf_askvalue()
121 printf("%s\n", def); in conf_askvalue()
133 const char *def; in conf_string() local
138 def = sym_get_string_value(sym); in conf_string()
140 printf("[%s] ", def); in conf_string()
141 if (!conf_askvalue(sym, def)) in conf_string()
150 def = NULL; in conf_string()
155 def = line; in conf_string()
[all …]
H A Dsymbol.c39 static void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() argument
43 prop->expr = expr_alloc_symbol(sym_lookup(def, SYMBOL_CONST)); in sym_add_default()
273 def_sym = sym->def[S_DEF_USER].val; in sym_calc_choice()
337 newval.tri = EXPR_AND(sym->def[S_DEF_USER].tri, in sym_calc_value()
376 newval.val = sym->def[S_DEF_USER].val; in sym_calc_value()
495 cs->def[S_DEF_USER].val = sym; in sym_set_tristate_value()
504 sym->def[S_DEF_USER].tri = val; in sym_set_tristate_value()
649 oldval = sym->def[S_DEF_USER].val; in sym_set_string_value()
653 sym->def[S_DEF_USER].val = val = malloc(size); in sym_set_string_value()
657 sym->def[S_DEF_USER].val = val = malloc(size); in sym_set_string_value()
H A Dgconf.c1099 const char *def; in fill_row() local
1207 def = sym_get_string_value(sym); in fill_row()
1208 row[COL_VALUE] = g_strdup(def); in fill_row()
H A Dexpr.h78 struct symbol_value def[S_DEF_COUNT]; member
/utopia/UTPA2-700.0.x/projects/build/scripts/
H A Dnamespace.pl82 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 …]
/utopia/UTPA2-700.0.x/projects/build/scripts/genksyms/
H A Dgenksyms.c470 struct string_list *sym, *def; in read_reference() local
483 def = read_node(f); in read_reference()
484 if (def && def->tag == SYM_NORMAL && in read_reference()
485 !strcmp(def->string, "extern")) { in read_reference()
487 free_node(def); in read_reference()
488 def = read_node(f); in read_reference()
490 while (def) { in read_reference()
491 def->next = defn; in read_reference()
492 defn = def; in read_reference()
493 def = read_node(f); in read_reference()
H A Dlex.c_shipped406 /* %% [1.0] yytext/yyin/yyout/yy_state_type/yylineno etc. def's & init go here */
/utopia/UTPA2-700.0.x/modules/xc/drv/xc/
H A Dmvideo.c.01019 #if 0//def UFO_XC_SUPPORT_DUAL_MIU