| /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...] |
| 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); 25 # (1) No $text should have been constructed. Return value should be true. 26 print +($text eq '1' ? '' : 'not '), "ok $n\n"; 34 # (2) The text should have been printed to the fil [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; 22 $template1 = Text::Template->new(TYPE => STRING, 26 or die "Couldn't construct template object: $Text::Template::ERROR; aborting"; 27 $text = $template1->fill_in(); 28 print +($text eq $result ? '' : 'not '), "ok $n\n"; 32 $template1 = Text::Template->new(TYPE => STRING, SOURCE => $template); 33 $text = $template1->fill_in(DELIMITERS => ['<<', '>>']) [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; 34 $template = new Text::Template ('type' => 'STRING', 'source' => $template) 36 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT) 40 $text = $template->fill_in() 46 print +($text eq $textOUT ? '' : 'not '), "ok $n\n";
|
| 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; 44 $template = new Text::Template ('type' => 'STRING', 'source' => $template, 47 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT, 52 $text = $template->fill_in() 58 print +($text eq $textOUT ? '' : 'not '), "ok $n\n"; 68 # Text::Template object goes out of scope and a new one is created! [all...] |
| 01-basic.t | 6 use Text::Template; 27 $template = new Text::Template ('type' => 'FILE', 'source' => $TEMPFILE); 31 print "not ok $n $Text::Template::ERROR\n"; 47 $text = $template->fill_in('package' => X); 48 if ($text eq $resultX) { 56 $text = $template->fill_in('package' => Y); 57 if ($text eq $resultY) { 67 $text = Text::Template->fill_this_in( $template_1, 'package' => X); 68 if ($text eq $resultX) [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', 29 { my $r = Text::Template->new(TYPE => 'string', 42 { my $r = Text::Template->new(TYPE => 'string', 54 { my $r = Text::Template->new(TYPE => 'string', 57 qq{$a{lineno},$a{error},$a{text}} [all...] |
| /src/external/gpl2/diffutils/dist/lib/ |
| freesoft.c | 27 #define N_(Text) Text
|
| /src/external/apache2/llvm/dist/clang/lib/Format/ |
| Encoding.h | 10 /// Contains functions for text encoding manipulation. Supports UTF-8, 32 /// Detects encoding of the Text. If the Text can be decoded using UTF-8, 34 inline Encoding detectEncoding(StringRef Text) { 35 const llvm::UTF8 *Ptr = reinterpret_cast<const llvm::UTF8 *>(Text.begin()); 36 const llvm::UTF8 *BufEnd = reinterpret_cast<const llvm::UTF8 *>(Text.end()); 42 /// Returns the number of columns required to display the \p Text on a 43 /// generic Unicode-capable terminal. Text is assumed to use the specified 45 inline unsigned columnWidth(StringRef Text, Encoding Encoding) { 47 int ContentWidth = llvm::sys::unicode::columnWidthUTF8(Text); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| Locale.cpp | 9 int columnWidth(StringRef Text) { 10 return llvm::sys::unicode::columnWidthUTF8(Text);
|
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Transformer/ |
| SourceCodeBuilders.cpp | 65 StringRef Text = getText(E, Context); 66 if (Text.empty()) 69 return ("(" + Text + ")").str(); 70 return Text.str(); 78 StringRef Text = 80 if (Text.empty()) 82 return Text.str(); 85 StringRef Text = getText(E, Context); 86 if (Text.empty()) 90 return ("*(" + Text + ")").str() [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; 40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE); 41 ok(defined $template) or diag $Text::Template::ERROR; 55 my $text = $template->fill_in('package' => 'X'); 56 is $text, $resultX; 59 $text = $template->fill_in('package' => 'Y'); 60 is $text, $resultY; 63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X'); 64 is $text, $resultX [all...] |
| warnings.t | 5 use Text::Template; 31 $template = Text::Template->new(type => 'STRING', source => $template); 32 isa_ok $template, 'Text::Template'; 39 # see https://github.com/mschout/perl-text-template/issues/10 40 $template = Text::Template->new(type => 'STRING', package => 'MY', source => ''); 43 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
|
| /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; 40 my $template = Text::Template->new('type' => 'FILE', 'source' => $TEMPFILE); 41 ok(defined $template) or diag $Text::Template::ERROR; 55 my $text = $template->fill_in('package' => 'X'); 56 is $text, $resultX; 59 $text = $template->fill_in('package' => 'Y'); 60 is $text, $resultY; 63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X'); 64 is $text, $resultX [all...] |
| warnings.t | 5 use Text::Template; 31 $template = Text::Template->new(type => 'STRING', source => $template); 32 isa_ok $template, 'Text::Template'; 39 # see https://github.com/mschout/perl-text-template/issues/10 40 $template = Text::Template->new(type => 'STRING', package => 'MY', source => ''); 43 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
|
| /src/external/gpl2/grep/dist/lib/ |
| xmalloc.c | 37 # define _(Text) gettext (Text) 40 # define _(Text) Text 42 #define N_(Text) Text
|
| closeout.c | 26 # define _(Text) gettext (Text) 28 # define _(Text) Text
|
| /src/external/apache2/llvm/dist/llvm/lib/Testing/Support/ |
| Annotations.cpp | 26 Annotations::Annotations(llvm::StringRef Text) { 27 auto Require = [Text](bool Assertion, const char *Msg) { 28 require(Assertion, Msg, Text); 33 Code.reserve(Text.size()); 34 while (!Text.empty()) { 35 if (Text.consume_front("^")) { 40 if (Text.consume_front("[[")) { 46 if (Text.consume_front("]]")) { 55 if (Text.consume_front("$")) { 57 Text.take_while([](char C) { return llvm::isAlnum(C) || C == '_'; }) [all...] |
| /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/llvm/include/llvm/Support/ |
| Unicode.h | 46 /// Gets the number of positions the UTF8-encoded \p Text is likely to occupy 55 /// * ErrorNonPrintableCharacter (-1) if \p Text contains non-printable 60 int columnWidthUTF8(StringRef Text);
|