/scripts/kconfig/ |
D | expr.c | 17 e->type = E_SYMBOL; in expr_alloc_symbol() 22 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce) in expr_alloc_one() argument 25 e->type = type; in expr_alloc_one() 30 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument 33 e->type = type; in expr_alloc_two() 39 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2) in expr_alloc_comp() argument 42 e->type = type; in expr_alloc_comp() 71 switch (org->type) { in expr_copy() 90 printf("can't copy type %d\n", e->type); in expr_copy() 104 switch (e->type) { in expr_free() [all …]
|
D | menu.c | 87 switch (e->type) { in menu_check_dep() 112 void menu_set_type(int type) in menu_set_type() argument 116 if (sym->type == type) in menu_set_type() 118 if (sym->type == S_UNKNOWN) { in menu_set_type() 119 sym->type = type; in menu_set_type() 124 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 127 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… in menu_add_prop() argument 129 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() 145 if(type == P_PROMPT) { in menu_add_prop() 177 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep) in menu_add_prompt() argument [all …]
|
D | expr.h | 41 enum expr_type type; member 78 enum symbol_type type; member 88 … < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) 142 enum prop_type type; /* type of property */ member 155 if (st->type == (tok)) 198 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 199 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 200 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 216 void expr_extract_eq(enum expr_type type, struct expr **ep, struct expr **ep1, struct expr **ep2); 217 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); [all …]
|
D | list.h | 18 #define container_of(ptr, type, member) ({ \ argument 19 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 20 (type *)( (char *)__mptr - offsetof(type,member) );}) 39 #define list_entry(ptr, type, member) \ argument 40 container_of(ptr, type, member)
|
D | lkc.h | 24 #define P(name,type,arg) extern type name arg argument 115 struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *d… 116 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 117 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 118 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 121 void menu_set_type(int type); 155 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
|
D | symbol.c | 58 sym->type = S_STRING; in sym_init() 65 enum symbol_type type = sym->type; in sym_get_type() local 67 if (type == S_TRISTATE) { in sym_get_type() 69 type = S_BOOLEAN; in sym_get_type() 71 type = S_BOOLEAN; in sym_get_type() 73 return type; in sym_get_type() 76 const char *sym_type_name(enum symbol_type type) in sym_type_name() argument 78 switch (type) { in sym_type_name() 142 switch (sym->type) { in sym_get_range_val() 161 switch (sym->type) { in sym_validate_range() [all …]
|
D | zconf.y | 81 %type <string> prompt 82 %type <symbol> symbol 83 %type <expr> expr 84 %type <expr> if_expr 85 %type <id> end 86 %type <id> option_name 87 %type <menu> if_entry menu_entry choice_entry 88 %type <string> symbol_option_arg word_opt 167 current_entry->prompt->type = P_MENU; 497 modules_sym->type = S_BOOLEAN; [all …]
|
D | qconf.cc | 121 int type; in updateMenu() local 135 if (prop) switch (prop->type) { in updateMenu() 161 type = sym_get_type(sym); in updateMenu() 162 switch (type) { in updateMenu() 177 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu() 190 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu() 218 if (type == S_STRING) in updateMenu() 427 enum prop_type type; in updateSelection() local 437 type = menu->prompt ? menu->prompt->type : P_UNKNOWN; in updateSelection() 438 if (mode == menuMode && type == P_MENU) in updateSelection() [all …]
|
D | confdata.c | 124 switch (sym->type) { in conf_set_sym_val() 149 sym->type = S_STRING; in conf_set_sym_val() 267 prop->expr->type != E_SYMBOL) in conf_read_simple() 293 switch (sym->type) { in conf_read_simple() 326 if (sym->type == S_UNKNOWN) in conf_read_simple() 327 sym->type = S_BOOLEAN; in conf_read_simple() 332 switch (sym->type) { in conf_read_simple() 360 if (sym->type == S_UNKNOWN) in conf_read_simple() 361 sym->type = S_OTHER; in conf_read_simple() 418 switch (sym->type) { in conf_read() [all …]
|
/scripts/dtc/ |
D | dtc-parser.y | 77 %type <data> propdata 78 %type <data> propdataprefix 79 %type <re> memreserve 80 %type <re> memreserves 81 %type <array> arrayprefix 82 %type <data> bytestring 83 %type <prop> propdef 84 %type <proplist> proplist 86 %type <node> devicetree 87 %type <node> nodedef [all …]
|
D | fdtput.c | 39 int type; /* data type (s/i/u/x or 0 for default) */ member 87 fmt[1] = disp->type ? disp->type : 'd'; in encode_value() 91 if (disp->type == 's') in encode_value() 108 if (disp->type == 's') { in encode_value() 333 if (utilfdt_decode_type(optarg, &disp.type, in main()
|
D | fdtget.c | 45 int type; /* data type (s/i/u/x or 0 for default) */ member 80 is_string = (disp->type) == 's' || in show_data() 81 (!disp->type && util_is_printable_string(data, len)); in show_data() 103 fmt[1] = disp->type ? disp->type : 'd'; in show_data() 326 if (utilfdt_decode_type(optarg, &disp.type, in main()
|
/scripts/ |
D | kernel-doc | 266 my ($type, $declaration_name, $return_type); 584 $type = $args{'parametertypes'}{$parameter}; 585 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { 588 } elsif ($type =~ m/^(.*?)\s*(:.*)/) { 592 print " <i>$type</i> <b>$parameter</b>;<br>\n"; 627 $type = $args{'parametertypes'}{$parameter}; 628 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { 632 print "<i>" . $type . "</i> <b>" . $parameter . "</b>"; 782 $type = $args{'parametertypes'}{$parameter}; 783 if ($type =~ m/([^\(]*\(\*)\s*\)\s*\(([^\)]*)\)/) { [all …]
|
D | namespace.pl | 221 my ($source, $type, $name); 265 ($type, $name) = (split(/ +/, $_, 3))[1..2]; 288 if ($type !~ /^[ABCDGRSTUWVabdgrstwv?]$/) { 295 $type = 'R' if ($type eq '?'); # binutils replaced ? with R at one point 297 $type = 'R' if ($name =~ /^__ksymtab/ || $name =~ /^__kstrtab/); 299 if ($type =~ /[ABCDGRSTWV]/ && 322 push(@nmdata, "$type $name"); 392 my ($type, $name) = split(' ', $nmdata->[$i], 2); 393 if ($type eq "U" || $type eq "w") { 396 $nmdata->[$i] = "$type $name $object"; [all …]
|
D | checkpatch.pl | 649 my $type = ''; 681 $type = '#'; 692 push(@stack, [ $type, $level ]); 694 ($type, $level) = @{$stack[$#stack - 1]}; 696 ($type, $level) = @{pop(@stack)}; 716 if (($type eq '' || $type eq '(') && $c eq '(') { 718 $type = '('; 720 if ($type eq '(' && $c eq ')') { 722 $type = ($level != 0)? '(' : ''; 730 if (($type eq '' || $type eq '{') && $c eq '{') { [all …]
|
D | recordmcount.pl | 157 my $type; 220 $type = ".long"; 224 $type = ".quad"; 255 $type = ".quad"; 273 $type = ".quad"; 284 $type = "data8"; 305 $type = ".xword"; 359 $type = ".dword"; 456 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
|
D | asn1_compiler.c | 309 struct type *type; member 644 struct type *type_def; 646 struct token *type; member 667 struct type { struct 677 static struct type *type_list; argument 678 static struct type **type_index; 683 const struct type *const *a = _a, *const *b = _b; in type_index_compare() 695 const struct type *const *ti = _ti; in type_finder() 696 const struct type *type = *ti; in type_finder() local 698 if (token->size != type->name->size) in type_finder() [all …]
|
D | bootgraph.pl | 44 my %type; 58 $type{$func} = 0; 81 $type{$func} = 1; 175 if ($type{$key} == 1) {
|
D | get_maintainer.pl | 279 my $type = $1; 283 if ($type eq "F" || $type eq "X") { 291 } elsif ($type eq "K") { 294 push(@typevalue, "$type:$value"); 514 my $type = $1; 516 if ($type eq 'S') { 532 my $type = $1; 534 if ($type eq 'M') { 581 my $type = $1; 583 if ($type eq 'X') { [all …]
|
/scripts/genksyms/ |
D | genksyms.c | 73 static void print_type_name(enum symbol_type type, const char *name); 172 if (map_to_ns(sym->type) == map_to_ns(ns) && in find_symbol() 177 if (exact && sym && sym->type != ns) in find_symbol() 186 return ((sym->type == SYM_STRUCT || in is_unknown_symbol() 187 sym->type == SYM_UNION || in is_unknown_symbol() 188 sym->type == SYM_ENUM) && in is_unknown_symbol() 197 static struct symbol *__add_symbol(const char *name, enum symbol_type type, in __add_symbol() argument 211 if (type == SYM_ENUM_CONST) { in __add_symbol() 232 } else if (type == SYM_ENUM) { in __add_symbol() 243 if (map_to_ns(sym->type) == map_to_ns(type) && in __add_symbol() [all …]
|
D | genksyms.h | 47 enum symbol_type type; member 65 struct symbol *add_symbol(const char *name, enum symbol_type type,
|
/scripts/coccinelle/api/alloc/ |
D | drop_kmalloc_cast.cocci | 26 type T; 37 type T; 48 type T;
|
D | kzalloc-simple.cocci | 29 type T, T2; 44 type T, T2; 60 type T, T2;
|
/scripts/mod/ |
D | devicetable-offsets.c | 56 DEVID_FIELD(css_device_id, type); in main() 59 DEVID_FIELD(serio_device_id, type); in main() 84 DEVID_FIELD(of_device_id, type); in main() 88 DEVID_FIELD(vio_device_id, type); in main()
|
/scripts/coccinelle/misc/ |
D | noderef.cocci | 19 type T; 43 type T;
|