/packages/apps/Browser/src/com/android/browser/homepages/ |
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/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
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
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 {
|
/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 | 347 case TemplateArgument::Template: 350 TemplateName Template = Args[i].getAsTemplate(); 351 if (DependentTemplateName *DTN = Template.getAsDependentTemplateName()) 353 else if (QualifiedTemplateName *QTN = Template.getAsQualifiedTemplateName()) 359 Args[i].getKind() == TemplateArgument::Template
|
Comment.cpp | 39 template <typename T> 191 TemplateKind = Template; 202 TemplateKind = Template; 282 TemplateKind = Template;
|
ItaniumMangle.cpp | 174 /// that's not a template specialization; otherwise it's the pattern 269 bool mangleSubstitution(TemplateName Template); 283 void addSubstitution(TemplateName Template); 317 void mangleTemplatePrefix(TemplateName Template); 458 // 1. Template functions (names or types) have return types encoded, with 463 // 3. Non-template function names do not have return types encoded. 476 // Mangle the type of the primary template. 513 // Check if we have a function template. 521 // Check if we have a class template. 542 // ::= <unscoped-template-name> <template-args [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | 1 //===--- ParseTemplate.cpp - Template Parsing -----------------------------===// 24 /// \brief Parse a template declaration, explicit instantiation, or 42 /// \brief RAII class that manages the template parameter depth. 65 /// \brief Parse a template declaration or an explicit specialization. 67 /// Template declarations include one or more template parameter lists 68 /// and either the function or class template declaration. Explicit 69 /// specializations contain one or more 'template < >' prefixes 72 /// of the template headers together and let semantic analysis sort 75 /// template-declaration: [C++ temp [all...] |
ParseExprCXX.cpp | 75 // a template name. 86 TemplateTy Template; 92 Template, MemberOfUnknownSpecialization)) 151 /// nested-name-specifier 'template'[opt] simple-template-id '::' 259 // nested-name-specifier 'template'[opt] simple-template-id '::' 261 // Parse the optional 'template' keyword, then make sure we have 266 // 'template'. 299 // to a template name, such as T::template apply, but is not a [all...] |
/external/clang/lib/Sema/ |
SemaTemplate.cpp | 27 #include "clang/Sema/Template.h" 44 /// of a template and, if so, return that template declaration. Otherwise, 60 // Like normal (non-template) classes, class templates have an 62 // can be used with or without a template-argument-list. When 63 // it is used without a template-argument-list, it is 65 // template-parameters of the class template enclosed in 66 // <>. When it is used with a template-argument-list, it 67 // refers to the specified class template specialization [all...] |
SemaTemplateInstantiate.cpp | 1 //===------- SemaTemplateInstantiate.cpp - C++ Template Instantiation ------===/ 9 // This file implements C++ template instantiation. 23 #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 | 23 #include "clang/Sema/Template.h" 70 /// class template or class template partial specialization even if it is 100 // match the nested name specifier to either a primary class template 101 // or a class template partial specialization. 109 // injected class name of the named class template, we're entering 110 // into that class template definition. 117 // type of one of the class template's class template partial 119 // class template partial specialization [all...] |
SemaTemplateVariadic.cpp | 20 #include "clang/Sema/Template.h" 51 /// \brief Record occurrences of template type parameter packs. 58 /// \brief Record occurrences of template type parameter packs 70 /// \brief Record occurrences of function and non-type template 79 /// \brief Record occurrences of template template parameter packs. 80 bool TraverseTemplateName(TemplateName Template) { 83 Template.getAsTemplateDecl())) 87 return inherited::TraverseTemplateName(Template); 149 /// \brief Suppress traversal of template argument pack expansions [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/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/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...] |
/dalvik/vm/compiler/template/ |
gen-template.py | 23 from string import Template 227 templ = Template(line) 232 # be template-replaced using the substitution dictionary "dict". 291 templ = Template(line) 369 * This file was generated automatically by gen-template.py for '%s'.
|
/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...] |
/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/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.
|