Home
last modified time | relevance | path

Searched refs:Template (Results 1 – 25 of 664) sorted by relevance

12345678910>>...27

/third_party/python/Lib/test/
Dtest_pipes.py29 t = pipes.Template()
41 t = pipes.Template()
52 t = pipes.Template()
67 t=pipes.Template()
77 t=pipes.Template()
87 t = pipes.Template()
94 t = pipes.Template()
101 t = pipes.Template()
110 t = pipes.Template()
117 t = pipes.Template()
[all …]
Dtest_string.py3 from string import Template
209 s = Template('$who likes to eat a bag of $what worth $$100')
213 self.assertRaises(TypeError, Template.substitute)
216 s = Template('$who likes ${what} for ${meal}')
223 s = Template('$WHO likes ${WHAT} for ${MEAL}')
228 s = Template('$_wh0_ likes ${_w_h_a_t_} for ${mea1}')
234 s = Template('$who likes to eat a bag of $$what worth $$100')
237 s = Template('$who likes $$')
242 s = Template('%(foo)s $foo ${foo}')
249 s = Template('tim has eaten $count bags of ham today')
[all …]
/third_party/openssl/external/perl/Text-Template-1.46/t/
D09-error.t6 use Text::Template;
12 unless $Text::Template::VERSION == 1.46;
19 Text::Template->new();
29 Text::Template->new(TYPE => 'FILE');
41 Text::Template->new(TYPE => 'wlunch', SOURCE => 'fish food');
52 my $o = Text::Template->new(TYPE => 'file',
56 print defined($Text::Template::ERROR)
57 && $Text::Template::ERROR =~ /^Couldn't open file/
D01-basic.t6 use Text::Template;
27 $template = new Text::Template ('type' => 'FILE', 'source' => $TEMPFILE);
67 $text = Text::Template->fill_this_in( $template_1, 'package' => X);
77 $template = new Text::Template ('type' => 'FILEHANDLE',
112 $template = new Text::Template
151 my $tmpl = Text::Template->new(TYPE => 'STRING',
161 $tmpl = Text::Template->new(TYPE => 'STRING',
193 my $tmpl = Text::Template->new(TYPE => 'STRING',
212 $template = new Text::Template ('type' => 'FILEHANDLE',
246 $Text::Template::GEN0::test = 1;
[all …]
D04-safe.t6 use Text::Template;
20 unless $Text::Template::VERSION == 1.46;
40 $template1 = new Text::Template ('type' => 'STRING', 'source' => $goodtemplate)
42 $template2 = new Text::Template ('type' => 'STRING', 'source' => $goodtemplate)
86 $template1 = new Text::Template ('type' => 'STRING', 'source' => $badtemplate)
88 $template2 = new Text::Template ('type' => 'STRING', 'source' => $badtemplate)
131 $template1 = new Text::Template ('type' => 'STRING', 'source' => $template)
133 $template2 = new Text::Template ('type' => 'STRING', 'source' => $template)
148 $templateB = new Text::Template (TYPE => 'STRING', SOURCE => '{die}')
D14-broken.t4 use Text::Template;
14 unless $Text::Template::VERSION == 1.46;
17 { my $r = Text::Template->new(TYPE => 'string',
29 { my $r = Text::Template->new(TYPE => 'string',
42 { my $r = Text::Template->new(TYPE => 'string',
54 { my $r = Text::Template->new(TYPE => 'string',
69 { my $r = Text::Template->new(TYPE => 'string',
D13-taint.t5 use Text::Template;
11 unless $Text::Template::VERSION == 1.46;
36 my $obj = Text::Template->new(@_);
47 my $obj = Text::Template->new(@_);
58 if (Text::Template::_is_clean($_[0])) {
65 unless (Text::Template::_is_clean($_[0])) {
113 Text::Template::_unconditionally_untaint($ttemplate);
115 Text::Template::_unconditionally_untaint($tfile);
D10-delimiters.t6 use Text::Template;
12 unless $Text::Template::VERSION == 1.46;
22 $template1 = Text::Template->new(TYPE => STRING,
32 $template1 = Text::Template->new(TYPE => STRING, SOURCE => $template);
40 $template1 = Text::Template->new(TYPE => STRING,
50 $template1 = Text::Template->new(TYPE => STRING, SOURCE => $template);
82 my $tmpl = Text::Template->new(TYPE => 'STRING',
D07-safe3.t5 use Text::Template;
19 unless $Text::Template::VERSION == 1.46;
44 $template = new Text::Template ('type' => 'STRING', 'source' => $template,
47 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT,
76 my $o = Text::Template->new(type => 'string',
D03-out.t7 use Text::Template;
13 unless $Text::Template::VERSION == 1.46;
34 $template = new Text::Template ('type' => 'STRING', 'source' => $template)
36 $templateOUT = new Text::Template ('type' => 'STRING', 'source' => $templateOUT)
D02-hash.t6 use Text::Template;
12 unless $Text::Template::VERSION == 1.46;
27 $template = new Text::Template ('type' => 'STRING', 'source' => $template);
72 new Text::Template ('type' => 'STRING', 'source' => $template8);
100 $text = Text::Template::fill_in_string(q{$v: {$v}. @v: [{"@v"}].},
D11-prepend.t6 use Text::Template;
12 unless $Text::Template::VERSION == 1.46;
22 Text::Template->always_prepend(q{$foo = "global"});
24 $tmpl1 = Text::Template->new(TYPE => 'STRING',
28 $tmpl2 = Text::Template->new(TYPE => 'STRING',
D12-preprocess.t6 use Text::Template::Preprocess;
12 unless $Text::Template::Preprocess::VERSION == 1.46;
35 $tmpl = new Text::Template::Preprocess
39 $tmpl = new Text::Template::Preprocess
/third_party/boost/boost/process/detail/
Dhandler_base.hpp18 template<template <class> class Template>
23 … constexpr Template<Handler> operator()(Handler handler) const {return Template<Handler>(handler);} in operator ()()
25 … constexpr Template<Handler> operator= (Handler handler) const {return Template<Handler>(handler);} in operator =()
27 … constexpr Template<Handler> operator+=(Handler handler) const {return Template<Handler>(handler);} in operator +=()
/third_party/gn/src/gn/
Dtemplate.h27 class Template : public base::RefCountedThreadSafe<Template> {
30 Template(const Scope* scope, const FunctionCallNode* def);
33 Template(std::unique_ptr<Scope> closure, const FunctionCallNode* def);
50 friend class base::RefCountedThreadSafe<Template>;
52 Template();
53 ~Template();
Dtemplate.cc18 Template::Template(const Scope* scope, const FunctionCallNode* def) in Template() function in Template
21 Template::Template(std::unique_ptr<Scope> scope, const FunctionCallNode* def) in Template() function in Template
24 Template::~Template() = default;
26 Value Template::Invoke(Scope* scope, in Invoke()
126 LocationRange Template::GetDefinitionRange() const { in GetDefinitionRange()
Dtemplate_unittest.cc9 TEST(Template, Basic) { in TEST() argument
28 TEST(Template, UnusedTargetNameShouldThrowError) { in TEST() argument
44 TEST(Template, UnusedInvokerShouldThrowError) { in TEST() argument
60 TEST(Template, UnusedVarInInvokerShouldThrowError) { in TEST() argument
82 TEST(Template, MemoryBlowUp) { in TEST() argument
/third_party/node/tools/inspector_protocol/jinja2/
Dasyncsupport.py142 from jinja2 import Template
143 Template.generate = wrap_generate_func(Template.generate)
144 Template.generate_async = update_wrapper(
145 generate_async, Template.generate_async)
146 Template.render_async = update_wrapper(
147 render_async, Template.render_async)
148 Template.render = wrap_render_func(Template.render)
149 Template._get_default_module = wrap_default_module(
150 Template._get_default_module)
151 Template._get_default_module_async = get_default_module_async
[all …]
/third_party/skia/third_party/externals/jinja2/
Dasyncsupport.py139 from . import Template
141 Template.generate = wrap_generate_func(Template.generate)
142 Template.generate_async = update_wrapper(generate_async, Template.generate_async)
143 Template.render_async = update_wrapper(render_async, Template.render_async)
144 Template.render = wrap_render_func(Template.render)
145 Template._get_default_module = wrap_default_module(Template._get_default_module)
146 Template._get_default_module_async = get_default_module_async
147 Template.make_module_async = update_wrapper(
148 make_module_async, Template.make_module_async
/third_party/jinja2/
Dasyncsupport.py139 from . import Template
141 Template.generate = wrap_generate_func(Template.generate)
142 Template.generate_async = update_wrapper(generate_async, Template.generate_async)
143 Template.render_async = update_wrapper(render_async, Template.render_async)
144 Template.render = wrap_render_func(Template.render)
145 Template._get_default_module = wrap_default_module(Template._get_default_module)
146 Template._get_default_module_async = get_default_module_async
147 Template.make_module_async = update_wrapper(
148 make_module_async, Template.make_module_async
/third_party/python/Doc/library/
Dpipes.rst25 .. class:: Template()
32 >>> t = pipes.Template()
43 Template Objects
46 Template objects following methods:
49 .. method:: Template.reset()
54 .. method:: Template.clone()
59 .. method:: Template.debug(flag)
66 .. method:: Template.append(cmd, kind)
82 .. method:: Template.prepend(cmd, kind)
88 .. method:: Template.open(file, mode)
[all …]
/third_party/boost/boost/hof/
Dconstruct.hpp194 template<template<class...> class Template, template<class...> class D>
199 template<class... Ts, class Result=BOOST_HOF_JOIN(Template, typename D<Ts>::type...),
270 template<template<class...> class Template>
271 constexpr detail::construct_template_f<Template, detail::decay_mf> construct() noexcept in construct()
276 template<template<class...> class Template>
277 constexpr detail::construct_template_f<Template, detail::construct_id> construct_forward() noexcept in construct_forward()
282 template<template<class...> class Template>
283 constexpr detail::construct_template_f<Template, detail::remove_rvalue_reference> construct_basic()… in construct_basic()
294 template<template<class...> class Template>
295 constexpr detail::construct_meta_template_f<Template> construct_meta() noexcept in construct_meta()
Dreveal.hpp212 template<template<class...> class Template, class... Ts>
213 BOOST_HOF_USING(defer, Template<Ts...>);
215 template<template<class...> class Template, class... Ts>
216 static auto defer(Ts&&...) -> Template<Ts...>;
244 template<template<class...> class Template>
252 using apply = typename Id::template defer<Template, Ts...>;
255 static auto apply(Id) -> decltype(Id::template defer<Template, Ts...>());
/third_party/boost/libs/hof/doc/html/_sources/include/boost/hof/
Dconstruct.hpp.txt29 /// template<template<class...> class Template>
36 /// template<template<class...> class Template>
43 /// template<template<class...> class Template>
57 /// assert(construct<Template>()(xs...) == Template<decltype(xs)...>(xs...));
72 /// T, Template<Ts..>, MetafunctionClass::apply<Ts...>, and
194 template<template<class...> class Template, template<class...> class D>
199 template<class... Ts, class Result=BOOST_HOF_JOIN(Template, typename D<Ts>::type...),
270 template<template<class...> class Template>
271 constexpr detail::construct_template_f<Template, detail::decay_mf> construct() noexcept
276 template<template<class...> class Template>
[all …]
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dmake_filter8 Template=$1;
26 TEMPLATE=`echo $Template | tr [:lower:] [:upper:]`
27 template=`echo $Template | tr [:upper:] [:lower:]`
32 -e "s/Videotemplate/$Template/g" \

12345678910>>...27