Lines Matching refs:declaration_name
178 my ($type, $declaration_name, $return_type);
1124 $declaration_name = $2;
1128 $declaration_name = $3;
1133 if ($identifier ne $declaration_name) {
1134 emit_warning("${file}:$.", "expecting prototype for $decl_type $identifier. Prototype was for $decl_type $declaration_name instead\n");
1244 create_parameterlist($members, ';', $file, $declaration_name);
1245 check_sections($file, $declaration_name, $decl_type, $sectcheck, $struct_actual);
1268 output_declaration($declaration_name,
1270 {'struct' => $declaration_name,
1335 $declaration_name = $2;
1338 $declaration_name = $1;
1343 if ($identifier ne $declaration_name) {
1347 emit_warning("${file}:$.", "expecting prototype for enum $identifier. Prototype was for enum $declaration_name instead\n");
1351 $declaration_name = "(anonymous)" if ($declaration_name eq "");
1363 if (show_warnings("enum", $declaration_name)) {
1364 emit_warning("${file}:$.", "Enum value '$arg' not described in enum '$declaration_name'\n");
1372 if (show_warnings("enum", $declaration_name)) {
1373 emit_warning("${file}:$.", "Excess enum value '$k' description in '$declaration_name'\n");
1378 output_declaration($declaration_name,
1380 {'enum' => $declaration_name,
1410 $declaration_name = $2;
1414 if ($identifier ne $declaration_name) {
1415 emit_warning("${file}:$.", "expecting prototype for typedef $identifier. Prototype was for typedef $declaration_name instead\n");
1419 create_parameterlist($args, ',', $file, $declaration_name);
1421 output_declaration($declaration_name,
1423 {'function' => $declaration_name,
1443 $declaration_name = $1;
1445 if ($identifier ne $declaration_name) {
1446 emit_warning("${file}:$.", "expecting prototype for typedef $identifier. Prototype was for typedef $declaration_name instead\n");
1450 output_declaration($declaration_name,
1452 {'typedef' => $declaration_name,
1477 my $declaration_name = shift;
1510 push_parameter($param, $type, $arg, $file, $declaration_name);
1536 push_parameter($2, "$type $1", $arg, $file, $declaration_name);
1541 push_parameter($1, "$type:$2", $arg, $file, $declaration_name)
1546 push_parameter($param, $type, $arg, $file, $declaration_name);
1558 my $declaration_name = shift;
1603 if (show_warnings($type, $declaration_name) && $param !~ /\./) {
1604 emit_warning("${file}:$.", "Function parameter or member '$param' not described in '$declaration_name'\n");
1665 my $declaration_name = shift;
1678 "'$declaration_name'\n");
1749 # declaration_name and opening parenthesis (notice the \s+).
1751 $declaration_name = $2;
1757 $declaration_name = $2;
1760 create_parameterlist($args, ',', $file, $declaration_name);
1766 if ($identifier ne $declaration_name) {
1767 emit_warning("${file}:$.", "expecting prototype for $identifier(). Prototype was for $declaration_name() instead\n");
1772 check_sections($file, $declaration_name, "function", $sectcheck, $prms);
1780 check_return_section($file, $declaration_name, $return_type);
1786 output_declaration($declaration_name,
1788 {'function' => $declaration_name,
1800 output_declaration($declaration_name,
1802 {'function' => $declaration_name,