Lines Matching refs:contents
283 my $contents = shift;
286 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms;
323 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms;
426 my $contents = shift;
430 return unless $contents =~ /=head1 $section/
431 and $contents =~ /=head1 $before/;
433 if $contents =~ /=head1 $before.*=head1 $section/ms;
442 my $contents = shift;
446 foreach my $line ( split /\n+/, $contents ) {
535 my $contents = shift;
537 my $synopsis = ($contents =~ /=head1\s+SYNOPSIS(.*?)=head1/s, $1);
542 while ( $contents =~ /=head1\s+[A-Z ]*?OPTIONS$(.*?)(?==head1)/msg ) {
603 my $contents = shift;
605 while ( $contents =~ /($markup_re)\(\)/msg ) {
677 my $contents = shift;
682 and $contents =~ /Microsoft Encrypted File System/;
684 if $contents =~ /\b\Q$k\E\b/i;
687 if $contents =~ /\bepoch\b/;
690 if $contents =~ /=head1 NAME.*\btool\b.*=head1 SYNOPSIS/s;
692 if $contents =~ /NAME.*\butility\b.*=head1 SYNOPSIS/s;
702 my $contents = $podinfo{contents};
709 check_head_style($id, $contents);
713 check_section_location($id, $contents, "RETURN VALUES", "EXAMPLES");
714 check_section_location($id, $contents, "SEE ALSO", "HISTORY");
715 check_section_location($id, $contents, "EXAMPLES", "SEE ALSO");
719 while ( $contents =~ /$markup_re/msg ) {
732 while ( $contents =~ /L<([^>]*)\(1\)(?:\/.*)?>/g ) {
741 while ( $contents =~ /L<([^>]*)\(3\)(?:\/.*)?>/g ) {
747 unless ( $contents =~ /^=for openssl generic/ms ) {
749 name_synopsis($id, $filename, $contents);
750 functionname_check($id, $filename, $contents);
752 option_check($id, $filename, $contents)
756 wording($id, $contents);
759 if $contents !~ /^=pod/;
761 if $contents !~ /=cut\n$/;
763 if $contents =~ /=cut.*=cut/ms;
765 if $contents =~ /=head1 EXAMPLE[^S]/;
767 if $contents =~ /=head1 WARNING[^S]/;
769 if $contents !~ /Copyright .* The OpenSSL Project Authors/;
771 if $contents =~ /head1 COPYRIGHT.*=head/ms;
773 if $contents =~ /head2\s+[A-Z ]+\n/;
775 if $contents =~ /=head\d\s\s+/;
777 if $contents =~ /=head1 NAME.*\.\n.*=head1 SYNOPSIS/ms;
779 if $contents =~ /L<([^>]*)\|([^>]*)>/ && $1 eq $2;
781 if $contents =~ /=over([^ ][^24])/;
783 if $contents =~ /OpenSSL version [019]/;
785 if ( $contents !~ /=for openssl multiple includes/ ) {
788 if ( $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms ) {
821 if $contents !~ /^=head1\s+${_}\s*$/m;
974 my $is_generic = $podinfo{contents} =~ /^=for openssl generic/ms;
999 if ( $podinfo{contents} =~ /=for openssl foreign manual (.*)\n/ ) {
1020 while ( $podinfo{contents} =~ /$markup_re/msg ) {