Home
last modified time | relevance | path

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

12

/tools/net/sunrpc/xdrgen/generators/
A Dpointer.py30 template = get_jinja2_template(environment, "definition", field.template)
39 template = get_jinja2_template(environment, "definition", field.template)
47 template = get_jinja2_template(environment, "definition", field.template)
50 template = get_jinja2_template(environment, "definition", field.template)
53 template = get_jinja2_template(environment, "definition", field.template)
62 template = get_jinja2_template(environment, "definition", field.template)
98 template = get_jinja2_template(environment, "decoder", field.template)
107 template = get_jinja2_template(environment, "decoder", field.template)
115 template = get_jinja2_template(environment, "decoder", field.template)
123 template = get_jinja2_template(environment, "decoder", field.template)
[all …]
A Dstruct.py30 template = get_jinja2_template(environment, "definition", field.template)
39 template = get_jinja2_template(environment, "definition", field.template)
47 template = get_jinja2_template(environment, "definition", field.template)
50 template = get_jinja2_template(environment, "definition", field.template)
53 template = get_jinja2_template(environment, "definition", field.template)
62 template = get_jinja2_template(environment, "definition", field.template)
98 template = get_jinja2_template(environment, "decoder", field.template)
107 template = get_jinja2_template(environment, "decoder", field.template)
115 template = get_jinja2_template(environment, "decoder", field.template)
123 template = get_jinja2_template(environment, "decoder", field.template)
[all …]
A Dtypedef.py23 template = get_jinja2_template(environment, "declaration", node.template)
32 template = get_jinja2_template(environment, "declaration", node.template)
35 template = get_jinja2_template(environment, "declaration", node.template)
38 template = get_jinja2_template(environment, "declaration", node.template)
41 template = get_jinja2_template(environment, "declaration", node.template)
50 template = get_jinja2_template(environment, "declaration", node.template)
115 template = get_jinja2_template(environment, "decoder", node.template)
123 template = get_jinja2_template(environment, "decoder", node.template)
131 template = get_jinja2_template(environment, "decoder", node.template)
139 template = get_jinja2_template(environment, "decoder", node.template)
[all …]
A Dunion.py29 template.render(
46 template.render(
96 template = get_jinja2_template(environment, "decoder", node.arm.template)
98 template.render(
106 print(template.render())
126 template = get_jinja2_template(environment, "decoder", default_case.arm.template)
128 template.render(
180 template = get_jinja2_template(environment, "encoder", node.arm.template)
182 template.render(
210 template.render(
[all …]
A Denum.py21 template = self.environment.get_template("declaration/enum.j2")
22 print(template.render(name=node.name))
26 template = self.environment.get_template("definition/open.j2")
27 print(template.render(name=node.name))
37 print(template.render(name=node.name))
44 template = self.environment.get_template("decoder/enum.j2")
45 print(template.render(name=node.name))
52 template = self.environment.get_template("encoder/enum.j2")
53 print(template.render(name=node.name))
58 template = self.environment.get_template("maxsize/enum.j2")
[all …]
A 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())
67 template = environment.get_template("decoder/argument.j2")
81 template = environment.get_template("decoder/result.j2")
83 print(template.render(program=program, result=result))
95 template = environment.get_template("encoder/argument.j2")
[all …]
A 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)))
A 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(
A Dconstant.py19 template = self.environment.get_template("definition.j2")
20 print(template.render(name=node.name, value=node.value))
A Dsource_top.py25 template = self.environment.get_template(self.peer + ".j2")
27 template.render(
/tools/testing/selftests/pidfd/
A Dpidfd_bind_mount.c21 char template[PATH_MAX]; in FIXTURE() local
36 ASSERT_LE(snprintf(self->template, PATH_MAX, "%s", P_tmpdir "/pidfd_bind_mount_XXXXXX"), PATH_MAX); in FIXTURE_SETUP()
37 self->fd_tmp = mkstemp(self->template); in FIXTURE_SETUP()
49 ASSERT_EQ(umount2(self->template, 0), 0); in FIXTURE_TEARDOWN()
50 ASSERT_EQ(unlink(self->template), 0); in FIXTURE_TEARDOWN()
103 fd_pidfd_mnt = openat(-EBADF, self->template, O_RDONLY | O_NOCTTY | O_CLOEXEC); in TEST_F()
/tools/net/sunrpc/xdrgen/
A Dxdr_ast.py128 template: str = "fixed_length_opaque" variable in _XdrFixedLengthOpaque
149 template: str = "variable_length_opaque" variable in _XdrVariableLengthOpaque
173 template: str = "string" variable in _XdrString
198 template: str = "fixed_length_array" variable in _XdrFixedLengthArray
221 template: str = "variable_length_array" variable in _XdrVariableLengthArray
246 template: str = "optional_data" variable in _XdrOptionalData
269 template: str = "basic" variable in _XdrBasic
289 template: str = "void" variable in _XdrVoid
433 template: str = "case_spec" variable in _XdrCaseSpec
441 template: str = "default_spec" variable in _XdrDefaultSpec
/tools/perf/scripts/python/
A Dflamegraph.py160 if os.path.isfile(self.args.template):
161 template = f"file://{self.args.template}"
189 template = ("https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/"
194 with urllib.request.urlopen(template) as url_template:
/tools/perf/Documentation/
A Dasciidoc.conf72 template::[header-declarations]
/tools/testing/selftests/bpf/
A 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/lib/perf/Documentation/
A Dasciidoc.conf72 template::[header-declarations]
/tools/bpf/bpftool/
A 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/
A DMakefile109 < libthermal_tools.pc.template > $@
/tools/lib/thermal/
A DMakefile119 < libthermal.pc.template > $@
/tools/testing/selftests/ftrace/
A DREADME26 Copy test.d/template to your testcase (whose filename must have *.tc
/tools/lib/perf/
A DMakefile161 < libperf.pc.template > $@
/tools/perf/util/
A Dhist.c523 struct hist_entry *template, in hist_entry__init() argument
527 *he = *template; in hist_entry__init()
552 memcpy(he->branch_info, template->branch_info, in hist_entry__init()
562 he->mem_info = mem_info__clone(template->mem_info); in hist_entry__init()
636 static struct hist_entry *hist_entry__new(struct hist_entry *template, in hist_entry__new() argument
639 struct hist_entry_ops *ops = template->ops; in hist_entry__new()
645 ops = template->ops = &default_ops; in hist_entry__new()
652 err = hist_entry__init(he, template, sample_self, callchain_size); in hist_entry__new()
A Dpmu.c807 const char **template; in pmu_cpumask() local
809 for (template = templates; *template; template++) { in pmu_cpumask()
817 io.fd = perf_pmu__pathname_fd(dirfd, pmu_name, *template, O_RDONLY); in pmu_cpumask()
/tools/lib/bpf/
A DMakefile174 < libbpf.pc.template > $@
/tools/testing/selftests/tc-testing/creating-testcases/
A DAddingTestCases.txt10 template.json for the required JSON format for test cases.

Completed in 42 milliseconds

12