Home
last modified time | relevance | path

Searched refs:Template (Results 1 - 25 of 207) sorted by relevance

123456789

/third_party/python/Lib/test/
H A Dtest_string.py3 from string import Template namespace
191 # Template tests (formerly housed in test_pep292.py)
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('
[all...]
H A Dtest_pipes.py31 t = pipes.Template()
43 t = pipes.Template()
54 t = pipes.Template()
69 t=pipes.Template()
79 t=pipes.Template()
89 t = pipes.Template()
96 t = pipes.Template()
97 self.assertEqual(repr(t), "<Template instance, steps=[]>")
100 "<Template instance, steps=[('tr a-z A-Z', '--')]>")
103 t = pipes.Template()
[all...]
/third_party/gn/src/gn/
H A Dtemplate.h27 class Template : public base::RefCountedThreadSafe<Template> { class
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();
H A Dtemplate.cc20 Template::Template(const Scope* scope, const FunctionCallNode* def) in Template() function in Template
23 Template::Template(std::unique_ptr<Scope> scope, const FunctionCallNode* def) in Template() function in Template
26 Template::~Template() = default;
28 Value Template::Invoke(Scope* scope, in Invoke()
143 LocationRange Template::GetDefinitionRange() const { in GetDefinitionRange()
H A Dtemplate_unittest.cc9 TEST(Template, Basic) { in TEST()
28 TEST(Template, UnusedTargetNameShouldThrowError) { in TEST()
44 TEST(Template, UnusedInvokerShouldThrowError) { in TEST()
60 TEST(Template, UnusedVarInInvokerShouldThrowError) { in TEST()
82 TEST(Template, MemoryBlowUp) { in TEST()
H A Dscope_unittest.cc65 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition)); in TEST()
67 scoped_refptr<Template> private_templ( in TEST()
68 new Template(setup.scope(), &templ_definition)); in TEST()
83 // Template name collisions. in TEST()
87 scoped_refptr<Template> new_templ( in TEST()
88 new Template(&new_scope, &templ_definition)); in TEST()
119 scoped_refptr<Template> new_templ( in TEST()
120 new Template(&new_scope, &templ_definition)); in TEST()
130 const Template* found_valu in TEST()
[all...]
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/lib/Text/Template/
H A DPreprocess.pm2 package Text::Template::Preprocess;
3 $Text::Template::Preprocess::VERSION = '1.56';
9 use Text::Template;
10 our @ISA = qw(Text::Template);
52 Text::Template::Preprocess - Expand template text with embedded Perl
60 use Text::Template::Preprocess;
62 my $t = Text::Template::Preprocess->new(...); # identical to Text::Template
71 C<Text::Template::Preprocess> provides a new C<PREPROCESSOR> option to
74 C<Text::Template
[all...]
/third_party/openssl/external/perl/Text-Template-1.56/lib/Text/Template/
H A DPreprocess.pm2 package Text::Template::Preprocess;
3 $Text::Template::Preprocess::VERSION = '1.56';
9 use Text::Template;
10 our @ISA = qw(Text::Template);
52 Text::Template::Preprocess - Expand template text with embedded Perl
60 use Text::Template::Preprocess;
62 my $t = Text::Template::Preprocess->new(...); # identical to Text::Template
71 C<Text::Template::Preprocess> provides a new C<PREPROCESSOR> option to
74 C<Text::Template
[all...]
/third_party/jinja2/
H A Dasyncsupport.py124 raise RuntimeError("Template module attribute is unavailable in async mode")
139 from . import Template namespace
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
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Dasyncsupport.py124 raise RuntimeError("Template module attribute is unavailable in async mode")
139 from . import Template namespace
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
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncsupport.py127 raise RuntimeError('Template module attribute is unavailable '
142 from jinja2 import Template namespace
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
[all...]
/third_party/skia/third_party/externals/jinja2/
H A Dasyncsupport.py124 raise RuntimeError("Template module attribute is unavailable in async mode")
139 from . import Template namespace
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
[all...]
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/t/
H A Dsafe.t3 # test apparatus for Text::Template module
18 use_ok 'Text::Template' or exit 1;
37 my $template1 = Text::Template->new(type => 'STRING', source => $goodtemplate);
38 my $template2 = Text::Template->new(type => 'STRING', source => $goodtemplate);
71 $template1 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate);
72 isa_ok $template1, 'Text::Template';
74 $template2 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate);
75 isa_ok $template2, 'Text::Template';
107 $template1 = Text::Template->new('type' => 'STRING', 'source' => $template);
108 isa_ok $template1, 'Text::Template';
[all...]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dopaque-template-instantiation.rs10 pub struct Template<T> { structure names
14 impl<T> Default for Template<T> {
26 pub not_opaque: Template<::std::os::raw::c_char>,
99 ::std::mem::size_of::<Template<::std::os::raw::c_char>>(), in __bindgen_test_layout_Template_open0_char_close0_instantiation()
103 stringify!(Template<::std::os::raw::c_char>) in __bindgen_test_layout_Template_open0_char_close0_instantiation()
107 ::std::mem::align_of::<Template<::std::os::raw::c_char>>(), in __bindgen_test_layout_Template_open0_char_close0_instantiation()
111 stringify!(Template<::std::os::raw::c_char>) in __bindgen_test_layout_Template_open0_char_close0_instantiation()
H A Dopaque-template-instantiation-namespaced.rs17 pub struct Template<T> { structure names
22 impl<T> Default for Template<T> {
100 pub not_opaque: root::zoidberg::Template<root::zoidberg::Foo>,
180 ::std::mem::size_of::<root::zoidberg::Template<root::zoidberg::Foo>>( in __bindgen_test_layout_Template_open0_Foo_close0_instantiation()
185 stringify!(root::zoidberg::Template<root::zoidberg::Foo>) in __bindgen_test_layout_Template_open0_Foo_close0_instantiation()
189 ::std::mem::align_of::<root::zoidberg::Template<root::zoidberg::Foo>>( in __bindgen_test_layout_Template_open0_Foo_close0_instantiation()
194 stringify!(root::zoidberg::Template<root::zoidberg::Foo>) in __bindgen_test_layout_Template_open0_Foo_close0_instantiation()
/third_party/openssl/external/perl/Text-Template-1.56/t/
H A Dsafe.t3 # test apparatus for Text::Template module
18 use_ok 'Text::Template' or exit 1;
37 my $template1 = Text::Template->new(type => 'STRING', source => $goodtemplate);
38 my $template2 = Text::Template->new(type => 'STRING', source => $goodtemplate);
71 $template1 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate);
72 isa_ok $template1, 'Text::Template';
74 $template2 = Text::Template->new('type' => 'STRING', 'source' => $badtemplate);
75 isa_ok $template2, 'Text::Template';
107 $template1 = Text::Template->new('type' => 'STRING', 'source' => $template);
108 isa_ok $template1, 'Text::Template';
[all...]
/third_party/node/deps/openssl/config/
H A Dgenerate_headers.pl6 use Text::Template;
13 my $include_tmpl = Text::Template->new(TYPE => 'FILE',
16 my $include_conf_tmpl = Text::Template->new(TYPE => 'FILE',
19 my $include_asm_tmpl = Text::Template->new(TYPE => 'FILE',
22 my $include_no_asm_tmpl = Text::Template->new(TYPE => 'FILE',
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
H A DTemplate.pm10 # them through Text::Template
12 package OpenSSL::Template;
16 OpenSSL::Template - a private extension of Text::Template
20 This provides exactly the functionality from Text::Template, with the
41 use Text::Template 1.46;
43 our @ISA = qw(Text::Template); # parent
76 # Override Text::Template's append_text_to_result, as recommended here:
78 # http://search.cpan.org/~mjd/Text-Template-1.46/lib/Text/Template
[all...]
/third_party/openssl/util/perl/OpenSSL/
H A DTemplate.pm10 # them through Text::Template
12 package OpenSSL::Template;
16 OpenSSL::Template - a private extension of Text::Template
20 This provides exactly the functionality from Text::Template, with the
41 use Text::Template 1.46;
43 our @ISA = qw(Text::Template); # parent
76 # Override Text::Template's append_text_to_result, as recommended here:
78 # http://search.cpan.org/~mjd/Text-Template-1.46/lib/Text/Template
[all...]
/third_party/mesa3d/src/compiler/isaspec/
H A Ddecode.py24 from mako.template import Template namespace
305 f.write(Template(glue).render(guard=guard, isa=os.path.basename(dst_h)))
308 f.write(Template(template).render(isa=isa))
312 f.write(Template(header).render(isa=isa, guard=guard))
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dopaque-template-instantiation.hpp1 // bindgen-flags: --opaque-type 'Template<int>' --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++14
4 class Template { class
9 Template<char> not_opaque;
16 Template<int> opaque;
H A Dopaque-template-instantiation-namespaced.hpp1 // bindgen-flags: --enable-cxx-namespaces --opaque-type 'zoidberg::Template<zoidberg::Bar>' --with-derive-hash --with-derive-partialeq --with-derive-eq -- -std=c++14
6 class Template { class
19 Template<Foo> not_opaque;
26 Template<Bar> opaque;
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm2 # Text::Template.pm
12 package Text::Template;
13 $Text::Template::VERSION = '1.56';
26 my %GLOBAL_PREPEND = ('Text::Template' => '');
29 $Text::Template::VERSION;
284 $t = $GLOBAL_PREPEND{'Text::Template'};
474 Text::Template->fill_this_in($string, @_);
479 my $templ = Text::Template->new(TYPE => 'FILE', SOURCE => $fn, @_) or return undef;
536 $s =~ s/^Text::Template:://;
540 my $hash = $Text::Template
[all...]
/third_party/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm2 # Text::Template.pm
12 package Text::Template;
13 $Text::Template::VERSION = '1.56';
26 my %GLOBAL_PREPEND = ('Text::Template' => '');
29 $Text::Template::VERSION;
284 $t = $GLOBAL_PREPEND{'Text::Template'};
474 Text::Template->fill_this_in($string, @_);
479 my $templ = Text::Template->new(TYPE => 'FILE', SOURCE => $fn, @_) or return undef;
536 $s =~ s/^Text::Template:://;
540 my $hash = $Text::Template
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/tools/
H A Dgenerate_font_list_cc.py19 from string import Template namespace
115 h_file.write(Template('namespace $name {\n').substitute(name=args.name))
118 Template("""const char* kAllTests[] = {
121 h_file.write(Template('\n} // namespace $name\n').substitute(name=args.name))

Completed in 10 milliseconds

123456789