Searched refs:template (Results 1 – 9 of 9) sorted by relevance
| /tools/typed/ |
| A D | type_gen.py | 50 def apply_template(tree, template, public_only=False): argument 51 if template is None: 54 code = tree.apply_template(template, public_only=public_only) 133 result = apply_template(ir, options.template, 151 if options.template is not None: 152 deps.add(options.template.name) 164 if options.template is None:
|
| A D | ir.py | 145 template = Template(file=template_file, searchList=ns) 146 return str(template) 1516 template = templates['bitfield'] 1518 template = Template.compile(file=open(self._template, 'r', 1520 templates['bitfield'] = template 1522 t = template(namespaces=(self)) 2498 template = templates['bitfield-type'] 2500 template = Template.compile(file=open(self._template, 'r', 2502 templates['bitfield-type'] = template 2504 t = template(namespaces=(ns))
|
| /tools/build/ |
| A D | __main__.py | 1128 def add_object_event_template(module, template, object_str, target): argument 1135 def add_object_type_template(module, template, object_str, target): argument 1227 depends=[template], TEMPLATE=relpath(template), 1233 depends=[template], TEMPLATE=relpath(template), 1258 depends=[template], TEMPLATE=relpath(template), 1299 TEMPLATE=relpath(template), ABI=abi_arch, 1301 depends=[types_pickle, template]) 1320 TEMPLATE=relpath(template), ABI=abi_arch, 1322 depends=[types_pickle, template]) 1398 TEMPLATE=relpath(template), [all …]
|
| /tools/codegen/ |
| A D | codegen.py | 104 sys.path.append(os.path.dirname(options.template.name)) 105 output = str(Template(file=options.template, 129 deps.add(options.template.name)
|
| /tools/registers/ |
| A D | register_gen.py | 84 def generate_accessors(template, input, ns): argument 120 output = str(Template(file=template, searchList=ns)) 155 output += generate_accessors(options.template, input, {})
|
| /tools/events/ |
| A D | event_gen.py | 129 template = Template(file=options.template, searchList=ns) 131 result = str(template)
|
| /tools/hypercalls/ |
| A D | hypercall.py | 150 template = Template(file=template_file, searchList=ns) 151 result = str(template)
|
| A D | hypercall_gen.py | 243 result = apply_template(options.template) 245 if options.formatter and not options.template.name.endswith('.S.tmpl'):
|
| /tools/objects/ |
| A D | object_gen.py | 55 output += str(Template(file=options.template, searchList=ns))
|
Completed in 62 milliseconds