Searched refs:get_template (Results 1 – 25 of 39) sorted by relevance
12
/external/python/jinja/tests/ |
D | test_loader.py | 24 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 …]
|
D | test_inheritance.py | 78 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 …]
|
D | test_ext.py | 264 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 …]
|
D | test_debug.py | 34 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")
|
D | test_regression.py | 287 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"
|
D | test_imports.py | 111 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"
|
D | test_bytecode_cache.py | 18 tmpl = env.get_template("test.html") 20 pytest.raises(TemplateNotFound, env.get_template, "missing.html")
|
D | test_api.py | 107 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/ |
D | main.py | 85 template = JINJA_ENVIRONMENT.get_template('grant.html') 98 template = JINJA_ENVIRONMENT.get_template('welcome.html')
|
/external/wayland/doc/doxygen/ |
D | gen-doxygen.py | 37 def get_template(outformat): function 43 for l in get_template(outformat):
|
/external/pigweed/pw_console/py/ |
D | help_window_test.py | 38 template = _jinja_env.get_template('keybind_list.jinja') 40 mock_app.get_template = MagicMock(return_value=template)
|
/external/antlr/runtime/Perl5/lib/ANTLR/Runtime/ |
D | RuleReturnScope.pm | 17 sub get_template { subroutine
|
/external/python/jinja/examples/basic/ |
D | inheritance.py | 13 print(env.get_template("c").render())
|
D | test.py | 28 tmpl = env.get_template("child.html")
|
D | debugger.py | 5 tmpl = env.get_template("broken.html")
|
/external/python/python-api-core/scripts/readme-gen/ |
D | readme_gen.py | 33 README_TMPL = jinja_env.get_template('README.tmpl.rst')
|
/external/python/google-api-python-client/scripts/readme-gen/ |
D | readme_gen.py | 33 README_TMPL = jinja_env.get_template('README.tmpl.rst')
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | template_expander.py | 29 template = jinja_env.get_template(path_to_template)
|
/external/mesa3d/.gitlab-ci/ |
D | generate_lava.py | 28 template = env.get_template(os.path.basename(args.template))
|
/external/autotest/frontend/afe/ |
D | views.py | 78 t = loader.get_template('500.html')
|
/external/rust/crates/grpcio-sys/grpc/tools/distrib/python/grpc_prefixed/ |
D | generate.py | 75 template = env.get_template(template_name)
|
/external/icu/tools/icu4c_srcgen/ |
D | genutil.py | 46 return JINJA_ENV.get_template(template_file).render(data) 56 return JINJA_ENV.get_template(template_file).render(data)
|
/external/mbedtls/scripts/ |
D | generate_driver_wrappers.py | 58 template = environment.get_template(os.path.basename(template_path))
|
/external/cronet/build/android/gyp/ |
D | jinja_template.py | 56 template = self.env.get_template(input_rel_path)
|
/external/angle/build/android/gyp/ |
D | jinja_template.py | 56 template = self.env.get_template(input_rel_path)
|
12