Home
last modified time | relevance | path

Searched refs:template_file (Results 1 – 17 of 17) sorted by relevance

/external/testng/
Dgenerate-version-file28 template_file="$1"
33 if ! [[ -f $template_file ]]; then
34 echo "Error: Template file $template_file does not exist." >&2
51 if ! grep --silent "$template_variable" "$template_file"; then
52 …echo "Error: Template file $template_file has no instances of template variable $template_variable…
59 sed -e "s:$template_variable:$stored_value:g" "$template_file"
/external/vixl/tools/
Dgenerate_tests.py699 def DoNotEditComment(template_file): argument
707 """.format(template_file)
710 template_file = template_files[generator.test_type]
712 with open(template_file, "r") as f:
720 'do_not_edit_comment': DoNotEditComment(template_file),
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/test_app/
Dbase_runner.py60 def _render_template(template_file, **kwargs): argument
61 template = mako.template.Template(filename=str(template_file))
84 template_file = self._template_file_from_name(template_name)
85 logger.debug("Loading k8s manifest template: %s", template_file)
87 yaml_doc = self._render_template(template_file, **kwargs)
/external/grpc-grpc/tools/run_tests/python_utils/
Dreport_utils.py117 template_file = 'tools/run_tests/interop/interop_html_report.template'
119 mytemplate = Template(filename=template_file, format_exceptions=True)
125 print('Failed to find the template %s: %s' % (template_file, e))
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Dreport_utils.py130 template_file = 'tools/run_tests/interop/interop_html_report.template'
132 mytemplate = Template(filename=template_file, format_exceptions=True)
138 print('Failed to find the template %s: %s' % (template_file, e))
/external/icu/tools/icu4c_srcgen/
Dgenutil.py39 def generate_shim(functions, includes, suffix, template_file): argument
46 return JINJA_ENV.get_template(template_file).render(data)
48 def generate_symbol_txt(shim_functions, extra_function_names, template_file): argument
56 return JINJA_ENV.get_template(template_file).render(data)
/external/arm-trusted-firmware/lib/romlib/
Dromlib_generator.py105 with open(self.TEMPLATE_DIR + name, "r") as template_file:
109 template_lines = template_file.readlines()
117 template_data = template_file.read()
/external/libaom/libaom/test/
Dvisual_metrics.py334 template_file = open(variables[1], "r")
335 page_template = template_file.read()
336 template_file.close()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_archrast.py310 template_file = os.path.join(curdir, 'templates', filename)
315 MakoTemplateWriter.to_file(template_file, output_fullpath,
/external/wayland/
Dimport_official_snapshot.py137 with open('./src/wayland-version.h.in', 'rt') as template_file:
138 content = template_file.read()
/external/angle/third_party/vulkan-deps/glslang/src/
DBUILD.gn54 template_file = "build_info.h.tmpl"
60 template_file,
66 rebase_path(template_file, root_build_dir),
/external/deqp-deps/glslang/
DBUILD.gn54 template_file = "build_info.h.tmpl"
60 template_file,
66 rebase_path(template_file, root_build_dir),
/external/selinux/libsemanage/src/
Dgenhomedircon.c503 FILE *template_file = NULL; in make_template() local
506 template_file = fopen(s->homedir_template_path, "r"); in make_template()
507 if (!template_file) in make_template()
509 template_data = semanage_slurp_file_filter(template_file, pred); in make_template()
510 fclose(template_file); in make_template()
/external/python/cpython3/Modules/clinic/
D_winapi.c.h139 DWORD flags_and_attributes, HANDLE template_file);
151 HANDLE template_file; in _winapi_CreateFile() local
155 …&share_mode, &security_attributes, &creation_disposition, &flags_and_attributes, &template_file)) { in _winapi_CreateFile()
158 …ccess, share_mode, security_attributes, creation_disposition, flags_and_attributes, template_file); in _winapi_CreateFile()
/external/python/cpython3/Modules/
D_winapi.c459 DWORD flags_and_attributes, HANDLE template_file) in _winapi_CreateFile_impl() argument
474 flags_and_attributes, template_file); in _winapi_CreateFile_impl()
/external/dagger2/tools/
Dmaven.bzl31 template_file = "//tools:pom-template.xml",
/external/tensorflow/tensorflow/
Dtensorflow.bzl1968 template = ctx.file.template_file,
1977 template = ctx.file.template_file,
1988 "template_file": attr.label(
2042 template_file = version_script,