Home
last modified time | relevance | path

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

123456789

/external/clang/tools/libclang/
DCIndexCXX.cpp59 if (const TemplateDecl *Template in clang_getTemplateCursorKind() local
61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; in clang_getTemplateCursorKind()
93 Decl *Template = 0; 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/
DTemplateName.cpp56 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 …]
DTemplateBase.cpp95 case Template: in isDependent()
136 case Template: in isInstantiationDependent()
175 case Template: in isPackExpansion()
206 case Template: in containsUnexpandedParameterPack()
250 case Template: in Profile()
252 TemplateName Template = getAsTemplateOrTemplatePattern(); in Profile() local
255 Template.getAsTemplateDecl())) { in Profile()
262 ID.AddPointer(Context.getCanonicalTemplateName(Template) in Profile()
291 case Template: in structurallyEquals()
332 case Template: in getPackExpansionPattern()
[all …]
/external/clang/include/clang/Sema/
DParsedTemplate.h32 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/chromium_org/mojo/public/bindings/generators/
Dmojom_cpp_generator.py15 from string import Template
46 Template(" +\n mojo::internal::ComputeSizeOf($NAME->$FIELD())")
47 struct_serialization_clone_template = Template(
49 struct_serialization_handle_release_template = Template(
51 struct_serialization_encode_template = Template(
53 struct_serialization_encode_handle_template = Template(
55 struct_serialization_decode_template = Template(
58 struct_serialization_decode_handle_template = Template(
61 struct_destructor_body_template = Template(
63 close_handles_template = Template(
[all …]
/external/clang/include/clang/AST/
DTemplateBase.h59 Template, enumerator
148 TemplateArgument(TemplateName Name) : Kind(Template) in TemplateArgument()
253 assert(Kind == Template && "Unexpected kind"); in getAsTemplate()
260 assert((Kind == Template || Kind == TemplateExpansion) && in getAsTemplateOrTemplatePattern()
359 struct T Template; member
375 Template.Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
376 Template.QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo()
377 Template.TemplateNameLoc = TemplateNameLoc.getRawEncoding(); in TemplateArgumentLocInfo()
378 Template.EllipsisLoc = EllipsisLoc.getRawEncoding(); in TemplateArgumentLocInfo()
390 return NestedNameSpecifierLoc(Template.Qualifier, in getTemplateQualifierLoc()
[all …]
DTemplateName.h191 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTemplateParserRuleReturnScope`2.cs39 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/
DTemplateTreeRuleReturnScope`2.cs39 public TTemplate Template property in Antlr.Runtime.Tree.TemplateTreeRuleReturnScope
52 object ITemplateRuleReturnScope.Template
56 return Template;
/external/jsilver/src/com/google/clearsilver/jsilver/
DTemplateRenderer.java22 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/chromium_org/third_party/WebKit/Source/core/inspector/
DCodeGeneratorInstrumentation.py35 template_h = string.Template("""// Code generated from InspectorInstrumentation.idl
54 template_inline = string.Template("""
62 template_inline_forward = string.Template("""
69 template_inline_returns_value = string.Template("""
79 template_cpp = string.Template("""// Code generated from InspectorInstrumentation.idl
96 template_outofline = string.Template("""
101 template_agent_call = string.Template("""
105 template_agent_call_timeline_returns_cookie = string.Template("""
113 template_instrumenting_agents_h = string.Template("""// Code generated from InspectorInstrumentatio…
151 template_instrumenting_agent_accessor = string.Template("""
[all …]
/external/v8/test/preparser/
Dstrict-identifiers.pyt75 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 …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DST.stg31 /** 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/chromium_org/v8/test/preparser/
Dstrict-identifiers.pyt75 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 …]
/external/chromium_org/tools/gyp/test/compiler-override/
Dgyptest-compiler-global-settings.py14 from string import Template
32 s = Template(open(gypfile + '.in').read())
48 s = Template(open(gypfile + '.in').read())
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DST.stg32 /** 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/test/Parser/
Dcxx0x-attributes.cpp143 template<typename> struct Template {}; struct
147 struct [[]] Template<int> t; // expected-error {{an attribute list cannot appear here}}
148 struct [[]] ::template Template<int> u; // expected-error {{an attribute list cannot appear here}}
149 template struct [[]] Template<char>; // expected-error {{an attribute list cannot appear here}} variable
150 template <> struct [[]] Template<void>;
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DInterpretedTemplateLoader.java24 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()
DInterpretedMacro.java26 import com.google.clearsilver.jsilver.template.Template;
39 private final Template owningTemplate;
45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName, in InterpretedMacro()
/external/clang/lib/Sema/
DSemaTemplate.cpp180 TemplateName Template; in isTemplateName() local
187 Template = Context.getOverloadedTemplateName(R.begin(), R.end()); in isTemplateName()
198 Template = Context.getQualifiedTemplateName(Qualifier, in isTemplateName()
201 Template = TemplateName(TD); in isTemplateName()
217 TemplateResult = TemplateTy::make(Template); in isTemplateName()
349 if (TemplateDecl *Template = Found.getAsSingle<TemplateDecl>()) in LookupTemplateName() local
350 Diag(Template->getLocation(), diag::note_previous_decl) in LookupTemplateName()
490 assert(Kind == Template && in getTemplatePackExpansion()
516 case ParsedTemplateArgument::Template: { in translateTemplateArgument()
517 TemplateName Template = Arg.getAsTemplate().get(); in translateTemplateArgument() local
[all …]
/external/chromium_org/tools/deep_memory_profiler/visualizer/
Dservices.py21 class Template(ndb.Model): class
71 template = Template(id=content_str, content=content)
83 template = Template(id=content_str, content=content)
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
DPrecompiledTemplateLoader.java25 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/
DClearsilverRenderer.java20 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/template/
DTemplateLoader.java39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); in load()
52 Template createTemp(String name, String content, EscapeMode escapeMode); in createTemp()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateCompiler.java26 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()

123456789