Home
last modified time | relevance | path

Searched refs:get_template (Results 1 – 25 of 39) sorted by relevance

12

/external/python/jinja/tests/
Dtest_loader.py24 tmpl = env.get_template("justdict.html")
26 pytest.raises(TemplateNotFound, env.get_template, "missing.html")
30 tmpl = env.get_template("test.html")
32 pytest.raises(TemplateNotFound, env.get_template, "missing.html")
40 e.get_template("foo")
42 e.get_template("foo/test.html")
46 tmpl = env.get_template("justdict.html")
48 tmpl = env.get_template("test.html")
50 pytest.raises(TemplateNotFound, env.get_template, "missing.html")
54 tmpl = env.get_template("justfunction.html")
[all …]
Dtest_inheritance.py78 tmpl = env.get_template("layout")
84 tmpl = env.get_template("level1")
90 tmpl = env.get_template("level2")
97 tmpl = env.get_template("level3")
103 tmpl = env.get_template("level4")
122 tmpl = env.get_template("c")
126 env.get_template("working")
144 tmpl = env.get_template("b")
157 tmpl = env.get_template("child")
172 tmpl = env.get_template("child")
[all …]
Dtest_ext.py264 tmpl = i18n_env.get_template("child.html")
268 tmpl = i18n_env.get_template("plural.html")
273 tmpl = i18n_env.get_template("plural2.html")
296 tmpl = i18n_env.get_template("stringformat.html")
439 tmpl = newstyle_i18n_env.get_template("child.html")
443 tmpl = newstyle_i18n_env.get_template("plural.html")
460 tmpl = newstyle_i18n_env.get_template("stringformat.html")
464 tmpl = newstyle_i18n_env.get_template("ngettext.html")
491 tmpl = newstyle_i18n_env.get_template("ngettext_long.html")
512 t1 = newstyle_i18n_env.get_template("transvars1.html")
[all …]
Dtest_debug.py34 tmpl = fs_env.get_template("broken.html")
51 lambda: fs_env.get_template("syntaxerror.html"),
89 t = e.get_template("inc")
113 tmpl = fs_env.get_template("test.html")
Dtest_regression.py287 env.get_template("foo/bar.html")
405 a = env.get_template("a.html")
406 b = env.get_template("b.html")
407 c = env.get_template("c.html")
423 t = env.get_template("child.html")
553 assert env.get_template("main").render() == "foobar"
564 assert env.get_template("main").render() == "123"
586 assert env.get_template("test").render(foobar="test") == "test"
Dtest_imports.py111 tmpl = env.get_template("test", globals={"foo": "bar"})
114 tmpl = env.get_template("test1")
127 tmpl = env.get_template("test", globals={"foo": "bar"})
139 tmpl = env.get_template("test", globals={"foo": "bar"})
200 assert env.get_template("main").render() == "123"
Dtest_bytecode_cache.py18 tmpl = env.get_template("test.html")
20 pytest.raises(TemplateNotFound, env.get_template, "missing.html")
Dtest_api.py107 assert env.get_template(t) is t
120 env.get_template(t)
145 t = env.get_template("test.txt")
147 t = env.get_template("test.html")
/external/python/google-api-python-client/samples/appengine/
Dmain.py85 template = JINJA_ENVIRONMENT.get_template('grant.html')
98 template = JINJA_ENVIRONMENT.get_template('welcome.html')
/external/wayland/doc/doxygen/
Dgen-doxygen.py37 def get_template(outformat): function
43 for l in get_template(outformat):
/external/pigweed/pw_console/py/
Dhelp_window_test.py38 template = _jinja_env.get_template('keybind_list.jinja')
40 mock_app.get_template = MagicMock(return_value=template)
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/
DRuleReturnScope.pm17 sub get_template { subroutine
/external/python/jinja/examples/basic/
Dinheritance.py13 print(env.get_template("c").render())
Dtest.py28 tmpl = env.get_template("child.html")
Ddebugger.py5 tmpl = env.get_template("broken.html")
/external/python/python-api-core/scripts/readme-gen/
Dreadme_gen.py33 README_TMPL = jinja_env.get_template('README.tmpl.rst')
/external/python/google-api-python-client/scripts/readme-gen/
Dreadme_gen.py33 README_TMPL = jinja_env.get_template('README.tmpl.rst')
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/
Dtemplate_expander.py29 template = jinja_env.get_template(path_to_template)
/external/mesa3d/.gitlab-ci/
Dgenerate_lava.py28 template = env.get_template(os.path.basename(args.template))
/external/autotest/frontend/afe/
Dviews.py78 t = loader.get_template('500.html')
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpc_prefixed/
Dgenerate.py75 template = env.get_template(template_name)
/external/icu/tools/icu4c_srcgen/
Dgenutil.py46 return JINJA_ENV.get_template(template_file).render(data)
56 return JINJA_ENV.get_template(template_file).render(data)
/external/mbedtls/scripts/
Dgenerate_driver_wrappers.py58 template = environment.get_template(os.path.basename(template_path))
/external/cronet/build/android/gyp/
Djinja_template.py56 template = self.env.get_template(input_rel_path)
/external/angle/build/android/gyp/
Djinja_template.py56 template = self.env.get_template(input_rel_path)

12