Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 26) sorted by relevance

12

/tools/net/sunrpc/xdrgen/generators/
Dpointer.py21 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 …]
Dstruct.py21 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 …]
Dtypedef.py23 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 …]
Dunion.py18 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 …]
Denum.py21 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 …]
Dprogram.py16 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 …]
Dheader_bottom.py24 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)))
Dheader_top.py24 template = get_jinja2_template(self.environment, "declaration", "header")
26 template.render(
35 template = get_jinja2_template(self.environment, "definition", "header")
37 template.render(
Dconstant.py19 template = self.environment.get_template("definition.j2")
20 print(template.render(name=node.name, value=node.value))
Dsource_top.py25 template = self.environment.get_template(self.peer + ".j2")
27 template.render(
/tools/perf/scripts/python/
Dflamegraph.py145 if os.path.isfile(self.args.template):
146 template = f"file://{self.args.template}"
171template = "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/
Dxdr_ast.py78 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/
Dasciidoc.conf72 template::[header-declarations]
/tools/testing/selftests/bpf/
Dsdt.h135 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/
DREADME92 template/local_min --template:map test=suite/test_mapping_suite \
/tools/lib/perf/Documentation/
Dasciidoc.conf72 template::[header-declarations]
/tools/bpf/bpftool/
Dgen.c408 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/
DMakefile122 < libthermal_tools.pc.template > $@
/tools/lib/thermal/
DMakefile132 < libthermal.pc.template > $@
/tools/testing/selftests/ftrace/
DREADME26 Copy test.d/template to your testcase (whose filename must have *.tc
/tools/lib/perf/
DMakefile170 < libperf.pc.template > $@
/tools/perf/util/
Dhist.c443 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()
Dpmu.c757 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/
DMakefile187 < libbpf.pc.template > $@
/tools/testing/selftests/tc-testing/creating-testcases/
DAddingTestCases.txt10 template.json for the required JSON format for test cases.

12