Home
last modified time | relevance | path

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

12

/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/cronet/build/util/
DBUILD.gn10 template_file = "chromium_git_revision.h.in"
13 template_file,
26 rebase_path(template_file, root_build_dir),
Dprocess_version.gni29 # template_file (optional):
73 if (defined(invoker.template_file)) {
74 inputs += [ invoker.template_file ]
102 if (defined(invoker.template_file)) {
103 args += [ rebase_path(invoker.template_file, root_build_dir) ]
/external/angle/build/util/
DBUILD.gn10 template_file = "chromium_git_revision.h.in"
13 template_file,
26 rebase_path(template_file, root_build_dir),
Dprocess_version.gni29 # template_file (optional):
73 if (defined(invoker.template_file)) {
74 inputs += [ invoker.template_file ]
102 if (defined(invoker.template_file)) {
103 args += [ rebase_path(invoker.template_file, root_build_dir) ]
/external/openthread/third_party/mbedtls/repo/tests/scripts/
Dgenerate_test_code.py926 def add_input_info(funcs_file, data_file, template_file, argument
940 snippets['test_main_file'] = template_file
968 def write_test_source_file(template_file, c_file, snippets): argument
977 with open(template_file, 'r') as template_f, open(c_file, 'w') as c_f:
1042 template_file = input_info['template_file']
1050 ('Template file', template_file),
1060 add_input_info(funcs_file, data_file, template_file,
1065 write_test_source_file(template_file, c_file, snippets)
1134 template_file=args.template_file,
/external/mbedtls/tests/scripts/
Dgenerate_test_code.py932 def add_input_info(funcs_file, data_file, template_file, argument
946 snippets['test_main_file'] = template_file
974 def write_test_source_file(template_file, c_file, snippets): argument
996 with open(template_file, 'r') as template_f, open(c_file, 'w') as c_f:
1064 template_file = input_info['template_file']
1072 ('Template file', template_file),
1082 add_input_info(funcs_file, data_file, template_file,
1087 write_test_source_file(template_file, c_file, snippets)
1156 template_file=args.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/cronet/patches/
D0012-cronet-Fix-BUILD.gn-to-follow-aosp-2374764.patch22 - template_file = "api/src/org/chromium/net/ApiVersion.template"
23 + template_file = "api/src/android/net/http/ApiVersion.template"
/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/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/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/cronet/build/
DBUILD.gn76 template_file = "metadata.json.in"
/external/angle/build/
DBUILD.gn76 template_file = "metadata.json.in"
/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/zucchini/
DBUILD.gn152 template_file = "zucchini_exe_version.rc.version"
/external/cronet/components/cronet/
DBUILD.gn27 template_file = "//components/cronet/version.h.in"

12