Searched refs:Template (Results 1 - 25 of 149) sorted by relevance

123456

/netbsd-current/crypto/external/bsd/openssl.old/dist/external/perl/Text-Template-1.46/t/
H A D00-version.t3 use Text::Template;
6 if ($Text::Template::VERSION == 1.46) {
H A D09-error.t3 # test apparatus for Text::Template module
6 use Text::Template;
8 die "This is the test program for Text::Template version 1.46.
9 You are using version $Text::Template::VERSION instead.
12 unless $Text::Template::VERSION == 1.46;
19 Text::Template->new();
21 unless ($@ =~ /^\QUsage: Text::Template::new(TYPE => ..., SOURCE => ...)/) {
29 Text::Template->new(TYPE => 'FILE');
31 if ($@ =~ /^\QUsage: Text::Template::new(TYPE => ..., SOURCE => ...)/) {
41 Text::Template
[all...]
H A D03-out.t3 # test apparatus for Text::Template module
7 use Text::Template;
9 die "This is the test program for Text::Template version 1.46
10 You are using version $Text::Template::VERSION instead.
13 unless $Text::Template::VERSION == 1.46;
34 $template = new Text::Template ('type' => 'STRING', 'source' => $template)
36 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT)
H A D06-ofh.t3 # test apparatus for Text::Template module
6 use Text::Template;
8 die "This is the test program for Text::Template version 1.46.
9 You are using version $Text::Template::VERSION instead.
12 unless $Text::Template::VERSION == 1.46;
18 $template = new Text::Template TYPE => STRING, SOURCE => q{My process ID is {$$}};
H A D07-safe3.t3 # test apparatus for Text::Template module
5 use Text::Template;
15 die "This is the test program for Text::Template version 1.46.
16 You are using version $Text::Template::VERSION instead.
19 unless $Text::Template::VERSION == 1.46;
44 $template = new Text::Template ('type' => 'STRING', 'source' => $template,
47 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT,
68 # Text::Template object goes out of scope and a new one is created!"
76 my $o = Text::Template->new(type => 'string',
H A D10-delimiters.t6 use Text::Template;
8 die "This is the test program for Text::Template version 1.46.
9 You are using version $Text::Template::VERSION instead.
12 unless $Text::Template::VERSION == 1.46;
22 $template1 = Text::Template->new(TYPE => STRING,
26 or die "Couldn't construct template object: $Text::Template::ERROR; aborting";
32 $template1 = Text::Template->new(TYPE => STRING, SOURCE => $template);
40 $template1 = Text::Template->new(TYPE => STRING,
44 or die "Couldn't construct template object: $Text::Template::ERROR; aborting";
50 $template1 = Text::Template
[all...]
H A D14-broken.t2 # test apparatus for Text::Template module
4 use Text::Template;
10 die "This is the test program for Text::Template version 1.46.
11 You are using version $Text::Template::VERSION instead.
14 unless $Text::Template::VERSION == 1.46;
17 { my $r = Text::Template->new(TYPE => 'string',
29 { my $r = Text::Template->new(TYPE => 'string',
42 { my $r = Text::Template->new(TYPE => 'string',
54 { my $r = Text::Template->new(TYPE => 'string',
69 { my $r = Text::Template
[all...]
H A D01-basic.t6 use Text::Template;
27 $template = new Text::Template ('type' => 'FILE', 'source' => $TEMPFILE);
31 print "not ok $n $Text::Template::ERROR\n";
67 $text = Text::Template->fill_this_in( $template_1, 'package' => X);
77 $template = new Text::Template ('type' => 'FILEHANDLE',
82 print "not ok $n $Text::Template::ERROR\n";
112 $template = new Text::Template
123 print "not ok $n $Text::Template::ERROR\n";
143 unless (!defined($text)) { print STDERR "ERROR: $Text::Template::ERROR\n"};
151 my $tmpl = Text::Template
[all...]
H A D08-exported.t3 # test apparatus for Text::Template module
6 use Text::Template 'fill_in_file', 'fill_in_string';
8 die "This is the test program for Text::Template version 1.46.
9 You are using version $Text::Template::VERSION instead.
12 unless $Text::Template::VERSION == 1.46;
46 Text::Template->fill_this_in("With a message here? [% \$var %]\n",
63 use Text::Template 'fill_in_string';
H A D12-preprocess.t6 use Text::Template::Preprocess;
8 die "This is the test program for Text::Template::Preprocess version 1.46.
9 You are using version $Text::Template::Preprocess::VERSION instead.
12 unless $Text::Template::Preprocess::VERSION == 1.46;
35 $tmpl = new Text::Template::Preprocess
39 $tmpl = new Text::Template::Preprocess
H A D13-taint.t5 use Text::Template;
7 die "This is the test program for Text::Template version 1.46.
8 You are using version $Text::Template::VERSION instead.
11 unless $Text::Template::VERSION == 1.46;
36 my $obj = Text::Template->new(@_);
47 my $obj = Text::Template->new(@_);
58 if (Text::Template::_is_clean($_[0])) {
65 unless (Text::Template::_is_clean($_[0])) {
113 Text::Template::_unconditionally_untaint($ttemplate);
115 Text::Template
[all...]
H A D02-hash.t3 # test apparatus for Text::Template module
6 use Text::Template;
8 die "This is the test program for Text::Template version 1.46.
9 You are using version $Text::Template::VERSION instead.
12 unless $Text::Template::VERSION == 1.46;
27 $template = new Text::Template ('type' => 'STRING', 'source' => $template);
72 new Text::Template ('type' => 'STRING', 'source' => $template8);
100 $text = Text::Template::fill_in_string(q{$v: {$v}. @v: [{"@v"}].},
/netbsd-current/crypto/external/bsd/openssl.old/dist/external/perl/transfer/Text/
H A DTemplate.pm8 # Quick transfer to the downloaded Text::Template
10 package transfer::Text::Template;
16 use lib catdir(dirname(__FILE__), "..", "..", "Text-Template-1.46", "lib");
18 use lib catdir(dirname(__FILE__), "..", "..", "Text-Template-1_46", "lib");
19 use Text::Template;
/netbsd-current/crypto/external/bsd/openssl/dist/external/perl/Text-Template-1.56/t/
H A Derror.t3 # test apparatus for Text::Template module
10 use_ok 'Text::Template' or exit 1;
14 Text::Template->new();
18 like $@, qr/^\QUsage: Text::Template::new(TYPE => ..., SOURCE => ...)/;
20 eval { Text::Template->new(TYPE => 'FILE'); };
21 like $@, qr/^\QUsage: Text::Template::new(TYPE => ..., SOURCE => ...)/;
24 eval { Text::Template->new(TYPE => 'wlunch', SOURCE => 'fish food'); };
28 my $o = Text::Template->new(
33 ok defined($Text::Template::ERROR)
34 && $Text::Template
[all...]
H A Dnested-tags.t8 use Text::Template;
19 my $tmpl = Text::Template->new(
H A Dbasic.t13 use_ok 'Text::Template' or exit 1;
40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE);
41 ok(defined $template) or diag $Text::Template::ERROR;
63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X');
69 $template = Text::Template->new(type => 'FILEHANDLE', source => $tmpl);
70 ok defined $template or diag $Text::Template::ERROR;
83 $template = Text::Template->new(
91 ok defined $template; # or diag $Text::Template::ERROR;
103 $tmpl = Text::Template->new(TYPE => 'STRING', SOURCE => 'B{"\\}"}C{"\\{"}D');
111 $tmpl = Text::Template
[all...]
H A Dwarnings.t5 use Text::Template;
31 $template = Text::Template->new(type => 'STRING', source => $template);
32 isa_ok $template, 'Text::Template';
40 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
43 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
H A Dbroken.t2 # test apparatus for Text::Template module
8 use_ok 'Text::Template' or exit 1;
12 my $r = Text::Template->new(
20 my $r = Text::Template->new(
29 my $r = Text::Template->new(
37 my $r = Text::Template->new(
49 my $r = Text::Template->new(
62 my $r = Text::Template->new(TYPE => 'string', SOURCE => 'abc{1/0}defg')
H A Dstrict.t10 use_ok 'Text::Template' or exit 1;
12 @Emptyclass1::ISA = 'Text::Template';
13 @Emptyclass2::ISA = 'Text::Template';
17 Text::Template->always_prepend(q{$foo = "global"});
19 my $tmpl1 = Text::Template->new(
23 my $tmpl2 = Text::Template->new(
H A Dinline-comment.t9 use_ok 'Text::Template' or exit 1;
11 my $tmpl = Text::Template->new(
H A Dtemplate-encoding.t17 use_ok 'Text::Template' or exit 1;
26 my $str = Text::Template->new(
41 $str = Text::Template->new(
H A Ddelimiters.t10 use_ok 'Text::Template' or exit 1;
17 my $template1 = Text::Template->new(
21 or die "Couldn't construct template object: $Text::Template::ERROR; aborting";
27 $template1 = Text::Template->new(TYPE => 'STRING', SOURCE => $template);
34 $template1 = Text::Template->new(
38 or die "Couldn't construct template object: $Text::Template::ERROR; aborting";
44 $template1 = Text::Template->new(TYPE => 'STRING', SOURCE => $template);
73 my $tmpl = Text::Template->new(
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexCXX.cpp56 if (const TemplateDecl *Template
58 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind;
90 Decl *Template = nullptr;
94 Template = PartialSpec->getSpecializedTemplate();
101 Template = Result.get<ClassTemplateDecl *>();
103 Template = Result.get<ClassTemplatePartialSpecializationDecl *>();
106 Template = CXXRecord->getInstantiatedFromMemberClass();
108 Template = Function->getPrimaryTemplate();
109 if (!Template)
110 Template
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/external/perl/Text-Template-1.46/lib/Text/Template/
H A DPreprocess.pm2 package Text::Template::Preprocess;
3 use Text::Template;
4 @ISA = qw(Text::Template);
5 $Text::Template::Preprocess::VERSION = 1.46;
33 Text::Template::Preprocess - Expand template text with embedded Perl
37 This file documents C<Text::Template::Preprocess> version B<1.46>
41 use Text::Template::Preprocess;
43 my $t = Text::Template::Preprocess->new(...); # identical to Text::Template
52 C<Text::Template
[all...]
/netbsd-current/crypto/external/bsd/openssl.old/dist/util/
H A Ddofile.pl9 # Reads one or more template files and runs it through Text::Template
31 # Make a subclass of Text::Template to override append_text_to_result,
34 # http://search.cpan.org/~mjd/Text-Template-1.46/lib/Text/Template.pm#Automatic_postprocessing_of_template_hunks
36 package OpenSSL::Template;
38 # Because we know that Text::Template isn't a core Perl module, we use
43 use with_fallback "Text::Template 1.46";
45 #use parent qw/Text::Template/;
47 push @ISA, qw/Text::Template/;
154 # Template readin
[all...]

Completed in 222 milliseconds

123456