Home
last modified time | relevance | path

Searched refs:templates (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/contrib/kyua/utils/text/
H A Dtemplates_test.cpp56 do_test_ok(const text::templates_def& templates, const std::string& input_str, in do_test_ok() argument
62 text::instantiate(templates, input, output); in do_test_ok()
76 do_test_fail(const text::templates_def& templates, const std::string& input_str, in do_test_fail() argument
83 text::instantiate(templates, input, output)); in do_test_fail()
93 text::templates_def templates; in ATF_TEST_CASE_BODY() local
94 templates.add_variable("the-name", "first-value"); in ATF_TEST_CASE_BODY()
95 ATF_REQUIRE_EQ("first-value", templates.get_variable("the-name")); in ATF_TEST_CASE_BODY()
102 text::templates_def templates; in ATF_TEST_CASE_BODY() local
103 templates.add_variable("the-name", "first-value"); in ATF_TEST_CASE_BODY()
104 templates.add_variable("the-name", "second-value"); in ATF_TEST_CASE_BODY()
[all …]
H A Dtemplates.cpp735 text::instantiate(const templates_def& templates, in instantiate() argument
738 templates_parser parser(templates, "%", "%%"); in instantiate()
752 text::instantiate(const templates_def& templates, in instantiate() argument
763 instantiate(templates, input, output); in instantiate()
H A DMakefile.am.inc40 libutils_a_SOURCES += utils/text/templates.cpp
41 libutils_a_SOURCES += utils/text/templates.hpp
/freebsd/crypto/openssl/ssl/record/methods/
H A Dtls_multib.c64 OSSL_RECORD_TEMPLATE *templates, in tls_write_records_multiblock_int() argument
84 if (templates[i - 1].type != templates[i].type in tls_write_records_multiblock_int()
85 || templates[i - 1].buflen != templates[i].buflen in tls_write_records_multiblock_int()
86 || templates[i - 1].buf + templates[i - 1].buflen in tls_write_records_multiblock_int()
87 != templates[i].buf) in tls_write_records_multiblock_int()
91 totlen = templates[0].buflen * numtempl; in tls_write_records_multiblock_int()
92 if (!tls_is_multiblock_capable(rl, templates[0].type, totlen, in tls_write_records_multiblock_int()
93 templates[0].buflen)) in tls_write_records_multiblock_int()
111 (int)templates[0].buflen, NULL); in tls_write_records_multiblock_int()
121 aad[8] = templates[0].type; in tls_write_records_multiblock_int()
[all …]
H A Drecmethod_local.h143 int (*write_records)(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
148 OSSL_RECORD_TEMPLATE *templates,
160 OSSL_RECORD_TEMPLATE *templates,
452 int tls_write_records(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
476 OSSL_RECORD_TEMPLATE *templates,
486 OSSL_RECORD_TEMPLATE *templates,
489 OSSL_RECORD_TEMPLATE *templates,
496 OSSL_RECORD_TEMPLATE *templates,
499 OSSL_RECORD_TEMPLATE *templates,
520 OSSL_RECORD_TEMPLATE *templates,
H A Dtls1_meth.c598 OSSL_RECORD_TEMPLATE *templates, in tls1_allocate_write_buffers() argument
603 && templates[0].type == SSL3_RT_APPLICATION_DATA; in tls1_allocate_write_buffers()
620 OSSL_RECORD_TEMPLATE *templates, in tls1_initialise_write_packets() argument
633 && templates[0].type == SSL3_RT_APPLICATION_DATA; in tls1_initialise_write_packets()
641 prefixtempl->version = templates[0].version; in tls1_initialise_write_packets()
666 return tls_initialise_write_packets_default(rl, templates, numtempl, in tls1_initialise_write_packets()
H A Dktls_meth.c443 OSSL_RECORD_TEMPLATE *templates, in ktls_allocate_write_buffers() argument
459 OSSL_RECORD_TEMPLATE *templates, in ktls_initialise_write_packets() argument
473 wb->type = templates[0].type; in ktls_initialise_write_packets()
481 TLS_BUFFER_set_buf(wb, (unsigned char *)templates[0].buf); in ktls_initialise_write_packets()
H A Dtls_common.c1560 OSSL_RECORD_TEMPLATE *templates, in tls_allocate_write_buffers_default() argument
1573 OSSL_RECORD_TEMPLATE *templates, in tls_initialise_write_packets_default() argument
1588 wb->type = templates[j].type; in tls_initialise_write_packets_default()
1760 OSSL_RECORD_TEMPLATE *templates, in tls_write_records_default() argument
1781 if (!rl->funcs->allocate_write_buffers(rl, templates, numtempl, &prefix)) { in tls_write_records_default()
1786 if (!rl->funcs->initialise_write_packets(rl, templates, numtempl, in tls_write_records_default()
1801 thistempl = (j < prefix) ? &prefixtempl : &templates[j - prefix]; in tls_write_records_default()
1879 thistempl = (j < prefix) ? &prefixtempl : &templates[j - prefix]; in tls_write_records_default()
1898 int tls_write_records(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates, in tls_write_records() argument
1908 if (!rl->funcs->write_records(rl, templates, numtempl)) { in tls_write_records()
/freebsd/contrib/kyua/cli/
H A Dcmd_report_html.cpp131 add_map(text::templates_def& templates, const config::properties_map& props, in add_map() argument
134 templates.add_vector(key_vector); in add_map()
135 templates.add_vector(value_vector); in add_map()
139 templates.add_to_vector(key_vector, (*iter).first); in add_map()
140 templates.add_to_vector(value_vector, (*iter).second); in add_map()
178 text::templates_def templates; in common_templates() local
179 templates.add_variable("css", "report.css"); in common_templates()
180 return templates; in common_templates()
251 generate(const text::templates_def& templates, in generate() argument
261 text::instantiate(templates, template_file, output_path); in generate()
[all …]
/freebsd/libexec/rc/
H A Drc.initdiskless280 templates="base default"
282 templates="${templates} ${bootp_ipbca} bcast/${bootp_ipbca}"
285 templates="${templates} ${class}"
288 templates="${templates} ${bootp_ipa} ip/${bootp_ipa}"
314 log "templates are ${templates}"
315 for i in ${templates} ; do
370 for i in ${templates} ; do
/freebsd/crypto/openssl/crypto/asn1/
H A Dtasn_fre.c48 if (it->templates) in ossl_asn1_item_embed_free()
49 ossl_asn1_template_free(pval, it->templates); in ossl_asn1_item_embed_free()
68 tt = it->templates + i; in ossl_asn1_item_embed_free()
105 tt = it->templates + it->tcount; in ossl_asn1_item_embed_free()
H A Dtasn_new.c89 if (it->templates) { in asn1_item_embed_new()
90 if (!asn1_template_new(pval, it->templates, libctx, propq)) in asn1_item_embed_new()
148 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_embed_new()
187 if (it->templates) in asn1_item_clear()
188 asn1_template_clear(pval, it->templates); in asn1_item_clear()
H A Dtasn_enc.c101 if (it->templates) in ASN1_item_ex_i2d()
102 return asn1_template_ex_i2d(pval, out, it->templates, in ASN1_item_ex_i2d()
132 chtt = it->templates + i; in ASN1_item_ex_i2d()
172 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
191 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d()
H A Dtasn_prn.c166 if (it->templates) { in asn1_item_print_ctx()
168 it->templates, pctx)) in asn1_item_print_ctx()
203 tt = it->templates + i; in asn1_item_print_ctx()
232 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_print_ctx()
H A Dtasn_dec.c228 if (it->templates) { in asn1_item_embed_d2i()
240 return asn1_template_ex_d2i(pval, in, len, it->templates, opt, ctx, in asn1_item_embed_d2i()
308 tt = it->templates + i; in asn1_item_embed_d2i()
319 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
401 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
414 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_embed_d2i()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_private.h164 int __archive_mkstemp(wchar_t *templates);
166 int __archive_mkstemp(char *templates);
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/
H A DChanges49 - Allow precompiled templates to work with preprocessing [#29928] (Thanks
55 - Fix templates with inline comments without newline after comment for perl
147 - Code added to prevent memory leaks when filling many templates. Thanks
170 - Code added to prevent memory leaks when filling many templates. Thanks to
203 or for all templates, or for the duration of only one call to fill_in.
205 your templates but you don't want to manually add `use strict' to the
213 appear in your templates. And third, because of the simplifications
230 templates was replaced with `n' before it was given to Perl for
269 - Note about failure of lexical variables to propagate into templates. Why
/freebsd/contrib/file/magic/Magdir/
H A Driff330 # Picture templates created by newer software start with RIFF type CDT
333 # Picture templates with version 4.4
345 # Corel Draw templates with version 12.5 or Corel Designer illustration 12
730 # TODO: distinguish templates with version 12.5 from Designer illustration 12
731 # display information of RIFF based Corel Draw pictures, templates and patterns
738 # used by newer pictures templates
740 # used by templates with newer versions since 16
743 # used by templates with older versions with vrsn tag
745 # used by templates with older versions 14-15
748 # used by templates with older versions 11-13
[all …]
/freebsd/crypto/openssh/contrib/suse/
H A Dopenssh.spec93 /var/adm/fillup-templates/rc.config.sshd, since Damien merged these into
160 install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
164 $RPM_BUILD_ROOT/var/adm/fillup-templates
234 %attr(0644,root,root) /var/adm/fillup-templates/sysconfig.ssh
/freebsd/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstddef.inc19 // function templates described in [support.types.byteops]. ...
/freebsd/lib/libc/softfloat/
H A Dsoftfloat-source.txt107 templates
111 templates
148 Alongside the supplied target-specific directories is a `templates'
150 new target directory can be created by copying the `templates' directory and
153 that the `templates' directory will not work as a target directory without
155 the files inside `templates' directly.
294 subdirectory by copying the given `templates' directory.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDeclNodes.td66 def Template : DeclNode<Named, "templates", 1>;
67 def RedeclarableTemplate : DeclNode<Template, "redeclarable templates", 1>;
/freebsd/crypto/openssl/Configurations/
H A DREADME-design.md20 build-file templates. See the section on build-file templates further
36 build-file templates, adapted for the platform they are meant for (see
37 sections on `%unified_info` and build-file templates further down).
408 Build-file templates
411 Build-file templates are essentially build-files (such as `Makefile` on
555 Along with the build-file templates is the driving template
/freebsd/share/examples/tests/
H A DREADME9 If you use any files in here as templates for your own code, please
/freebsd/crypto/openssl/include/internal/
H A Drecordmethod.h196 int (*write_records)(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,

12345