Home
last modified time | relevance | path

Searched refs:var (Results 1 – 7 of 7) sorted by relevance

/scripts/gcc-plugins/
Dstructleak_plugin.c120 static void initialize(tree var) in initialize() argument
146 if (gimple_get_lhs(stmt) != var) in initialize()
155 inform(DECL_SOURCE_LOCATION(var), in initialize()
157 (byref && TREE_ADDRESSABLE(var)) ? "byref" in initialize()
161 type = TREE_TYPE(var); in initialize()
168 init_stmt = gimple_build_assign(var, initializer); in initialize()
178 tree var; in structleak_execute() local
190 FOR_EACH_LOCAL_DECL(cfun, i, var) { in structleak_execute()
191 tree type = TREE_TYPE(var); in structleak_execute()
193 gcc_assert(DECL_P(var)); in structleak_execute()
[all …]
Dlatent_entropy_plugin.c293 tree var; in create_var() local
295 var = create_tmp_var(type, name); in create_var()
296 add_referenced_var(var); in create_var()
297 mark_sym_for_renaming(var); in create_var()
298 return var; in create_var()
497 tree name, var = NODE_DECL(node); in create_latent_entropy_decl() local
499 if (DECL_NAME_LENGTH(var) < sizeof("latent_entropy") - 1) in create_latent_entropy_decl()
502 name = DECL_NAME(var); in create_latent_entropy_decl()
506 latent_entropy_decl = var; in create_latent_entropy_decl()
Drandomize_layout_plugin.c623 static void check_bad_casts_in_constructor(tree var, tree init) in check_bad_casts_in_constructor() argument
631 check_bad_casts_in_constructor(var, val); in check_bad_casts_in_constructor()
660 …MISMATCH(DECL_SOURCE_LOCATION(var), "constructor\n", TYPE_MAIN_VARIANT(field_type), TYPE_MAIN_VARI… in check_bad_casts_in_constructor()
671 tree var = NODE_DECL(node); in check_global_variables() local
672 init = DECL_INITIAL(var); in check_global_variables()
679 check_bad_casts_in_constructor(var, init); in check_global_variables()
741 tree var; in handle_local_var_initializers() local
744 FOR_EACH_LOCAL_DECL(cfun, i, var) { in handle_local_var_initializers()
745 tree init = DECL_INITIAL(var); in handle_local_var_initializers()
750 check_bad_casts_in_constructor(var, init); in handle_local_var_initializers()
Dgcc-common.h552 #define add_referenced_var(var) argument
553 #define mark_sym_for_renaming(var) argument
555 #define create_var_ann(var) argument
/scripts/coccinelle/misc/
Dof_table.cocci14 identifier var, arr;
21 .var = E,
32 identifier var, arr;
39 .var = E,
54 identifier var, arr;
61 .var = E,
/scripts/kconfig/
Dstreamline_config.pl148 my $var;
281 my $var = $3;
283 if (defined($vars{$var})) {
284 $process .= $start . $vars{$var};
321 $var = $1;
340 $arr[$#arr+1] = $var;
/scripts/
Dcheckpatch.pl2075 my $var = '_' x length($stream);
2228 substr($var, length($res), 1, $av_pend_colon);
2250 substr($var, length($res), 1, $variant);
2268 return ($res, $var);
4476 my $var = $1;
4477 …if ($line =~ /^\+\s*(?:$Declare)?$var\s*=\s*(?:$var|\*\s*\(?\s*&\s*\(?\s*$var\s*\)?\s*\)?)\s*[;,]/…
4498 my $var = $2;
4499 $var = "" if (!defined $var);
4513 $decl = rtrim($decl) if ($var eq "");
4514 $fixed[$fixlinenr] =~ s@\b$sign\s*\Q$pointer\E\s*$var\b@$decl$var@;
[all …]