Home
last modified time | relevance | path

Searched refs:Template (Results 1 – 25 of 171) sorted by relevance

1234567

/freebsd-14.2/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Dbasic.t41 ok(defined $template) or diag $Text::Template::ERROR;
63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X');
70 ok defined $template or diag $Text::Template::ERROR;
83 $template = Text::Template->new(
154 ok(defined $template) or diag $Text::Template::ERROR;
167 $Text::Template::GEN0::test = 1;
168 Text::Template::_scrubpkg('Text::Template::GEN0');
169 ok !($Text::Template::GEN0::test
170 || exists $Text::Template::GEN0::{test}
171 || exists $Text::Template::{'GEN0::'});
[all …]
H A Derror.t14 Text::Template->new();
20 eval { Text::Template->new(TYPE => 'FILE'); };
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/;
H A Dbroken.t12 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 Dsafe.t37 my $template1 = Text::Template->new(type => 'STRING', source => $goodtemplate);
38 my $template2 = Text::Template->new(type => 'STRING', source => $goodtemplate);
71 $template1 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate);
74 $template2 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate);
107 $template1 = Text::Template->new('type' => 'STRING', 'source' => $template);
110 $template2 = Text::Template->new('type' => 'STRING', 'source' => $template);
126 my $templateB = Text::Template->new(TYPE => 'STRING', SOURCE => '{die}');
H A Ddelimiters.t17 my $template1 = Text::Template->new(
27 $template1 = Text::Template->new(TYPE => 'STRING', SOURCE => $template);
34 $template1 = Text::Template->new(
44 $template1 = Text::Template->new(TYPE => 'STRING', SOURCE => $template);
73 my $tmpl = Text::Template->new(
H A Dtaint.t37 my $obj = Text::Template->new(@_);
48 my $obj = Text::Template->new(@_);
59 ok !Text::Template::_is_clean($_[0]);
63 ok Text::Template::_is_clean($_[0]);
109 Text::Template::_unconditionally_untaint($ttemplate);
111 Text::Template::_unconditionally_untaint($tfile);
H A Dwarnings.t5 use Text::Template;
31 $template = Text::Template->new(type => 'STRING', source => $template);
40 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
43 $template = Text::Template->new(type => 'STRING', package => 'MY', source => '');
H A Dsafe3.t37 $template = Text::Template->new(
42 $templateOUT = Text::Template->new(
71 my $o = Text::Template->new(
H A Dstrict.t17 Text::Template->always_prepend(q{$foo = "global"});
19 my $tmpl1 = Text::Template->new(
23 my $tmpl2 = Text::Template->new(
H A Dexported.t15 Text::Template->import('fill_in_file', 'fill_in_string');
44 $out = Text::Template->fill_this_in("With a message here? [% \$var %]\n",
60 use Text::Template 'fill_in_string';
H A Dhash.t20 $template = Text::Template->new('type' => 'STRING', 'source' => $template);
57 my $template = Text::Template->new('type' => 'STRING', 'source' => $template8);
82 $text = Text::Template::fill_in_string(q{$v: {$v}. @v: [{"@v"}].},
H A Dprepend.t17 Text::Template->always_prepend(q{$foo = "global"});
19 my $tmpl1 = Text::Template->new(
23 my $tmpl2 = Text::Template->new(
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp106 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() argument
126 return Template; in getKind()
253 if (TemplateDecl *Template = getAsTemplateDecl()) { in getDependence() local
263 if (Template->getDeclContext() && in getDependence()
296 TemplateDecl *Template = nullptr; in print() local
307 Template = getAsTemplateDecl(); in print()
310 if (Template) in print()
312 isa<TemplateTemplateParmDecl>(Template) && Template->getIdentifier()) in print()
313 OS << Template->getIdentifier()->deuglifiedName(); in print()
317 Template->printQualifiedName(OS, Policy); in print()
[all …]
H A DTemplateBase.cpp272 case Template: in getDependence()
324 case Template: in isPackExpansion()
357 case TemplateArgument::Template: in getNonTypeTemplateArgumentType()
404 case Template: in Profile()
439 case Template: in structurallyEquals()
492 case Template: in getPackExpansionPattern()
541 case Template: in print()
604 case TemplateArgument::Template: in getSourceRange()
662 case TemplateArgument::Template: in DiagTemplateArg()
708 Template->EllipsisLoc = EllipsisLoc; in TemplateArgumentLocInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedTemplate.h38 Template enumerator
63 ParsedTemplateTy Template, in ParsedTemplateArgument() argument
65 : Kind(ParsedTemplateArgument::Template), in ParsedTemplateArgument()
66 Arg(Template.getAsOpaquePtr()), SS(SS), Loc(TemplateLoc) {} in ParsedTemplateArgument()
88 assert(Kind == Template && "Not a template template argument"); in getAsTemplate()
98 assert(Kind == Template && in getScopeSpec()
106 assert(Kind == Template && in getEllipsisLoc()
169 ParsedTemplateTy Template; member
247 Name(Name), Operator(OperatorKind), Template(OpaqueTemplateName), in TemplateIdAnnotation()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DAPI.h39 class Template {
324 Template Templ;
389 Template Templ;
424 Template Templ;
430 DeclarationFragments SubHeading, class Template Template, in GlobalVariableTemplatePartialSpecializationRecord()
554 Template Templ;
667 Template Templ;
946 Template Templ;
979 Template Templ;
1240 Template Template, bool IsFromSystemHeader);
[all …]
/freebsd-14.2/crypto/openssl/external/perl/Text-Template-1.56/
H A DMETA.yml24 name: Text-Template
26 Text::Template:
27 file: lib/Text/Template.pm
29 Text::Template::Preprocess:
30 file: lib/Text/Template/Preprocess.pm
H A DINSTALL20 Detailed documentation is at the bottom of the lib/Text/Template.pm
23 perldoc Text::Template
27 perldoc lib/Text/Template.pm
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPI.cpp76 DeclarationFragments SubHeading, Template Template, in addGlobalVariableTemplate() argument
80 Declaration, SubHeading, Template, in addGlobalVariableTemplate()
100 Template Template, bool IsFromSystemHeader) { in addGlobalFunctionTemplate() argument
204 AccessControl Access, Template Template, bool IsFromSystemHeader) { in addCXXFieldTemplate() argument
234 Template Template, AccessControl Access, bool IsFromSystemHeader) { in addClassTemplate() argument
265 Template Template, AccessControl Access, bool IsFromSystemHeader) { in addClassTemplatePartialSpecialization() argument
293 DeclarationFragments SubHeading, Template Template, in addGlobalVariableTemplatePartialSpecialization() argument
298 SubHeading, Template, IsFromSystemHeader); in addGlobalVariableTemplatePartialSpecialization()
307 Template Template, bool IsFromSystemHeader) { in addConcept() argument
351 FunctionSignature Signature, AccessControl Access, Template Template, in addCXXMethodTemplate() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp33 ClassTemplateDecl *Template = nullptr; member
40 Template = Record->getDescribedClassTemplate(); in BuiltinTypeDeclBuilder()
109 if (Template) { in addHandleMember()
111 Template->getTemplateParameters()->getParam(0))) in addHandleMember()
345 Builder.Template = ClassTemplateDecl::Create( in finalizeTemplateArgs()
350 Builder.Template->setImplicit(true); in finalizeTemplateArgs()
354 Builder.Template->setPreviousDecl(Builder.PrevTemplate); in finalizeTemplateArgs()
459 auto *Template = in defineHLSLVectorAlias() local
463 Record->setDescribedAliasTemplate(Template); in defineHLSLVectorAlias()
464 Template->setImplicit(true); in defineHLSLVectorAlias()
[all …]
H A DSemaTemplate.cpp265 TemplateName Template; in isTemplateName() local
290 Template = in isTemplateName()
346 if (Template) in isDeductionGuideName()
948 TArg = Template; in translateTemplateArgument()
2282 : SemaRef(S), Template(Template) { in ConvertConstructorToDeductionGuideTransform()
4004 if (!Template || isa<FunctionTemplateDecl>(Template) || in CheckTemplateIdType()
4005 isa<VarTemplateDecl>(Template) || isa<ConceptDecl>(Template)) { in CheckTemplateIdType()
6054 << Template; in CheckTemplateArgumentList()
6281 << Template in CheckTemplateArgumentList()
7840 if (!Template) { in CheckTemplateTemplateArgument()
[all …]
/freebsd-14.2/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/Template/
H A DPreprocess.pm2 package Text::Template::Preprocess;
3 $Text::Template::Preprocess::VERSION = '1.56';
9 use Text::Template;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateBase.h93 Template,
232 TemplateArg.Kind = Template;
344 assert(getKind() == Template && "Unexpected kind");
351 assert((getKind() == Template || getKind() == TemplateExpansion) &&
508 const auto *Template = getTemplate();
509 return NestedNameSpecifierLoc(Template->Qualifier,
510 Template->QualifierLocData);
558 assert(Argument.getKind() == TemplateArgument::Template ||
564 if (Argument.getKind() == TemplateArgument::Template ||
610 if (Argument.getKind() != TemplateArgument::Template &&
[all …]
/freebsd-14.2/crypto/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm12 package Text::Template;
13 $Text::Template::VERSION = '1.56';
29 $Text::Template::VERSION;
474 Text::Template->fill_this_in($string, @_);
479 my $templ = Text::Template->new(TYPE => 'FILE', SOURCE => $fn, @_) or return undef;
540 my $hash = $Text::Template::{ $s . "::" };
548 delete $Text::Template::{ $s . "::" };
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DRetainSummaryManager.cpp623 RetainSummaryTemplate Template(S, *this); in updateSummaryForReceiverUnconsumedSelf() local
625 Template->setReceiverEffect(ArgEffect(DoNothing)); in updateSummaryForReceiverUnconsumedSelf()
626 Template->setRetEffect(RetEffect::MakeNoRet()); in updateSummaryForReceiverUnconsumedSelf()
632 RetainSummaryTemplate Template(RS, *this); in updateSummaryForArgumentTypes() local
656 Template->addArg(AF, parm_idx, in updateSummaryForArgumentTypes()
913 RetainSummaryTemplate &Template) { in applyParamAnnotationEffect() argument
918 Template->addArg(AF, parm_idx, ArgEffect(DecRef, *K)); in applyParamAnnotationEffect()
981 RetainSummaryTemplate Template(Summ, *this); in updateSummaryFromAnnotations() local
991 Template->setRetEffect(*RetE); in updateSummaryFromAnnotations()
1004 RetainSummaryTemplate Template(Summ, *this); in updateSummaryFromAnnotations() local
[all …]

1234567