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

1 23 4 5 6 7 8

  /external/jsilver/src/com/google/clearsilver/jsilver/template/
RenderingContext.java 17 package com.google.clearsilver.jsilver.template;
27 * State that is shared across a template rendering.
76 * Push a new template onto the current execution context. This is to generate stack traces when
81 void pushExecutionContext(Template template);
84 * @see #pushExecutionContext(Template)
89 * Sets the current position in the template. Used to help generate error messages.
111 * Returns the ResourceLoader object to use to fetch files needed to render the current template.
116 * Returns the configured AutoEscapeOptions to be used while rendering the current template.
121 * Push a new auto escaping mode onto the context. Any template loads via include() o
    [all...]
DefaultRenderingContext.java 17 package com.google.clearsilver.jsilver.template;
55 private List<Template> executionStack = new ArrayList<Template>(8);
167 public void pushExecutionContext(Template template) {
168 executionStack.add(template);
279 // We do not allow a macro call to change context of the rest of the template.
280 // Since the rest of the template has already been auto-escaped at parse time
  /external/clang/lib/AST/
TypeLoc.cpp 378 case TemplateArgument::Template:
381 TemplateName Template = Args[i].getAsTemplateOrTemplatePattern();
382 if (DependentTemplateName *DTN = Template.getAsDependentTemplateName())
384 else if (QualifiedTemplateName *QTN = Template.getAsQualifiedTemplateName())
389 Args[i].getKind() == TemplateArgument::Template ? SourceLocation()
Comment.cpp 40 template <typename T>
192 TemplateKind = Template;
203 TemplateKind = Template;
289 // If we have a typedef to a template specialization with exactly one
290 // template argument of a function type, this looks like std::function,
319 TemplateKind = Template;
  /external/clang/lib/Sema/
SemaTemplate.cpp 29 #include "clang/Sema/Template.h"
46 /// of a template and, if so, return that template declaration. Otherwise,
62 // Like normal (non-template) classes, class templates have an
64 // can be used with or without a template-argument-list. When
65 // it is used without a template-argument-list, it is
67 // template-parameters of the class template enclosed in
68 // <>. When it is used with a template-argument-list, it
69 // refers to the specified class template specialization
    [all...]
SemaTemplateInstantiate.cpp 1 //===------- SemaTemplateInstantiate.cpp - C++ Template Instantiation ------===/
9 // This file implements C++ template instantiation.
24 #include "clang/Sema/Template.h"
31 // Template Instantiation Support
34 /// \brief Retrieve the template argument list(s) that should be used to
37 /// \param D the declaration for which we are computing template instantiation
40 /// \param Innermost if non-NULL, the innermost template argument list.
42 /// \param RelativeToPrimary true if we should get the template
43 /// arguments relative to the primary template, even when we're
45 /// template specializations
    [all...]
SemaTemplateVariadic.cpp 21 #include "clang/Sema/Template.h"
52 /// \brief Record occurrences of template type parameter packs.
59 /// \brief Record occurrences of template type parameter packs
71 /// \brief Record occurrences of function and non-type template
80 /// \brief Record occurrences of template template parameter packs.
81 bool TraverseTemplateName(TemplateName Template) {
84 Template.getAsTemplateDecl()))
88 return inherited::TraverseTemplateName(Template);
150 /// \brief Suppress traversal of template argument pack expansions
    [all...]
SemaCXXScopeSpec.cpp 23 #include "clang/Sema/Template.h"
70 /// class template or class template partial specialization even if it is
99 // match the nested name specifier to either a primary class template
100 // or a class template partial specialization.
108 // injected class name of the named class template, we're entering
109 // into that class template definition.
116 // type of one of the class template's class template partial
118 // class template partial specialization
    [all...]
  /external/clang/lib/Parse/
ParseTemplate.cpp 1 //===--- ParseTemplate.cpp - Template Parsing -----------------------------===//
24 /// \brief Parse a template declaration, explicit instantiation, or
44 /// \brief Parse a template declaration or an explicit specialization.
46 /// Template declarations include one or more template parameter lists
47 /// and either the function or class template declaration. Explicit
48 /// specializations contain one or more 'template < >' prefixes
51 /// of the template headers together and let semantic analysis sort
54 /// template-declaration: [C++ temp]
55 /// 'export'[opt] 'template' '<' template-parameter-list '>' declaratio
    [all...]
ParseExprCXX.cpp 30 // template name
79 // a template name.
90 TemplateTy Template;
96 Template, MemberOfUnknownSpecialization))
155 /// nested-name-specifier 'template'[opt] simple-template-id '::'
203 // If the current token is an annotated template id, it may already have
281 // nested-name-specifier 'template'[opt] simple-template-id '::'
283 // Parse the optional 'template' keyword, then make sure we hav
    [all...]
  /development/testrunner/
create_test.py 111 output = string.Template(TestsConsts.TEST_MANIFEST_TEMPLATE).substitute(mapping)
161 output = string.Template(TestsConsts.TEST_MK_TEMPLATE).substitute(mapping)
  /external/chromium_org/v8/test/preparser/
testcfg.py 70 def Template(name, source):
79 execfile(pathname, {"Test": Test, "Template": Template})
  /external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
