Home
last modified time | relevance | path

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

12345678910>>...12

/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/python/cpython2/Lib/test/
Dtest_pipes.py21 t = pipes.Template()
32 t = pipes.Template()
41 t = pipes.Template()
53 t=pipes.Template()
63 t=pipes.Template()
70 t = pipes.Template()
91 t = pipes.Template()
98 t = pipes.Template()
107 t = pipes.Template()
114 t = pipes.Template()
[all …]
Dtest_string.py3 from string import Template
241 s = Template('$who likes to eat a bag of $what worth $$100')
245 self.assertRaises(TypeError, Template.substitute)
248 s = Template('$who likes ${what} for ${meal}')
256 s = Template('$who likes to eat a bag of $$what worth $$100')
259 s = Template('$who likes $$')
264 s = Template('%(foo)s $foo ${foo}')
271 s = Template('tim has eaten $count bags of ham today')
275 s = Template('tim has eaten ${count} bags of ham today')
280 s = Template('$who ate ${meal}')
[all …]
/external/clang/lib/AST/
DTemplateName.cpp58 TemplateName::TemplateName(TemplateDecl *Template) : Storage(Template) {} in TemplateName() argument
72 return Template; in getKind()
88 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) in getAsTemplateDecl() local
89 return Template; in getAsTemplateDecl()
135 if (TemplateDecl *Template = getAsTemplateDecl()) { in isDependent() local
136 if (isa<TemplateTemplateParmDecl>(Template)) in isDependent()
142 return Template->getDeclContext() && in isDependent()
143 Template->getDeclContext()->isDependentContext(); in isDependent()
162 if (TemplateDecl *Template = getAsTemplateDecl()) { in containsUnexpandedParameterPack() local
164 = dyn_cast<TemplateTemplateParmDecl>(Template)) in containsUnexpandedParameterPack()
[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/python/cpython2/Lib/
Dtoaiff.py23 t = pipes.Template()
33 t = pipes.Template()
37 t = pipes.Template()
41 t = pipes.Template()
45 t = pipes.Template()
49 t = pipes.Template()
53 t = pipes.Template()
57 uncompress = pipes.Template()
/external/clang/include/clang/Sema/
DParsedTemplate.h39 Template enumerator
64 ParsedTemplateTy Template, in ParsedTemplateArgument() argument
66 : Kind(ParsedTemplateArgument::Template), in ParsedTemplateArgument()
67 Arg(Template.getAsOpaquePtr()), in ParsedTemplateArgument()
90 assert(Kind == Template && "Not a template template argument"); in getAsTemplate()
100 assert(Kind == Template && in getScopeSpec()
108 assert(Kind == Template && in getEllipsisLoc()
168 ParsedTemplateTy Template; member
/external/python/cpython2/Lib/plat-irix6/
Dtorgb.py19 t = pipes.Template()
23 t = pipes.Template()
30 t = pipes.Template()
34 t = pipes.Template()
40 t = pipes.Template()
46 t = pipes.Template()
52 uncompress = pipes.Template()
/external/python/cpython2/Lib/plat-irix5/
Dtorgb.py19 t = pipes.Template()
23 t = pipes.Template()
30 t = pipes.Template()
34 t = pipes.Template()
40 t = pipes.Template()
46 t = pipes.Template()
52 uncompress = pipes.Template()
/external/clang/include/clang/AST/
DTemplateBase.h60 Template, enumerator
163 TemplateArg.Kind = Template; in TemplateArgument()
263 assert(getKind() == Template && "Unexpected kind"); in getAsTemplate()
270 assert((getKind() == Template || getKind() == TemplateExpansion) && in getAsTemplateOrTemplatePattern()
381 struct T Template; member
397 Template.Qualifier = QualifierLoc.getNestedNameSpecifier(); in TemplateArgumentLocInfo()
398 Template.QualifierLocData = QualifierLoc.getOpaqueData(); in TemplateArgumentLocInfo()
399 Template.TemplateNameLoc = TemplateNameLoc.getRawEncoding(); in TemplateArgumentLocInfo()
400 Template.EllipsisLoc = EllipsisLoc.getRawEncoding(); in TemplateArgumentLocInfo()
412 return NestedNameSpecifierLoc(Template.Qualifier, in getTemplateQualifierLoc()
[all …]
DTemplateName.h190 Template, enumerator
209 explicit TemplateName(TemplateDecl *Template);
367 TemplateDecl *Template; variable
372 TemplateDecl *Template) in QualifiedTemplateName() argument
374 Template(Template) { } in QualifiedTemplateName()
386 TemplateDecl *getDecl() const { return Template; } in getDecl()
390 TemplateDecl *getTemplateDecl() const { return Template; } in getTemplateDecl()
397 bool TemplateKeyword, TemplateDecl *Template) { in Profile() argument
400 ID.AddPointer(Template); in Profile()
/external/python/cpython2/Doc/library/
Dpipes.rst20 .. class:: Template()
27 >>> t = pipes.Template()
75 Template Objects
78 Template objects following methods:
81 .. method:: Template.reset()
86 .. method:: Template.clone()
91 .. method:: Template.debug(flag)
98 .. method:: Template.append(cmd, kind)
114 .. method:: Template.prepend(cmd, kind)
120 .. method:: Template.open(file, mode)
[all …]
/external/v8/src/parsing/
Dexpression-classifier.h67 MessageTemplate::Template msg, ErrorKind k,
73 MessageTemplate::Template message : 26;
206 MessageTemplate::Template message,
214 MessageTemplate::Template message,
222 MessageTemplate::Template message,
230 MessageTemplate::Template message,
238 MessageTemplate::Template message,
246 MessageTemplate::Template message,
253 MessageTemplate::Template message,
261 MessageTemplate::Template message,
[all …]
/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/toolchain-utils/crosperf/
Dresults_report_templates.py8 from string import Template
10 _TabMenuTemplate = Template("""
37 _ResultsSectionHTML = Template("""
61 _MainHTML = 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/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/mesa3d/src/compiler/glsl/
Dir_expression_operation.py96 constant_template_common = mako.template.Template("""\
113 constant_template_vector_scalar = mako.template.Template("""\
144 constant_template_mul = mako.template.Template("""\
195 constant_template_horizontal_single_implementation = mako.template.Template("""\
202 constant_template_horizontal_nonassignment = mako.template.Template("""\
209 constant_template_horizontal = mako.template.Template("""\
223 constant_template_vector_extract = mako.template.Template("""\
241 constant_template_vector_insert = mako.template.Template("""\
260 constant_template_vector = mako.template.Template("""\
276 constant_template_lrp = mako.template.Template("""\
[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/clang/test/Modules/Inputs/
DDebugCXX.h24 > class Template {
28 extern template class Template<int>;
31 typedef class Template<float> FloatInstantiation;
34 Template<long> invisible;
/external/libmojo/mojo/public/cpp/bindings/lib/
Dtemplate_util.h101 template <template <typename...> class Template, typename T>
104 template <template <typename...> class Template, typename... Args>
105 struct IsSpecializationOf<Template, Template<Args...>> : TrueType {};
/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/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dcmd.py9 from mako.template import Template
40 template = Template(sys.stdin.read(), lookup=lookup)
50 template = Template(filename=filename, lookup=lookup)
/external/clang/lib/Sema/
DSemaTemplate.cpp184 TemplateName Template; in isTemplateName() local
191 Template = Context.getOverloadedTemplateName(R.begin(), R.end()); in isTemplateName()
201 Template = Context.getQualifiedTemplateName(Qualifier, in isTemplateName()
204 Template = TemplateName(TD); in isTemplateName()
221 TemplateResult = TemplateTy::make(Template); in isTemplateName()
491 assert(Kind == Template && in getTemplatePackExpansion()
517 case ParsedTemplateArgument::Template: { in translateTemplateArgument()
518 TemplateName Template = Arg.getAsTemplate().get(); in translateTemplateArgument() local
521 TArg = TemplateArgument(Template, Optional<unsigned int>()); in translateTemplateArgument()
523 TArg = Template; in translateTemplateArgument()
[all …]

12345678910>>...12