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

1 2 3 4 5 6

  /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...]
scope_unittest.cc 9 #include "tools/gn/template.h"
46 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition));
48 scoped_refptr<Template> private_templ(
49 new Template(setup.scope(), &templ_definition));
65 // Template name collisions.
69 scoped_refptr<Template> new_templ(
70 new Template(&new_scope, &templ_definition));
101 scoped_refptr<Template> new_templ(
102 new Template(&new_scope, &templ_definition))
    [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...]
Template.java 17 package com.google.clearsilver.jsilver.template;
26 * Represents a template that can be rendered with data.
28 public interface Template {
31 * Render the template.
33 * @param data Data to merge with template.
35 * @param resourceLoader ResourceLoader to use instead of the default template one when loading
41 * Render the template with a custom RenderingContext.
50 * @param data Data to merge with template.
57 * Name of template (e.g. mytemplate.cs).
68 * Return the EscapeMode in which this template was generated
    [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
  /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...]
  /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())
  /external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
InterpretedTemplateLoader.java 23 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader;
24 import com.google.clearsilver.jsilver.template.Template;
25 import com.google.clearsilver.jsilver.template.TemplateLoader;
51 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) {
58 public Template createTemp(String name, String content, EscapeMode escapingMode) {
  /external/clang/include/clang/AST/
TemplateBase.h 11 // template representation.
37 /// \brief Represents a template argument.
40 /// \brief The kind of template argument we're storing.
42 /// \brief Represents an empty template argument, e.g., one that has not
45 /// The template argument is a type.
47 /// The template argument is a declaration that was provided for a pointer,
48 /// reference, or pointer to member non-type template parameter.
50 /// The template argument is a null pointer or null pointer to member that
51 /// was provided for a non-type template parameter.
53 /// The template argument is an integral value stored in an llvm::APSIn
    [all...]
TemplateName.h 1 //===--- TemplateName.h - C++ Template Name Representation-------*- C++ -*-===//
40 /// template names or an already-substituted template template parameter pack.
53 /// \brief The number of stored templates or template arguments,
91 /// overloaded template name.
112 /// \brief A structure for storing an already-substituted template template
115 /// This kind of template names occurs when the parameter pack has been
116 /// provided with a template template argument pack in a context where it
    [all...]
  /external/chromium_org/tools/deep_memory_profiler/visualizer/
services.py 21 class Template(ndb.Model):
22 """Template to breakdown profiler with multiple tags.
51 """Create Template entities for all templates of uploaded file. Return ndb.Key
52 of default template or None if not indicated or found in templates."""
56 # Return None when no default template indicated.
59 # Return None when no default template found in templates.
63 # Check the uniqueness of template content and store new one.
66 tmpl_key = ndb.Key('Template', content_str)
70 # Template of the same content does not exist.
71 template = Template(id=content_str, content=content
    [all...]

Completed in 1054 milliseconds

1 2 3 4 5 6