| /tools/net/sunrpc/xdrgen/generators/ |
| D | pointer.py | 21 template = get_jinja2_template(environment, "declaration", "close") 22 print(template.render(name=node.name)) 30 template = get_jinja2_template(environment, "definition", field.template) 32 template.render( 39 template = get_jinja2_template(environment, "definition", field.template) 41 template.render( 47 template = get_jinja2_template(environment, "definition", field.template) 48 print(template.render(name=field.name)) 50 template = get_jinja2_template(environment, "definition", field.template) 51 print(template.render(name=field.name)) [all …]
|
| D | struct.py | 21 template = get_jinja2_template(environment, "declaration", "close") 22 print(template.render(name=node.name)) 30 template = get_jinja2_template(environment, "definition", field.template) 32 template.render( 39 template = get_jinja2_template(environment, "definition", field.template) 41 template.render( 47 template = get_jinja2_template(environment, "definition", field.template) 48 print(template.render(name=field.name)) 50 template = get_jinja2_template(environment, "definition", field.template) 51 print(template.render(name=field.name)) [all …]
|
| D | typedef.py | 23 template = get_jinja2_template(environment, "declaration", node.template) 25 template.render( 32 template = get_jinja2_template(environment, "declaration", node.template) 33 print(template.render(name=node.name)) 35 template = get_jinja2_template(environment, "declaration", node.template) 36 print(template.render(name=node.name, size=node.size)) 38 template = get_jinja2_template(environment, "declaration", node.template) 39 print(template.render(name=node.name)) 41 template = get_jinja2_template(environment, "declaration", node.template) 43 template.render( [all …]
|
| D | union.py | 18 template = get_jinja2_template(environment, "declaration", "close") 19 print(template.render(name=node.name)) 27 template = get_jinja2_template(environment, "definition", "switch_spec") 29 template.render( 44 template = get_jinja2_template(environment, "definition", "case_spec") 46 template.render( 56 template = get_jinja2_template(environment, "definition", "open") 57 print(template.render(name=node.name)) 67 template = get_jinja2_template(environment, "definition", "close") 68 print(template.render(name=node.name)) [all …]
|
| D | enum.py | 21 template = self.environment.get_template("declaration/close.j2") 22 print(template.render(name=node.name)) 26 template = self.environment.get_template("definition/open.j2") 27 print(template.render(name=node.name)) 29 template = self.environment.get_template("definition/enumerator.j2") 31 print(template.render(name=enumerator.name, value=enumerator.value)) 33 template = self.environment.get_template("definition/close.j2") 34 print(template.render(name=node.name)) 38 template = self.environment.get_template("decoder/enum.j2") 39 print(template.render(name=node.name)) [all …]
|
| D | program.py | 16 template = environment.get_template("definition/open.j2") 17 print(template.render(program=program.upper())) 19 template = environment.get_template("definition/procedure.j2") 23 template.render( 29 template = environment.get_template("definition/close.j2") 30 print(template.render()) 43 template = environment.get_template("declaration/argument.j2") 45 print(template.render(program=program, argument=argument)) 53 template = environment.get_template("declaration/result.j2") 55 print(template.render(program=program, result=result)) [all …]
|
| D | header_bottom.py | 24 template = get_jinja2_template(self.environment, "declaration", "header") 25 print(template.render(infix=header_guard_infix(filename))) 29 template = get_jinja2_template(self.environment, "definition", "header") 30 print(template.render(infix=header_guard_infix(filename)))
|
| D | header_top.py | 24 template = get_jinja2_template(self.environment, "declaration", "header") 26 template.render( 35 template = get_jinja2_template(self.environment, "definition", "header") 37 template.render(
|
| D | constant.py | 19 template = self.environment.get_template("definition.j2") 20 print(template.render(name=node.name, value=node.value))
|
| D | source_top.py | 25 template = self.environment.get_template(self.peer + ".j2") 27 template.render(
|
| /tools/perf/scripts/python/ |
| D | flamegraph.py | 145 if os.path.isfile(self.args.template): 146 template = f"file://{self.args.template}" 171 …template = "https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/d3-flamegraph-base.ht… 175 with urllib.request.urlopen(template) as template: 177 l.decode("utf-8") for l in template.readlines()
|
| /tools/net/sunrpc/xdrgen/ |
| D | xdr_ast.py | 78 template: str = "fixed_length_opaque" variable in _XdrFixedLengthOpaque 87 template: str = "variable_length_opaque" variable in _XdrVariableLengthOpaque 96 template: str = "variable_length_string" variable in _XdrVariableLengthString 106 template: str = "fixed_length_array" variable in _XdrFixedLengthArray 116 template: str = "variable_length_array" variable in _XdrVariableLengthArray 125 template: str = "optional_data" variable in _XdrOptionalData 134 template: str = "basic" variable in _XdrBasic 141 template: str = "void" variable in _XdrVoid 199 template: str = "case_spec" variable in _XdrCaseSpec 207 template: str = "default_spec" variable in _XdrDefaultSpec
|
| /tools/perf/Documentation/ |
| D | asciidoc.conf | 72 template::[header-declarations]
|
| /tools/testing/selftests/bpf/ |
| D | sdt.h | 135 template<typename __sdt_T> 142 template<> struct __sdt_type<T> { static const bool __sdt_signed = true; }; 144 template<> struct __sdt_type<T> { static const bool __sdt_signed = ((CT)(-1) < 1); }; 178 template<typename __sdt_E> 181 template<typename __sdt_E, size_t __sdt_N>
|
| /tools/testing/kunit/android/ |
| D | README | 92 template/local_min --template:map test=suite/test_mapping_suite \
|
| /tools/lib/perf/Documentation/ |
| D | asciidoc.conf | 72 template::[header-declarations]
|
| /tools/bpf/bpftool/ |
| D | gen.c | 408 static void codegen(const char *template, ...) in codegen() argument 416 n = strlen(template); in codegen() 420 src = template; in codegen() 431 src - template - 1, template, c); in codegen() 442 src - template - 1, template); in codegen() 460 va_start(args, template); in codegen()
|
| /tools/thermal/lib/ |
| D | Makefile | 122 < libthermal_tools.pc.template > $@
|
| /tools/lib/thermal/ |
| D | Makefile | 132 < libthermal.pc.template > $@
|
| /tools/testing/selftests/ftrace/ |
| D | README | 26 Copy test.d/template to your testcase (whose filename must have *.tc
|
| /tools/lib/perf/ |
| D | Makefile | 170 < libperf.pc.template > $@
|
| /tools/perf/util/ |
| D | hist.c | 443 struct hist_entry *template, in hist_entry__init() argument 447 *he = *template; in hist_entry__init() 472 memcpy(he->branch_info, template->branch_info, in hist_entry__init() 482 he->mem_info = mem_info__clone(template->mem_info); in hist_entry__init() 556 static struct hist_entry *hist_entry__new(struct hist_entry *template, in hist_entry__new() argument 559 struct hist_entry_ops *ops = template->ops; in hist_entry__new() 565 ops = template->ops = &default_ops; in hist_entry__new() 572 err = hist_entry__init(he, template, sample_self, callchain_size); in hist_entry__new()
|
| D | pmu.c | 757 const char **template; in pmu_cpumask() local 763 for (template = templates; *template; template++) { in pmu_cpumask() 764 file = perf_pmu__open_file_at(&pmu, dirfd, *template); in pmu_cpumask()
|
| /tools/lib/bpf/ |
| D | Makefile | 187 < libbpf.pc.template > $@
|
| /tools/testing/selftests/tc-testing/creating-testcases/ |
| D | AddingTestCases.txt | 10 template.json for the required JSON format for test cases.
|