/scripts/kconfig/ |
A D | expr.c | 47 e->type = type; in expr_lookup() 107 if ((*ep1)->type == type) { in __expr_eliminate_eq() 115 if ((*ep2)->type == type) { in __expr_eliminate_eq() 190 if ((*ep1)->type != (*ep2)->type) switch ((*ep2)->type) { in expr_eliminate_eq() 219 if (e1->type != e2->type) in expr_eq() 320 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) in expr_join_or() 322 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) in expr_join_or() 385 if (e1->type != E_EQUAL && e1->type != E_UNEQUAL && e1->type != E_SYMBOL && e1->type != E_NOT) in expr_join_and() 387 if (e2->type != E_EQUAL && e2->type != E_UNEQUAL && e2->type != E_SYMBOL && e2->type != E_NOT) in expr_join_and() 485 if ((*ep1)->type == type) { in expr_eliminate_dups1() [all …]
|
A D | menu.c | 74 menu->type = type; in menu_add_entry() 139 if (sym->type == type) in menu_set_type() 142 sym->type = type; in menu_set_type() 148 sym_type_name(sym->type), sym_type_name(type)); in menu_set_type() 158 prop->type = type; in menu_add_prop() 229 return sym2->type == S_INT || sym2->type == S_HEX || in menu_validate_number() 242 if ((sym->type == S_STRING || sym->type == S_INT || sym->type == S_HEX) && in sym_check_prop() 250 if (sym->type == S_HEX || sym->type == S_INT) { in sym_check_prop() 282 if (sym->type != S_INT && sym->type != S_HEX) in sym_check_prop() 603 type = menu->prompt ? menu->prompt->type : 0; in menu_get_menu_or_parent_menu() [all …]
|
A D | expr.h | 49 enum expr_type type; member 97 enum symbol_type type; member 189 enum prop_type type; /* type of property */ member 202 if (st->type == (tok)) 226 enum menu_type type; member 298 struct expr *expr_alloc_one(enum expr_type type, struct expr *ce); 299 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2); 300 struct expr *expr_alloc_comp(enum expr_type type, struct symbol *s1, struct symbol *s2); 310 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); 320 return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes); in expr_is_yes()
|
A D | parser.y | 41 enum symbol_type type; member 90 %type <symbol> symbol 91 %type <type> type default 92 %type <expr> expr 93 %type <expr> if_expr 94 %type <string> end 96 %type <string> assign_val 97 %type <flavor> assign_op 301 type: 637 switch (sym->type) { in print_symbol() [all …]
|
A D | symbol.c | 19 .type = S_TRISTATE, 27 .type = S_TRISTATE, 35 .type = S_TRISTATE, 47 enum symbol_type type = sym->type; in sym_get_type() local 50 type = S_BOOLEAN; in sym_get_type() 51 return type; in sym_get_type() 56 switch (type) { in sym_type_name() 551 if (type != S_BOOLEAN && type != S_TRISTATE) in sym_tristate_within_range() 1118 type = stack->prop ? stack->prop->type : P_UNKNOWN; in sym_check_print_recursive() 1222 if (prop->type == P_SELECT || prop->type == P_IMPLY) in sym_check_sym_deps() [all …]
|
/scripts/gendwarfksyms/ |
A D | types.c | 78 type->name = NULL; in type_expansion_init() 79 type->len = 0; in type_expansion_init() 85 free(type->name); in type_expansion_free() 86 type->name = NULL; in type_expansion_free() 87 type->len = 0; in type_expansion_free() 94 type->len += type_list_append(&type->expanded, s, owned); in type_expansion_append() 135 if (type->len <= e->len) in type_map_add() 146 e->len = type->len; in type_map_add() 163 struct type_expansion type; in type_map_get() local 239 struct type_expansion type; member [all …]
|
A D | kabi.c | 83 enum kabi_rule_type type; member 95 return hash_32(type) ^ hash_str(target); in rule_values_hash() 131 enum kabi_rule_type type; in kabi_read_rules() member 135 .type = KABI_RULE_TYPE_DECLONLY, in kabi_read_rules() 147 .type = KABI_RULE_TYPE_BYTE_SIZE, in kabi_read_rules() 151 .type = KABI_RULE_TYPE_TYPE_STRING, in kabi_read_rules() 223 type = rule_types[i].type; in kabi_read_rules() 228 if (type == KABI_RULE_TYPE_UNKNOWN) in kabi_read_rules() 233 rule->type = type; in kabi_read_rules() 270 if (rule->type == type && !strcmp(target, rule->target)) in find_rule() [all …]
|
A D | dwarf.c | 303 Dwarf_Die type; in process_type_attr() local 326 Dwarf_Die *die, const char *type) in __process_list_type() argument 337 process(cache, type); in __process_list_type() 367 process(cache, type); in DEFINE_PROCESS_LIST_TYPE() 428 process(cache, type); in __process_subroutine_type() 533 Dwarf_Die type; in check_union_member_kabi_status() local 559 state->kabi.placeholder = type; in check_union_member_kabi_status() 655 Dwarf_Die type; in is_kabi_ignored() local 697 process(cache, type); in __process_structure_type() 811 switch (df->type) { in process_cached() [all …]
|
/scripts/dtc/ |
A D | dtc-parser.y | 72 %type <data> propdata 74 %type <flags> header 75 %type <flags> headers 76 %type <re> memreserve 77 %type <re> memreserves 79 %type <data> bytestring 80 %type <prop> propdef 82 %type <labelref> dt_ref 84 %type <node> devicetree 85 %type <node> nodedef [all …]
|
A D | of_unittest_expect | 34 my $type; 38 ($expect_next, $type) = split(/<</, $expect); 39 ($type) = split(/>>/, $type); 53 if ($type eq "int") { 59 } elsif ($type eq "hex") { 65 } elsif ($type eq "all") { 67 } elsif ($type eq "") { 75 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n";
|
/scripts/gcc-plugins/ |
A D | randomize_layout_plugin.c | 56 tree type; in handle_randomize_layout_attr() local 75 type = *node; in handle_randomize_layout_attr() 81 type = TREE_TYPE(*node); in handle_randomize_layout_attr() 259 debug_tree((tree)type); in shuffle() 427 relayout_struct(type); in randomize_type() 434 debug_tree(type); in randomize_type() 487 tree type; in randomize_layout_finish_decl() local 497 if (TREE_CODE(type) != RECORD_TYPE && TREE_CODE(type) != UNION_TYPE) in randomize_layout_finish_decl() 516 if (type == NULL_TREE || type == error_mark_node) in finish_type() 532 debug_tree(type); in finish_type() [all …]
|
A D | gcc-common.h | 105 tree cstr, elem, index, type; in build_const_char_string() local 110 type = build_array_type(elem, index); in build_const_char_string() 111 TREE_TYPE(cstr) = type; in build_const_char_string() 122 if (type == NULL_TREE) in __add_type_attr() 130 TYPE_ATTRIBUTES(type) = copy_list(TYPE_ATTRIBUTES(type)); in __add_type_attr() 131 TYPE_ATTRIBUTES(type) = tree_cons(get_identifier(attr), args, TYPE_ATTRIBUTES(type)); in __add_type_attr() 136 tree main_variant = TYPE_MAIN_VARIANT(type); in add_type_attr() 138 __add_type_attr(TYPE_CANONICAL(type), attr, args); in add_type_attr() 142 for (type = TYPE_NEXT_VARIANT(main_variant); type; type = TYPE_NEXT_VARIANT(type)) { in add_type_attr() 143 if (!lookup_attribute(attr, TYPE_ATTRIBUTES(type))) in add_type_attr() [all …]
|
A D | latent_entropy_plugin.c | 116 static tree tree_get_random_const(tree type) in tree_get_random_const() argument 123 if (TYPE_UNSIGNED(type)) in tree_get_random_const() 133 tree type; in handle_latent_entropy_attribute() local 158 type = TREE_TYPE(*node); in handle_latent_entropy_attribute() 159 switch (TREE_CODE(type)) { in handle_latent_entropy_attribute() 167 tree fld, lst = TYPE_FIELDS(type); in handle_latent_entropy_attribute() 210 elt_type = TREE_TYPE(type); in handle_latent_entropy_attribute() 211 elt_size = TYPE_SIZE_UNIT(TREE_TYPE(type)); in handle_latent_entropy_attribute() 212 array_size = TYPE_SIZE_UNIT(type); in handle_latent_entropy_attribute() 283 var = create_tmp_var(type, name); in create_var() [all …]
|
/scripts/gdb/linux/ |
A D | mapletree.py | 36 if mt.type == maple_tree_root_type.get_type().pointer(): 38 elif mt.type != maple_tree_root_type.get_type(): 110 if node.type != maple_enode_type.get_type().pointer(): 121 if entry.type == maple_enode_type.get_type().pointer(): 123 elif entry.type == ulong_type: 131 if node.type != maple_node_type.get_type().pointer(): 141 if enode.type == maple_enode_type.get_type().pointer(): 143 elif enode.type == ulong_type: 152 if enode.type != maple_enode_type.get_type().pointer(): 171 if node.type != maple_node_type.get_type().pointer(): [all …]
|
A D | rbtree.py | 26 if root.type == rb_root_type.get_type(): 28 elif root.type != rb_root_type.get_type().pointer(): 29 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 42 if root.type == rb_root_type.get_type(): 44 elif root.type != rb_root_type.get_type().pointer(): 45 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 67 if node.type == rb_node_type.get_type(): 69 elif node.type != rb_node_type.get_type().pointer(): 70 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type)) 90 if node.type == rb_node_type.get_type(): [all …]
|
A D | lists.py | 24 if head.type == list_head.get_type().pointer(): 26 elif head.type != list_head.get_type(): 28 .format(head.type)) 47 if head.type == hlist_head.get_type().pointer(): 49 elif head.type != hlist_head.get_type(): 51 .format(head.type)) 66 if (head.type == list_head.get_type().pointer()): 68 elif (head.type != list_head.get_type()):
|
A D | radixtree.py | 26 node_type = node.type 34 if root.type == radix_tree_root_type.get_type().pointer(): 36 elif root.type != radix_tree_root_type.get_type(): 38 .format(radix_tree_root_type.get_type(), root.type)) 64 node = slot.cast(node.type.pointer()).dereference()
|
/scripts/atomic/ |
A D | atomics.tbl | 8 # * I/i - int: returns base type 9 # * R - return: returns base type (has _return variants) 10 # * F/f - fetch: returns base type (has fetch_ variants) 11 # * l - load: returns base type (has _acquire order variant) 14 # Where args contains list of type[:name], where type is: 15 # * cv - const pointer to atomic base type (atomic_t/atomic64_t/atomic_long_t) 16 # * v - pointer to atomic base type (atomic_t/atomic64_t/atomic_long_t) 17 # * i - base type (int/s64/long) 18 # * p - pointer to base type (int/s64/long)
|
/scripts/genksyms/ |
A D | genksyms.c | 174 sym->type == SYM_UNION || in is_unknown_symbol() 175 sym->type == SYM_ENUM) && in is_unknown_symbol() 194 if (type == SYM_ENUM_CONST) { in process_enum() 235 if ((type == SYM_ENUM_CONST || type == SYM_ENUM) && !is_reference) { in __add_symbol() 243 if (map_to_ns(sym->type) != map_to_ns(type) || in __add_symbol() 249 } else if (sym->type == type && equal_list(sym->defn, defn)) { in __add_symbol() 261 print_type_name(type, name); in __add_symbol() 284 sym->type = type; in __add_symbol() 297 if (symbol_types[type].name) in __add_symbol() 302 type, name); in __add_symbol() [all …]
|
/scripts/include/ |
A D | list.h | 19 #define container_of(ptr, type, member) ({ \ argument 21 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \ 24 ((type *)(__mptr - offsetof(type, member))); }) 228 #define list_entry(ptr, type, member) \ argument 229 container_of(ptr, type, member) 239 #define list_first_entry(ptr, type, member) \ argument 240 list_entry((ptr)->next, type, member) 250 #define list_last_entry(ptr, type, member) \ argument 251 list_entry((ptr)->prev, type, member) 398 #define hlist_entry(ptr, type, member) container_of(ptr, type, member) argument [all …]
|
/scripts/coccinelle/misc/ |
A D | badty.cocci | 5 //# in memory allocation functions by checking the type of the allocated memory 26 type T; 40 type T; 55 type T; 69 coccilib.org.print_todo(p[0], "WARNING sizeof argument should be pointer type, not structure type") 75 msg="WARNING: Use correct pointer type argument for sizeof"
|
/scripts/ |
A D | recordmcount.pl | 166 my $type; 196 $type = ".long"; 200 $type = ".quad"; 226 $type = ".quad"; 259 $type = ".quad"; 277 $type = ".quad"; 294 $type = ".xword"; 348 $type = ".dword"; 356 $type = ".quad"; 443 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
|
A D | kernel-doc.pl | 537 $type =~ s/([^\*])$/$1 /; 797 $signature .= $type; 843 if ($type ne "") { 1048 my $type = qr{struct|union}; 1127 my $type = $1; 1138 my $type; 1411 my $type; 1440 $type = $arg; 1449 $type = $arg; 1495 my $type = shift; [all …]
|
A D | stackdelta | 25 my ($file, $func, $size, $type) = split; 41 $su{"${file}\t${func}"} = {size => $size, type => $type};
|
/scripts/lib/kdoc/ |
A D | kdoc_item.py | 8 def __init__(self, name, type, start_line, **other_stuff): argument 10 self.type = type
|