Lines Matching refs:args
354 my %args = %{$_[0]};
358 print "\@deftypefun {" . $args{'functiontype'} . "} ";
359 print "{".$args{'function'}."} ";
362 foreach $parameter (@{$args{'parameterlist'}}) {
363 print $args{'parametertypes'}{$parameter}." \@var{".$parameter."}";
364 if ($count != $#{$args{'parameterlist'}}) {
370 foreach $parameter (@{$args{'parameterlist'}}) {
371 if ($args{'parameters'}{$parameter}) {
373 output_highlight($args{'parameters'}{$parameter});
377 foreach $section (@{$args{'sectionlist'}}) {
379 $args{'sections'}{$section} =~ s:([{}]):\@\1:gs;
380 output_highlight($args{'sections'}{$section});
387 my %args = %{$_[0]};
390 print "\n\n<a name=\"". $args{'function'} . "\"> </a><h2>Function</h2>
393 print "<i>".$args{'functiontype'}."</i>\n";
394 print "<b>".$args{'function'}."</b>\n";
397 foreach $parameter (@{$args{'parameterlist'}}) {
398 print "<i>".$args{'parametertypes'}{$parameter}."</i> <b>".$parameter.
400 if ($count != $#{$args{'parameterlist'}}) {
409 foreach $parameter (@{$args{'parameterlist'}}) {
410 print "<dt><i>".$args{'parametertypes'}{$parameter}."</i> <b>".$parame
413 output_highlight($args{'parameters'}{$parameter});
416 foreach $section (@{$args{'sectionlist'}}) {
419 output_highlight($args{'sections'}{$section});
427 my %args = %{$_[0]};
430 my $func = $args{'function'};
439 print "\n\n\\subsection{". $func . "}\n\\label{" . $args{'function'} . "}\
442 $type = $args{'functiontype'};
449 foreach $parameter (@{$args{'parameterlist'}}) {
450 $param = $args{'parametertypes'}{$parameter};
456 if ($count != $#{$args{'parameterlist'}}) {
467 foreach $parameter (@{$args{'parameterlist'}}) {
468 $param1 = $args{'parametertypes'}{$parameter};
477 $param3 = $args{'parameters'}{$parameter};
489 foreach $section (@{$args{'sectionlist'}}) {
497 $sec = $args{'sections'}{$section};
515 my %args = %{$_[0]};
520 $id = $args{'module'}."-".$args{'function'};
525 print "<refentrytitle><phrase id=\"$id\">".$args{'function'}."</phrase></r
529 print " <refname>".$args{'function'}."</refname>\n";
531 print " ".$args{'purpose'}."\n";
538 print " <funcdef>".$args{'functiontype'}." ";
539 print "<function>".$args{'function'}." ";
550 if ($#{$args{'parameterlist'}} >= 0) {
551 foreach $parameter (@{$args{'parameterlist'}}) {
552 print " <paramdef>".$args{'parametertypes'}{$parameter};
565 if ($#{$args{'parameterlist'}} >= 0) {
567 foreach $parameter (@{$args{'parameterlist'}}) {
572 output_highlight($args{'parameters'}{$parameter});
583 foreach $section (@{$args{'sectionlist'}}) {
589 output_highlight($args{'sections'}{$section});
603 my %args = %{$_[0]};
607 print ".TH \"$args{'function'}\" 3 \"$args{'sourceversion'}\" \"". $args{'
608 module'} . "\" \"". $args{'module'} . "\"\n";
612 print $args{'function'}."\n";
615 print ".B #include <". lc((split /_/, $args{'function'})[0]) . ".h>\n"
616 if $args{'includefuncprefix'};
618 print ".BI \"".$args{'functiontype'}." ".$args{'function'}."(";
620 foreach $parameter (@{$args{'parameterlist'}}) {
621 print $args{'parametertypes'}{$parameter}." \" ".$parameter." \"";
622 if ($count != $#{$args{'parameterlist'}}) {
630 foreach $parameter (@{$args{'parameterlist'}}) {
631 print ".IP \"".$args{'parametertypes'}{$parameter}." ".$parameter."\"
633 output_highlight($args{'parameters'}{$parameter});
635 foreach $section (@{$args{'sectionlist'}}) {
637 output_highlight($args{'sections'}{$section});
640 if ($args{'bugsto'}) {
642 print "Report bugs to <". $args{'bugsto'} . ">.\n";
645 if ($args{'copyright'}) {
647 print "Copyright \\(co ". $args{'copyright'} . ".\n";
648 if ($args{'verbatimcopying'}) {
658 if ($args{'seeinfo'}) {
661 print ".B " . $args{'module'} . "\n";
665 print ".B " . $args{'module'} . "\n";
668 print ".B info " . $args{'seeinfo'} . "\n";
675 my %args = %{$_[0]};
676 print $args{'function'} . "\n";
682 my %args = %{$_[0]};
685 print "Function = ".$args{'function'}."\n";
686 print " return type: ".$args{'functiontype'}."\n\n";
687 foreach $parameter (@{$args{'parameterlist'}}) {
688 print " ".$args{'parametertypes'}{$parameter}." ".$parameter."\n";
689 print " -> ".$args{'parameters'}{$parameter}."\n";
691 foreach $section (@{$args{'sectionlist'}}) {
694 output_highlight($args{'sections'}{$section});
721 $args = $3;
725 foreach $arg (split ',', $args) {
730 @args = split('\s', $arg);
733 $param = pop @args;
737 push @args, $1;
741 push @args, $2;
744 $type = join " ", @args;