Home
last modified time | relevance | path

Searched refs:template_string (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/bazelbuild-rules_python/python/private/
H A Denvsubst.bzl17 def envsubst(template_string, varnames, getenv):
21 syntaxes in the `template_string`, looking up each `VARNAME`
34 template_string: String that may contain variables to be expanded.
36 `template_string`.
42 `template_string` with environment variables expanded according
47 return template_string
51 template_string = template_string.replace("$%s" % varname, value)
52 template_string = template_string.replace("${%s}" % varname, value)
53 segments = template_string.split("${%s:-" % varname)
54 template_string = segments.pop(0)
[all …]
/aosp_15_r20/external/python/mako/mako/ext/
Dturbogears.py38 def load_template(self, templatename, template_string=None): argument
40 if template_string is not None:
41 return Template(template_string, **self.tmpl_options)
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/lib/gpr/windows/
Dtmpfile.cc46 grpc_core::TcharString template_string = grpc_core::CharToTchar(prefix); in gpr_tmpfile() local
53 success = GetTempFileName(tmp_path, template_string.c_str(), 0, tmp_filename); in gpr_tmpfile()
/aosp_15_r20/external/grpc-grpc/src/core/lib/gpr/windows/
H A Dtmpfile.cc46 grpc_core::TcharString template_string = grpc_core::CharToTchar(prefix); in gpr_tmpfile() local
53 success = GetTempFileName(tmp_path, template_string.c_str(), 0, tmp_filename); in gpr_tmpfile()
/aosp_15_r20/external/grpc-grpc/src/compiler/
H A Dschema_interface.h93 const char* template_string) = 0;
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/compiler/
Dschema_interface.h93 const char* template_string) = 0;
/aosp_15_r20/external/flatbuffers/grpc/src/compiler/
H A Dschema_interface.h93 const char *template_string) = 0;
/aosp_15_r20/external/python/cpython2/Modules/
Dpyexpat.c1227 PyObject *template_string = NULL; variable