Home
last modified time | relevance | path

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

12345678910

/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 = 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/
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.cpp109 case Template: in isDependent()
149 case Template: in isInstantiationDependent()
186 case Template: in isPackExpansion()
217 case Template: in containsUnexpandedParameterPack()
265 case Template: in Profile()
267 TemplateName Template = getAsTemplateOrTemplatePattern(); in Profile() local
270 Template.getAsTemplateDecl())) { in Profile()
277 ID.AddPointer(Context.getCanonicalTemplateName(Template) in Profile()
306 case Template: in structurallyEquals()
346 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/clang/include/clang/AST/
DTemplateBase.h59 Template, enumerator
162 TemplateArg.Kind = Template; in TemplateArgument()
262 assert(getKind() == Template && "Unexpected kind"); in getAsTemplate()
269 assert((getKind() == Template || getKind() == TemplateExpansion) && in getAsTemplateOrTemplatePattern()
374 struct T Template; member
390 Template.Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
391 Template.QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo()
392 Template.TemplateNameLoc = TemplateNameLoc.getRawEncoding(); in TemplateArgumentLocInfo()
393 Template.EllipsisLoc = EllipsisLoc.getRawEncoding(); in TemplateArgumentLocInfo()
405 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/chromium-trace/catapult/third_party/Paste/tests/
Dtest_template.txt4 >>> 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/v8/src/parsing/
Dexpression-classifier.h49 MessageTemplate::Template msg, ErrorKind k,
55 MessageTemplate::Template message : 26;
222 MessageTemplate::Template message,
230 MessageTemplate::Template message,
238 MessageTemplate::Template message,
246 MessageTemplate::Template message,
254 MessageTemplate::Template message,
262 MessageTemplate::Template message,
269 MessageTemplate::Template message,
277 MessageTemplate::Template message,
[all …]
Dpreparse-data.h63 virtual void LogMessage(int start, int end, MessageTemplate::Template message,
96 virtual void LogMessage(int start, int end, MessageTemplate::Template message, in LogMessage()
135 MessageTemplate::Template message() { in message()
155 MessageTemplate::Template message_;
186 virtual void LogMessage(int start, int end, MessageTemplate::Template message,
/external/clang/test/Modules/Inputs/
DDebugCXX.h24 > class Template {
27 extern template class Template<int>;
30 typedef class Template<float> FloatInstatiation;
33 Template<long> invisible;
/external/autotest/client/site_tests/firmware_TouchMTB/
Dreport_html.py15 from string import Template
26 self.doc = Template('$head $test_version $logs $tail')
27 self.table = Template('<table border="3" width="100%"> $gestures '
33 self.gesture_template = Template('''
52 self.validator_template = Template('''
61 self.detail_template = Template('<tr><h5> $detail </h5></tr>')
76 self.doc = Template(self.doc.safe_substitute(head=self._html_head(),
/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/v8/src/
Dpending-compilation-error-handler.h34 MessageTemplate::Template message,
48 MessageTemplate::Template message,
62 MessageTemplate::Template message, Handle<String> arg,
83 MessageTemplate::Template message_;
/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-trace/catapult/third_party/WebOb/webob/
Dexc.py167 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/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/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/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()
/external/clang/lib/Sema/
DSemaTemplate.cpp182 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()
219 TemplateResult = TemplateTy::make(Template); in isTemplateName()
477 assert(Kind == Template && in getTemplatePackExpansion()
503 case ParsedTemplateArgument::Template: { in translateTemplateArgument()
504 TemplateName Template = Arg.getAsTemplate().get(); in translateTemplateArgument() local
507 TArg = TemplateArgument(Template, Optional<unsigned int>()); in translateTemplateArgument()
509 TArg = Template; in translateTemplateArgument()
[all …]
/external/v8/tools/gyp/test/compiler-override/
Dgyptest-compiler-global-settings.py14 from string import Template
32 s = Template(open(gypfile + '.in').read())
53 s = Template(open(gypfile + '.in').read())
/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/clang/include/clang/Basic/
DDeclNodes.td55 def Template : DDecl<Named, 1>;
56 def RedeclarableTemplate : DDecl<Template, 1>;
61 def TemplateTemplateParm : DDecl<Template>;
62 def BuiltinTemplate : DDecl<Template>;

12345678910