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

1 2 3 4

  /external/clang/tools/libclang/
CIndexCXX.cpp 55 if (TemplateDecl *Template
57 return MakeCXCursor(Template->getTemplatedDecl(),
89 Decl *Template = 0;
93 Template = PartialSpec->getSpecializedTemplate();
100 Template = Result.get<ClassTemplateDecl *>();
102 Template = Result.get<ClassTemplatePartialSpecializationDecl *>();
105 Template = CXXRecord->getInstantiatedFromMemberClass();
107 Template = Function->getPrimaryTemplate();
108 if (!Template)
109 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...]
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...]
  /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.h - C++ Template Name Representation-------*- C++ -*-===//
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...]
TypeLoc.cpp 314 case TemplateArgument::Template:
317 TemplateName Template = Args[i].getAsTemplate();
318 if (DependentTemplateName *DTN = Template.getAsDependentTemplateName())
320 else if (QualifiedTemplateName *QTN = Template.getAsQualifiedTemplateName())
326 Args[i].getKind() == TemplateArgument::Template
ItaniumMangle.cpp 142 /// that's not a template specialization; otherwise it's the pattern
237 bool mangleSubstitution(TemplateName Template);
251 void addSubstitution(TemplateName Template);
284 void mangleTemplatePrefix(TemplateName Template);
314 void mangleTemplateArgs(TemplateName Template,
433 // 1. Template functions (names or types) have return types encoded, with
438 // 3. Non-template function names do not have return types encoded.
451 // Mangle the type of the primary template.
487 // Check if we have a function template.
495 // Check if we have a class template
    [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/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) {
InterpretedMacro.java 24 import com.google.clearsilver.jsilver.template.Macro;
25 import com.google.clearsilver.jsilver.template.RenderingContext;
26 import com.google.clearsilver.jsilver.template.Template;
39 private final Template owningTemplate;
45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName,
InterpretedTemplate.java 27 import com.google.clearsilver.jsilver.template.DefaultRenderingContext;
28 import com.google.clearsilver.jsilver.template.RenderingContext;
29 import com.google.clearsilver.jsilver.template.Template;
30 import com.google.clearsilver.jsilver.template.TemplateLoader;
35 * Template implementation that uses the interpreter to render itself.
37 public class InterpretedTemplate implements Template {
  /packages/apps/Browser/src/com/android/browser/homepages/
Template.java 35 public class Template {
37 private static HashMap<Integer, Template> sCachedTemplates = new HashMap<Integer, Template>();
39 public static Template getCachedTemplate(Context context, int id) {
41 Template template = sCachedTemplates.get(id); local
42 if (template == null) {
43 template = new Template(context, id);
44 sCachedTemplates.put(id, template);
    [all...]
RequestHandler.java 88 Template t = Template.getCachedTemplate(mContext, R.raw.most_visited);
93 t.assignLoop("most_visited", new Template.CursorListEntityWrapper(cursor) {
  /external/clang/include/clang/AST/
TemplateBase.h 11 // template representation.
37 /// \brief Represents a template argument within a class template
41 /// \brief The kind of template argument we're storing.
43 /// \brief Represents an empty template argument, e.g., one that has not
46 /// The template argument is a type. Its value is stored in the
49 /// The template argument is a declaration that was provided for a pointer
50 /// or reference non-type template parameter.
52 /// The template argument is an integral value stored in an llvm::APSInt
53 /// that was provided for an integral non-type template parameter.
    [all...]
TemplateName.h 1 //===--- TemplateName.h - C++ Template Name Representation-------*- C++ -*-===//
43 /// template names or an already-substituted template template parameter pack.
57 /// \brief The number of stored templates or template arguments,
93 /// overloaded template name.
114 /// \brief A structure for storing an already-substituted template template
117 /// This kind of template names occurs when the parameter pack has been
118 /// provided with a template template argument pack in a context where it
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/compatibility/
ClearsilverRenderer.java 20 import com.google.clearsilver.jsilver.template.Template;
100 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader)
103 + "template names, not Templates");
107 public void render(Template template, Data data, Appendable output) throws IOException,
109 render(template, data, output, defaultResourceLoader);
113 public String render(Template template, Data data) throws IOException, JSilverException
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
TemplateCompiler.java 25 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader;
26 import com.google.clearsilver.jsilver.template.Template;
27 import com.google.clearsilver.jsilver.template.TemplateLoader;
39 * Takes a template AST and compiles it into a Java class, which executes much faster than the
48 // Because each template is isolated in its own ClassLoader, it doesn't
71 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) {
77 public Template createTemp(String name, String content, EscapeMode escapeMode) {
84 * @param ast A template AST.
85 * @param templateName Name of template (e.g. "foo.cs"). Used for error reporting. May be null
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/precompiler/
PrecompiledTemplateLoader.java 24 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader;
25 import com.google.clearsilver.jsilver.template.Template;
26 import com.google.clearsilver.jsilver.template.TemplateLoader;
33 * TemplateLoader that stores objects from precompiled Template classes and serves them when asked
39 * This is the next TemplateLoader to ask if we don't find the template.
67 // The template's escapeMode is not currently used as the autoescaping is all
98 for (BaseCompiledTemplate template : templateMap.values()) {
99 template.setTemplateLoader(templateLoaderDelegate);
104 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode)
107 Template template = templateMap.get(mapKey); local
    [all...]
  /external/clang/lib/Sema/
SemaTemplate.cpp 15 #include "clang/Sema/Template.h"
42 /// of a template and, if so, return that template declaration. Otherwise,
53 // Like normal (non-template) classes, class templates have an
55 // can be used with or without a template-argument-list. When
56 // it is used without a template-argument-list, it is
58 // template-parameters of the class template enclosed in
59 // <>. When it is used with a template-argument-list, it
60 // refers to the specified class template specialization
    [all...]
SemaTemplateInstantiate.cpp 1 //===------- SemaTemplateInstantiate.cpp - C++ Template Instantiation ------===/
9 // This file implements C++ template instantiation.
18 #include "clang/Sema/Template.h"
30 // Template Instantiation Support
33 /// \brief Retrieve the template argument list(s) that should be used to
36 /// \param D the declaration for which we are computing template instantiation
39 /// \param Innermost if non-NULL, the innermost template argument list.
41 /// \param RelativeToPrimary true if we should get the template
42 /// arguments relative to the primary template, even when we're
44 /// template specializations
    [all...]
SemaCXXScopeSpec.cpp 39 // This may be a member of a class template or class template partial
75 /// class template or class template partial specialization even if it is
105 // match the nested name specifier to either a primary class template
106 // or a class template partial specialization.
114 // injected class name of the named class template, we're entering
115 // into that class template definition.
122 // type of one of the class template's class template partia
    [all...]
  /external/clang/lib/Parse/
ParseTemplate.cpp 1 //===--- ParseTemplate.cpp - Template Parsing -----------------------------===//
24 /// \brief Parse a template declaration, explicit instantiation, or
37 /// \brief RAII class that manages the template parameter depth.
60 /// \brief Parse a template declaration or an explicit specialization.
62 /// Template declarations include one or more template parameter lists
63 /// and either the function or class template declaration. Explicit
64 /// specializations contain one or more 'template < >' prefixes
67 /// of the template headers together and let semantic analysis sort
70 /// template-declaration: [C++ temp
    [all...]
  /development/testrunner/
create_test.py 111 output = string.Template(TestsConsts.TEST_MANIFEST_TEMPLATE).substitute(mapping)
160 output = string.Template(TestsConsts.TEST_MK_TEMPLATE).substitute(mapping)

Completed in 3236 milliseconds

1 2 3 4