/external/clang/tools/libclang/ |
D | CIndexCXX.cpp | 59 if (const TemplateDecl *Template in clang_getTemplateCursorKind() local 61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; in clang_getTemplateCursorKind() 93 Decl *Template = nullptr; in clang_getSpecializedCursorTemplate() local 97 Template = PartialSpec->getSpecializedTemplate(); in clang_getSpecializedCursorTemplate() 104 Template = Result.get<ClassTemplateDecl *>(); in clang_getSpecializedCursorTemplate() 106 Template = Result.get<ClassTemplatePartialSpecializationDecl *>(); in clang_getSpecializedCursorTemplate() 109 Template = CXXRecord->getInstantiatedFromMemberClass(); in clang_getSpecializedCursorTemplate() 111 Template = Function->getPrimaryTemplate(); in clang_getSpecializedCursorTemplate() 112 if (!Template) in clang_getSpecializedCursorTemplate() 113 Template = Function->getInstantiatedFromMemberFunction(); in clang_getSpecializedCursorTemplate() [all …]
|
/external/clang/lib/AST/ |
D | TemplateName.cpp | 56 return Template; in getKind() 72 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in getAsTemplateDecl() local 73 return Template; in getAsTemplateDecl() 85 if (TemplateDecl *Template = getAsTemplateDecl()) { in isDependent() local 86 if (isa<TemplateTemplateParmDecl>(Template)) in isDependent() 92 return Template->getDeclContext() && in isDependent() 93 Template->getDeclContext()->isDependentContext(); in isDependent() 112 if (TemplateDecl *Template = getAsTemplateDecl()) { in containsUnexpandedParameterPack() local 114 = dyn_cast<TemplateTemplateParmDecl>(Template)) in containsUnexpandedParameterPack() 130 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in print() local [all …]
|
D | TemplateBase.cpp | 111 case Template: in isDependent() 151 case Template: in isInstantiationDependent() 188 case Template: in isPackExpansion() 219 case Template: in containsUnexpandedParameterPack() 267 case Template: in Profile() 269 TemplateName Template = getAsTemplateOrTemplatePattern(); in Profile() local 272 Template.getAsTemplateDecl())) { in Profile() 279 ID.AddPointer(Context.getCanonicalTemplateName(Template) in Profile() 308 case Template: in structurallyEquals() 348 case Template: in getPackExpansionPattern() [all …]
|
/external/clang/include/clang/Sema/ |
D | ParsedTemplate.h | 32 Template enumerator 57 ParsedTemplateTy Template, in ParsedTemplateArgument() argument 59 : Kind(ParsedTemplateArgument::Template), in ParsedTemplateArgument() 60 Arg(Template.getAsOpaquePtr()), in ParsedTemplateArgument() 83 assert(Kind == Template && "Not a template template argument"); in getAsTemplate() 93 assert(Kind == Template && in getScopeSpec() 101 assert(Kind == Template && in getEllipsisLoc() 161 ParsedTemplateTy Template; member
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 59 Template, enumerator 162 TemplateArg.Kind = Template; in TemplateArgument() 265 assert(getKind() == Template && "Unexpected kind"); in getAsTemplate() 272 assert((getKind() == Template || getKind() == TemplateExpansion) && in getAsTemplateOrTemplatePattern() 377 struct T Template; member 393 Template.Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo() 394 Template.QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo() 395 Template.TemplateNameLoc = TemplateNameLoc.getRawEncoding(); in TemplateArgumentLocInfo() 396 Template.EllipsisLoc = EllipsisLoc.getRawEncoding(); in TemplateArgumentLocInfo() 408 return NestedNameSpecifierLoc(Template.Qualifier, in getTemplateQualifierLoc() [all …]
|
D | TemplateName.h | 191 Template, enumerator 210 explicit TemplateName(TemplateDecl *Template) : Storage(Template) { } in TemplateName() argument 395 TemplateDecl *Template; variable 400 TemplateDecl *Template) in QualifiedTemplateName() argument 402 Template(Template) { } in QualifiedTemplateName() 414 TemplateDecl *getDecl() const { return Template; } in getDecl() 418 TemplateDecl *getTemplateDecl() const { return Template; } in getTemplateDecl() 425 bool TemplateKeyword, TemplateDecl *Template) { in Profile() argument 428 ID.AddPointer(Template); in Profile()
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/ |
D | test_template.txt | 4 >>> from paste.util.template import Template, sub 7 >>> Template('Hi {{repr(name)}}').substitute(name='Ian') 9 >>> Template('Hi {{name+1}}').substitute(name='Ian') 26 >>> t = Template('{{if x}}{{y}}{{else}}{{z}}{{endif}}') 31 >>> t = Template('{{if x > 0}}positive{{elif x < 0}}negative{{else}}zero{{endif}}') 37 >>> t = Template('{{for i in x}}i={{i}}\n{{endfor}}') 40 >>> t = Template('{{for a, b in sorted(z.items()):}}{{a}}={{b}},{{endfor}}') 43 >>> t = Template('{{for i in x}}{{if not i}}{{break}}' 47 >>> t = Template('{{for i in x}}{{if not i}}{{continue}}' 59 >>> t = Template('{{if x}}', name='foo.html') [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/ |
D | TemplateRenderer.java | 22 import com.google.clearsilver.jsilver.template.Template; 68 void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() 75 void render(Template template, Data data, Appendable output) throws IOException, JSilverException; in render() 81 String render(Template template, Data data) throws IOException, JSilverException; in render()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | TemplateParserRuleReturnScope`2.cs | 39 public TTemplate Template property in Antlr.Runtime.TemplateParserRuleReturnScope 52 object ITemplateRuleReturnScope.Template 56 return Template;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TemplateTreeRuleReturnScope`2.cs | 39 public TTemplate Template property in Antlr.Runtime.Tree.TemplateTreeRuleReturnScope 52 object ITemplateRuleReturnScope.Template 56 return Template;
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ST.stg | 31 /** Template subgroup to add template rewrite output 48 public StringTemplate Template { get { return _st; } set { _st = value; } } 49 public override string ToString() { return (Template==null) ? string.Empty : Template.ToString(); } 83 <listLabel(elem=label+".Template",...)> 106 retval.Template); 111 retval.Template); 119 retval.Template = <it.alt>; 123 retval.Template = <it.alt>;
|
/external/v8/test/preparser/ |
D | strict-identifiers.pyt | 75 Template(name, '"use strict";\n' + source)(replacement, expectation) 76 Template(name + '-infunc', 79 Template(name + '-infunc2', 87 arg_name_own = Template("argument-name-own-$id", """ 93 arg_name_nested = Template("argument-name-nested-$id", """ 100 func_name_own = Template("function-name-own-$id", """ 106 func_name_nested = Template("function-name-nested-$id", """ 141 label_normal = Template("label-normal-$id", """ 149 break_normal = Template("break-normal-$id", """ 161 continue_normal = Template("continue-normal-$id", """ [all …]
|
D | duplicate-parameter.pyt | 40 Template(name, '"use strict";\n' + source)(non_selfstrict, expectation) 41 Template(name + '-infunc', 44 Template(name + '-infunc2', 55 selftest = Template(name + '-$id', source)
|
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
D | exc.py | 167 from string import Template 226 body_template_obj = Template('''\ 232 plain_template_obj = Template('''\ 237 html_template_obj = Template('''\ 263 self.body_template_obj = Template(body_template) 471 body_template_obj = Template('''\ 687 body_template_obj = Template('''\ 705 template = Template('''\ 833 template_obj = Template('''\ 1015 template = Template('''
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ST.stg | 32 /** Template subgroup to add template rewrite output 54 Template<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<StringTemplate, <labelType>> 60 <listLabelElem(elem={<label>.Template},elemType="StringTemplate",...)> 83 retval.Template); 88 retval.Template); 97 retval.Template = <it.alt>; 101 retval.Template = <it.alt>;
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 182 TemplateName Template; in isTemplateName() local 189 Template = Context.getOverloadedTemplateName(R.begin(), R.end()); in isTemplateName() 199 Template = Context.getQualifiedTemplateName(Qualifier, in isTemplateName() 202 Template = TemplateName(TD); in isTemplateName() 218 TemplateResult = TemplateTy::make(Template); in isTemplateName() 476 assert(Kind == Template && in getTemplatePackExpansion() 502 case ParsedTemplateArgument::Template: { in translateTemplateArgument() 503 TemplateName Template = Arg.getAsTemplate().get(); in translateTemplateArgument() local 506 TArg = TemplateArgument(Template, Optional<unsigned int>()); in translateTemplateArgument() 508 TArg = Template; in translateTemplateArgument() [all …]
|
D | SemaTemplateInstantiate.cpp | 206 Decl *Entity, NamedDecl *Template, ArrayRef<TemplateArgument> TemplateArgs, in InstantiatingTemplate() argument 222 Inst.Template = Template; in InstantiatingTemplate() 249 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, in InstantiatingTemplate() argument 254 PointOfInstantiation, InstantiationRange, Template, nullptr, in InstantiatingTemplate() 299 Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, in InstantiatingTemplate() argument 305 PointOfInstantiation, InstantiationRange, Param, Template, in InstantiatingTemplate() 309 Sema &SemaRef, SourceLocation PointOfInstantiation, NamedDecl *Template, in InstantiatingTemplate() argument 315 PointOfInstantiation, InstantiationRange, Param, Template, in InstantiatingTemplate() 319 Sema &SemaRef, SourceLocation PointOfInstantiation, TemplateDecl *Template, in InstantiatingTemplate() argument 324 PointOfInstantiation, InstantiationRange, Param, Template, in InstantiatingTemplate() [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
D | InterpretedTemplateLoader.java | 24 import com.google.clearsilver.jsilver.template.Template; 51 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() 58 public Template createTemp(String name, String content, EscapeMode escapingMode) { in createTemp()
|
D | InterpretedMacro.java | 26 import com.google.clearsilver.jsilver.template.Template; 39 private final Template owningTemplate; 45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName, in InterpretedMacro()
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
D | PrecompiledTemplateLoader.java | 25 import com.google.clearsilver.jsilver.template.Template; 104 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() 107 Template template = templateMap.get(mapKey); in load() 119 public Template createTemp(String name, String content, EscapeMode escapeMode) { in createTemp()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/ |
D | ClearsilverRenderer.java | 20 import com.google.clearsilver.jsilver.template.Template; 100 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) in render() 107 public void render(Template template, Data data, Appendable output) throws IOException, in render() 113 public String render(Template template, Data data) throws IOException, JSilverException { in render()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | TemplateCompiler.java | 26 import com.google.clearsilver.jsilver.template.Template; 71 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { in load() 77 public Template createTemp(String name, String content, EscapeMode escapeMode) { in createTemp() 88 private Template compile(TemplateSyntaxTree ast, String templateName, EscapeMode mode) { in compile()
|
/external/clang/test/Parser/ |
D | cxx0x-attributes.cpp | 166 template<typename> struct Template {}; 170 struct [[]] Template<int> t; // expected-error {{an attribute list cannot appear here}} 171 struct [[]] ::template Template<int> u; // expected-error {{an attribute list cannot appear here}} 172 template struct [[]] Template<char>; // expected-error {{an attribute list cannot appear here}} 173 template <> struct [[]] Template<void>;
|
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
D | TemplateLoader.java | 39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in load() 52 Template createTemp(String name, String content, EscapeMode escapeMode); in createTemp()
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 859 Parser::ParseTemplateIdAfterTemplateName(TemplateTy Template, in ParseTemplateIdAfterTemplateName() argument 928 bool Parser::AnnotateTemplateIdToken(TemplateTy Template, TemplateNameKind TNK, in AnnotateTemplateIdToken() argument 934 assert(Template && Tok.is(tok::less) && in AnnotateTemplateIdToken() 943 bool Invalid = ParseTemplateIdAfterTemplateName(Template, in AnnotateTemplateIdToken() 962 Template, TemplateNameLoc, in AnnotateTemplateIdToken() 995 TemplateId->Template = Template; in AnnotateTemplateIdToken() 1038 TemplateId->Template, in AnnotateTemplateIdTokenAsType() 1100 TemplateTy Template; in ParseTemplateTemplateArgument() local 1106 Template)) in ParseTemplateTemplateArgument() 1107 Result = ParsedTemplateArgument(SS, Template, Name.StartLocation); in ParseTemplateTemplateArgument() [all …]
|