• Home
  • Raw
  • Download

Lines Matching refs:args

665     my %args = %{$_[0]};
669 …print ".TH \"$args{'function'}\" 9 \"$args{'function'}\" \"$man_date\" \"Kernel Hacker's Manual\" …
672 print $args{'function'} . " \\- " . $args{'purpose'} . "\n";
675 if ($args{'functiontype'} ne "") {
676 print ".B \"" . $args{'functiontype'} . "\" " . $args{'function'} . "\n";
678 print ".B \"" . $args{'function'} . "\n";
683 foreach my $parameter (@{$args{'parameterlist'}}) {
684 if ($count == $#{$args{'parameterlist'}}) {
687 $type = $args{'parametertypes'}{$parameter};
700 foreach $parameter (@{$args{'parameterlist'}}) {
705 output_highlight($args{'parameterdescs'}{$parameter_name});
707 foreach $section (@{$args{'sectionlist'}}) {
709 output_highlight($args{'sections'}{$section});
716 my %args = %{$_[0]};
720 print ".TH \"$args{'module'}\" 9 \"enum $args{'enum'}\" \"$man_date\" \"API Manual\" LINUX\n";
723 print "enum " . $args{'enum'} . " \\- " . $args{'purpose'} . "\n";
726 print "enum " . $args{'enum'} . " {\n";
728 foreach my $parameter (@{$args{'parameterlist'}}) {
730 if ($count == $#{$args{'parameterlist'}}) {
741 foreach $parameter (@{$args{'parameterlist'}}) {
746 output_highlight($args{'parameterdescs'}{$parameter_name});
748 foreach $section (@{$args{'sectionlist'}}) {
750 output_highlight($args{'sections'}{$section});
757 my %args = %{$_[0]};
760 …print ".TH \"$args{'module'}\" 9 \"" . $args{'type'} . " " . $args{'struct'} . "\" \"$man_date\" \…
763 print $args{'type'} . " " . $args{'struct'} . " \\- " . $args{'purpose'} . "\n";
765 my $declaration = $args{'definition'};
769 print $args{'type'} . " " . $args{'struct'} . " {\n.br\n";
773 foreach $parameter (@{$args{'parameterlist'}}) {
779 ($args{'parameterdescs'}{$parameter_name} ne $undescribed) || next;
781 output_highlight($args{'parameterdescs'}{$parameter_name});
783 foreach $section (@{$args{'sectionlist'}}) {
785 output_highlight($args{'sections'}{$section});
792 my %args = %{$_[0]};
795 print ".TH \"$args{'module'}\" 9 \"$args{'typedef'}\" \"$man_date\" \"API Manual\" LINUX\n";
798 print "typedef " . $args{'typedef'} . " \\- " . $args{'purpose'} . "\n";
800 foreach $section (@{$args{'sectionlist'}}) {
802 output_highlight($args{'sections'}{$section});
807 my %args = %{$_[0]};
811 print ".TH \"$args{'module'}\" 9 \"$args{'module'}\" \"$man_date\" \"API Manual\" LINUX\n";
813 foreach $section (@{$args{'sectionlist'}}) {
815 output_highlight($args{'sections'}{$section});
829 my %args = %{$_[0]};
832 foreach $section (@{$args{'sectionlist'}}) {
839 output_highlight_rst($args{'sections'}{$section});
916 my %args = %{$_[0]};
923 if ($args{'typedef'}) {
924 print ".. c:type:: ". $args{'function'} . "\n\n";
928 output_highlight_rst($args{'purpose'});
935 if ($args{'typedef'} || $args{'functiontype'} eq "") {
937 print ".. c:macro:: ". $args{'function'} . "\n\n";
942 if ($args{'typedef'}) {
946 output_highlight_rst($args{'purpose'});
952 if ($args{'functiontype'} ne "") {
953 $start .= $args{'functiontype'} . " " . $args{'function'} . " (";
955 $start .= $args{'function'} . " (";
960 foreach my $parameter (@{$args{'parameterlist'}}) {
965 $type = $args{'parametertypes'}{$parameter};
979 if (!$args{'typedef'}) {
982 output_highlight_rst($args{'purpose'});
988 foreach $parameter (@{$args{'parameterlist'}}) {
991 $type = $args{'parametertypes'}{$parameter};
1001 if (defined($args{'parameterdescs'}{$parameter_name}) &&
1002 $args{'parameterdescs'}{$parameter_name} ne $undescribed) {
1003 output_highlight_rst($args{'parameterdescs'}{$parameter_name});
1015 my %args = %{$_[0]};
1020 foreach $section (@{$args{'sectionlist'}}) {
1023 output_highlight_rst($args{'sections'}{$section});
1031 my %args = %{$_[0]};
1037 my $name = "enum " . $args{'enum'};
1040 my $name = $args{'enum'};
1045 output_highlight_rst($args{'purpose'});
1050 foreach $parameter (@{$args{'parameterlist'}}) {
1052 if ($args{'parameterdescs'}{$parameter} ne $undescribed) {
1053 output_highlight_rst($args{'parameterdescs'}{$parameter});
1065 my %args = %{$_[0]};
1071 $name = "typedef " . $args{'typedef'};
1073 $name = $args{'typedef'};
1078 output_highlight_rst($args{'purpose'});
1086 my %args = %{$_[0]};
1091 my $name = $args{'type'} . " " . $args{'struct'};
1094 my $name = $args{'struct'};
1095 if ($args{'type'} eq 'union') {
1103 output_highlight_rst($args{'purpose'});
1108 my $declaration = $args{'definition'};
1110 print " " . $args{'type'} . " " . $args{'struct'} . " {\n$declaration };\n\n";
1114 foreach $parameter (@{$args{'parameterlist'}}) {
1120 ($args{'parameterdescs'}{$parameter_name} ne $undescribed) || next;
1121 $type = $args{'parametertypes'}{$parameter};
1124 output_highlight_rst($args{'parameterdescs'}{$parameter_name});
1236 $members =~ s/(?:__)?DECLARE_FLEX_ARRAY\s*\($args,\s*$args\)/$1 $2\[\]/gos;
1459 my $args = $3;
1462 create_parameterlist($args, ',', $file, $declaration_name);
1512 my $args = shift;
1520 while ($args =~ /(\([^\),]+),/) {
1521 $args =~ s/(\([^\),]+),/$1#/g;
1524 foreach my $arg (split($splitter, $args)) {
1550 my @args = split('\s*,\s*', $arg);
1551 if ($args[0] =~ m/\*/) {
1552 $args[0] =~ s/(\*+)\s*/ $1/;
1556 if ($args[0] =~ /^(.*\s+)(.*?\[.*\].*)$/) {
1557 shift @args;
1561 @first_arg = split('\s+', shift @args);
1564 unshift(@args, pop @first_arg);
1567 foreach $param (@args) {
1799 my $args = $3;
1801 create_parameterlist($args, ',', $file, $declaration_name);