Lines Matching refs:args
395 my %args = %{$_[0]};
398 foreach $section (@{$args{'sectionlist'}}) {
401 output_highlight($args{'sections'}{$section});
408 my %args = %{$_[0]};
411 print "<h2>enum ".$args{'enum'}."</h2>\n";
413 print "<b>enum ".$args{'enum'}."</b> {<br>\n";
415 foreach $parameter (@{$args{'parameterlist'}}) {
417 if ($count != $#{$args{'parameterlist'}}) {
427 foreach $parameter (@{$args{'parameterlist'}}) {
430 output_highlight($args{'parameterdescs'}{$parameter});
439 my %args = %{$_[0]};
442 print "<h2>typedef ".$args{'typedef'}."</h2>\n";
444 print "<b>typedef ".$args{'typedef'}."</b>\n";
451 my %args = %{$_[0]};
454 print "<h2>".$args{'type'}." ".$args{'struct'}."</h2>\n";
455 print "<b>".$args{'type'}." ".$args{'struct'}."</b> {<br>\n";
456 foreach $parameter (@{$args{'parameterlist'}}) {
457 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
458 $type = $args{'parametertypes'}{$parameter};
472 foreach $parameter (@{$args{'parameterlist'}}) {
473 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
476 output_highlight($args{'parameterdescs'}{$parameter});
485 my %args = %{$_[0]};
490 print "<i>".$args{'functiontype'}."</i>\n";
491 print "<b>".$args{'function'}."</b>\n";
494 foreach $parameter (@{$args{'parameterlist'}}) {
495 $type = $args{'parametertypes'}{$parameter};
502 if ($count != $#{$args{'parameterlist'}}) {
511 foreach $parameter (@{$args{'parameterlist'}}) {
512 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
515 output_highlight($args{'parameterdescs'}{$parameter});
524 my %args = %{$_[0]};
528 foreach $section (@{$args{'sectionlist'}}) {
531 output_highlight($args{'sections'}{$section});
538 my %args = %{$_[0]};
542 foreach $section (@{$args{'sectionlist'}}) {
547 output_highlight($args{'sections'}{$section});
557 my %args = %{$_[0]};
562 $id = "API-".$args{'function'};
567 print "<refentrytitle><phrase id=\"$id\">".$args{'function'}."</phrase></refentrytitle>\n";
570 print " <refname>".$args{'function'}."</refname>\n";
573 output_highlight ($args{'purpose'});
580 print " <funcdef>".$args{'functiontype'}." ";
581 print "<function>".$args{'function'}." </function></funcdef>\n";
584 if ($#{$args{'parameterlist'}} >= 0) {
585 foreach $parameter (@{$args{'parameterlist'}}) {
586 $type = $args{'parametertypes'}{$parameter};
604 if ($#{$args{'parameterlist'}} >= 0) {
606 foreach $parameter (@{$args{'parameterlist'}}) {
610 output_highlight($args{'parameterdescs'}{$parameter});
625 my %args = %{$_[0]};
629 $id = "API-struct-".$args{'struct'};
634 …print "<refentrytitle><phrase id=\"$id\">".$args{'type'}." ".$args{'struct'}."</phrase></refentryt…
637 print " <refname>".$args{'type'}." ".$args{'struct'}."</refname>\n";
640 output_highlight ($args{'purpose'});
647 print $args{'type'}." ".$args{'struct'}." {\n";
648 foreach $parameter (@{$args{'parameterlist'}}) {
649 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
650 $type = $args{'parametertypes'}{$parameter};
668 foreach $parameter (@{$args{'parameterlist'}}) {
669 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
673 output_highlight($args{'parameterdescs'}{$parameter});
687 my %args = %{$_[0]};
692 $id = "API-enum-".$args{'enum'};
697 print "<refentrytitle><phrase id=\"$id\">enum ".$args{'enum'}."</phrase></refentrytitle>\n";
700 print " <refname>enum ".$args{'enum'}."</refname>\n";
703 output_highlight ($args{'purpose'});
710 print "enum ".$args{'enum'}." {\n";
712 foreach $parameter (@{$args{'parameterlist'}}) {
714 if ($count != $#{$args{'parameterlist'}}) {
727 foreach $parameter (@{$args{'parameterlist'}}) {
731 output_highlight($args{'parameterdescs'}{$parameter});
745 my %args = %{$_[0]};
749 $id = "API-typedef-".$args{'typedef'};
754 … print "<refentrytitle><phrase id=\"$id\">typedef ".$args{'typedef'}."</phrase></refentrytitle>\n";
757 print " <refname>typedef ".$args{'typedef'}."</refname>\n";
760 output_highlight ($args{'purpose'});
766 print " <synopsis>typedef ".$args{'typedef'}.";</synopsis>\n";
776 my %args = %{$_[0]};
780 my $id = $args{'module'};
785 foreach $section (@{$args{'sectionlist'}}) {
790 output_highlight($args{'sections'}{$section});
802 my %args = %{$_[0]};
807 $id = $args{'module'}."-".$args{'function'};
811 print " <title id=\"$id\">".$args{'function'}."</title>\n";
814 print " <funcdef>".$args{'functiontype'}." ";
815 print "<function>".$args{'function'}." ";
819 if ($#{$args{'parameterlist'}} >= 0) {
820 foreach $parameter (@{$args{'parameterlist'}}) {
821 $type = $args{'parametertypes'}{$parameter};
835 if ($#{$args{'parameterlist'}} >= 0) {
841 foreach $parameter (@{$args{'parameterlist'}}) {
845 output_highlight($args{'parameterdescs'}{$parameter});
855 foreach $section (@{$args{'sectionlist'}}) {
862 output_highlight($args{'sections'}{$section});
877 my %args = %{$_[0]};
881 …print ".TH \"$args{'function'}\" 9 \"$args{'function'}\" \"25 May 1998\" \"Kernel Hacker's Manual\…
884 print $args{'function'}." \\- ".$args{'purpose'}."\n";
887 print ".B \"".$args{'functiontype'}."\" ".$args{'function'}."\n";
891 foreach my $parameter (@{$args{'parameterlist'}}) {
892 if ($count == $#{$args{'parameterlist'}}) {
895 $type = $args{'parametertypes'}{$parameter};
908 foreach $parameter (@{$args{'parameterlist'}}) {
910 output_highlight($args{'parameterdescs'}{$parameter});
912 foreach $section (@{$args{'sectionlist'}}) {
914 output_highlight($args{'sections'}{$section});
921 my %args = %{$_[0]};
925 print ".TH \"$args{'module'}\" 9 \"enum $args{'enum'}\" \"$man_date\" \"API Manual\" LINUX\n";
928 print "enum ".$args{'enum'}." \\- ".$args{'purpose'}."\n";
931 print "enum ".$args{'enum'}." {\n";
933 foreach my $parameter (@{$args{'parameterlist'}}) {
935 if ($count == $#{$args{'parameterlist'}}) {
946 foreach $parameter (@{$args{'parameterlist'}}) {
948 output_highlight($args{'parameterdescs'}{$parameter});
950 foreach $section (@{$args{'sectionlist'}}) {
952 output_highlight($args{'sections'}{$section});
959 my %args = %{$_[0]};
962 …print ".TH \"$args{'module'}\" 9 \"".$args{'type'}." ".$args{'struct'}."\" \"$man_date\" \"API Man…
965 print $args{'type'}." ".$args{'struct'}." \\- ".$args{'purpose'}."\n";
968 print $args{'type'}." ".$args{'struct'}." {\n";
970 foreach my $parameter (@{$args{'parameterlist'}}) {
971 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
973 $type = $args{'parametertypes'}{$parameter};
988 foreach $parameter (@{$args{'parameterlist'}}) {
989 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
991 output_highlight($args{'parameterdescs'}{$parameter});
993 foreach $section (@{$args{'sectionlist'}}) {
995 output_highlight($args{'sections'}{$section});
1002 my %args = %{$_[0]};
1005 print ".TH \"$args{'module'}\" 9 \"$args{'typedef'}\" \"$man_date\" \"API Manual\" LINUX\n";
1008 print "typedef ".$args{'typedef'}." \\- ".$args{'purpose'}."\n";
1010 foreach $section (@{$args{'sectionlist'}}) {
1012 output_highlight($args{'sections'}{$section});
1017 my %args = %{$_[0]};
1021 print ".TH \"$args{'module'}\" 9 \"$args{'module'}\" \"$man_date\" \"API Manual\" LINUX\n";
1023 foreach $section (@{$args{'sectionlist'}}) {
1025 output_highlight($args{'sections'}{$section});
1032 my %args = %{$_[0]};
1036 my $start=$args{'functiontype'}." ".$args{'function'}." (";
1039 foreach my $parameter (@{$args{'parameterlist'}}) {
1040 $type = $args{'parametertypes'}{$parameter};
1047 if ($count != $#{$args{'parameterlist'}}) {
1057 foreach $parameter (@{$args{'parameterlist'}}) {
1058 print $parameter."\n\t".$args{'parameterdescs'}{$parameter}."\n";
1065 my %args = %{$_[0]};
1069 foreach $section (@{$args{'sectionlist'}}) {
1071 output_highlight($args{'sections'}{$section});
1078 my %args = %{$_[0]};
1083 print "enum ".$args{'enum'}." {\n";
1085 foreach $parameter (@{$args{'parameterlist'}}) {
1087 if ($count != $#{$args{'parameterlist'}}) {
1096 foreach $parameter (@{$args{'parameterlist'}}) {
1098 print $args{'parameterdescs'}{$parameter}."\n";
1106 my %args = %{$_[0]};
1111 print "typedef ".$args{'typedef'}."\n";
1117 my %args = %{$_[0]};
1120 print $args{'type'}." ".$args{'struct'}.":\n\n";
1121 print $args{'type'}." ".$args{'struct'}." {\n";
1122 foreach $parameter (@{$args{'parameterlist'}}) {
1123 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
1124 $type = $args{'parametertypes'}{$parameter};
1137 foreach $parameter (@{$args{'parameterlist'}}) {
1138 ($args{'parameterdescs'}{$parameter} ne $undescribed) || next;
1140 print $args{'parameterdescs'}{$parameter}."\n";
1147 my %args = %{$_[0]};
1150 foreach $section (@{$args{'sectionlist'}}) {
1153 output_highlight($args{'sections'}{$section});
1293 my $args = shift;
1299 while ($args =~ /(\([^\),]+),/) {
1300 $args =~ s/(\([^\),]+),/$1#/g;
1303 foreach my $arg (split($splitter, $args)) {
1319 my @args = split('\s', $arg);
1321 $param = pop @args;
1324 push @args, $1;
1328 push @args, ":$2";
1330 $type = join " ", @args;
1407 my $args = $3;
1409 create_parameterlist($args, ',', $file);