HomeSort by: relevance | last modified time | path
    Searched refs:Template (Results 1 - 25 of 174) sorted by relevancy

1 2 3 4 5 6 7

  /src/crypto/external/bsd/openssl.old/dist/external/perl/Text-Template-1.46/t/
00-version.t 3 use Text::Template;
6 if ($Text::Template::VERSION == 1.46) {
09-error.t 3 # 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->new(TYPE => 'wlunch', SOURCE => 'fish food')
    [all...]
03-out.t 3 # 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;
19 $template = q{
34 $template = new Text::Template ('type' => 'STRING', 'source' => $template)
36 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT
    [all...]
06-ofh.t 3 # 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 {$$}};
23 $text = $template->fill_in(OUTPUT => \*O);
07-safe3.t 3 # 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;
27 $template = q{
44 $template = new Text::Template ('type' => 'STRING', 'source' => $template,
47 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT
    [all...]
10-delimiters.t 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;
20 $template = q{The value of $V is <<$V>>.};
22 $template1 = Text::Template->new(TYPE => STRING,
23 SOURCE => $template,
26 or die "Couldn't construct template object: $Text::Template::ERROR; aborting";
32 $template1 = Text::Template->new(TYPE => STRING, SOURCE => $template)
    [all...]
14-broken.t 2 # 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',
20 if ($r eq q{Program fragment delivered error ``Illegal division by zero at template line 1.''}) {
29 { my $r = Text::Template->new(TYPE => 'string',
42 { my $r = Text::Template->new(TYPE => 'string',
54 { my $r = Text::Template->new(TYPE => 'string'
    [all...]
01-basic.t 6 use Text::Template;
18 # (1) Construct temporary template file for testing
26 # (2) Build template from file
27 $template = new Text::Template ('type' => 'FILE', 'source' => $TEMPFILE);
28 if (defined($template)) {
31 print "not ok $n $Text::Template::ERROR\n";
35 # (3) Fill in template from file
47 $text = $template->fill_in('package' => X);
55 # (4) Fill in same template agai
    [all...]
  /src/crypto/external/apache2/openssl/dist/external/perl/Text-Template-1.56/t/
error.t 3 # 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::ERROR =~ /^Couldn't open file/
    [all...]
nested-tags.t 8 use Text::Template;
19 my $tmpl = Text::Template->new(
basic.t 13 use_ok 'Text::Template' or exit 1;
22 # (1) Construct temporary template file for testing
39 # (2) Build template from file
40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE);
41 ok(defined $template) or diag $Text::Template::ERROR;
43 # (3) Fill in template from file
55 my $text = $template->fill_in('package' => 'X');
58 # (4) Fill in same template agai
    [all...]
warnings.t 5 use Text::Template;
23 my $template = <<'EOT';
26 'This template should not produce warnings.'.$bad;
31 $template = Text::Template->new(type => 'STRING', source => $template);
32 isa_ok $template, 'Text::Template';
34 my $result = $template->fill_in(HASH => { good => 'good' });
37 is $result, 'This template should not produce warnings.'
    [all...]
broken.t 2 # test apparatus for Text::Template module
8 use_ok 'Text::Template' or exit 1;
12 my $r = Text::Template->new(
15 is $r, q{Program fragment delivered error ``Illegal division by zero at template line 1.''};
20 my $r = Text::Template->new(
29 my $r = Text::Template->new(
37 my $r = Text::Template->new(
44 is $r, qq{1,Illegal division by zero at template line 1.\n,1/0};
49 my $r = Text::Template->new(
57 is $r, qq{1,Illegal division by zero at template line 1.\n,1/0}
    [all...]
strict.t 10 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(
26 PREPEND => q{$foo = "template"});
31 # strict should cause t1 to contain an error message if wrong variable is used in template
45 is $t2, 'The value of $foo is: template', "non-strict hash still works";
  /src/crypto/external/bsd/openssl/dist/external/perl/Text-Template-1.56/t/
error.t 3 # 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::ERROR =~ /^Couldn't open file/
    [all...]
nested-tags.t 8 use Text::Template;
19 my $tmpl = Text::Template->new(
basic.t 13 use_ok 'Text::Template' or exit 1;
22 # (1) Construct temporary template file for testing
39 # (2) Build template from file
40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE);
41 ok(defined $template) or diag $Text::Template::ERROR;
43 # (3) Fill in template from file
55 my $text = $template->fill_in('package' => 'X');
58 # (4) Fill in same template agai
    [all...]
warnings.t 5 use Text::Template;
23 my $template = <<'EOT';
26 'This template should not produce warnings.'.$bad;
31 $template = Text::Template->new(type => 'STRING', source => $template);
32 isa_ok $template, 'Text::Template';
34 my $result = $template->fill_in(HASH => { good => 'good' });
37 is $result, 'This template should not produce warnings.'
    [all...]
broken.t 2 # test apparatus for Text::Template module
8 use_ok 'Text::Template' or exit 1;
12 my $r = Text::Template->new(
15 is $r, q{Program fragment delivered error ``Illegal division by zero at template line 1.''};
20 my $r = Text::Template->new(
29 my $r = Text::Template->new(
37 my $r = Text::Template->new(
44 is $r, qq{1,Illegal division by zero at template line 1.\n,1/0};
49 my $r = Text::Template->new(
57 is $r, qq{1,Illegal division by zero at template line 1.\n,1/0}
    [all...]
strict.t 10 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(
26 PREPEND => q{$foo = "template"});
31 # strict should cause t1 to contain an error message if wrong variable is used in template
45 is $t2, 'The value of $foo is: template', "non-strict hash still works";
  /src/crypto/external/bsd/openssl.old/dist/external/perl/transfer/Text/
Template.pm 8 # 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;
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexCXX.cpp 56 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 = Function->getInstantiatedFromMemberFunction()
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/external/perl/Text-Template-1.46/lib/Text/Template/
Preprocess.pm 2 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
    [all...]
  /src/crypto/external/apache2/openssl/dist/external/perl/Text-Template-1.56/lib/Text/Template/
Preprocess.pm 2 package Text::Template::Preprocess;
3 $Text::Template::Preprocess::VERSION = '1.56';
4 # ABSTRACT: Expand template text with embedded Perl
9 use Text::Template;
10 our @ISA = qw(Text::Template);
52 Text::Template::Preprocess - Expand template text with embedded Perl
60 use Text::Template::Preprocess;
62 my $t = Text::Template::Preprocess->new(...); # identical to Text::Template
    [all...]
  /src/crypto/external/bsd/openssl/dist/external/perl/Text-Template-1.56/lib/Text/Template/
Preprocess.pm 2 package Text::Template::Preprocess;
3 $Text::Template::Preprocess::VERSION = '1.56';
4 # ABSTRACT: Expand template text with embedded Perl
9 use Text::Template;
10 our @ISA = qw(Text::Template);
52 Text::Template::Preprocess - Expand template text with embedded Perl
60 use Text::Template::Preprocess;
62 my $t = Text::Template::Preprocess->new(...); # identical to Text::Template
    [all...]

Completed in 111 milliseconds

1 2 3 4 5 6 7