HomeSort by relevance Sort by last modified time
    Searched refs:Template (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
ITemplateRuleReturnScope.cs 37 object Template
ITemplateRuleReturnScope`1.cs 37 new TTemplate Template
TemplateParserRuleReturnScope`2.cs 39 public TTemplate Template
52 object ITemplateRuleReturnScope.Template
56 return Template;
  /external/chromium_org/tools/gn/
template.h 21 // Represents the information associated with a template() call in GN, which
22 // includes a closure and the code to run when the template is invoked.
27 // execute the template in parallel.
28 class Template : public base::RefCountedThreadSafe<Template> {
31 Template(const Scope* scope, const FunctionCallNode* def);
34 Template(scoped_ptr<Scope> closure, const FunctionCallNode* def);
36 // Invoke the template. The values correspond to the state of the code
37 // invoking the template.
44 // Returns the location range where this template was defined
    [all...]
template.cc 5 #include "tools/gn/template.h"
14 Template::Template(const Scope* scope, const FunctionCallNode* def)
19 Template::Template(scoped_ptr<Scope> scope, const FunctionCallNode* def)
24 Template::~Template() {
27 Value Template::Invoke(Scope* scope,
38 // so we can pass ownership to the template.
48 // Set up the scope to run the template and set the current directory for th
    [all...]
template_unittest.cc 9 TEST(Template, Basic) {
12 "template(\"foo\") {\n"
28 TEST(Template, UnusedTargetNameShouldThrowError) {
31 "template(\"foo\") {\n"
44 TEST(Template, UnusedInvokerShouldThrowError) {
47 "template(\"foo\") {\n"
60 TEST(Template, UnusedVarInInvokerShouldThrowError) {
63 "template(\"foo\") {\n"
78 // Previous versions of the template implementation would copy templates by
82 TEST(Template, MemoryBlowUp)
    [all...]
function_template.cc 9 #include "tools/gn/template.h"
14 const char kTemplate[] = "template";
16 "template: Define a template rule.";
18 "template: Define a template rule.\n"
20 " A template defines a custom name that acts like a function. It\n"
23 " The template() function is used to declare a template. To invoke the\n"
24 " template, just use the name of the template like any other target\n
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
TemplateTreeRuleReturnScope`2.cs 39 public TTemplate Template
52 object ITemplateRuleReturnScope.Template
56 return Template;
  /external/clang/tools/libclang/
CIndexCXX.cpp 59 if (const TemplateDecl *Template
61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind;
93 Decl *Template = nullptr;
97 Template = PartialSpec->getSpecializedTemplate();
104 Template = Result.get<ClassTemplateDecl *>();
106 Template = Result.get<ClassTemplatePartialSpecializationDecl *>();
109 Template = CXXRecord->getInstantiatedFromMemberClass();
111 Template = Function->getPrimaryTemplate();
112 if (!Template)
113 Template = Function->getInstantiatedFromMemberFunction()
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/template/
Macro.java 17 package com.google.clearsilver.jsilver.template;
22 * An executable macro. This exhibits all the same characteristics of a Template.
24 public interface Macro extends Template {
TemplateLoader.java 17 package com.google.clearsilver.jsilver.template;
23 * Loads a Template.
28 * Load a template from a named resource, with the provided escape mode. If the mode is
30 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a>
31 * on templates. For each variable in the template, this will determine what type of escaping
34 * @param templateName e.g. some/path/to/template.cs
37 * @param escapeMode the type of escaping to apply to the entire template.
39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode);
42 * Create a temporary template from content, with the provided escape mode. If the mode is
44 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file.rb 7 purpose: Loads the ANTLR recognition code for ANTLR Template Group files
10 require 'antlr3/template/group-file-lexer'
11 require 'antlr3/template/group-file-parser'
14 module Template
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pep292.py 6 from string import Template
25 s = Template('$who likes to eat a bag of $what worth $$100')
31 s = Template('$who likes ${what} for ${meal}')
39 s = Template('$who likes to eat a bag of $$what worth $$100')
42 s = Template('$who likes $$')
47 s = Template('%(foo)s $foo ${foo}')
54 s = Template('tim has eaten $count bags of ham today')
58 s = Template('tim has eaten ${count} bags of ham today')
63 s = Template('$who ate ${meal}')
70 s = Template('$who likes ${what} for ${meal}'
    [all...]
test_pipes.py 21 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()
92 self.assertEqual(repr(t), "<Template instance, steps=[]>")
95 "<Template instance, steps=[('tr a-z A-Z', '--')]>")
98 t = pipes.Template()
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pep292.py 6 from string import Template
25 s = Template('$who likes to eat a bag of $what worth $$100')
31 s = Template('$who likes ${what} for ${meal}')
39 s = Template('$who likes to eat a bag of $$what worth $$100')
42 s = Template('$who likes $$')
47 s = Template('%(foo)s $foo ${foo}')
54 s = Template('tim has eaten $count bags of ham today')
58 s = Template('tim has eaten ${count} bags of ham today')
63 s = Template('$who ate ${meal}')
70 s = Template('$who likes ${what} for ${meal}'
    [all...]
test_pipes.py 21 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()
92 self.assertEqual(repr(t), "<Template instance, steps=[]>")
95 "<Template instance, steps=[('tr a-z A-Z', '--')]>")
98 t = pipes.Template()
    [all...]
  /external/clang/include/clang/Sema/
ParsedTemplate.h 1 //===--- ParsedTemplate.h - Template Parsing Data Types -------------------===//
22 /// \brief Represents the parsed form of a C++ template argument.
25 /// \brief Describes the kind of template argument that was parsed.
27 /// \brief A template type parameter, stored as a type.
29 /// \brief A non-type template parameter, stored as an expression.
31 /// \brief A template template argument, stored as a template name.
32 Template
35 /// \brief Build an empty template argument.
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
toaiff.py 23 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()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
toaiff.py 23 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/lib/AST/
TemplateName.cpp 1 //===--- TemplateName.cpp - C++ Template Name Representation---------------===//
56 return Template;
72 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>())
73 return Template;
85 if (TemplateDecl *Template = getAsTemplateDecl()) {
86 if (isa<TemplateTemplateParmDecl>(Template))
88 // FIXME: Hack, getDeclContext() can be null if Template is still
92 return Template->getDeclContext() &&
93 Template->getDeclContext()->isDependentContext();
112 if (TemplateDecl *Template = getAsTemplateDecl())
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/
TemplateRenderer.java 22 import com.google.clearsilver.jsilver.template.Template;
27 * Renders a template.
32 * Renders a given template and provided data, writing to an arbitrary output.
34 * @param templateName Name of template to load (e.g. "things/blah.cs").
35 * @param data Data to be used in template.
36 * @param output Where template should be rendered to. This can be a Writer, PrintStream,
52 * Same as {@link #render(String, Data, Appendable)}, except returns rendered template as a
58 * Renders a given template and provided data, writing to an arbitrary output.
60 * @param template Template to render
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/unit/
test-template.rb 5 require 'antlr3/template'
12 File.dirname( __FILE__ ), 'sample-input', 'template-group'
15 describe Template::Context do
17 context = Template::Context.new
22 context = Template::Context.new(
35 context = Template::Context.new(
46 context = Template::Context.new( :a => 3 )
55 context = Template::Context.new( :a => 3 )
64 context = Template::Context.new( :a => 1, :b => 2)
73 shared_examples_for "template groups" d
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
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(); }
80 /** x+=rule when output=template */
83 <listLabel(elem=label+".Template",...)>
88 // TEMPLATE REWRITE
106 retval.Template);
111 retval.Template);
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
ST.stg 32 /** Template subgroup to add template rewrite output
54 Template<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<StringTemplate, <labelType>>
57 /** x+=rule when output=template */
60 <listLabelElem(elem={<label>.Template},elemType="StringTemplate",...)>
65 // TEMPLATE REWRITE
83 retval.Template);
88 retval.Template);
97 retval.Template = <it.alt>;
101 retval.Template = <it.alt>
    [all...]
  /external/chromium_org/tools/gyp/test/compiler-override/
gyptest-compiler-global-settings.py 14 from string import Template
32 s = Template(open(gypfile + '.in').read())
48 s = Template(open(gypfile + '.in').read())

Completed in 606 milliseconds

1 2 3 4 5 6 7 8