JCs.java 24 import com.google.clearsilver.jsilver.template.HtmlWhiteSpaceStripper;
25 import com.google.clearsilver.jsilver.template.Template;
42 private Template template = null; field in class:JCs
77 template = null;
90 template =
111 template = getJSilver().getTemplateLoader().createTemp("parseStr", content, getEscapeMode());
121 if (template == null) {
145 jSilver.render(template, data, output, resourceLoaderAdaptor)
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
template.rb 8 module Template
16 @template_library ||= ANTLR3::Template::Group.new
20 super.push( :template )
25 ANTLR3::Template::Group.load( group_file )
40 self.class.template_library or ANTLR3::Template::Group.new
88 autoload :GroupFile, 'antlr3/template/group-file'
91 autoload :Lexer, 'antlr3/template/group-file'
92 autoload :Parser, 'antlr3/template/group-file'
105 end or raise( LoadError, "no such template group file to load %s" % group_file )
124 template = Context.new( values
    [all...]
  /external/chromium_org/chrome/test/mini_installer/
variable_expander.py 148 return string.Template(str).substitute(self._variable_mapping)
  /external/jsilver/src/com/google/clearsilver/jsilver/
JSilver.java 46 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader;
47 import com.google.clearsilver.jsilver.template.HtmlWhiteSpaceStripper;
48 import com.google.clearsilver.jsilver.template.Template;
49 import com.google.clearsilver.jsilver.template.TemplateLoader;
73 * // Render template to System.out. Writer output = ...;
136 // Loads the template from the resource loader, manipulating the AST as
164 // Do we want to load precompiled Template class objects?
166 // Load precompiled template classes.
239 * Renders a given template and provided data, writing to an arbitrary output
    [all...]
  /external/clang/test/SemaCXX/
cxx11-user-defined-literals.cpp 7 Integer, Floating, Raw, Template
20 template<char ...Cs> constexpr LitKind operator"" _kind3() { return LitKind::Template; }
39 static_assert(4e6_kind3 == LitKind::Template, "");
81 template<char...> int operator"" _ambig1(); // expected-note {{candidate}}
86 template<char...> int operator"" _ambig2(); // expected-note 3{{candidate}}
104 template<char...> int operator"" _ambig2();
119 template<typename=void> constexpr unsigned hash(unsigned a) { return a; }
120 template<char C, char...Cs> constexpr unsigned hash(unsigned a) {
123 template<typename T, T v> struct constant { constexpr static T value = v; }
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
BaseCompiledTemplate.java 29 import com.google.clearsilver.jsilver.template.DefaultRenderingContext;
30 import com.google.clearsilver.jsilver.template.Macro;
31 import com.google.clearsilver.jsilver.template.RenderingContext;
32 import com.google.clearsilver.jsilver.template.Template;
33 import com.google.clearsilver.jsilver.template.TemplateLoader;
44 public abstract class BaseCompiledTemplate implements Template {
93 * Sets the EscapeMode in which this template was generated.
308 * @param ignoreMissingFile {@code true} if any FileNotFound error generated by the template
310 * @param context Rendering context to use for the included template
329 Template template = null; local
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
template-output.rb 24 out = @parser.send( rule ).template
29 ANTLR3::Template::Group.parse( source.fixed_indent( 0 ) )
38 output = template;
42 -> template(id={$ID.text}, int={$INT.text})
54 example 'external template' do
55 templates = ANTLR3::Template::Group.new do
65 output = template;
71 arg: ID -> template(t={$ID.text}) "<%= @t %>";
81 example "empty template" do
86 output=template;
    [all...]
  /external/chromium_org/tools/gn/
file_template.cc 173 const Template& t = templates_[template_i];
194 const Template& t = templates_[template_i];
329 *err = Err(value, "File template must be a string or list.",
336 Template& t = templates_[templates_.container().size() - 1];
352 // Given the name of the string constant and enum for a template parameter,
364 // Decode the template param.
  /docs/source.android.com/scripts/
build.py 44 # Step 1, concatenate the template pieces into a single template string
48 template = string.Template(t) variable
115 final = template.safe_substitute(main=main, sidebar=sidebar, sidebar2=sidebar2, \
  /external/chromium_org/tools/deep_memory_profiler/visualizer/
app_unittest.py 66 # Call services function to create template entities.
72 template_entity = ndb.Key('Template', json.dumps(content)).get()
75 # Create template entities with the same file again and check uniqueness.
77 self.assertEqual(services.Template.query().count(), 2)
81 # Test None when default template not indicated or found in templates.
  /external/chromium_org/tools/win/sizeviewer/
sizeviewer.py 85 with open(os.path.join(BASE_DIR, 'template.html'), 'r') as templatef:
86 template = templatef.read()
87 f.write(string.Template(template).substitute(
  /external/chromium_org/content/public/browser/
devtools_protocol_constants_generator.py 16 template_h = string.Template("""\
48 template_cc = string.Template("""\
  /external/clang/tools/libclang/
CXCursor.h 99 /// \brief Create a reference to a template at the given location.
100 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc,
103 /// \brief Unpack a TemplateRef cursor into the template it references and
229 /// \brief Create a overloaded declaration reference cursor for a template name.
230 CXCursor MakeCursorOverloadedDeclRef(TemplateName Template,
240 /// declaration, or template name along with the source location.

Completed in 2192 milliseconds

1 23 4 5 6 7 8