crypto/heimdal/kdc/kx509.c
230
hx509_cert template;
crypto/heimdal/kdc/kx509.c
239
ret = hx509_get_one_cert(context->hx509ctx, certs, &template);
crypto/heimdal/kdc/kx509.c
250
template);
crypto/heimdal/kdc/kx509.c
251
hx509_cert_free(template);
crypto/heimdal/lib/asn1/gen.c
151
if (asprintf(&template, "%s-template.c", headerbase) < 0 || template == NULL)
crypto/heimdal/lib/asn1/gen.c
255
templatefile = fopen (template, "w");
crypto/heimdal/lib/asn1/gen.c
257
err (1, "open %s", template);
crypto/heimdal/lib/asn1/gen.c
45
static char *privheader, *header, *template;
crypto/heimdal/lib/asn1/gen_template.c
241
ASN1_TAILQ_ENTRY(template) members;
crypto/heimdal/lib/asn1/gen_template.c
244
ASN1_TAILQ_HEAD(templatehead, template);
crypto/heimdal/lib/asn1/gen_template.c
249
struct templatehead template;
crypto/heimdal/lib/asn1/gen_template.c
256
static struct template *
crypto/heimdal/lib/asn1/gen_template.c
272
ASN1_TAILQ_INIT(&tl->template);
crypto/heimdal/lib/asn1/gen_template.c
290
struct template *q;
crypto/heimdal/lib/asn1/gen_template.c
292
ASN1_TAILQ_FOREACH(q, &tl->template, members) {
crypto/heimdal/lib/asn1/gen_template.c
307
struct template *q;
crypto/heimdal/lib/asn1/gen_template.c
313
ASN1_TAILQ_FOREACH(q, &tl->template, members) {
crypto/heimdal/lib/asn1/gen_template.c
314
int last = (ASN1_TAILQ_LAST(&tl->template, templatehead) == q);
crypto/heimdal/lib/asn1/gen_template.c
343
struct template *t, *q;
crypto/heimdal/lib/asn1/gen_template.c
348
q = ASN1_TAILQ_FIRST(&ql->template);
crypto/heimdal/lib/asn1/gen_template.c
349
ASN1_TAILQ_FOREACH(t, &tl->template, members) {
crypto/heimdal/lib/asn1/gen_template.c
392
static struct template *
crypto/heimdal/lib/asn1/gen_template.c
395
struct template *q = calloc(1, sizeof(*q));
crypto/heimdal/lib/asn1/gen_template.c
412
struct template *q;
crypto/heimdal/lib/asn1/gen_template.c
552
struct templatehead template = ASN1_TAILQ_HEAD_INITIALIZER(template);
crypto/heimdal/lib/asn1/gen_template.c
553
struct template *q;
crypto/heimdal/lib/asn1/gen_template.c
569
add_line(&template, "{ 0, %d, 0 } /* %s */", m->val, m->gen_name);
crypto/heimdal/lib/asn1/gen_template.c
572
ASN1_TAILQ_FOREACH(q, &template, members) {
crypto/heimdal/lib/asn1/gen_template.c
581
ASN1_TAILQ_FOREACH(q, &template, members) {
crypto/heimdal/lib/asn1/gen_template.c
582
int last = (ASN1_TAILQ_LAST(&template, templatehead) == q);
crypto/heimdal/lib/asn1/gen_template.c
688
struct templatehead template = ASN1_TAILQ_HEAD_INITIALIZER(template);
crypto/heimdal/lib/asn1/gen_template.c
689
struct template *q;
crypto/heimdal/lib/asn1/gen_template.c
731
add_line(&template, "{ %s, offsetof(%s%s, u.%s), asn1_%s }",
crypto/heimdal/lib/asn1/gen_template.c
746
ASN1_TAILQ_FOREACH(q, &template, members) {
crypto/heimdal/lib/asn1/gen_template.c
754
ASN1_TAILQ_FOREACH(q, &template, members) {
crypto/heimdal/lib/asn1/gen_template.c
755
int last = (ASN1_TAILQ_LAST(&template, templatehead) == q);
crypto/heimdal/lib/asn1/gen_template.c
815
template_members(&tl->template, basetype, name, type, optional, isstruct, need_offset);
crypto/heimdal/lib/asn1/gen_template.c
826
if (ASN1_TAILQ_EMPTY(&tl->template) && compact_tag(type)->type != TNull)
crypto/heimdal/lib/hx509/hxtool.c
1893
hx509_cert template;
crypto/heimdal/lib/hx509/hxtool.c
1903
ret = hx509_get_one_cert(context, tcerts, &template);
crypto/heimdal/lib/hx509/hxtool.c
1912
ret = hx509_ca_tbs_set_template(context, tbs, flags, template);
crypto/heimdal/lib/hx509/hxtool.c
1916
hx509_cert_free(template);
crypto/heimdal/lib/krb5/get_cred.c
1457
krb5_creds in, *template, *out = NULL;
crypto/heimdal/lib/krb5/get_cred.c
1490
ret = krb5_get_credentials(context, KRB5_GC_CACHED, ccache, &in, &template);
crypto/heimdal/lib/krb5/get_cred.c
1492
flags.b.forwardable = template->flags.b.forwardable;
crypto/heimdal/lib/krb5/get_cred.c
1493
flags.b.proxiable = template->flags.b.proxiable;
crypto/heimdal/lib/krb5/get_cred.c
1494
krb5_free_creds (context, template);
crypto/heimdal/lib/roken/mkstemp.c
50
mkstemp(char *template)
crypto/heimdal/lib/roken/mkstemp.c
55
start = strlen(template) - 1;
crypto/heimdal/lib/roken/mkstemp.c
56
while(template[start] == 'X') {
crypto/heimdal/lib/roken/mkstemp.c
57
template[start] = '0' + val % 10;
crypto/heimdal/lib/roken/mkstemp.c
64
fd = open(template, O_RDWR | O_CREAT | O_EXCL, 0600);
crypto/heimdal/lib/roken/mkstemp.c
69
if(template[i] == 0)
crypto/heimdal/lib/roken/mkstemp.c
71
template[i]++;
crypto/heimdal/lib/roken/mkstemp.c
72
if(template[i] == '9' + 1)
crypto/heimdal/lib/roken/mkstemp.c
73
template[i] = 'a';
crypto/heimdal/lib/roken/mkstemp.c
74
if(template[i] <= 'z')
crypto/heimdal/lib/roken/mkstemp.c
76
template[i] = 'a';
crypto/krb5/src/include/k5-json.h
154
k5_json_array_fmt(k5_json_array *array_out, const char *template, ...);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
592
gssint_register_mechinfo(gss_mech_info template)
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
601
new_cf->dl_handle = template->dl_handle;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
608
*new_cf->mech = *template->mech;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
609
if (template->mech_type != NULL)
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
610
new_cf->mech->mech_type = *(template->mech_type);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
612
new_cf->priority = template->priority;
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
616
if (template->kmodName != NULL) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
617
new_cf->kmodName = strdup(template->kmodName);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
623
if (template->uLibName != NULL) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
624
new_cf->uLibName = strdup(template->uLibName);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
630
if (template->mechNameStr != NULL) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
631
new_cf->mechNameStr = strdup(template->mechNameStr);
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
637
if (template->optionStr != NULL) {
crypto/krb5/src/lib/gssapi/mechglue/g_initialize.c
638
new_cf->optionStr = strdup(template->optionStr);
crypto/krb5/src/lib/gssapi/mechglue/mglueP.h
776
int gssint_register_mechinfo(gss_mech_info template);
crypto/krb5/src/lib/krb5/ccache/cc-int.h
138
krb5int_fcc_new_unique(krb5_context context, char *template, krb5_ccache *id);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
391
char *dirname = NULL, *template = NULL, *residual = NULL;
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
407
ret = k5_path_join(dirname, "tktXXXXXX", &template);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
410
ret = krb5int_fcc_new_unique(context, template, &fcc);
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
413
if (asprintf(&residual, ":%s", template) < 0) {
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
426
free(template);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
828
krb5int_fcc_new_unique(krb5_context context, char *template, krb5_ccache *id)
crypto/krb5/src/lib/krb5/ccache/cc_file.c
838
fd = mkstemp(template);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
847
unlink(template);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
851
data->filename = strdup(template);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
855
unlink(template);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
864
unlink(template);
crypto/krb5/src/lib/krb5/ccache/fcc.h
38
krb5_error_code krb5int_fcc_new_unique(krb5_context context, char *template,
crypto/krb5/src/util/support/fake-addrinfo.c
534
int port, const struct addrinfo *template)
crypto/krb5/src/util/support/fake-addrinfo.c
539
if (template->ai_family != AF_INET
crypto/krb5/src/util/support/fake-addrinfo.c
540
&& template->ai_family != AF_INET6
crypto/krb5/src/util/support/fake-addrinfo.c
543
*n = *template;
crypto/krb5/src/util/support/fake-addrinfo.c
544
if (template->ai_family == AF_INET) {
crypto/krb5/src/util/support/fake-addrinfo.c
555
if (template->ai_family == AF_INET6) {
crypto/krb5/src/util/support/fake-addrinfo.c
646
struct addrinfo *template,
crypto/krb5/src/util/support/fake-addrinfo.c
756
template->ai_family = AF_INET6;
crypto/krb5/src/util/support/fake-addrinfo.c
757
template->ai_addrlen = sizeof(struct sockaddr_in6);
crypto/krb5/src/util/support/fake-addrinfo.c
759
r = fai_add_entry (result, &ce->addrs6[i], portnum, template);
crypto/krb5/src/util/support/fake-addrinfo.c
765
template->ai_family = AF_INET;
crypto/krb5/src/util/support/fake-addrinfo.c
766
template->ai_addrlen = sizeof(struct sockaddr_in);
crypto/krb5/src/util/support/fake-addrinfo.c
768
r = fai_add_entry (result, &ce->addrs4[i], portnum, template);
crypto/krb5/src/util/support/fake-addrinfo.c
792
r = fai_add_entry (result, hp->h_addr_list[i], portnum, template);
crypto/krb5/src/util/support/fake-addrinfo.c
826
struct addrinfo template;
crypto/krb5/src/util/support/fake-addrinfo.c
878
template.ai_family = AF_INET;
crypto/krb5/src/util/support/fake-addrinfo.c
879
template.ai_addrlen = sizeof (struct sockaddr_in);
crypto/krb5/src/util/support/fake-addrinfo.c
880
template.ai_socktype = socktype;
crypto/krb5/src/util/support/fake-addrinfo.c
881
template.ai_protocol = 0;
crypto/krb5/src/util/support/fake-addrinfo.c
882
template.ai_flags = 0;
crypto/krb5/src/util/support/fake-addrinfo.c
883
template.ai_canonname = 0;
crypto/krb5/src/util/support/fake-addrinfo.c
884
template.ai_next = 0;
crypto/krb5/src/util/support/fake-addrinfo.c
885
template.ai_addr = 0;
crypto/krb5/src/util/support/fake-addrinfo.c
895
ret = fai_add_entry (&res, &addr4, port, &template);
crypto/krb5/src/util/support/fake-addrinfo.c
897
ret = fai_add_hosts_by_name (name, &template, port, flags,
crypto/krb5/src/util/support/json.c
274
k5_json_array_fmt(k5_json_array *array_out, const char *template, ...)
crypto/krb5/src/util/support/json.c
293
va_start(ap, template);
crypto/krb5/src/util/support/json.c
294
for (p = template; *p != '\0'; p++) {
crypto/krb5/src/util/verto/ev.c
1171
template<typename T>
crypto/krb5/src/util/verto/ev.c
1176
template<typename T>
crypto/krb5/src/util/verto/ev.c
1188
template<typename T, int N>
crypto/krb5/src/util/verto/ev.c
854
template<class T> struct ecb_decltype_t { typedef T type; };
crypto/openssh/libcrux_internal.h
133
template <class T>
crypto/openssh/libcrux_internal.h
138
template <class T>
crypto/openssh/libcrux_internal.h
145
template <typename V> \
crypto/openssh/openbsd-compat/mktemp.c
49
_ssh_mkstemp(char *template)
crypto/openssh/openbsd-compat/mktemp.c
55
ret = mkstemp(template);
crypto/openssh/regress/mkdtemp.c
41
char template[PATH_MAX];
crypto/openssh/regress/mkdtemp.c
51
r = snprintf(template, sizeof(template), "%s/%s", tmpdir, base);
crypto/openssh/regress/mkdtemp.c
52
if (r < 0 || (size_t)r >= sizeof(template))
crypto/openssh/regress/mkdtemp.c
54
dir = mkdtemp(template);
crypto/openssl/apps/req.c
305
char *template = default_config_file, *keyout = NULL;
crypto/openssl/apps/req.c
362
template = opt_arg();
crypto/openssl/apps/req.c
576
if ((req_conf = app_load_config_verbose(template, verbose)) == NULL)
crypto/openssl/apps/req.c
585
if (template != default_config_file && !app_load_modules(req_conf))
crypto/openssl/crypto/encode_decode/decoder_pkey.c
671
OSSL_DECODER_CTX *template;
crypto/openssl/crypto/encode_decode/decoder_pkey.c
689
OSSL_DECODER_CTX_free(entry->template);
crypto/openssl/crypto/encode_decode/decoder_pkey.c
933
newcache->template = ctx;
crypto/openssl/crypto/encode_decode/decoder_pkey.c
954
ctx = res->template;
crypto/openssl/crypto/encode_decode/decoder_pkey.c
957
ctx = res->template;
crypto/openssl/crypto/provider_core.c
527
OSSL_PROVIDER_INFO template;
crypto/openssl/crypto/provider_core.c
533
memset(&template, 0, sizeof(template));
crypto/openssl/crypto/provider_core.c
544
template = *p;
crypto/openssl/crypto/provider_core.c
555
template = *p;
crypto/openssl/crypto/provider_core.c
561
template.parameters = NULL;
crypto/openssl/crypto/provider_core.c
565
template.parameters = sk_INFOPAIR_deep_copy(p->parameters,
crypto/openssl/crypto/provider_core.c
568
if (template.parameters == NULL) {
crypto/openssl/crypto/provider_core.c
576
template.init = init_function;
crypto/openssl/crypto/provider_core.c
583
if (template.parameters == NULL)
crypto/openssl/crypto/provider_core.c
584
template.parameters = sk_INFOPAIR_new_null();
crypto/openssl/crypto/provider_core.c
585
if (template.parameters == NULL)
crypto/openssl/crypto/provider_core.c
591
if (ossl_provider_info_add_parameter(&template, params[i].key,
crypto/openssl/crypto/provider_core.c
594
sk_INFOPAIR_pop_free(template.parameters, infopair_free);
crypto/openssl/crypto/provider_core.c
601
prov = provider_new(name, template.init, template.parameters);
crypto/openssl/crypto/provider_core.c
604
if (template.parameters != NULL)
crypto/openssl/crypto/provider_core.c
605
sk_INFOPAIR_pop_free(template.parameters, infopair_free);
crypto/openssl/crypto/provider_core.c
610
if (!ossl_provider_set_module_path(prov, template.path)) {
crypto/openssl/crypto/store/store_register.c
214
OSSL_STORE_LOADER template;
crypto/openssl/crypto/store/store_register.c
217
template.scheme = scheme;
crypto/openssl/crypto/store/store_register.c
218
template.open = NULL;
crypto/openssl/crypto/store/store_register.c
219
template.load = NULL;
crypto/openssl/crypto/store/store_register.c
220
template.eof = NULL;
crypto/openssl/crypto/store/store_register.c
221
template.closefn = NULL;
crypto/openssl/crypto/store/store_register.c
222
template.open_ex = NULL;
crypto/openssl/crypto/store/store_register.c
235
&template))
crypto/openssl/crypto/store/store_register.c
247
OSSL_STORE_LOADER template;
crypto/openssl/crypto/store/store_register.c
250
template.scheme = scheme;
crypto/openssl/crypto/store/store_register.c
251
template.open = NULL;
crypto/openssl/crypto/store/store_register.c
252
template.load = NULL;
crypto/openssl/crypto/store/store_register.c
253
template.eof = NULL;
crypto/openssl/crypto/store/store_register.c
254
template.closefn = NULL;
crypto/openssl/crypto/store/store_register.c
267
&template))
crypto/openssl/crypto/x509/v3_utl.c
1077
const char *template = (i > 0 ? "%X:" : "%X");
crypto/openssl/crypto/x509/v3_utl.c
1079
bytes = BIO_snprintf(out, remain, template, p[0] << 8 | p[1]);
crypto/openssl/include/openssl/asn1t.h
467
#define ADB_ENTRY(val, template) { val, template }
crypto/openssl/ssl/quic/quic_tls.c
246
OSSL_RECORD_TEMPLATE *template,
crypto/openssl/ssl/quic/quic_tls.c
268
? template->type
crypto/openssl/ssl/quic/quic_tls.c
270
dummyrec[1] = (unsigned char)((template->version >> 8) & 0xff);
crypto/openssl/ssl/quic/quic_tls.c
271
dummyrec[2] = (unsigned char)(template->version & 0xff);
crypto/openssl/ssl/quic/quic_tls.c
278
dummyrec[3] = (unsigned char)((template->buflen >> 8) & 0xff);
crypto/openssl/ssl/quic/quic_tls.c
279
dummyrec[4] = (unsigned char)(template->buflen & 0xff);
crypto/openssl/ssl/quic/quic_tls.c
286
&template->type, 1, rl->cbarg);
crypto/openssl/ssl/quic/quic_tls.c
290
switch (template->type) {
crypto/openssl/ssl/quic/quic_tls.c
292
if (template->buflen != 2) {
crypto/openssl/ssl/quic/quic_tls.c
305
alert = template->buf[1];
crypto/openssl/ssl/quic/quic_tls.c
318
if (!rl->qtls->args.crypto_send_cb(template->buf + rl->written,
crypto/openssl/ssl/quic/quic_tls.c
319
template->buflen - rl->written,
crypto/openssl/ssl/quic/quic_tls.c
329
if (consumed + rl->written != template->buflen) {
crypto/openssl/ssl/quic/quic_tls.c
330
if (!ossl_assert(consumed + rl->written < template->buflen)) {
crypto/openssl/ssl/quic/quic_tls.c
342
rl->template = *template;
crypto/openssl/ssl/quic/quic_tls.c
361
return quic_write_records(rl, &rl->template, 1);
crypto/openssl/ssl/quic/quic_tls.c
77
OSSL_RECORD_TEMPLATE template;
crypto/openssl/ssl/record/methods/recmethod_local.h
169
OSSL_RECORD_TEMPLATE *template);
crypto/openssl/ssl/record/methods/tls13_meth.c
315
OSSL_RECORD_TEMPLATE *template)
crypto/openssl/ssl/record/methods/tls13_meth.c
317
if (rl->allow_plain_alerts && template->type == SSL3_RT_ALERT)
crypto/openssl/test/endecode_test.c
110
static EVP_PKEY *make_key(const char *type, EVP_PKEY *template,
crypto/openssl/test/endecode_test.c
114
EVP_PKEY_CTX *ctx = template != NULL
crypto/openssl/test/endecode_test.c
115
? EVP_PKEY_CTX_new_from_pkey(keyctx, template, testpropq)
crypto/openssl/test/endecoder_legacy_test.c
245
EVP_PKEY *template = NULL;
crypto/openssl/test/endecoder_legacy_test.c
255
|| EVP_PKEY_generate(ctx, &template) <= 0))
crypto/openssl/test/endecoder_legacy_test.c
263
ctx = template != NULL
crypto/openssl/test/endecoder_legacy_test.c
264
? EVP_PKEY_CTX_new(template, NULL)
crypto/openssl/test/endecoder_legacy_test.c
272
EVP_PKEY_free(template);
lib/libc/gen/getpwent.c
1422
compat_clear_template(struct passwd *template)
lib/libc/gen/getpwent.c
1425
free(template->pw_passwd);
lib/libc/gen/getpwent.c
1426
free(template->pw_gecos);
lib/libc/gen/getpwent.c
1427
free(template->pw_dir);
lib/libc/gen/getpwent.c
1428
free(template->pw_shell);
lib/libc/gen/getpwent.c
1429
memset(template, 0, sizeof(*template));
lib/libc/gen/getpwent.c
1434
compat_set_template(struct passwd *src, struct passwd *template)
lib/libc/gen/getpwent.c
1437
compat_clear_template(template);
lib/libc/gen/getpwent.c
1440
(template->pw_passwd = strdup(src->pw_passwd)) == NULL)
lib/libc/gen/getpwent.c
1444
template->pw_uid = src->pw_uid;
lib/libc/gen/getpwent.c
1446
template->pw_gid = src->pw_gid;
lib/libc/gen/getpwent.c
1448
(template->pw_gecos = strdup(src->pw_gecos)) == NULL)
lib/libc/gen/getpwent.c
1451
(template->pw_dir = strdup(src->pw_dir)) == NULL)
lib/libc/gen/getpwent.c
1454
(template->pw_shell = strdup(src->pw_shell)) == NULL)
lib/libc/gen/getpwent.c
1456
template->pw_fields = src->pw_fields;
lib/libc/gen/getpwent.c
1465
compat_use_template(struct passwd *pwd, struct passwd *template, char *buffer,
lib/libc/gen/getpwent.c
1475
if (template->pw_fields == 0) /* nothing to fill-in */
lib/libc/gen/getpwent.c
1509
q = (template->pw_fields & flag) ? template->field : hold.field; \
lib/libc/gen/getpwent.c
1533
if (template->pw_fields & flag) \
lib/libc/gen/getpwent.c
1534
pwd->field = template->field; \
lib/libc/gen/getpwent.c
1629
e = compat_use_template(pwd, &st->template, buffer, bufsize);
lib/libc/gen/getpwent.c
1665
compat_clear_template(&st->template);
lib/libc/gen/getpwent.c
178
struct passwd template;
lib/libc/gen/getpwent.c
1884
else if (compat_set_template(pwd, &st->template) < 0) {
lib/libc/tests/gen/dir2_test.c
126
char template[] = "dXXXXXX";
lib/libc/tests/gen/dir2_test.c
135
tmpdir = mkdtemp(template);
lib/libc/tests/gen/dir2_test.c
50
char template[] = "dXXXXXX";
lib/libc/tests/gen/dir2_test.c
58
tmpdir = mkdtemp(template);
lib/libc/tests/gen/ftw_test.c
47
static char template[] = "testftw.XXXXXXXXXX";
lib/libc/tests/gen/ftw_test.c
80
ATF_REQUIRE_MSG(mkdtemp(template) != NULL, "mkdtemp failed");
lib/libc/tests/gen/ftw_test.c
83
ATF_REQUIRE_MSG(realpath(template, dir) != NULL,
lib/libc/tests/stdio/mkostemp_test.c
165
char tmpf[sizeof(template)];
lib/libc/tests/stdio/mkostemp_test.c
167
memcpy(tmpf, template, sizeof(tmpf));
lib/libc/tests/stdio/mkostemp_test.c
43
static const char template[] = "mkostemp.XXXXXXXX";
lib/libc/tests/stdio/mkostemp_test.c
51
char tmpf[sizeof(template)];
lib/libc/tests/stdio/mkostemp_test.c
55
memcpy(tmpf, template, sizeof(tmpf));
lib/libc/tests/stdio/mkostemp_test.c
63
if (memcmp(tmpf, template, sizeof(tmpf) - 8 - 1) != 0) {
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
58
const char template[] = "testsfiles.XXXXXXXX";
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
62
files[i] = calloc(1, sizeof(template));
lib/libcasper/services/cap_fileargs/tests/fileargs_test.c
64
strncpy(files[i], template, sizeof(template) - 1);
sbin/nvmecontrol/modules/wdc/wdc.c
376
if (opt.template == NULL) {
sbin/nvmecontrol/modules/wdc/wdc.c
384
strlcpy(tmpl, opt.template, sizeof(tmpl));
sbin/nvmecontrol/modules/wdc/wdc.c
63
const char *template;
sbin/nvmecontrol/modules/wdc/wdc.c
67
.template = NULL,
sbin/nvmecontrol/modules/wdc/wdc.c
73
OPT("template", 'o', arg_string, opt, template,
share/examples/ipfilter/l4check/l4check.c
496
bzero((char *)&template, sizeof(template));
share/examples/ipfilter/l4check/l4check.c
497
template.l4_fd = -1;
share/examples/ipfilter/l4check/l4check.c
498
template.l4_rw = -1;
share/examples/ipfilter/l4check/l4check.c
499
template.l4_sin.sin_family = AF_INET;
share/examples/ipfilter/l4check/l4check.c
500
ipn = &template.l4_nat;
share/examples/ipfilter/l4check/l4check.c
54
l4cfg_t template;
share/examples/ipfilter/l4check/l4check.c
602
bcopy((char *)&template, (char *)l4, sizeof(*l4));
share/examples/ipfilter/l4check/l4check.c
707
template.l4_rsize = rlen;
share/examples/ipfilter/l4check/l4check.c
708
template.l4_rbuf = malloc(rlen);
share/examples/ipfilter/l4check/l4check.c
728
template.l4_rsize = rlen;
share/examples/ipfilter/l4check/l4check.c
729
template.l4_rbuf = malloc(rlen);
sys/cddl/dev/kinst/amd64/kinst_isa.c
114
kinst_memcpy(tramp, kp->kp_md.template, ilen);
sys/cddl/dev/kinst/amd64/kinst_isa.c
464
memcpy(kpmd->template, bytes, dispoff);
sys/cddl/dev/kinst/amd64/kinst_isa.c
465
memcpy(&kpmd->template[dispoff + 4],
sys/cddl/dev/kinst/amd64/kinst_isa.c
469
memcpy(kpmd->template, bytes, opcidx);
sys/cddl/dev/kinst/amd64/kinst_isa.c
470
kpmd->template[opcidx] = 0xe9;
sys/cddl/dev/kinst/amd64/kinst_isa.c
477
memcpy(kpmd->template, bytes, opcidx);
sys/cddl/dev/kinst/amd64/kinst_isa.c
478
kpmd->template[opcidx] = 0x0f;
sys/cddl/dev/kinst/amd64/kinst_isa.c
479
kpmd->template[opcidx + 1] = bytes[opcidx] + 0x10;
sys/cddl/dev/kinst/amd64/kinst_isa.c
489
memcpy(kpmd->template, bytes, ilen);
sys/cddl/dev/kinst/amd64/kinst_isa.h
32
uint8_t template[16]; /* copied into thread tramps */
sys/dev/ocs_fc/sli4.c
6444
sli4_req_fcoe_post_hdr_templates_t *template = NULL;
sys/dev/ocs_fc/sli4.c
6464
template = (sli4_req_fcoe_post_hdr_templates_t *)payload_dma->virt;
sys/dev/ocs_fc/sli4.c
6467
template = (sli4_req_fcoe_post_hdr_templates_t *)((uint8_t *)buf + sli_config_off);
sys/dev/ocs_fc/sli4.c
6474
template->hdr.opcode = SLI4_OPC_FCOE_POST_HDR_TEMPLATES;
sys/dev/ocs_fc/sli4.c
6475
template->hdr.subsystem = SLI4_SUBSYSTEM_FCFCOE;
sys/dev/ocs_fc/sli4.c
6476
template->hdr.request_length = sizeof(sli4_req_fcoe_post_hdr_templates_t) -
sys/dev/ocs_fc/sli4.c
6479
template->rpi_offset = rpi;
sys/dev/ocs_fc/sli4.c
6480
template->page_count = page_count;
sys/dev/ocs_fc/sli4.c
6482
for (i = 0; i < template->page_count; i++) {
sys/dev/ocs_fc/sli4.c
6483
template->page_descriptor[i].low = ocs_addr32_lo(phys);
sys/dev/ocs_fc/sli4.c
6484
template->page_descriptor[i].high = ocs_addr32_hi(phys);
sys/dev/usb/usb_device.c
122
SYSCTL_PROC(_hw_usb, OID_AUTO, template,
sys/netipsec/subr_ipsec.c
67
static const struct sockaddr_in template = {
sys/netipsec/subr_ipsec.c
73
src->sin = template;
sys/netipsec/subr_ipsec.c
74
dst->sin = template;
sys/netpfil/ipfilter/netinet/fil.c
7019
ipf_tune_array_copy(void *base, size_t size, ipftuneable_t *template)
sys/netpfil/ipfilter/netinet/fil.c
7029
bcopy(template, copy, size);
sys/netpfil/ipfw/ip_dummynet.c
355
struct dn_queue *q, *template = arg;
sys/netpfil/ipfw/ip_dummynet.c
356
struct dn_fsk *fs = template->fs;
sys/netpfil/ipfw/ip_dummynet.c
369
q->_si = template->_si;
sys/netpfil/ipfw/ip_dummynet.c
459
struct dn_queue template;
sys/netpfil/ipfw/ip_dummynet.c
461
template._si = si;
sys/netpfil/ipfw/ip_dummynet.c
462
template.fs = fs;
sys/netpfil/ipfw/ip_dummynet.c
476
DNHT_INSERT, &template);
sys/netpfil/ipfw/ip_dummynet.c
479
fs->qht = q_new(0, 0, &template);
tests/sys/capsicum/capsicum-test.h
35
template <typename T, typename Function>
tests/sys/capsicum/capsicum-test.h
47
template <typename Function>
tests/sys/file/flock_helper.c
73
const char *template = "/flocktempXXXXXX";
tests/sys/file/flock_helper.c
89
len = strlen(pathname) + strlen(template) + 1;
tests/sys/file/flock_helper.c
92
strcat(filename, template);
tests/sys/file/path_test.c
68
mktfile(char path[PATH_MAX], const char *template)
tests/sys/file/path_test.c
73
snprintf(path, PATH_MAX, "%s", template);
tests/sys/file/path_test.c
84
mktdir(char path[PATH_MAX], const char *template)
tests/sys/file/path_test.c
86
snprintf(path, PATH_MAX, "%s", template);
tests/sys/kern/kern_copyin.c
112
scratch_file = mkstemp(template);
tests/sys/kern/kern_copyin.c
114
unlink(template);
tests/sys/kern/kern_copyin.c
96
char template[] = "copyin.XXXXXX";
tests/sys/kern/pipe/pipe_overcommit2_test.c
46
char template[] = "pipe.XXXXXXXXXX";
tests/sys/kern/pipe/pipe_overcommit2_test.c
52
if (mkstemp(template) == -1)
tests/sys/kern/pipe/pipe_overcommit2_test.c
56
returnval = open(template, O_RDONLY);
tests/sys/kern/pipe/pipe_overcommit2_test.c
79
unlink(template);
tools/tools/usbtest/usbtest.c
174
set_template(int template)
tools/tools/usbtest/usbtest.c
179
&template, sizeof(template));
tools/tools/usbtest/usbtest.c
183
"to %d (error=%d)\n", template, errno);
usr.bin/xinstall/xinstall.c
153
static char *quiet_mktemp(char *template);
usr.bin/xinstall/xinstall.c
556
quiet_mktemp(char *template)
usr.bin/xinstall/xinstall.c
560
if ((fd = mkstemp(template)) == -1)
usr.bin/xinstall/xinstall.c
563
if (unlink(template) == -1)
usr.bin/xinstall/xinstall.c
564
err(EX_OSERR, "unlink %s", template);
usr.bin/xinstall/xinstall.c
565
return (template);
usr.sbin/certctl/certctl.c
176
expand_path(const char *template)
usr.sbin/certctl/certctl.c
178
if (template[0] == '%' && template[1] == 'L')
usr.sbin/certctl/certctl.c
179
return (xasprintf("%s%s%s", destdir, localbase, template + 2));
usr.sbin/certctl/certctl.c
180
return (xasprintf("%s%s%s", destdir, distbase, template));
usr.sbin/usbconfig/usbconfig.c
361
if (libusb20_be_set_template(pbe, opt->template)) {
usr.sbin/usbconfig/usbconfig.c
363
"continuing.\n", opt->template);
usr.sbin/usbconfig/usbconfig.c
368
if (libusb20_be_get_template(pbe, &opt->template))
usr.sbin/usbconfig/usbconfig.c
371
printf("USB template: %u\n", opt->template);
usr.sbin/usbconfig/usbconfig.c
50
int template;
usr.sbin/usbconfig/usbconfig.c
744
opt->template = get_int(argv[n + 1]);