| /scripts/kconfig/ |
| A D | expr.c | 28 e->type = type; in expr_alloc_one() 36 e->type = type; in expr_alloc_two() 45 e->type = type; in expr_alloc_comp() 153 if (e1->type == type) { in __expr_eliminate_eq() 158 if (e2->type == type) { in __expr_eliminate_eq() 231 if (e1->type != e2->type) switch (e2->type) { in expr_eliminate_eq() 255 if (e1->type != e2->type) in expr_eq() 430 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) in expr_join_or() 432 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) in expr_join_or() 596 if (e1->type == type) { in expr_eliminate_dups1() [all …]
|
| A D | menu.c | 86 switch (e->type) { in rewrite_m() 115 if (sym->type == type) in menu_set_type() 118 sym->type = type; in menu_set_type() 124 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 225 return sym2->type == S_INT || sym2->type == S_HEX || in menu_validate_number() 238 if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) && in sym_check_prop() 246 if (sym->type == S_HEX || sym->type == S_INT) { in sym_check_prop() 267 if (sym->type != S_BOOLEAN && sym->type != S_TRISTATE) in sym_check_prop() 280 if (sym->type != S_INT && sym->type != S_HEX) in sym_check_prop() 684 type = menu->prompt ? menu->prompt->type : 0; in menu_get_parent_menu() [all …]
|
| A D | expr.h | 43 enum expr_type type; member 91 enum symbol_type type; member 134 … < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTHER) 194 enum prop_type type; /* type of property */ member 207 if (st->type == (tok)) 295 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 296 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 297 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 309 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); 319 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes() [all …]
|
| A D | list.h | 19 #define container_of(ptr, type, member) ({ \ argument 20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \ 21 (type *)( (char *)__mptr - offsetof(type,member) );}) 38 #define list_entry(ptr, type, member) \ argument 39 container_of(ptr, type, member)
|
| A D | symbol.c | 38 enum symbol_type type = sym->type; in sym_get_type() local 42 type = S_BOOLEAN; in sym_get_type() 44 type = S_BOOLEAN; in sym_get_type() 46 return type; in sym_get_type() 51 switch (type) { in sym_type_name() 106 switch (sym->type) { in sym_get_range_val() 126 switch (sym->type) { in sym_validate_range() 482 if (type != S_BOOLEAN && type != S_TRISTATE) in sym_tristate_within_range() 1189 if (prop->type == P_CHOICE || prop->type == P_SELECT || in sym_check_sym_deps() 1286 prop->type = type; in prop_alloc() [all …]
|
| A D | lkc.h | 91 struct property *menu_add_prompt(enum prop_type type, char *prompt, struct expr *dep); 92 void menu_add_expr(enum prop_type type, struct expr *expr, struct expr *dep); 93 void menu_add_symbol(enum prop_type type, struct symbol *sym, struct expr *dep); 96 void menu_set_type(int type); 126 struct property *prop_alloc(enum prop_type type, struct symbol *sym);
|
| A D | zconf.y | 91 %type <string> prompt 92 %type <symbol> nonconst_symbol 93 %type <symbol> symbol 94 %type <expr> expr 95 %type <expr> if_expr 96 %type <id> end 97 %type <id> option_name 183 current_entry->prompt->type = P_MENU; 655 switch (sym->type) { in print_symbol() 678 switch (prop->type) { in print_symbol() [all …]
|
| A D | qconf.cc | 109 int type; in updateMenu() local 150 switch (type) { in updateMenu() 413 type = menu->prompt ? menu->prompt->type : P_UNKNOWN; in updateSelection() 468 int type; in setValue() local 476 switch (type) { in setValue() 507 switch (type) { in changeValue() 535 type = menu && menu->prompt ? menu->prompt->type : P_UNKNOWN; in setRootMenu() 536 if (type != P_MENU) in setRootMenu() 599 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList() 664 type = child->prompt ? child->prompt->type : P_UNKNOWN; in updateMenuList() [all …]
|
| A D | confdata.c | 166 switch (sym->type) { in conf_set_sym_val() 193 sym->type = S_STRING; in conf_set_sym_val() 333 switch (sym->type) { in conf_read_simple() 372 switch (sym->type) { in conf_read_simple() 401 sym->type = S_OTHER; in conf_read_simple() 462 switch (sym->type) { in conf_read() 491 switch (sym->type) { in conf_read() 524 switch (sym->type) { in kconfig_print_symbol() 578 switch (sym->type) { in header_print_symbol() 668 switch (sym->type) { in conf_write_symbol() [all …]
|
| A D | lkc_proto.h | 36 const char * sym_type_name(enum symbol_type type); 49 const char * prop_get_type_name(enum prop_type type);
|
| A D | mconf.c | 470 int type, tmp, doint = 2; in build_conf() local 490 switch (prop->type) { in build_conf() 527 type = sym_get_type(sym); in build_conf() 540 switch (type) { in build_conf() 588 switch (type) { in build_conf() 630 if (menu->prompt->type == P_MENU) { in build_conf() 696 else if (submenu->prompt->type == P_MENU) in conf()
|
| A D | conf.c | 85 enum symbol_type type = sym_get_type(sym); in conf_askvalue() local 116 switch (type) { in conf_askvalue() 358 switch (prop->type) { in conf() 391 switch (sym->type) { in conf() 427 if (sym->type == S_STRING) { in check_conf()
|
| /scripts/dtc/ |
| A D | dtc-parser.y | 82 %type <data> propdata 84 %type <flags> header 85 %type <flags> headers 86 %type <re> memreserve 87 %type <re> memreserves 88 %type <array> arrayprefix 89 %type <data> bytestring 90 %type <prop> propdef 93 %type <node> devicetree 94 %type <node> nodedef [all …]
|
| A D | treesource.c | 73 if (m->type == LABEL) in write_propval_string() 113 if (m->type == LABEL) { in write_propval_string() 146 if (m->type == LABEL) { in write_propval_cells() 176 if (m->type == LABEL) in write_propval_bytes()
|
| A D | data.c | 240 struct data data_add_marker(struct data d, enum markertype type, char *ref) in data_add_marker() argument 246 m->type = type; in data_add_marker()
|
| /scripts/coccinelle/misc/ |
| A D | badty.cocci | 4 //# in memory allocation functions by checking the type of the allocated memory 25 type T; 39 type T; 54 type T; 68 coccilib.org.print_todo(p[0], "WARNING sizeof argument should be pointer type, not structure type") 74 msg="WARNING: Use correct pointer type argument for sizeof"
|
| /scripts/ |
| A D | kernel-doc | 692 $type =~ s/([^\*])$/$1 /; 971 print $type; 993 if ($type ne "") { 994 print "``$type``\n"; 1246 my $type = $1; 1257 my $type; 1273 $type = $1; 1508 my $type; 1536 $type = $arg; 1584 my $type = shift; [all …]
|
| A D | checkpatch.pl | 201 $type = RED . $type . RESET; 203 $type = YELLOW . $type . RESET; 205 $type = GREEN . $type . RESET; 249 my $type = ''; 262 $type = $1; 272 $type = ''; 1646 my $type = ''; 1713 if (($type eq '' || $type eq '(') && $c eq '(') { 1727 if (($type eq '' || $type eq '{') && $c eq '{') { 1745 $type = ''; [all …]
|
| A D | get_maintainer.pl | 357 my $type = $1; 361 if ($type eq "F" || $type eq "X") { 692 my $type = $1; 697 } elsif ($type eq "F" || $type eq "N") { 699 } elsif ($type eq "M" || $type eq "R" || $type eq "L") { 717 my $type = $1; 721 if (($type eq "F" || $type eq "X") && 735 } elsif (($type eq "W" || $type eq "Q" || $type eq "B") && 808 my $type = $1; 826 my $type = $1; [all …]
|
| A D | spdxcheck.py | 102 if tok.type == 'ID': 106 elif tok.type == 'EXC': 112 elif tok.type != 'WITH': 118 self.lasttok = tok.type 123 self.lasttok = tok.type 137 tok.type = val 139 tok.type = 'EXC' 141 self.lasttok = tok.type 228 ap.add_argument('-m', '--maxlines', type=int, default=15,
|
| A D | gen_compile_commands.py | 45 parser.add_argument('-d', '--directory', type=str, default='.', 50 parser.add_argument('-o', '--output', type=str, default=_DEFAULT_OUTPUT, 59 parser.add_argument('-a', '--ar', type=str, default='llvm-ar', help=ar_help) 64 parser.add_argument('paths', type=str, nargs='*', help=paths_help)
|
| A D | build-efi.sh | 186 TMP="/tmp/efi${bitness}${type}" 188 BUILD="efi-x86_${type}${bitness}" 192 BUILD="efi-x86_${type}"
|
| A D | event_dump.py | 112 parser.add_argument('elf', type=str, help='ELF file to decode') 113 parser.add_argument('-e', '--endian', type=str, default='auto',
|
| /scripts/coccinelle/api/alloc/ |
| A D | alloc_cast.cocci | 29 type T; 47 type r1.T; 65 type r1.T; 76 type T;
|
| /scripts/coccinelle/net/ |
| A D | mdio_register.cocci | 29 type addrT, outputT; 51 type update_read_sig.outputT; 112 type addrT, valueT;
|