/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 | 32 import com.android.browser.homepages.Template.ListEntityIterator;
110 Template t = Template.getCachedTemplate(mContext, R.raw.most_visited);
127 t.assignLoop("most_visited", new Template.CursorListEntityWrapper(cursor) {
162 Template t = Template.getCachedTemplate(mContext, R.raw.folder_view);
|
/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...] |
template.py | 11 from string import Template 57 # Fill in the template of index.js. 65 html_file.write(Template(_TEMPLATE).safe_substitute({ 'DATA': data }))
|
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
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/chromium_org/tools/deep_memory_profiler/ |
graph.py | 9 from string import Template 84 print Template(_HTML_TEMPLATE).safe_substitute(
|
/external/chromium_org/third_party/jinja2/ |
__init__.py | 6 Jinja2 is a template engine written in pure Python. It provides a 13 Here a small example of a Jinja2 template:: 33 from jinja2.environment import Environment, Template 60 'Environment', 'Template', 'BaseLoader', 'FileSystemLoader',
|
/external/chromium_org/tools/gn/ |
scope.h | 27 class Template; 176 // Templates associated with this scope. A template can only be set once, so 180 bool AddTemplate(const std::string& name, const Template* templ); 181 const Template* GetTemplate(const std::string& name) const; 340 typedef std::map<std::string, scoped_refptr<const Template> > TemplateMap;
|
file_template.h | 23 // A FileTemplate object implements source expansion for a given "template" 26 // There are two ways you can use this. You can make a template and then 59 // Constructs a template from the given value. On error, the err will be 67 // Returns an output template representing the given target's script 71 // Returns true if the given substitution type is used by this template. 77 // Applies the template to one source file. The results will be *appended* to 82 // Writes a string representing the template with Ninja variables for the 90 // If this template is nonempty, we will first print out a space to separate 104 // contains a representation of this file template to be expanded by Ninja 122 // Known template types, these include the "{{ }} [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/chromium_org/third_party/WebKit/Source/core/inspector/ |
CodeGeneratorInstrumentation.py | 35 template_h = string.Template("""// Code generated from InspectorInstrumentation.idl 54 template_inline = string.Template(""" 62 template_inline_forward = string.Template(""" 69 template_inline_returns_value = string.Template(""" 79 template_cpp = string.Template("""// Code generated from InspectorInstrumentation.idl 96 template_outofline = string.Template(""" 101 template_agent_call = string.Template(""" 105 template_agent_call_timeline_returns_cookie = string.Template(""" 113 template_instrumenting_agents_h = string.Template("""// Code generated from InspectorInstrumentation.idl 151 template_instrumenting_agent_accessor = string.Template(""" [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
StringEvaluator.java | 26 import freemarker.template.Configuration; 27 import freemarker.template.DefaultObjectWrapper; 28 import freemarker.template.Template; 38 * A template handler which can evaluate simple strings. Used to evaluate 42 * full template files (from resources, merging into existing files etc) this 62 // Render the instruction list template. 68 Template inputsTemplate = mFreemarker.getTemplate(expression);
|
/external/clang/test/Parser/ |
cxx0x-attributes.cpp | 8 template <class _E> 91 template<typename> [[]] struct no_init_declarators_template; // expected-error {{an attribute list cannot appear here}} 104 template <typename T> [[]] void template_attr (); 116 [[]] template <typename T> void before_template_attr (); // expected-error {{an attribute list cannot appear here}} 145 template<typename T> using U [[]] = T; 161 template<typename> struct Template {}; 165 struct [[]] Template<int> t; // expected-error {{an attribute list cannot appear here}} 166 struct [[]] ::template Template<int> u; // expected-error {{an attribute list cannot appear here} [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file-parser.rb | 64 module Template 80 :TEMPLATE => 6, :T__11 => 11, :T__14 => 14, :T__13 => 13, 89 register_names( "CONSTANT", "ID", "TEMPLATE", "STRING", "COMMENT", "WS", 120 unless group.is_a?( ANTLR3::Template::Group ) 124 group = ANTLR3::Template::Group.new 153 when TEMPLATE 204 group = ANTLR3::Template::Group.new 322 # 96:1: member[ group ] : name= ID ( parameter_declaration )? '::=' (aliased= ID | TEMPLATE | STRING ) ; 336 # at line 98:5: name= ID ( parameter_declaration )? '::=' (aliased= ID | TEMPLATE | STRING ) 357 # at line 99:5: (aliased= ID | TEMPLATE | STRING [all...] |
parameter.rb | 4 module Template
|
/developers/build/buildSrc/src/main/groovy/com/example/android/samples/build/ |
ApplyTemplates.groovy | 21 import freemarker.template.Configuration 22 import freemarker.template.DefaultObjectWrapper 23 import freemarker.template.Template 36 def Configuration cfg = new freemarker.template.Configuration() 74 * The hash which will be passed to the freemarker template engine. This hash 76 * The hash should contain a key named "meta". The template processor will add 88 // Create a list of Freemarker template loaders based on the 90 // file system for freemarker templates; the template language can 93 println "Gathering template load locations: [all...] |
/external/ceres-solver/internal/ceres/ |
generate_eliminator_specialization.py | 31 # Script for explicitly generating template specialization of the 41 # where, the x indicates the template parameters and 51 # Set of template specializations to generate 101 // Template specialization of SchurEliminator. 122 template class SchurEliminator<%s, %s, %s>; 140 template class SchurEliminator<%s, %s, %s>; 170 VLOG(1) << "Template specializations not found for <" 210 template = SPECIALIZATION_FILE 214 template = DYNAMIC_FILE 216 fptr.write(template % (row_block_size, e_block_size, f_block_size) [all...] |
generate_partitioned_matrix_view_specializations.py | 31 # Script for explicitly generating template specialization of the 39 # where the x indicates the template parameters and 49 # Set of template specializations to generate 99 // Template specialization of PartitionedMatrixView. 120 template class PartitionedMatrixView<%s, %s, %s>; 138 template class PartitionedMatrixView<%s, %s, %s>; 170 VLOG(1) << "Template specializations not found for <" 211 template = SPECIALIZATION_FILE 215 template = DYNAMIC_FILE 217 fptr.write(template % (row_block_size, e_block_size, f_block_size) [all...] |