/external/mesa3d/src/intel/isl/ |
gen_format_layout.py | 30 from mako import template 32 # Load the template, ensure that __future__.division is imported, and set the 35 TEMPLATE = template.Template( 98 Converts the csv encoded data into the format that the template (and thus 123 # save on the regex cost and let the template skip on None. 134 """Class taht contains all values needed by the template.""" 190 f.write(TEMPLATE.render(
|
/external/r8/tools/ |
create_jctf_tests.py | 12 from string import Template, upper 24 TEMPLATE = Template( 37 * DO NOT EDIT THIS FILE. EDIT THE HERE DOCUMENT TEMPLATE IN 82 contents = TEMPLATE.substitute(
|
/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...] |
group-file-lexer.rb | 64 module Template 80 :TEMPLATE => 6, :T__11 => 11, :T__14 => 14, :T__13 => 13, 99 "TEMPLATE", "STRING", "COMMENT", "WS" ].freeze 102 :template!, :string!, :comment!, :ws! ].freeze 460 # lexer rule template! (TEMPLATE) 462 def template! 466 type = TEMPLATE 838 # at line 1:8: ( T__10 | T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | CONSTANT | ID | TEMPLATE | STRING | COMMENT | WS ) 891 # at line 1:82: TEMPLATE [all...] |
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
ANTLRv3.g | 64 TEMPLATE; 409 /** Build a tree for a template rewrite: 410 ^(TEMPLATE (ID|ACTION) ^(ARGLIST ^(ARG ID ACTION) ...) ) 412 ID can be "template" keyword. If first child is ACTION then it's 413 an indirect template ref 416 -> ({string-e})(a={...}, b={...}) // e evaluates to template name 417 -> {%{$ID.text}} // create literal template from string (done in ActionTranslator) 421 : // -> template(a={...},...) "..." inline template 424 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args $str [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLRv3.g | 62 TEMPLATE; 413 /** Build a tree for a template rewrite: 414 ^(TEMPLATE (ID|ACTION) ^(ARGLIST ^(ARG ID ACTION) ...) ) 416 ID can be "template" keyword. If first child is ACTION then it's 417 an indirect template ref 420 -> ({string-e})(a={...}, b={...}) // e evaluates to template name 421 -> {%{$ID.text}} // create literal template from string (done in ActionTranslator) 425 : // -> template(a={...},...) "..." inline template 428 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args $str [all...] |
LeftRecursiveRuleWalker.g | 239 : ^(REWRITES ( ^( REWRITE SEMPRED? (^(ALT .*)|^(TEMPLATE .*)|ACTION|ETC) ) )* )
|
ANTLR.g | 100 TEMPLATE; 981 /** Build a tree for a template rewrite: 982 ^(TEMPLATE (ID|ACTION) ^(ARGLIST ^(ARG ID ACTION) ...) ) 984 ID can be "template" keyword. If first child is ACTION then it's 985 an indirect template ref 988 -> ({string-e})(a={...}, b={...}) // e evaluates to template name 989 -> {%{$ID.text}} // create literal template from string (done in ActionTranslator) 995 : // -> template(a={...},...) "..." 996 {LT(1).getText().equals("template")}? => // inline 1018 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args [all...] |
ANTLRTreePrinter.g | 357 : ^( TEMPLATE
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
ST.stg | 28 /** Template subgroup to add template rewrite output 72 /** x+=rule when output=template */ 79 # TEMPLATE REWRITE 138 /** Invoke a template with a set of attribute name/value pairs. 139 * Set the value of the rule's template *after* having set 140 * the attributes because the rule's template might be used as 141 * an attribute to build a bigger template; you get a self-embedded 142 * template. 148 /** expr is a string expression that says what template to load * [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
DeclNodes.inc | 178 #ifndef TEMPLATE 179 # define TEMPLATE(Type, Base) NAMED(Type, Base) 181 ABSTRACT_DECL(TEMPLATE(Template, NamedDecl)) 183 # define BUILTINTEMPLATE(Type, Base) TEMPLATE(Type, Base) 189 # define REDECLARABLETEMPLATE(Type, Base) TEMPLATE(Type, Base) 221 # define TEMPLATETEMPLATEPARM(Type, Base) TEMPLATE(Type, Base) 226 DECL_RANGE(Template, BuiltinTemplate, TemplateTemplateParm) 228 #undef TEMPLATE
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
DeclNodes.inc | 178 #ifndef TEMPLATE 179 # define TEMPLATE(Type, Base) NAMED(Type, Base) 181 ABSTRACT_DECL(TEMPLATE(Template, NamedDecl)) 183 # define BUILTINTEMPLATE(Type, Base) TEMPLATE(Type, Base) 189 # define REDECLARABLETEMPLATE(Type, Base) TEMPLATE(Type, Base) 221 # define TEMPLATETEMPLATEPARM(Type, Base) TEMPLATE(Type, Base) 226 DECL_RANGE(Template, BuiltinTemplate, TemplateTemplateParm) 228 #undef TEMPLATE
|
/external/v8/src/ |
messages.h | 301 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
re.py | 114 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X",
129 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking
201 def template(pattern, flags=0):
function 202 "Compile a template pattern, returning a pattern object"
279 def _expand(pattern, match, template):
281 template = sre_parse.parse_template(template, pattern)
282 return sre_parse.expand_template(template, match)
284 def _subx(pattern, template):
286 template = _compile_repl(template, pattern) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
re.py | 110 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X",
125 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking
197 def template(pattern, flags=0):
function 198 "Compile a template pattern, returning a pattern object"
265 def _expand(pattern, match, template):
267 template = sre_parse.parse_template(template, pattern)
268 return sre_parse.expand_template(template, match)
270 def _subx(pattern, template):
272 template = _compile_repl(template, pattern) [all...] |
rexec.py | 52 TEMPLATE = """
64 exec TEMPLATE % (m, m)
|
/external/python/cpython2/Lib/ |
re.py | 114 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X", 129 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking 201 def template(pattern, flags=0): function 202 "Compile a template pattern, returning a pattern object" 279 def _expand(pattern, match, template): 281 template = sre_parse.parse_template(template, pattern) 282 return sre_parse.expand_template(template, match) 284 def _subx(pattern, template): 286 template = _compile_repl(template, pattern [all...] |
rexec.py | 52 TEMPLATE = """ 64 exec TEMPLATE % (m, m)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
re.py | 110 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X", 125 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking 197 def template(pattern, flags=0): function 198 "Compile a template pattern, returning a pattern object" 263 def _expand(pattern, match, template): 265 template = sre_parse.parse_template(template, pattern) 266 return sre_parse.expand_template(template, match) 268 def _subx(pattern, template): 270 template = _compile_repl(template, pattern [all...] |
rexec.py | 52 TEMPLATE = """ 64 exec TEMPLATE % (m, m)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
re.py | 110 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X", 125 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking 197 def template(pattern, flags=0): function 198 "Compile a template pattern, returning a pattern object" 263 def _expand(pattern, match, template): 265 template = sre_parse.parse_template(template, pattern) 266 return sre_parse.expand_template(template, match) 268 def _subx(pattern, template): 270 template = _compile_repl(template, pattern [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
re.py | 110 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X", 125 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking 197 def template(pattern, flags=0): function 198 "Compile a template pattern, returning a pattern object" 263 def _expand(pattern, match, template): 265 template = sre_parse.parse_template(template, pattern) 266 return sre_parse.expand_template(template, match) 268 def _subx(pattern, template): 270 template = _compile_repl(template, pattern [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
re.py | 110 "compile", "purge", "template", "escape", "I", "L", "M", "S", "X", 125 T = TEMPLATE = sre_compile.SRE_FLAG_TEMPLATE # disable backtracking 197 def template(pattern, flags=0): function 198 "Compile a template pattern, returning a pattern object" 263 def _expand(pattern, match, template): 265 template = sre_parse.parse_template(template, pattern) 266 return sre_parse.expand_template(template, match) 268 def _subx(pattern, template): 270 template = _compile_repl(template, pattern [all...] |
/external/python/cpython2/Lib/plat-mac/ |
buildtools.py | 30 # Template file (searched on sys.path) 31 TEMPLATE = "PythonInterpreter" 51 def findtemplate(template=None): 52 """Locate the applet template along sys.path""" 55 if not template: 56 template=TEMPLATE 58 file = os.path.join(p, template) 65 raise BuildError, "Template %r not found on sys.path" % (template,) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
buildtools.py | 30 # Template file (searched on sys.path) 31 TEMPLATE = "PythonInterpreter" 51 def findtemplate(template=None): 52 """Locate the applet template along sys.path""" 55 if not template: 56 template=TEMPLATE 58 file = os.path.join(p, template) 65 raise BuildError, "Template %r not found on sys.path" % (template,) [all...] |