/scripts/kconfig/ |
D | lkc_proto.h | 26 struct gstr get_relations_str(struct symbol **sym_arr, struct list_head *head); 30 extern struct symbol * symbol_hash[SYMBOL_HASHSIZE]; 32 struct symbol * sym_lookup(const char *name, int flags); 33 struct symbol * sym_find(const char *name); 36 struct symbol ** sym_re_search(const char *pattern); 38 void sym_calc_value(struct symbol *sym); 39 enum symbol_type sym_get_type(struct symbol *sym); 40 bool sym_tristate_within_range(struct symbol *sym,tristate tri); 41 bool sym_set_tristate_value(struct symbol *sym,tristate tri); 42 tristate sym_toggle_tristate_value(struct symbol *sym); [all …]
|
D | lkc.h | 86 void set_all_choice_values(struct symbol *csym); 102 void menu_add_entry(struct symbol *sym); 108 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 139 struct symbol *sym_choice_default(struct symbol *sym); 140 const char *sym_get_string_default(struct symbol *sym); 141 struct symbol *sym_check_deps(struct symbol *sym); 142 struct property *prop_alloc(enum prop_type type, struct symbol *sym); 143 struct symbol *prop_get_symbol(struct property *prop); 144 struct property *sym_get_env_prop(struct symbol *sym); 146 static inline tristate sym_get_tristate_value(struct symbol *sym) in sym_get_tristate_value() [all …]
|
D | symbol.c | 14 struct symbol symbol_yes = { 32 struct symbol *sym_defconfig_list; 33 struct symbol *modules_sym; 38 static void sym_add_default(struct symbol *sym, const char *def) in sym_add_default() 47 struct symbol *sym; in sym_init() 63 enum symbol_type sym_get_type(struct symbol *sym) in sym_get_type() 97 struct property *sym_get_choice_prop(struct symbol *sym) in sym_get_choice_prop() 106 struct property *sym_get_env_prop(struct symbol *sym) in sym_get_env_prop() 115 static struct property *sym_get_default_prop(struct symbol *sym) in sym_get_default_prop() 127 static struct property *sym_get_range_prop(struct symbol *sym) in sym_get_range_prop() [all …]
|
D | expr.h | 39 struct symbol *sym; 77 struct symbol { struct 78 struct symbol *next; argument 148 struct symbol *sym; /* the symbol for which the property is associated */ 173 struct symbol *sym; 200 extern struct symbol symbol_yes, symbol_no, symbol_mod; 201 extern struct symbol *modules_sym; 202 extern struct symbol *sym_defconfig_list; 204 struct expr *expr_alloc_symbol(struct symbol *sym); 207 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); [all …]
|
D | zconf.y | 29 struct symbol *symbol_hash[SYMBOL_HASHSIZE]; 40 struct symbol *symbol; member 88 %type <symbol> symbol 170 struct symbol *sym = sym_lookup($2, 0); 184 struct symbol *sym = sym_lookup($2, 0); 246 config_option: T_RANGE symbol symbol if_expr T_EOL 276 struct symbol *sym = sym_lookup($2, SYMBOL_CHOICE); 494 expr: symbol { $$ = expr_alloc_symbol($1); } 495 | symbol T_LESS symbol { $$ = expr_alloc_comp(E_LTH, $1, $3); } 496 | symbol T_LESS_EQUAL symbol { $$ = expr_alloc_comp(E_LEQ, $1, $3); } [all …]
|
D | confdata.c | 20 void (*print_symbol)(FILE *, struct symbol *, const char *, void *); 86 struct symbol *sym; in conf_expand_value() 126 static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) in conf_set_sym_val() 257 struct symbol *sym; in conf_read_simple() 385 struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); in conf_read_simple() 411 struct symbol *sym; in conf_read() 488 kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in kconfig_print_symbol() 542 header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in header_print_symbol() 616 tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) in tristate_print_symbol() 629 static void conf_write_symbol(FILE *fp, struct symbol *sym, in conf_write_symbol() [all …]
|
D | menu.c | 47 void menu_add_entry(struct symbol *sym) in menu_add_entry() 114 struct symbol *sym = current_entry->sym; in menu_set_type() 194 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep) in menu_add_symbol() 226 static int menu_validate_number(struct symbol *sym, struct symbol *sym2) in menu_validate_number() 232 static void sym_check_prop(struct symbol *sym) in sym_check_prop() 235 struct symbol *sym2; in sym_check_prop() 289 struct symbol *sym; in menu_finalize() 337 struct symbol *es = prop_get_symbol(prop); in menu_finalize() 341 struct symbol *es = prop_get_symbol(prop); in menu_finalize() 481 struct symbol *sym; in menu_is_visible() [all …]
|
D | zconf.tab.c_shipped | 102 struct symbol *symbol_hash[SYMBOL_HASHSIZE]; 189 struct symbol *symbol; 533 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM. 554 "end", "nl", "if_expr", "expr", "symbol", "word_opt", YY_NULLPTR 560 (internal) symbol number NUM (which must be that of a token). */ 730 symbol of state STATE-NUM. */ 756 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ 861 | Print this symbol's value on YYOUTPUT. | 880 | Print this symbol on YYOUTPUT. | 1198 | Release the memory associated to this symbol. | [all …]
|
D | conf.c | 85 static int conf_askvalue(struct symbol *sym, const char *def) in conf_askvalue() 136 struct symbol *sym = menu->sym; in conf_string() 169 struct symbol *sym = menu->sym; in conf_sym() 238 struct symbol *sym, *def_sym; in conf_choice() 357 struct symbol *sym; in conf() 423 struct symbol *sym; in check_conf()
|
D | qconf.h | 260 QString debug_info(struct symbol *sym); 262 static void expr_print_help(void *data, struct symbol *sym, const char *str); 266 struct symbol *sym; 288 struct symbol **result;
|
D | mconf.c | 393 struct symbol **sym_arr; in search_conf() 468 struct symbol *sym; in build_conf() 531 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf() 650 struct symbol *sym; in conf() 804 struct symbol *active; in conf_choice()
|
D | expr.c | 17 struct expr *expr_alloc_symbol(struct symbol *sym) in expr_alloc_symbol() 42 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() 371 struct symbol *sym1, *sym2; in expr_join_or() 435 struct symbol *sym1, *sym2; in expr_join_and() 758 int expr_contains_symbol(struct expr *dep, struct symbol *sym) in expr_contains_symbol() 786 bool expr_depends_symbol(struct expr *dep, struct symbol *sym) in expr_depends_symbol() 815 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym) in expr_trans_compare() 1080 void expr_print(struct expr *e, void (*fn)(void *, struct symbol *, const char *), void *data, int … in expr_print() argument 1170 static void expr_print_file_helper(void *data, struct symbol *sym, const char *str) in expr_print_file_helper() 1180 static void expr_print_gstr_helper(void *data, struct symbol *sym, const char *str) in expr_print_gstr_helper()
|
/scripts/ |
D | checkkconfigsymbols.py | 160 for symbol in sorted(undefined_b): 162 if symbol not in undefined_a: 163 files = sorted(undefined_b.get(symbol)) 164 undefined[symbol] = files 167 files = sorted(undefined_b.get(symbol) - 168 undefined_a.get(symbol)) 170 undefined[symbol] = files 180 for symbol in sorted(undefined): 181 print(red(symbol)) 183 files = sorted(undefined.get(symbol)) [all …]
|
D | export_report.pl | 33 my ($symbol, $no) = split /\s+/, $sym; 34 printf("\t\t%-25s\n", $symbol); 98 my (undef, $symbol, $module, $gpl) = split; 99 $SYMBOL { $symbol } = [ $module , "0" , $symbol, $gpl]; 132 my ($module, $value, $symbol, $gpl) = @{$SYMBOL{$sym}}; 133 $SYMBOL{ $sym } = [ $module, $value+1, $symbol, $gpl]; 159 my ($module, $value, $symbol, $gpl) = @{$list}; 160 printf("%-25s\t%-25s\t%-10s\t", $symbol, $module, $value); 182 foreach my $symbol (@{$list}) { 183 my ($module, $value, undef, $gpl) = @{$SYMBOL{$symbol}}; [all …]
|
D | decode_stacktrace.sh | 37 symbol=${symbol#\(} 38 symbol=${symbol%\)} 41 local name=${symbol%+*} 54 local expr=${symbol%/*} 87 symbol="$name ($code)" 126 symbol=${words[$last-1]} 130 symbol=${words[$last]} 138 echo "${words[@]}" "$symbol $module"
|
D | kallsyms.c | 484 static void learn_symbol(unsigned char *symbol, int len) in learn_symbol() argument 489 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]++; in learn_symbol() 493 static void forget_symbol(unsigned char *symbol, int len) in forget_symbol() argument 498 token_profit[ symbol[i] + (symbol[i + 1] << 8) ]--; in forget_symbol() 655 const char *symbol = (char *)se->sym + 1; in may_be_linker_script_provide_symbol() local 661 if (symbol[0] != '_' || symbol[1] != '_') in may_be_linker_script_provide_symbol() 665 if (!memcmp(symbol + 2, "start_", 6)) in may_be_linker_script_provide_symbol() 669 if (!memcmp(symbol + 2, "stop_", 5)) in may_be_linker_script_provide_symbol() 673 if (!memcmp(symbol + 2, "end_", 4)) in may_be_linker_script_provide_symbol() 677 if (!memcmp(symbol + len - 6, "_start", 6)) in may_be_linker_script_provide_symbol() [all …]
|
D | faddr2line | 115 while read symbol; do 116 local fields=($symbol)
|
D | gcc-ld | 20 --version-script|--dynamic-list|--version-exports-symbol|--wrap|-m)
|
D | check_extable.sh | 118 find_section_offset_from_symbol ${symbol} ${symbol_offset}
|
/scripts/genksyms/ |
D | genksyms.h | 44 struct symbol { struct 45 struct symbol *hash_next; argument 49 struct symbol *expansion_trail; argument 50 struct symbol *visited; argument 64 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact); argument 65 struct symbol *add_symbol(const char *name, enum symbol_type type,
|
D | genksyms.c | 39 static struct symbol *symtab[HASH_BUCKETS]; 53 static struct symbol *expansion_trail; 54 static struct symbol *visited_symbols; 166 struct symbol *find_symbol(const char *name, enum symbol_type ns, int exact) in find_symbol() 169 struct symbol *sym; in find_symbol() 182 static int is_unknown_symbol(struct symbol *sym) in is_unknown_symbol() 197 static struct symbol *__add_symbol(const char *name, enum symbol_type type, in __add_symbol() 202 struct symbol *sym; in __add_symbol() 278 struct symbol **psym; in __add_symbol() 321 struct symbol *add_symbol(const char *name, enum symbol_type type, in add_symbol() [all …]
|
/scripts/coccinelle/misc/ |
D | boolreturn.cocci | 15 symbol false; 16 symbol true;
|
D | boolconv.cocci | 19 symbol true, false; 47 symbol true, false;
|
D | boolinit.cocci | 18 symbol true; 19 symbol false;
|
/scripts/mod/ |
D | modpost.c | 165 struct symbol { struct 166 struct symbol *next; argument 179 static struct symbol *symbolhash[SYMBOL_HASH_SIZE]; argument 198 static struct symbol *alloc_symbol(const char *name, unsigned int weak, in alloc_symbol() 199 struct symbol *next) in alloc_symbol() 201 struct symbol *s = NOFAIL(malloc(sizeof(*s) + strlen(name) + 1)); in alloc_symbol() 211 static struct symbol *new_symbol(const char *name, struct module *module, in new_symbol() 215 struct symbol *new; in new_symbol() 224 static struct symbol *find_symbol(const char *name) in find_symbol() 226 struct symbol *s; in find_symbol() [all …]
|