bin/cp/cp.c
477
if (asprintf(&recpath, "%s/%s", to.path,
bin/date/date.c
453
asprintf(&newformat, "%.*s%.*ld%.*d%n%s", prefixlen,
bin/dd/misc.c
119
asprintf(&buf, " %'ju bytes (%s, %s) transferred %.3fs, %s/s",
bin/ps/fmt.c
120
asprintf(&ap, "%s/%s", cmd, thread);
bin/ps/print.c
116
asprintf(&str, "%s%s%s%s%s",
bin/ps/print.c
143
asprintf(&str, "%s%s%s%s",
bin/ps/print.c
169
asprintf(&str, "%s%s%s%s%s",
bin/ps/print.c
177
asprintf(&str, "%s/%s%s", k->ki_p->ki_comm,
bin/ps/print.c
191
asprintf(&str, "%s%s", k->ki_p->ki_tdname,
bin/ps/print.c
287
asprintf(&str, "%d", scalepri(k->ki_p->ki_pri.pri_level));
bin/ps/print.c
296
asprintf(&str, "%d", scalepri(k->ki_p->ki_pri.pri_user));
bin/ps/print.c
339
asprintf(&str, "%#jx", (uintmax_t)dev);
bin/ps/print.c
359
asprintf(&str, "%s%c", ttname,
bin/ps/print.c
449
asprintf(&str, "%lx", (long)k->ki_p->ki_wchan);
bin/ps/print.c
462
asprintf(&str, "%0lx", (long)k->ki_p->ki_wchan);
bin/ps/print.c
478
asprintf(&str, "%lx", (long)k->ki_p->ki_wchan);
bin/ps/print.c
495
asprintf(&str, "%lu", (u_long)(k->ki_p->ki_size / 1024));
bin/ps/print.c
517
asprintf(&str, "%ld:%02ld%c%02ld",
bin/ps/print.c
547
asprintf(&cpu, "%d", k->ki_p->ki_oncpu);
bin/ps/print.c
549
asprintf(&cpu, "%d", k->ki_p->ki_lastcpu);
bin/ps/print.c
599
asprintf(&str, "%3d-%02d:%02d:%02d", days, hours, mins, secs);
bin/ps/print.c
601
asprintf(&str, "%02d:%02d:%02d", hours, mins, secs);
bin/ps/print.c
603
asprintf(&str, "%02d:%02d", mins, secs);
bin/ps/print.c
617
asprintf(&str, "%jd", (intmax_t)val);
bin/ps/print.c
647
asprintf(&str, "%.1f", getpcpu(k));
bin/ps/print.c
673
asprintf(&str, "%.1f", getpmem(k));
bin/ps/print.c
682
asprintf(&str, "%ld", k->ki_valid ? k->ki_p->ki_rusage.ru_majflt : 0);
bin/ps/print.c
708
asprintf(&str, "real:%u", level - PRI_MIN_REALTIME);
bin/ps/print.c
713
asprintf(&str, "normal:%u", level - PRI_MIN_TIMESHARE);
bin/ps/print.c
715
asprintf(&str, "kernel:%u", level - PRI_MIN_KERN);
bin/ps/print.c
719
asprintf(&str, "idle:%u", level - PRI_MIN_IDLE);
bin/ps/print.c
723
asprintf(&str, "intr:%u", level - PRI_MIN_ITHD);
bin/ps/print.c
726
asprintf(&str, "%u:%u", class, level);
bin/ps/print.c
755
(void)asprintf(&str, ofmt, *(char *)bp);
bin/ps/print.c
758
(void)asprintf(&str, ofmt, *(signed char *)bp);
bin/ps/print.c
761
(void)asprintf(&str, ofmt, *(u_char *)bp);
bin/ps/print.c
764
(void)asprintf(&str, ofmt, *(short *)bp);
bin/ps/print.c
767
(void)asprintf(&str, ofmt, *(u_short *)bp);
bin/ps/print.c
770
(void)asprintf(&str, ofmt, *(int *)bp);
bin/ps/print.c
773
(void)asprintf(&str, ofmt, CHKINF127(*(u_int *)bp));
bin/ps/print.c
776
(void)asprintf(&str, ofmt, *(long *)bp);
bin/ps/print.c
779
(void)asprintf(&str, ofmt, *(u_long *)bp);
bin/ps/print.c
782
(void)asprintf(&str, ofmt, *(u_long *)bp);
bin/ps/print.c
785
(void)asprintf(&str, ofmt, ps_pgtok(*(u_long *)bp));
bin/sh/histedit.c
110
asprintf(&histtmpname, "%s.XXXXXXXXXX", histfile);
bin/uuidgen/uuidgen.c
64
asprintf(s, "%08x%04x%04x%02x%02x%02x%02x%02x%02x%02x%02x",
crypto/heimdal/appl/ftp/ftp/gssapi.c
290
name.length = asprintf(&str, "%s@%s", kname, host);
crypto/heimdal/appl/ftp/ftpd/ftpd.c
994
ret = asprintf(&ext, "%s%s", name, p->ext);
crypto/heimdal/appl/ftp/ftpd/gssapi.c
290
name.length = asprintf(&str, "%s@%s", kname, host);
crypto/heimdal/appl/ftp/ftpd/ls.c
222
if (asprintf(&file->user, "%u", (unsigned)st->st_uid) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
235
if (asprintf(&file->group, "%u", (unsigned)st->st_gid) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
247
if (asprintf(&file->major, "%u", (unsigned)major(st->st_rdev)) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
249
if (asprintf(&file->minor, "%u", (unsigned)minor(st->st_rdev)) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
253
if (asprintf(&file->major, "%u", (unsigned)st->st_rdev) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
255
if (asprintf(&file->minor, "%u", 0) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
263
if (asprintf(&file->size, "%lu", (unsigned long)st->st_size) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
289
if (asprintf(&file->filename, "%s%c", p, file_type) == -1)
crypto/heimdal/appl/ftp/ftpd/ls.c
787
ret = asprintf(&files[n_files], "%s/%s", directory, ent->d_name);
crypto/heimdal/appl/gssmask/gssmask.c
1099
asprintf(&c->moniker, "gssmask: %s:%d", hostname, port);
crypto/heimdal/appl/gssmask/gssmask.c
662
asprintf(&str, "gssmask %s %s", PACKAGE_STRING, name);
crypto/heimdal/appl/login/env.c
58
asprintf(&str, "%s=%s", var, value);
crypto/heimdal/appl/login/login.c
124
if (asprintf(&sh, "-%s", p) == -1)
crypto/heimdal/appl/rcp/rcp.c
190
ret = asprintf(&bp,
crypto/heimdal/appl/rcp/rcp.c
198
ret = asprintf(&bp,
crypto/heimdal/appl/rcp/rcp.c
211
if (asprintf(&bp, "%s -t %s", cmd, targ) == -1)
crypto/heimdal/appl/rcp/rcp.c
237
ret = asprintf(&bp, "exec %s%s%s %s %s", _PATH_CP,
crypto/heimdal/appl/rcp/rcp.c
261
ret = asprintf(&bp, "%s -f %s", cmd, src);
crypto/heimdal/appl/rsh/rsh.c
271
cksum_data.length = asprintf (&str,
crypto/heimdal/appl/rsh/rshd.c
315
cksum_data.length = asprintf (&str,
crypto/heimdal/appl/rsh/rshd.c
577
if (asprintf (&e[i++], "USER=%s", pwd->pw_name) == -1)
crypto/heimdal/appl/rsh/rshd.c
579
if (asprintf (&e[i++], "HOME=%s", pwd->pw_dir) == -1)
crypto/heimdal/appl/rsh/rshd.c
581
if (asprintf (&e[i++], "SHELL=%s", pwd->pw_shell) == -1)
crypto/heimdal/appl/rsh/rshd.c
584
if (asprintf (&e[i++], "PATH=%s", _PATH_DEFPATH) == -1)
crypto/heimdal/appl/rsh/rshd.c
587
asprintf (&e[i++], "SSH_CLIENT=only_to_make_bash_happy");
crypto/heimdal/appl/rsh/rshd.c
589
if (asprintf (&e[i++], "KRB5CCNAME=%s", tkfile) == -1)
crypto/heimdal/appl/su/su.c
246
ret = asprintf(&cc_name, "%s:%s", krb5_cc_get_type(context, ccache2),
crypto/heimdal/appl/su/su.c
494
if (asprintf(&args[i++], "-%s", p) == -1)
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
410
ret2 = asprintf(&errbuf,
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
438
ret2 = asprintf(&errbuf, "Bad checksum: %s",
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
524
ret = asprintf (&msg, "user `%s' is not authorized to "
crypto/heimdal/appl/telnet/libtelnet/kerberos5.c
584
ret2 = asprintf (&errbuf,
crypto/heimdal/appl/telnet/telnet/commands.c
1590
error = asprintf (&cp, "%s%s", hbuf, cp2);
crypto/heimdal/appl/test/gssapi_client.c
121
name_token.length = asprintf (&str,
crypto/heimdal/appl/test/http_client.c
368
asprintf(&name, "%s@%s", gss_service, host);
crypto/heimdal/appl/test/http_client.c
478
asprintf(&headers[0], "Authorization: Negotiate %s",
crypto/heimdal/appl/test/nt_gss_client.c
60
name_token.length = asprintf (&str,
crypto/heimdal/kadmin/ank.c
129
asprintf (&prompt, "%s's Password: ", princ_name);
crypto/heimdal/kadmin/check.c
131
if (asprintf(&p, "%s/%s@%s", KRB5_TGS_NAME, realm, realm) == -1) {
crypto/heimdal/kadmin/check.c
151
if (asprintf(&p, "kadmin/admin@%s", realm) == -1) {
crypto/heimdal/kadmin/check.c
171
if (asprintf(&p, "kadmin/changepw@%s", realm) == -1) {
crypto/heimdal/kadmin/check.c
198
if (asprintf(&p, "afs/%s@%s", p2, realm) == -1) {
crypto/heimdal/kadmin/check.c
213
if (asprintf(&p, "afs@%s", realm) == -1) {
crypto/heimdal/kadmin/cpw.c
92
asprintf(&prompt, "%s's Password: ", princ_name);
crypto/heimdal/kadmin/get.c
131
asprintf (&s, "unknown(%d)", k->key_data_type[0]);
crypto/heimdal/kadmin/get.c
142
asprintf (&s, "unknown(%d)", k->key_data_type[1]);
crypto/heimdal/kadmin/get.c
151
asprintf (&s, "(%.*s)", k->key_data_length[1],
crypto/heimdal/kadmin/kadmin.c
172
asprintf(&config_file, "%s/kdc.conf", hdb_db_dir(context));
crypto/heimdal/kadmin/kadmind.c
126
asprintf(&config_file, "%s/kdc.conf", hdb_db_dir(context));
crypto/heimdal/kadmin/stash.c
115
asprintf(&old, "%s.old", opt->key_file_string);
crypto/heimdal/kadmin/stash.c
116
asprintf(&new, "%s.new", opt->key_file_string);
crypto/heimdal/kadmin/stash.c
61
asprintf(&opt->key_file_string, "%s/m-key", hdb_db_dir(context));
crypto/heimdal/kcm/cache.c
50
asprintf(&name, "%ld:%u", (long)uid, n);
crypto/heimdal/kcm/protocol.c
1086
asprintf(&n, "%d", (int)client->uid);
crypto/heimdal/kdc/announce.c
365
asprintf(&dnsdata, "%c%s", (int)len, update->realm);
crypto/heimdal/kdc/announce.c
369
asprintf(&name, "_kerberos.%s.%s", hostname, update->domain);
crypto/heimdal/kdc/config.c
175
asprintf(&config_file, "%s/kdc.conf", hdb_db_dir(context));
crypto/heimdal/kdc/digest.c
1001
asprintf(&r.u.error.reason, "Unsupported digest type %s",
crypto/heimdal/kdc/digest.c
410
asprintf(&s, "%s-%s:%s", r.u.initReply.nonce,
crypto/heimdal/kdc/digest.c
438
asprintf(r.u.initReply.identifier, "%02X", identifier & 0xff);
crypto/heimdal/kdc/hpropd.c
213
asprintf(&tmp_db, "%s~", database);
crypto/heimdal/kdc/kstash.c
138
asprintf(&old, "%s.old", keyfile);
crypto/heimdal/kdc/kstash.c
139
asprintf(&new, "%s.new", keyfile);
crypto/heimdal/kdc/kstash.c
88
asprintf(&keyfile, "%s/m-key", hdb_db_dir(context));
crypto/heimdal/kdc/log.c
54
if (asprintf(&ss, "0-1/FILE:%s/%s", hdb_db_dir(context),
crypto/heimdal/kdc/pkinit.c
2045
asprintf(&fn, "%s/pki-mapping", hdb_db_dir(context));
crypto/heimdal/kpasswd/kpasswd-generator.c
109
asprintf (&old_pwd, "%s", name);
crypto/heimdal/kpasswd/kpasswd-generator.c
110
asprintf (&new_pwd, "%s2", name);
crypto/heimdal/kpasswd/kpasswd.c
73
asprintf(&msg, "New password: ");
crypto/heimdal/kpasswd/kpasswd.c
79
asprintf(&msg, "New password for %s: ", name);
crypto/heimdal/kpasswd/kpasswdd.c
129
data->length = asprintf (&str,
crypto/heimdal/kpasswd/kpasswdd.c
806
asprintf(&config_file, "%s/kdc.conf", hdb_db_dir(context));
crypto/heimdal/kuser/kinit.c
332
asprintf(&name, "ntlm-key-%s", domain);
crypto/heimdal/kuser/kinit.c
537
asprintf (&prompt, N_("%s's Password: ", ""), p);
crypto/heimdal/kuser/kswitch.c
155
asprintf(&str, "%s:%s", ops->prefix, opt->cache_string);
crypto/heimdal/lib/asn1/asn1_gen.c
65
if (asprintf(&fnout, "%s.out", bname) < 0 || fnout == NULL)
crypto/heimdal/lib/asn1/asn1parse.c
2837
if (asprintf(&m->label, "%s_%s", prefix, m->gen_name) < 0)
crypto/heimdal/lib/asn1/asn1parse.c
2856
if (asprintf(&p, "choice_%s", s->gen_name) < 0 || p == NULL)
crypto/heimdal/lib/asn1/asn1parse.y
1014
if (asprintf(&m->label, "%s_%s", prefix, m->gen_name) < 0)
crypto/heimdal/lib/asn1/asn1parse.y
1033
if (asprintf(&p, "choice_%s", s->gen_name) < 0 || p == NULL)
crypto/heimdal/lib/asn1/check-der.c
204
if (asprintf (&tests[i].name, "unsigned %u", values[i]) < 0)
crypto/heimdal/lib/asn1/check-der.c
246
if (asprintf (&tests[0].name, "a octet string") < 0)
crypto/heimdal/lib/asn1/check-der.c
288
if (asprintf (&tests[0].name, "a bmp string") < 0)
crypto/heimdal/lib/asn1/check-der.c
293
if (asprintf (&tests[1].name, "second bmp string") < 0)
crypto/heimdal/lib/asn1/check-der.c
336
if (asprintf (&tests[0].name, "a universal string") < 0)
crypto/heimdal/lib/asn1/check-der.c
341
if (asprintf (&tests[1].name, "second universal string") < 0)
crypto/heimdal/lib/asn1/check-der.c
378
if (asprintf (&tests[0].name, "the string \"%s\"", s1) < 0)
crypto/heimdal/lib/asn1/check-der.c
416
if (asprintf (&tests[i].name, "time %d", (int)values[i]) < 0)
crypto/heimdal/lib/asn1/check-der.c
465
if (asprintf (&tests[i].name, "oid %d", i) < 0)
crypto/heimdal/lib/asn1/check-der.c
503
if (asprintf (&tests[i].name, "bit_string %d", i) < 0)
crypto/heimdal/lib/asn1/check-der.c
556
if (asprintf (&tests[i].name, "heim_integer %d", i) < 0)
crypto/heimdal/lib/asn1/check-der.c
607
if (asprintf (&tests[i].name, "heim_boolean %d", i) < 0)
crypto/heimdal/lib/asn1/check-der.c
80
if (asprintf (&tests[i].name, "integer %d", values[i]) < 0)
crypto/heimdal/lib/asn1/check-gen.c
127
if (asprintf (&tests[i].name, "Principal %d", i) < 0)
crypto/heimdal/lib/asn1/check-gen.c
197
if (asprintf (&tests[i].name, "Authenticator %d", i) < 0)
crypto/heimdal/lib/asn1/der_format.c
98
len = asprintf(&q, "-%s", *p);
crypto/heimdal/lib/asn1/gen.c
129
if (asprintf(&header, "%s.h", headerbase) < 0 || header == NULL)
crypto/heimdal/lib/asn1/gen.c
131
if (asprintf(&fn, "%s.hx", headerbase) < 0 || fn == NULL)
crypto/heimdal/lib/asn1/gen.c
140
if (asprintf(&privheader, "%s-priv.h", headerbase) < 0 || privheader == NULL)
crypto/heimdal/lib/asn1/gen.c
142
if (asprintf(&fn, "%s-priv.hx", headerbase) < 0 || fn == NULL)
crypto/heimdal/lib/asn1/gen.c
151
if (asprintf(&template, "%s-template.c", headerbase) < 0 || template == NULL)
crypto/heimdal/lib/asn1/gen.c
245
if (asprintf(&fn, "%s_files", base) < 0 || fn == NULL)
crypto/heimdal/lib/asn1/gen.c
348
if (asprintf (&filename, "%s_%s.x", STEM, name) < 0 || filename == NULL)
crypto/heimdal/lib/asn1/gen.c
696
if (asprintf(newbasename, "%s_%s", basename, name) < 0)
crypto/heimdal/lib/asn1/gen.c
769
if (asprintf (&n, "_unused%d:1", pos) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
777
if (asprintf (&n, "%s:1", m->gen_name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
787
if (asprintf (&n, "_unused%d:1", pos) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
834
if (asprintf (&n, "*%s", m->gen_name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen.c
921
if (asprintf (&n, "*%s", m->gen_name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_copy.c
113
if (asprintf (&fs, "%s(%s)->%s%s",
crypto/heimdal/lib/asn1/gen_copy.c
119
if (asprintf (&ts, "%s(%s)->%s%s",
crypto/heimdal/lib/asn1/gen_copy.c
170
if (asprintf(&f, "&(%s)->val[(%s)->len]", from, to) < 0)
crypto/heimdal/lib/asn1/gen_copy.c
174
if (asprintf(&T, "&(%s)->val[(%s)->len]", to, to) < 0)
crypto/heimdal/lib/asn1/gen_decode.c
331
if (asprintf (&s, "%s(%s)->%s", m->optional ? "" : "&",
crypto/heimdal/lib/asn1/gen_decode.c
369
if (asprintf (&s, "%s(%s)->%s", m->optional ? "" : "&", name, m->gen_name) < 0 || s == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
393
if (asprintf (&s, "%s->%s", name, m->gen_name) < 0 || s == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
445
if (asprintf (&n, "&(%s)->val[(%s)->len]", name, name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
447
if (asprintf (&sname, "%s_s_of", tmpstr) < 0 || sname == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
477
if (asprintf(&typestring, "%s_type", tmpstr) < 0 || typestring == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
531
if (asprintf (&tname, "%s_Tag", tmpstr) < 0 || tname == NULL)
crypto/heimdal/lib/asn1/gen_decode.c
592
if (asprintf (&s, "%s(%s)->u.%s", m->optional ? "" : "&",
crypto/heimdal/lib/asn1/gen_encode.c
269
if (asprintf (&s, "%s(%s)->%s", m->optional ? "" : "&", name, m->gen_name) < 0 || s == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
364
if (asprintf (&n, "&(%s)->val[i]", name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
366
if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
392
if (asprintf (&tname, "%s_tag", tmpstr) < 0 || tname == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
413
if (asprintf (&s, "(%s)", name) < 0 || s == NULL)
crypto/heimdal/lib/asn1/gen_encode.c
426
if (asprintf(&s2, "%s(%s)->u.%s", m->optional ? "" : "&",
crypto/heimdal/lib/asn1/gen_free.c
130
if (asprintf (&n, "&(%s)->val[(%s)->len-1]", name, name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_free.c
96
if (asprintf (&s, "%s(%s)->%s%s",
crypto/heimdal/lib/asn1/gen_length.c
154
if (asprintf (&s, "%s(%s)->%s%s",
crypto/heimdal/lib/asn1/gen_length.c
200
if (asprintf (&n, "&(%s)->val[i]", name) < 0 || n == NULL)
crypto/heimdal/lib/asn1/gen_length.c
202
if (asprintf (&sname, "%s_S_Of", tmpstr) < 0 || sname == NULL)
crypto/heimdal/lib/asn1/gen_length.c
251
if (asprintf(&tname, "%s_tag", tmpstr) < 0 || tname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
231
if (asprintf(&str, "offsetof(struct %s, %s)", basetype, name) < 0 || str == NULL)
crypto/heimdal/lib/asn1/gen_template.c
564
if (asprintf(&bname, "bmember_%s_%p", name ? name : "", t) < 0 || bname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
603
if (asprintf(&newbasename, "%s_%s", basetype, name) < 0)
crypto/heimdal/lib/asn1/gen_template.c
627
if (asprintf(&tname, "tag_%s_%p", name ? name : "", t) < 0 || tname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
631
if (asprintf(&elname, "%s_%s", basetype, tname) < 0 || elname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
657
if (asprintf(&sename, "%s_%s_val", basetype, name) < 0)
crypto/heimdal/lib/asn1/gen_template.c
661
if (asprintf(&sename, "%s_val", symbol_name(basetype, t->subtype)) < 0)
crypto/heimdal/lib/asn1/gen_template.c
677
if (asprintf(&elname, "%s_%s_%p", basetype, tname, t) < 0 || elname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
697
if (asprintf(&tname, "asn1_choice_%s_%s%x",
crypto/heimdal/lib/asn1/gen_template.c
714
if (asprintf(&elname, "%s_choice_%s", basetype, m->gen_name) < 0 || elname == NULL)
crypto/heimdal/lib/asn1/gen_template.c
718
if (asprintf(&newbasename, "%s_%s", basetype, m->gen_name) < 0)
crypto/heimdal/lib/asn1/gen_template.c
742
if (asprintf(&e, "offsetof(%s%s, u.asn1_ellipsis)", isstruct ? "struct " : "", basetype) < 0 || e == NULL)
crypto/heimdal/lib/com_err/parse.c
1421
asprintf (&prefix, "%s_", (yyvsp[(2) - (2)].string));
crypto/heimdal/lib/com_err/parse.c
1449
asprintf (&ec->name, "%s%s", prefix, (yyvsp[(2) - (4)].string));
crypto/heimdal/lib/com_err/parse.y
105
asprintf (&prefix, "%s_", $2);
crypto/heimdal/lib/com_err/parse.y
127
asprintf (&ec->name, "%s%s", prefix, $2);
crypto/heimdal/lib/gssapi/krb5/accept_sec_context.c
87
ret = asprintf(&p, "FILE:%s", identity);
crypto/heimdal/lib/gssapi/krb5/add_cred.c
179
kret = asprintf(&type_name, "%s:%s", type, name);
crypto/heimdal/lib/gssapi/krb5/display_status.c
167
e = asprintf(&buf, "%s",
crypto/heimdal/lib/gssapi/krb5/display_status.c
170
e = asprintf (&buf, "%s %s",
crypto/heimdal/lib/gssapi/krb5/display_status.c
179
e = asprintf(&buf, "unknown mech error-code %u",
crypto/heimdal/lib/gssapi/mech/gss_display_status.c
166
e = asprintf(&buf, "%s", supplementary_error(
crypto/heimdal/lib/gssapi/mech/gss_display_status.c
169
e = asprintf (&buf, "%s %s",
crypto/heimdal/lib/gssapi/mech/gss_display_status.c
193
e = asprintf (&buf, "unknown mech-code %lu for mech %.*s",
crypto/heimdal/lib/gssapi/mech/gss_krb5.c
67
kret = asprintf(&str, "%.*s", (int)data_set->elements[0].length,
crypto/heimdal/lib/gssapi/ntlm/display_name.c
62
len = asprintf(&str, "%s@%s", n->user, n->domain);
crypto/heimdal/lib/gssapi/ntlm/init_sec_context.c
133
asprintf(&confname, "ntlm-key-%s", name->domain);
crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
378
rv = asprintf(&str, "host@%s", hostname);
crypto/heimdal/lib/gssapi/test_common.c
59
if (asprintf(&ret, "gss-code: %lu %.*s -- mech-code: %lu %.*s",
crypto/heimdal/lib/gssapi/test_names.c
133
len = asprintf(&str, "ftp@freeze-arrow.mit.edu");
crypto/heimdal/lib/gssapi/test_names.c
188
len = asprintf(&str, "lha");
crypto/heimdal/lib/hdb/db.c
162
asprintf(&old, "%s.db", db->hdb_name);
crypto/heimdal/lib/hdb/db.c
163
asprintf(&new, "%s.db", new_name);
crypto/heimdal/lib/hdb/db.c
264
asprintf(&fn, "%s.db", db->hdb_name);
crypto/heimdal/lib/hdb/db3.c
159
asprintf(&old, "%s.db", db->hdb_name);
crypto/heimdal/lib/hdb/db3.c
160
asprintf(&new, "%s.db", new_name);
crypto/heimdal/lib/hdb/db3.c
267
asprintf(&fn, "%s.db", db->hdb_name);
crypto/heimdal/lib/hdb/dbinfo.c
156
asprintf(&di->mkey_file, "%s.mkey", di->dbname);
crypto/heimdal/lib/hdb/dbinfo.c
160
asprintf(&di->mkey_file, "%.*s.mkey",
crypto/heimdal/lib/hdb/hdb-ldap.c
1680
ret = asprintf(&dn, "krb5PrincipalName=%s,%s", name, HDB2CREATE(db));
crypto/heimdal/lib/hdb/hdb-ldap.c
1850
if (asprintf(&(*db)->hdb_name, "ldap:%s", search_base) == -1) {
crypto/heimdal/lib/hdb/hdb-ldap.c
1912
asprintf(&p, "ldapi:%s", arg);
crypto/heimdal/lib/hdb/hdb-ldap.c
298
ret = asprintf(&buf, "%ld", l);
crypto/heimdal/lib/hdb/hdb-ldap.c
858
rc = asprintf(&filter,
crypto/heimdal/lib/hdb/hdb-ldap.c
896
rc = asprintf(&filter,
crypto/heimdal/lib/hdb/hdb-mitdb.c
641
asprintf(&old, "%s.db", db->hdb_name);
crypto/heimdal/lib/hdb/hdb-mitdb.c
642
asprintf(&new, "%s.db", new_name);
crypto/heimdal/lib/hdb/hdb-mitdb.c
833
asprintf(&fn, "%s.db", db->hdb_name);
crypto/heimdal/lib/hdb/hdb.c
302
if (asprintf(&path, LIBDIR "/hdb_%s.so", prefix) == -1)
crypto/heimdal/lib/hdb/hdb.c
321
if (asprintf(&symbol, "hdb_%s_interface", prefix) == -1)
crypto/heimdal/lib/hdb/ndbm.c
141
asprintf(&lock_file, "%s.lock", db_name);
crypto/heimdal/lib/hdb/ndbm.c
192
asprintf(&old_dir, "%s.dir", db->hdb_name);
crypto/heimdal/lib/hdb/ndbm.c
193
asprintf(&old_pag, "%s.pag", db->hdb_name);
crypto/heimdal/lib/hdb/ndbm.c
194
asprintf(&new_dir, "%s.dir", new_name);
crypto/heimdal/lib/hdb/ndbm.c
195
asprintf(&new_pag, "%s.pag", new_name);
crypto/heimdal/lib/hx509/ca.c
968
asprintf(&tstr, "ts-%lu", (unsigned long)t);
crypto/heimdal/lib/hx509/cert.c
3428
asprintf(&buf, "%d", _hx509_cert_get_version(_hx509_get_cert(cert)));
crypto/heimdal/lib/hx509/cms.c
230
asprintf(str, "certificate issued by %s with serial number %s",
crypto/heimdal/lib/hx509/cms.c
245
asprintf(str, "certificate with id %s", keyid);
crypto/heimdal/lib/hx509/cms.c
250
asprintf(str, "certificate have unknown CMSidentifier type");
crypto/heimdal/lib/hx509/error.c
173
if (asprintf(&str, "<unknown error: %d>", error_code) == -1)
crypto/heimdal/lib/hx509/hxtool.c
375
asprintf(&outfile, "%s.%s", infile,
crypto/heimdal/lib/hx509/ks_dir.c
162
if (asprintf(&fn, "FILE:%s/%s", (char *)data, dir->d_name) == -1)
crypto/heimdal/lib/hx509/ks_p11.c
359
asprintf(&slot->name, "%.*s",
crypto/heimdal/lib/hx509/ks_p11.c
451
asprintf(&str, "PIN code for %s: ", slot->name);
crypto/heimdal/lib/hx509/ks_p11.c
758
asprintf(&str, "%.*s",
crypto/heimdal/lib/hx509/softp11.c
1212
asprintf(&pin, "%.*s", (int)ulPinLen, pPin);
crypto/heimdal/lib/hx509/softp11.c
622
asprintf(&str, "PASS:%s", pin);
crypto/heimdal/lib/hx509/softp11.c
836
asprintf(&fn, "%s/.soft-token.rc", home);
crypto/heimdal/lib/hx509/softp11.c
853
asprintf(&fn, "%s\\.soft-token.rc", appdatafolder);
crypto/heimdal/lib/ipc/client.c
353
asprintf(&s->path, "/var/run/.heim_%s-%s", service, file);
crypto/heimdal/lib/ipc/server.c
316
asprintf(&name, "heim-ipc-mach-%s", service);
crypto/heimdal/lib/kadm5/ad.c
1107
asprintf(&filter,
crypto/heimdal/lib/kadm5/ad.c
1158
asprintf(&uaf[0], "%d", i);
crypto/heimdal/lib/kadm5/ad.c
1171
asprintf(&kvno[0], "%d", entry->kvno);
crypto/heimdal/lib/kadm5/ad.c
1190
asprintf(&tv[0], "%llu", wt);
crypto/heimdal/lib/kadm5/ad.c
279
asprintf(&domain, "_ldap._tcp.%s", context->realm);
crypto/heimdal/lib/kadm5/ad.c
447
asprintf(&filter,
crypto/heimdal/lib/kadm5/ad.c
451
asprintf(&filter, "(&(objectClass=account)(userPrincipalName=%s))", pn);
crypto/heimdal/lib/kadm5/ad.c
491
asprintf(&service, "%s/%s@%s", KRB5_TGS_NAME,
crypto/heimdal/lib/kadm5/ad.c
633
asprintf(&samname, "%s$", fqdn);
crypto/heimdal/lib/kadm5/ad.c
670
asprintf(&dn, "cn=%s, cn=Computers, %s", fqdn, CTX2BASE(context));
crypto/heimdal/lib/kadm5/ad.c
685
asprintf(&useraccvals[0], "%d",
crypto/heimdal/lib/kadm5/ad.c
741
asprintf(&useraccvals[0], "%d",
crypto/heimdal/lib/kadm5/ad.c
919
asprintf(&filter,
crypto/heimdal/lib/kadm5/context_s.c
124
asprintf(&ctx->config.acl_file, "%s/kadmind.acl", hdb_db_dir(context));
crypto/heimdal/lib/kadm5/context_s.c
126
asprintf(&ctx->config.stash_file, "%s/m-key", hdb_db_dir(context));
crypto/heimdal/lib/kadm5/context_s.c
128
asprintf(&ctx->log_context.log_file, "%s/log", hdb_db_dir(context));
crypto/heimdal/lib/kadm5/get_princs_s.c
98
asprintf(&d.exp2, "%s@%s", expression, r);
crypto/heimdal/lib/kadm5/init_c.c
468
asprintf(&service_name, "%s@%s", KADM5_ADMIN_SERVICE, ctx->realm);
crypto/heimdal/lib/kadm5/init_c.c
470
asprintf(&service_name, "%s", KADM5_ADMIN_SERVICE);
crypto/heimdal/lib/kadm5/iprop-log.c
53
asprintf(&file, "%s/kdc.conf", hdb_db_dir(context));
crypto/heimdal/lib/kadm5/ipropd_master.c
193
if (asprintf(&slavefile, "%s/slaves", hdb_db_dir(context)) == -1
crypto/heimdal/lib/kadm5/ipropd_master.c
673
asprintf(&statfile, "%s/slaves-stats", hdb_db_dir(context));
crypto/heimdal/lib/kadm5/ipropd_master.c
838
asprintf(&config_file, "%s/kdc.conf", hdb_db_dir(context));
crypto/heimdal/lib/kadm5/ipropd_slave.c
130
asprintf (&server, "%s/%s", IPROP_NAME, serverhost);
crypto/heimdal/lib/kadm5/ipropd_slave.c
358
asprintf(&dbname, "%s-NEW", server_context->db->hdb_name);
crypto/heimdal/lib/kadm5/ipropd_slave.c
532
if (asprintf(&config_file, "%s/kdc.conf", hdb_db_dir(context)) == -1
crypto/heimdal/lib/kadm5/log.c
996
asprintf(&default_signal, "%s/signal", hdb_db_dir(context));
crypto/heimdal/lib/kafs/common.c
352
asprintf(&str, "%s tried afs%s%s@%s -> %s (%d)",
crypto/heimdal/lib/krb5/acache.c
1035
error = asprintf(str, "API:%s", name->data);
crypto/heimdal/lib/krb5/cache.c
1578
ret = asprintf(name, "%.*s", (int)data.length, (char *)data.data);
crypto/heimdal/lib/krb5/cache.c
1746
ret = asprintf(&ccname, "%s:%s", krb5_cc_get_type(context, id), krb5_cc_get_name(context, id));
crypto/heimdal/lib/krb5/cache.c
385
if (asprintf(str, "%s:%s", type, name) == -1) {
crypto/heimdal/lib/krb5/config_file.c
447
asprintf(&newfname, "%s%s", home, &fname[1]);
crypto/heimdal/lib/krb5/config_file.c
456
if (asprintf(&newfname, "%%{USERCONFIG}%s", &fname[1]) < 0 ||
crypto/heimdal/lib/krb5/error_string.c
181
e = asprintf(&str2, "%s: %s", str, context->error_string);
crypto/heimdal/lib/krb5/error_string.c
292
if (asprintf(&str, "<unknown error: %d>", (int)code) == -1 || str == NULL)
crypto/heimdal/lib/krb5/expand_path.c
303
int ret = asprintf(str, "%ld", (unsigned long)getuid());
crypto/heimdal/lib/krb5/fcache.c
324
ret = asprintf (&file, "%sXXXXXX", KRB5_DEFAULT_CCFILE_ROOT);
crypto/heimdal/lib/krb5/fcache.c
823
ret = asprintf(&newname, "FILE:%s.XXXXXX", FILENAME(id));
crypto/heimdal/lib/krb5/init_creds_pw.c
1988
asprintf (&q, "%s's Password: ", p);
crypto/heimdal/lib/krb5/init_creds_pw.c
239
if (asprintf(&p, "%s%s", str, ctime(&now)) < 0 || p == NULL)
crypto/heimdal/lib/krb5/init_creds_pw.c
566
if (asprintf(&p, "%s: %.*s\n",
crypto/heimdal/lib/krb5/kcm.c
984
asprintf(str, "%s:%s", ops->prefix, name);
crypto/heimdal/lib/krb5/keytab.c
452
if (asprintf(str, "%s:%s", type, name) == -1) {
crypto/heimdal/lib/krb5/krbhst.c
409
ret = asprintf(&hostname, "%s.", host->hostname);
crypto/heimdal/lib/krb5/krbhst.c
514
ret = asprintf(&host, "%s.%s.", serv_string, kd->realm);
crypto/heimdal/lib/krb5/krbhst.c
516
ret = asprintf(&host, "%s-%d.%s.",
crypto/heimdal/lib/krb5/mcache.c
76
ret = asprintf(&m->name, "%p", m);
crypto/heimdal/lib/krb5/plugin.c
270
ret = asprintf(&path, "%s/%s/Contents/MacOS/%.*s", dir, n, (int)(len - 7), n);
crypto/heimdal/lib/krb5/plugin.c
274
ret = asprintf(&path, "%s/%s", dir, n);
crypto/heimdal/lib/krb5/plugin.c
462
ret = asprintf(&path, "%s/%s/Contents/MacOS/%.*s", *di, n, (int)(len - 7), n);
crypto/heimdal/lib/krb5/plugin.c
466
ret = asprintf(&path, "%s/%s", *di, n);
crypto/heimdal/lib/krb5/replay.c
311
ret = asprintf(&name, "FILE:rc_%s_%u", tmp, (unsigned)geteuid());
crypto/heimdal/lib/krb5/replay.c
313
ret = asprintf(&name, "FILE:rc_%s", tmp);
crypto/heimdal/lib/krb5/scache.c
1176
ret = asprintf(&name, "cacheIteration%pPid%d",
crypto/heimdal/lib/krb5/scache.c
1186
ret = asprintf(&ctx->drop, "DROP TABLE %s", name);
crypto/heimdal/lib/krb5/scache.c
1196
ret = asprintf(&str, "CREATE TEMPORARY TABLE %s AS SELECT name FROM caches",
crypto/heimdal/lib/krb5/scache.c
1219
ret = asprintf(&str, "SELECT name FROM %s", name);
crypto/heimdal/lib/krb5/scache.c
1374
ret = asprintf(str, "SCC:%s", name);
crypto/heimdal/lib/krb5/scache.c
329
ret = asprintf(&s->name, "unique-%p", s);
crypto/heimdal/lib/krb5/scache.c
905
ret = asprintf(&name, "credIteration%pPid%d",
crypto/heimdal/lib/krb5/scache.c
914
ret = asprintf(&ctx->drop, "DROP TABLE %s", name);
crypto/heimdal/lib/krb5/scache.c
923
ret = asprintf(&str, "CREATE TEMPORARY TABLE %s "
crypto/heimdal/lib/krb5/scache.c
943
ret = asprintf(&str, "SELECT oid FROM %s ORDER BY created_at", name);
crypto/heimdal/lib/krb5/send_to_kdc.c
193
ret = asprintf(&request, "GET %s%s HTTP/1.0\r\n\r\n", prefix, str);
crypto/heimdal/lib/krb5/send_to_kdc.c
307
ret = asprintf(&prefix, "http://%s/", hi->hostname);
crypto/heimdal/lib/krb5/test_cc.c
127
if (asprintf(&c, "%s:%s", tc, nc) < 0 || c == NULL)
crypto/heimdal/lib/krb5/test_cc.c
179
if (asprintf(&n, "%s:%s",
crypto/heimdal/lib/krb5/test_princ.c
80
if (asprintf(&princ_reformed, "%s@%s", princ_short, realm) < 0 || princ_reformed == NULL)
crypto/heimdal/lib/krb5/verify_krb5_conf.c
592
if (asprintf(&local, "%s/%s", path, p->name) < 0 || local == NULL)
crypto/heimdal/lib/roken/roken_gethostby.c
150
if (asprintf(&request, "GET %s?%s HTTP/1.0\r\n\r\n", dns_req, hostname) < 0)
crypto/heimdal/lib/roken/roken_gethostby.c
74
if (asprintf(&dns_req, "http://%s:%d%s", dns_host, dns_port, dns_path) < 0)
crypto/heimdal/lib/roken/roken_gethostby.c
80
asprintf(&dns_req, "%s", dns_path);
crypto/heimdal/lib/roken/setenv.c
56
if (asprintf (&t, "%s=%s", var, val) < 0 || t == NULL)
crypto/heimdal/lib/roken/write_pid.c
44
if (asprintf (&ret, "%s%s.pid", _PATH_VARRUN, progname) < 0 || ret == NULL)
crypto/heimdal/lib/sl/slc-gram.c
1882
asprintf(&s, "%s_flag", lopt->u.value);
crypto/heimdal/lib/sl/slc-gram.c
1884
asprintf(&s, "%s_%s", lopt->u.value, type->u.value);
crypto/heimdal/lib/sl/slc-gram.y
373
asprintf(&s, "%s_flag", lopt->u.value);
crypto/heimdal/lib/sl/slc-gram.y
375
asprintf(&s, "%s_%s", lopt->u.value, type->u.value);
crypto/krb5/src/ccapi/server/ccs_cache_collection.c
446
int ret = asprintf (&name, "%lld", io_cache_collection->next_unique_name++);
crypto/krb5/src/ccapi/test/test_ccapi_util.c
56
asprintf(&client, "client@%s", realm);
crypto/krb5/src/ccapi/test/test_ccapi_util.c
57
asprintf(&server, "host/%d%s@%s", num_runs++, realm, realm);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1364
asprintf (&name, "TEST_CC_SEQ_FETCH_NCS_NEXT_%d", i);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
1472
asprintf (&name, "TEST_CC_GET_NC_INFO_%d", i);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
75
asprintf(&client, "client@%s", realm);
crypto/krb5/src/ccapi/test/test_ccapi_v2.c
76
asprintf(&server, "host/%d%s@%s", num_runs++, realm, realm);
crypto/krb5/src/clients/ksu/authorization.c
348
asprintf(&err, _("Error: bad entry - %s in %s file, must be "
crypto/krb5/src/clients/ksu/authorization.c
356
asprintf(&err, _("Error: bad entry - %s in %s file, since %s is just "
crypto/krb5/src/clients/ksu/authorization.c
371
asprintf(&err, _("Error: bad entry - %s in %s file, CMD_PATH "
crypto/krb5/src/clients/ksu/authorization.c
380
asprintf(&err, _("Error: bad path %s in CMD_PATH for %s must "
crypto/krb5/src/clients/ksu/main.c
864
if (asprintf(&target, "FILE:%s", defname) < 0)
crypto/krb5/src/clients/ksu/main.c
911
if (asprintf(&ccname, "%s.%s", target, sym) < 0) {
crypto/krb5/src/clients/ksu/main.c
992
asprintf(&env_var_buf,"%s=%s",name, value);
crypto/krb5/src/include/k5-platform.h
970
extern int asprintf(char **, const char *, ...)
crypto/krb5/src/kadmin/cli/kadmin.c
217
result = asprintf(&fullname, "%s@%s", name, def_realm);
crypto/krb5/src/kadmin/cli/kadmin.c
219
result = asprintf(&fullname, "%s", name);
crypto/krb5/src/kadmin/cli/kadmin.c
356
asprintf(&db_name, "dbname=%s", optarg);
crypto/krb5/src/kadmin/cli/kadmin.c
457
if (asprintf(&princstr, "%s/%s@%s", KRB5_WELLKNOWN_NAMESTR,
crypto/krb5/src/kadmin/cli/kadmin.c
510
if (asprintf(&princstr, "%s/admin%s%s", canon,
crypto/krb5/src/kadmin/cli/kadmin.c
520
if (asprintf(&princstr, "%s/admin@%s", luser, def_realm) < 0) {
crypto/krb5/src/kadmin/cli/kadmin.c
526
if (asprintf(&princstr, "%s/admin@%s", pw->pw_name,
crypto/krb5/src/kadmin/cli/keytab.c
94
else if (asprintf(&name, "WRFILE:%s", name) < 0)
crypto/krb5/src/kadmin/dbutil/dump.c
139
if (asprintf(tmpname, "%s-XXXXXX", ofile) < 0)
crypto/krb5/src/kadmin/dbutil/dump.c
181
if (asprintf(&file_ok, "%s%s", file_name, ok) < 0) {
crypto/krb5/src/kadmin/dbutil/kadm5_create.c
196
if (asprintf(&fullname, "%s@%s", name, realm) < 0) {
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
595
retval = asprintf(&output_str,
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
600
retval = asprintf(&output_str,
crypto/krb5/src/kadmin/dbutil/kdb5_mkey.c
604
retval = asprintf(&output_str,
crypto/krb5/src/kadmin/dbutil/kdb5_util.c
237
if (asprintf(&db_name_tmp, "dbname=%s", global_params.dbname) < 0)
crypto/krb5/src/kadmin/dbutil/tabdump.c
400
if (asprintf(&s, "0x%08lx", 1UL << i) == -1)
crypto/krb5/src/kadmin/server/ipropd_svc.c
343
if (asprintf(&ubuf, "%s -r %s dump -i%d -c %s", kdb5_util,
crypto/krb5/src/kadmin/server/ovsec_kadmd.c
199
if (asprintf(&fullname, "%s@%s", name, realm) < 0)
crypto/krb5/src/kdc/fast_util.c
479
if (asprintf(&derive_input, "COOKIE%s", princstr) < 0) {
crypto/krb5/src/kdc/main.c
179
if (asprintf(val_out, "%s %s", val1, val2) < 0) {
crypto/krb5/src/kdc/main.c
718
if (asprintf(&db_name, "dbname=%s", optarg) < 0) {
crypto/krb5/src/kprop/kprop.c
369
if (asprintf(&data_ok_fn, "%s.dump_ok", data_fn) < 0) {
crypto/krb5/src/kprop/kprop.c
580
if (asprintf(&file_last_prop, "%s.%s%s", file_name, hostname,
crypto/krb5/src/kprop/kpropd.c
1157
if (asprintf(&temp_file_name, "%s.temp", file) < 0) {
crypto/krb5/src/kprop/kpropd.c
1623
if (asprintf(&name, "%s/%s", KADM5_KIPROP_HOST_SERVICE, host) < 0) {
crypto/krb5/src/lib/gssapi/generic/disp_major_status.c
116
if (asprintf(&str, _(unknown_error), kind, value) < 0)
crypto/krb5/src/lib/kadm5/alt_prof.c
693
if (asprintf(¶ms.iprop_logfile, "%s.ulog",
crypto/krb5/src/lib/kadm5/clnt/client_init.c
383
if (asprintf(&handle->cache_name, "%s:%s",
crypto/krb5/src/lib/kadm5/clnt/client_init.c
393
if (asprintf(&handle->cache_name, "MEMORY:kadm5_%u", counter++) < 0) {
crypto/krb5/src/lib/kadm5/srv/server_kdb.c
124
if (asprintf(&hist_name, "%s@%s", KADM5_HIST_PRINCIPAL, realm) < 0) {
crypto/krb5/src/lib/kadm5/str_conv.c
214
if (asprintf(outstr, "0x%08lx", 1UL << flagnum) == -1)
crypto/krb5/src/lib/kdb/kdb5.c
1489
if (asprintf(&fname, "%s%s%s", keyname, REALM_SEP_STRING, realm) < 0)
crypto/krb5/src/lib/kdb/kdb_default.c
147
retval = asprintf(&tmp_ktname, "FILE:%s_tmp", keyfile);
crypto/krb5/src/lib/krb5/ccache/cc_api_macos.c
295
if (asprintf(&prefix_name, "API:%s", data->residual) < 0)
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
187
if (asprintf(&newpath, "%s.XXXXXX", primary_path) < 0)
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
98
ret = asprintf(&residual, ":%s", path);
crypto/krb5/src/lib/krb5/ccache/cc_file.c
1286
if (asprintf(&tmpname, "%s.XXXXXX", data->filename) < 0)
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
463
if (asprintf(residual_out, "%s:%s:%s", anchor_name, collection_name,
crypto/krb5/src/lib/krb5/ccache/cc_keyring.c
525
if (asprintf(&ckname, "%s%s", KRCC_CCCOL_PREFIX, collection_name) == -1)
crypto/krb5/src/lib/krb5/ccache/ccfns.c
44
if (asprintf(&name, "%s:%s", cache->ops->prefix,
crypto/krb5/src/lib/krb5/ccache/t_marshal.c
283
if (asprintf(&ccname, "FILE:%s", filename) == -1)
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
402
if (asprintf(&filename, "/tmp/kttest.%ld", (long) getpid()) < 0) {
crypto/krb5/src/lib/krb5/keytab/t_keytab.c
406
if (asprintf(&name, "%s%s", prefix, filename) < 0) {
crypto/krb5/src/lib/krb5/krb/get_in_tkt.c
1158
if (asprintf(&tmp, "%ld", (long)ctx->selected_preauth_type) < 0)
crypto/krb5/src/lib/krb5/krb/pac.c
993
length = asprintf(&attrs[j].data, "urn:mspac:%d",
crypto/krb5/src/lib/krb5/krb/plugin.c
362
if (asprintf(&symname, "%s_%s_initvt", iname, map->modname) < 0)
crypto/krb5/src/lib/krb5/krb/plugin.c
492
if (asprintf(&fname, "%s%s", modname, PLUGIN_EXT) < 0)
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1045
asprintf(&tmp, "%.*s", ti->vendor.length, ti->vendor.data) >= 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1050
asprintf(&tmp, "%.*s", ti->alg_id.length, ti->alg_id.data) >= 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
1055
asprintf(&tmp, "%.*s", ti->token_id.length, ti->token_id.data) >= 0) {
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
562
if (asprintf(challenge, "%s %.*s\n",
crypto/krb5/src/lib/krb5/krb/preauth_otp.c
655
retval = asprintf(&req->otp_value.data, "%.*s%.*s",
crypto/krb5/src/lib/krb5/krb/t_cc_config.c
131
if (asprintf(&perr, "Error parsing principal name \"%s\"",
crypto/krb5/src/lib/krb5/krb/t_in_ccache.c
127
if (asprintf(&perr, "Error parsing principal name \"%s\"", user) < 0)
crypto/krb5/src/lib/krb5/krb/t_princ.c
106
asprintf(&princ_reformed, "%s@%s", princ_short, realm);
crypto/krb5/src/lib/krb5/os/dnssrv.c
164
if (asprintf(&srv->host, "%s.", rr->Data.SRV.pNameTarget) < 0) {
crypto/krb5/src/lib/krb5/os/dnssrv.c
332
if (asprintf(&srv->host, "%s.", host) < 0) {
crypto/krb5/src/lib/krb5/os/expand_path.c
294
if (asprintf(str, "%lu", (unsigned long)getuid()) < 0)
crypto/krb5/src/lib/krb5/os/expand_path.c
302
if (asprintf(str, "%lu", (unsigned long)geteuid()) < 0)
crypto/krb5/src/lib/krb5/os/localauth_k5login.c
66
if (asprintf(&filename, "%s/.k5login", homedir) < 0)
crypto/krb5/src/lib/krb5/os/localauth_k5login.c
70
if (asprintf(&filename, "%s/%s", dir, lname) < 0)
crypto/krb5/src/lib/krb5/os/sn2princ.c
216
if (asprintf(&combined, "%s%.*s", canonhost,
crypto/krb5/src/lib/krb5/os/sn2princ.c
79
if (asprintf(&fqdn, "%s.%s", host, domain) < 0)
crypto/krb5/src/lib/krb5/os/trace.c
100
(void) asprintf(&s, "%02X%02X", cksum.contents[0], cksum.contents[1]);
crypto/krb5/src/lib/krb5/os/trace.c
411
if (asprintf(&msg, "[%d] %u.%06d: %s\n", (int)getpid(),
crypto/krb5/src/lib/krb5/rcache/rc_base.c
45
if (asprintf(&rcname, "%s:", val) < 0)
crypto/krb5/src/lib/krb5/rcache/rc_dfl.c
100
if (asprintf(&fname, "%s/krb5_%lu.rcache2", dir, (unsigned long)euid) < 0)
crypto/krb5/src/lib/krb5/rcache/rc_dfl.c
61
if (asprintf(&fname, "%s\\krb5.rcache2") < 0)
crypto/krb5/src/lib/rpc/unit-test/server.c
161
asprintf(&res, "Echo: %s", *arg);
crypto/krb5/src/plugins/certauth/test/main.c
211
if (asprintf(&ais[0], "hwauth:%s", strval) < 0)
crypto/krb5/src/plugins/kdb/db2/kdb_db2.c
299
if (asprintf(&result, "%s%s%s", dbc->db_name, tilde, sfx) < 0)
crypto/krb5/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
238
if (asprintf(&tmp_file,"%s.tmp",file_name) < 0) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1186
if (asprintf(&filter, "%s=%s", refattr, corrected) < 0) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c
1301
st = asprintf(policy_dn, "cn=%s,%s", corrected,
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
240
if (asprintf(&filter, FILTER"%s))", match_expr) < 0)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal.c
428
ret = asprintf(&newrdn, "krbprincipalname=%s", newprinc);
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
1019
if (asprintf(&standalone_principal_dn, "krbprincipalname=%s,%s",
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c
171
if (asprintf(&filter, FILTER"%s))", filtuser) < 0) {
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
611
if (asprintf(&dn, "cn=%s,%s", realm_name, ldap_context->container_dn) < 0)
crypto/krb5/src/plugins/kdb/ldap/libkdb_ldap/ldap_realm.c
760
if (asprintf(&rlparams->realmdn, "cn=%s,%s", lrealm,
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
187
if (asprintf(&dbc->path, "%s.mdb", path) < 0) {
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
192
if (asprintf(&dbc->lockout_path, "%s.lockout.mdb", path) < 0) {
crypto/krb5/src/plugins/kdb/lmdb/kdb_lmdb.c
673
if (asprintf(&lock_path, "%s-lock", path) < 0)
crypto/krb5/src/plugins/kdb/test/kdb_test.c
204
if (asprintf(&hashstr, "%d %d %d %s %.*s", (int)kvno, (int)etype,
crypto/krb5/src/plugins/preauth/otp/otp_state.c
155
if (asprintf(&server, DEFAULT_SOCKET_FMT, name) < 0)
crypto/krb5/src/plugins/preauth/otp/otp_state.c
210
} else if (asprintf(&server, DEFAULT_SOCKET_FMT, name) < 0) {
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
1376
if (asprintf(&prompt, "%s %s", _("Pass phrase for"),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3476
if (asprintf(&prompt, "%.*s PIN%s", (int) sizeof (tip->label),
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3605
if (asprintf(&p11name,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3611
if (asprintf(&p11name,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4053
if (asprintf(&ret, "PKCS12:%s", filename) < 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4140
if (asprintf(&prompt_string, "%s %s", prompt_prefix,
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4200
if (asprintf(&ret, "FILE:%s,%s", certfile, keyfile) < 0)
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
4203
if (asprintf(&ret, "FILE:%s", certfile) < 0)
crypto/krb5/src/util/profile/prof_file.c
204
if (asprintf(&expanded_filename, "%s%s", home_env,
crypto/krb5/src/util/profile/prof_file.c
415
if (asprintf(&new_file, "%s.$$$", outfile) < 0) {
crypto/krb5/src/util/profile/prof_file.c
419
if (asprintf(&old_file, "%s.bak", outfile) < 0) {
crypto/krb5/src/util/profile/prof_parse.c
277
if (asprintf(&pathname, "%s/%s", dirname, fnames[i]) < 0) {
crypto/krb5/src/util/profile/testmod/testmod_main.c
48
asprintf(&(*ret_values)[1], "%d", d->gen);
crypto/krb5/src/util/ss/error.c
46
if (asprintf(&ret_val, "%s (%s)",
crypto/krb5/src/util/ss/invocation.c
91
if (asprintf(&new_table->prompt, "%s: ", subsystem_name) < 0) {
crypto/krb5/src/util/support/dir_filenames.c
82
if (asprintf(&wildcard, "%s\\*", dirname) < 0)
crypto/krb5/src/util/support/path.c
141
ret = asprintf(&path, "%s%s", path1, path2);
crypto/krb5/src/util/support/path.c
143
ret = asprintf(&path, "%s%c%s", path1, SEP, path2);
crypto/krb5/src/util/support/plugins.c
352
if (asprintf(&tempnames[(i*exts_count)+j], "%s%s",
crypto/openssh/auth-options.c
274
if (asprintf(&tmp, "*:%s", opt) == -1) {
crypto/openssh/authfile.c
277
if (asprintf(&pubfile, "%s.pub", filename) == -1)
crypto/openssh/authfile.c
308
if (asprintf(&file, "%s-cert.pub", filename) == -1)
crypto/openssh/hostfile.c
623
if ((r = asprintf(&temp, "%s.XXXXXXXXXXX", filename)) == -1 ||
crypto/openssh/hostfile.c
624
(r = asprintf(&back, "%s.old", filename)) == -1) {
crypto/openssh/misc.c
732
if (asprintf(&hoststr, "[%s]:%d", host, (int)port) == -1)
crypto/openssh/openbsd-compat/openbsd-compat.h
245
int asprintf(char **, const char *, ...);
crypto/openssh/sshkey-xmss.c
472
if (asprintf(&lockfile, "%s.lock", filename) == -1 ||
crypto/openssh/sshkey-xmss.c
473
asprintf(&statefile, "%s.state", filename) == -1 ||
crypto/openssh/sshkey-xmss.c
474
asprintf(&ostatefile, "%s.ostate", filename) == -1) {
crypto/openssh/sshkey-xmss.c
599
if (asprintf(&statefile, "%s.state", filename) == -1 ||
crypto/openssh/sshkey-xmss.c
600
asprintf(&ostatefile, "%s.ostate", filename) == -1 ||
crypto/openssh/sshkey-xmss.c
601
asprintf(&nstatefile, "%s.nstate", filename) == -1) {
include/stdio.h
394
int asprintf(char **, const char *, ...) __printflike(2, 3);
kerberos5/lib/libgssapi_krb5/gss_krb5.c
70
kret = asprintf(&str, "%.*s", (int)data_set->elements[0].length,
lib/libc/gen/feature_present.c
51
if (asprintf(&mib, "kern.features.%s", feature) < 0)
lib/libc/gen/getttyent.c
109
asprintf(&dev, "%s", ty_name);
lib/libc/gen/getttyent.c
111
asprintf(&dev, "/dev/%s", ty_name);
lib/libc/locale/collate.c
146
if (asprintf(&buf, "%s/%s/LC_COLLATE", _PathLocale, encoding) == -1)
lib/libc/locale/setrunelocale.c
110
if (asprintf(&path, "%s/%s/LC_CTYPE", _PathLocale, encoding) == -1)
lib/libc/net/getservent.c
715
asprintf(&buf, "%s/%s", name, proto);
lib/libc/net/getservent.c
726
asprintf(&buf, "%d/%s", ntohs(port), proto);
lib/libc/posix1e/acl_to_text.c
116
len = asprintf(&tmpbuf, "%suser:%s:%s\t\t# "
lib/libc/posix1e/acl_to_text.c
121
len = asprintf(&tmpbuf, "%suser:%s:%s\n", buf,
lib/libc/posix1e/acl_to_text.c
144
len = asprintf(&tmpbuf, "%sgroup::%s\t\t# "
lib/libc/posix1e/acl_to_text.c
148
len = asprintf(&tmpbuf, "%sgroup::%s\n", buf,
lib/libc/posix1e/acl_to_text.c
176
len = asprintf(&tmpbuf, "%sgroup:%s:%s\t\t# "
lib/libc/posix1e/acl_to_text.c
181
len = asprintf(&tmpbuf, "%sgroup:%s:%s\n", buf,
lib/libc/posix1e/acl_to_text.c
196
len = asprintf(&tmpbuf, "%smask::%s\n", buf,
lib/libc/posix1e/acl_to_text.c
210
len = asprintf(&tmpbuf, "%sother::%s\n", buf,
lib/libc/posix1e/acl_to_text.c
89
len = asprintf(&tmpbuf, "%suser::%s\n", buf,
lib/libc/rpc/getrpcent.c
444
asprintf(&buf, "%s", name);
lib/libc/rpc/getrpcent.c
475
asprintf(&buf, "%d", number);
lib/libc/rpc/rpc_generic.c
595
if (asprintf(&ret, "%s.%u.%u", namebuf, ((u_int32_t)port) >> 8,
lib/libc/rpc/rpc_generic.c
608
if (asprintf(&ret, "%s.%u.%u", namebuf6, ((u_int32_t)port) >> 8,
lib/libc/rpc/rpc_generic.c
614
if (asprintf(&ret, "%s", (char *)nbuf->buf) < 0)
lib/libc/rpc/rpc_generic.c
619
if (asprintf(&ret, "%.*s", (int)(sun->sun_len -
lib/libc/stdio/tmpfile.c
61
(void)asprintf(&buf, "%s%s%s", tmpdir,
lib/libc/tests/gen/dlopen_empty_test.c
65
asprintf(&soname, "%s.so", fname);
lib/libc/tests/nss/getaddrinfo_test.c
491
ATF_REQUIRE(0 < asprintf(&_hostlist_file, "%s/%s", \
lib/libc/tests/nss/gethostby_test.c
1073
ATF_REQUIRE(0 < asprintf(&_hostlist_file, "%s/%s", \
lib/libc/tests/resolv/resolv_test.c
310
ATF_REQUIRE(0 < asprintf(&_hostlist_file, "%s/%s", \
lib/libc/tests/stdlib/cxa_atexit_test.c
24
if (asprintf(&shlib, "%s/libatexit.so", srcdir) < 0)
lib/libc/tests/stdlib/dynthr_test.c
71
if (asprintf(&libpath, "%s/dynthr_mod.so", srcdir) < 0)
lib/libc/tests/sys/cpuset_test.c
258
if (asprintf(&name, "cpuset_%d", getpid()) == -1)
lib/libc/tests/sys/cpuset_test.c
493
if (asprintf(&name, "cpuset_%d", getpid()) == -1)
lib/libc/tests/sys/sendfile_test.c
115
ATF_REQUIRE_MSG(asprintf(&serv, "%d", port) >= 0,
lib/libc/tests/sys/sendfile_test.c
715
rc = asprintf(&pattern, "%s%s%s",
lib/libc/uuid/uuid_to_string.c
60
asprintf(s, "%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
lib/libefivar/efivar-dp-xlate.c
286
asprintf(abspath, "/%s", *relpath);
lib/libefivar/efivar-dp-xlate.c
288
asprintf(abspath, "%s/%s", mnt[i].f_mntonname, *relpath);
lib/libefivar/efivar-dp-xlate.c
463
asprintf(&rv, "File(%s)", relpath);
lib/libefivar/efivar-dp-xlate.c
589
asprintf(&dptxt, "%s/%s", efimedia, fp == NULL ? "" : fp);
lib/libfetch/http.c
1262
if (asprintf(&options, "%s%s%s%s",
lib/libfetch/http.c
1316
if (asprintf(&upw, "%s:%s", usr, pwd) == -1)
lib/libgeom/geom_util.c
296
asprintf(&path, "%s%s", _PATH_DEV, devpath);
lib/libgssapi/gss_display_status.c
286
asprintf(&buf, "%s", supplementary_error(
lib/libgssapi/gss_display_status.c
289
asprintf (&buf, "%s %s",
lib/libgssapi/gss_display_status.c
312
asprintf (&buf, "unknown mech-code %lu for mech %.*s",
lib/libiscsiutil/chap.c
251
ret = asprintf(&chap_i, "%d", chap->chap_id);
lib/libiscsiutil/keys.c
185
ret = asprintf(&str, "%d", value);
lib/libmp/mpasbn.c
169
asprintf(&s, "%x", n);
lib/libmp/mpasbn.c
440
asprintf(&s2, "%s", s);
lib/libmp/mpasbn.c
460
asprintf(&s2, "%s", s);
lib/libpam/modules/pam_exec/pam_exec.c
219
if (asprintf(&envstr, "%s=%s", pam_item_env[i].name,
lib/libpam/modules/pam_exec/pam_exec.c
228
if (asprintf(&envstr, "PAM_SM_FUNC=%s", func) < 0)
lib/libpam/modules/pam_ftpusers/pam_ftpusers.c
91
asprintf(&name, "%.*s", (int)len - 1, line + 1);
lib/libpam/modules/pam_krb5/pam_krb5.c
195
asprintf(&principal, "%s/%s", (const char *)sourceuser, user);
lib/libpam/modules/pam_krb5/pam_krb5.c
353
asprintf(&ccache_name, "%s:%s", krb5_cc_get_type(krbctx,
lib/libpam/modules/pam_krb5/pam_krb5.c
503
asprintf(&cache_name_buf, "FILE:/tmp/krb5cc_%d", pwd->pw_uid);
lib/libpam/modules/pam_ksu/pam_ksu.c
165
(void)asprintf(&prompt, "Password for %s:", su_principal_name);
lib/libpam/modules/pam_ksu/pam_ksu.c
167
(void)asprintf(&prompt, "Password:");
lib/libpam/modules/pam_ksu/pam_ksu.c
244
(void)asprintf(&ccname, "%s%lu", KRB5_DEFAULT_CCROOT, (unsigned long)ruid);
lib/libpam/modules/pam_ksu/pam_ksu.c
287
(void)asprintf(su_principal_name, "%s/%s@%s", principal_name, superuser, p);
lib/libpam/modules/pam_xdg/pam_xdg.c
134
rv = asprintf(&runtime_dir, "XDG_RUNTIME_DIR=%s/%s", RUNTIME_DIR_PREFIX, user);
lib/libpam/modules/pam_xdg/pam_xdg.c
149
rv = asprintf(&xdg_session_file, "%s/xdg_session.%d", user, i);
lib/libpam/modules/pam_xdg/pam_xdg.c
272
rv = asprintf(&xdg_session_file, "%s/xdg_session.%d", user, i);
lib/libpmc/pmu-events/jevents.c
308
i = asprintf(&tp, "%s", topic);
lib/libpmc/pmu-events/jevents.c
921
n = asprintf(&tblname, "pme_%s", fname);
lib/libproc/tests/proc_test.c
54
asprintf(&argv[0], "%s/%s", atf_tc_get_config_var(tc, "srcdir"),
lib/libsbuf/tests/sbuf_stdio_test.c
119
asprintf(&test_string_tmp, "%s%c" MESSAGE_FORMAT, test_string,
lib/libsbuf/tests/sbuf_stdio_test.c
179
asprintf(&test_string_tmp, "%s%c" MESSAGE_FORMAT, test_string,
lib/libsbuf/tests/sbuf_string_test.c
146
asprintf(&test_string_tmp, "%s%s", test_string, test_string);
lib/libutil/pw_util.c
400
asprintf(&line, "%s:%s:%ju:%ju:%s:%ju:%ju:%s:%s:%s", pw->pw_name,
lib/libutil/pw_util.c
415
asprintf(&line, "%s:*:%ju:%ju:%s:%s:%s", pw->pw_name,
lib/libypclnt/ypclnt_error.c
57
asprintf(&ypclnt->error, "%s(): %s", func, errmsg);
libexec/phttpget/phttpget.c
162
asprintf(&proxy_auth_userpass, "%s:%s",
libexec/phttpget/phttpget.c
171
asprintf(&proxyauth, "Proxy-Authorization: Basic %s\r\n",
libexec/phttpget/phttpget.c
202
buflen = asprintf(buf,
libexec/rtld-elf/tests/dlopen_hash_test.c
33
ATF_REQUIRE(asprintf(&pathfds, "%d", testdir) > 0);
libexec/rtld-elf/tests/dlopen_hash_test.c
36
ATF_REQUIRE(asprintf(&name, "#%d/libpythagoras.so.0", testdir) > 0);
libexec/rtld-elf/tests/ld_library_pathfds.c
103
asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d:%d",
libexec/rtld-elf/tests/ld_library_pathfds.c
118
asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d:%d:%d",
libexec/rtld-elf/tests/ld_library_pathfds.c
133
asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d:%d",
libexec/rtld-elf/tests/ld_library_pathfds.c
62
asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d", files.etc) > 0);
libexec/rtld-elf/tests/ld_library_pathfds.c
75
ATF_REQUIRE(asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=::") > 0);
libexec/rtld-elf/tests/ld_library_pathfds.c
89
asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d", files.testdir) > 0);
libexec/rtld-elf/tests/ld_preload_fds.c
64
ATF_REQUIRE(asprintf(&senv, "LD_PRELOAD_FDS=::") > 0);
libexec/rtld-elf/tests/ld_preload_fds.c
78
asprintf(&senv, "LD_PRELOAD_FDS=%d", libraryfd) > 0);
libexec/rtld-elf/tests/ld_preload_fds.c
91
asprintf(&senv, "LD_PRELOAD_FDS=%d:%d", libraryfd, libraryfd) > 0);
libexec/rtld-elf/tests/set_var_test.c
27
ATF_REQUIRE(asprintf(&pathfds, "%d", testdir) > 0);
libexec/tftpd/tftpd.c
333
asprintf(&tempchroot, "%s/%s", chroot_dir, hbuf);
sbin/bectl/bectl_jail.c
146
if (asprintf(&jargv[iarg++], "%s=%s", name, val) < 0)
sbin/bectl/bectl_jail.c
158
if (asprintf(&jargv[iarg++], "command=%s", cmd) < 0) {
sbin/bectl/bectl_jail.c
167
if (asprintf(&jargv[iarg++], "%s", argv[0]) < 0)
sbin/devd/devd.cc
868
asprintf(×tr, "%jd.%06ld", (uintmax_t)tv.tv_sec, tv.tv_usec);
sbin/devmatch/devmatch.c
504
asprintf(&loc, "%s %s", parent->dd_pnpinfo,
sbin/dhclient/dhclient.c
426
asprintf(&path_dhclient_pidfile,
sbin/dhclient/dhclient.c
444
if (path_dhclient_db == NULL && asprintf(&path_dhclient_db, "%s.%s",
sbin/init/init.c
1323
if (asprintf(&sp->se_device, "%s%s", _PATH_DEV, typ->ty_name) < 0)
sbin/init/init.c
1355
if (asprintf(&sp->se_getty, "%s %s", typ->ty_getty, typ->ty_name) < 0)
sbin/ipf/libipf/parseipfexpr.c
96
asprintf(&error, "keyword (%.10s) not found", ops);
sbin/kldconfig/kldconfig.c
265
asprintf(&p, "%s%s%s",
sbin/ldconfig/elfhints.c
275
if (asprintf(&tempname, "%s.XXXXXX", hintsfile) == -1)
sbin/mdmfs/mdmfs.c
388
if (asprintf(&new, "%s %s", old, new) == -1)
sbin/mount/mount.c
719
if (asprintf(&cp, "%s,%s", s0, s1) == -1)
sbin/mount_fusefs/mount_fusefs.c
311
if (asprintf(&uscore_opt, "__%s", mo->m_option) == -1)
sbin/mount_fusefs/mount_fusefs.c
382
if (asprintf(&fds, "%d", fd) == -1)
sbin/mount_nfs/mount_nfs.c
274
asprintf(&tmp, "%d", atoi(val));
sbin/nvmecontrol/comnd.c
300
asprintf(&path, "%s/%s", dir, dent->d_name);
sbin/pfctl/parse.y
4165
if (asprintf(&buf, "%s/%lld", $1, (long long)$3) == -1)
sbin/pfctl/parse.y
4181
if (asprintf(&buf, "%lld/%lld", (long long)$1, (long long)$3) == -1)
sbin/pfctl/parse.y
4183
if (asprintf(&buf, "%lld/%lld", $1, $3) == -1)
sbin/pfctl/parse.y
947
if (asprintf(&$$, "%s %s", $1, $2) == -1)
sbin/pfctl/parse.y
956
if (asprintf(&$$, "%s %s", $1, $2) == -1)
sbin/pfctl/parse.y
966
if (asprintf(&s, "%lld", (long long)$1) == -1) {
sbin/pfctl/pfctl.c
3394
e = asprintf(&pfra->pfra_anchorname, "%s/%s", pr->path,
sbin/pfctl/pfctl.c
3397
e = asprintf(&pfra->pfra_anchorname, "%s", pr->name);
sbin/pfctl/tests/pfctl_test.c
235
asprintf(&input_path, "%s/files/pf%s.in",
sbin/pfctl/tests/pfctl_test.c
237
asprintf(&expected_path, "%s/files/pf%s.ok",
sbin/pfctl/tests/pfctl_test.c
249
asprintf(&input_path, "%s/files/pf%s.in",
sbin/pfctl/tests/pfctl_test.c
251
asprintf(&expected_path, "%s/files/pf%s.fail",
sbin/pfctl/tests/pfctl_test.c
262
asprintf(&expected_path, "%s/files/pf%s.ok",
sbin/reboot/reboot.c
227
asprintf(env, "%s%s=\"%s\"\n", oldenv != NULL ? oldenv : "", key, value);
sbin/reboot/reboot.c
400
asprintf(&k, "/boot/%s/kernel", kernel);
sbin/swapon/swapon.c
367
(void)asprintf(&args, "%s%s%s%s%s%s%s%s%s -d",
stand/common/gfx_fb.c
2631
if (asprintf(&np->n_name, "%s/%s", dir, buf) < 0) {
stand/common/gfx_fb.c
2674
(void) asprintf(&font_name, "%dx%d",
stand/common/module.c
475
asprintf(&pnpinfo, "compat=%s", compatstr);
stand/efi/boot1/zfs_module.c
270
asprintf(&rv, "zfs-bootonce=%s", zfs_bootonce);
stand/efi/libefi/devpath.c
112
rv = asprintf(&head, "%sVendor(%s)[%x:", type, uuid, size);
stand/efi/libefi/devpath.c
119
rv = asprintf(&name, "%s%02x", head,
stand/efi/libefi/devpath.c
131
if (asprintf(&name, "%s]%s", head, tail) < 0)
stand/efi/libefi/devpath.c
147
if (asprintf(&name, "Pci(%x,%x)%s",
stand/efi/libefi/devpath.c
153
if (asprintf(&name, "PCCARD(%x)%s",
stand/efi/libefi/devpath.c
158
if (asprintf(&name, "MMap(%x,%" PRIx64 ",%" PRIx64 ")%s",
stand/efi/libefi/devpath.c
169
if (asprintf(&name, "Ctrl(%x)%s",
stand/efi/libefi/devpath.c
174
if (asprintf(&name, "UnknownHW(%x)%s", subtype, tail) < 0)
stand/efi/libefi/devpath.c
195
if (asprintf(&name, "PciRoot(%x)%s",
stand/efi/libefi/devpath.c
200
if (asprintf(&name, "PcieRoot(%x)%s",
stand/efi/libefi/devpath.c
205
if (asprintf(&name, "Floppy(%x)%s",
stand/efi/libefi/devpath.c
210
if (asprintf(&name, "Keyboard(%x)%s",
stand/efi/libefi/devpath.c
215
if (asprintf(&name, "Serial(%x)%s",
stand/efi/libefi/devpath.c
220
if (asprintf(&name, "ParallelPort(%x)%s",
stand/efi/libefi/devpath.c
225
if (asprintf(&name, "Acpi(PNP%04x,%x)%s",
stand/efi/libefi/devpath.c
232
if (asprintf(&name, "Acpi(%08x,%x)%s",
stand/efi/libefi/devpath.c
239
if (asprintf(&name, "UnknownACPI(%x)%s", subtype, tail) < 0)
stand/efi/libefi/devpath.c
257
if (asprintf(&name, "ATA(%s,%s,%x)%s",
stand/efi/libefi/devpath.c
266
if (asprintf(&name, "SCSI(%x,%x)%s",
stand/efi/libefi/devpath.c
272
if (asprintf(&name, "Fibre(%" PRIx64 ",%" PRIx64 ")%s",
stand/efi/libefi/devpath.c
278
if (asprintf(&name, "I1394(%016" PRIx64 ")%s",
stand/efi/libefi/devpath.c
283
if (asprintf(&name, "USB(%x,%x)%s",
stand/efi/libefi/devpath.c
289
if (asprintf(&name, "UsbClass(%x,%x,%x,%x,%x)%s",
stand/efi/libefi/devpath.c
298
if (asprintf(&name, "MAC(%02x:%02x:%02x:%02x:%02x:%02x,%x)%s",
stand/efi/libefi/devpath.c
313
if (asprintf(&name, "UART(%" PRIu64 ",%u,%x,%x)%s",
stand/efi/libefi/devpath.c
321
if (asprintf(&name, "Sata(%x,%x,%x)%s",
stand/efi/libefi/devpath.c
328
if (asprintf(&name, "UnknownMessaging(%x)%s",
stand/efi/libefi/devpath.c
354
if (asprintf(&name, "HD(%d,MBR,%08x,%" PRIx64
stand/efi/libefi/devpath.c
368
rv = asprintf(&name, "HD(%d,GPT,%s,%" PRIx64 ",%"
stand/efi/libefi/devpath.c
375
if (asprintf(&name, "HD(%d,%d,0)%s",
stand/efi/libefi/devpath.c
384
if (asprintf(&name, "CD(%x,%" PRIx64 ",%" PRIx64 ")%s",
stand/efi/libefi/devpath.c
400
(void)asprintf(&name, "%s%s", str, tail);
stand/efi/libefi/devpath.c
411
rv = asprintf(&name, "Protocol(%s)%s", str, tail);
stand/efi/libefi/devpath.c
415
if (asprintf(&name, "UnknownMedia(%x)%s",
stand/efi/libefi/devpath.c
452
if (asprintf(&ptr, "UnknownPath(%x)%s", type,
stand/efi/libefi/devpath.c
86
(void)asprintf(&tail, "/%s", suffix);
stand/efi/loader/main.c
957
asprintf(&val, "db:%d,dt:%s,io:%#x,pa:%s,br:%d,xo=%d",
stand/efi/loader/main.c
960
asprintf(&val, "db:%d,dt:%s,pv:%#x,pd:%#x,pa:%s,br:%d,xo=%d",
stand/efi/loader/main.c
963
asprintf(&val, "db:%d,dt:%s,mm:%#jx,rs:%d,rw:%d,pa:%s,br:%d,xo=%d",
stand/i386/gptzfsboot/zfsboot.c
518
if (asprintf(&root, "%s:", arg) < 0)
stand/kboot/kboot/hostdisk.c
131
if (asprintf(&dev, "/dev/%s", drv) == -1) {
stand/kboot/kboot/hostdisk.c
181
if (asprintf(&dev, "/dev/%s", drv) == -1) {
stand/kboot/kboot/hostdisk.c
496
if (asprintf(&fn, "%s:", hd->hd_dev) == -1)
stand/kboot/kboot/hostdisk.c
541
if (asprintf(&fn, "%s:", hd->hd_dev) == -1)
stand/libsa/cd9660.c
690
if (asprintf(&fs, "%s%s", dev, path) < 0)
stand/libsa/dosfs.c
285
if (asprintf(&fs, "%s%s", dev, path) < 0)
stand/libsa/stand.h
301
extern int asprintf(char **buf, const char *cfmt, ...) __printflike(2, 3);
stand/libsa/ufs.c
924
if (asprintf(&fs, "%s%s", dev, path) < 0)
stand/libsa/zfs/zfs.c
1318
(void) asprintf(&value, "%uc",
stand/libsa/zfs/zfs.c
1325
(void) asprintf(&value, "%c", *(int *)&nvp_data->nv_data[0]);
stand/libsa/zfs/zfs.c
1331
(void) asprintf(&value, "%hd", *(short *)&nvp_data->nv_data[0]);
stand/libsa/zfs/zfs.c
1337
(void) asprintf(&value, "%hu",
stand/libsa/zfs/zfs.c
1345
(void) asprintf(&value, "%d", *(int *)&nvp_data->nv_data[0]);
stand/libsa/zfs/zfs.c
1351
(void) asprintf(&value, "%u",
stand/libsa/zfs/zfs.c
1358
(void) asprintf(&value, "%jd",
stand/libsa/zfs/zfs.c
1365
(void) asprintf(&value, "%ju",
stand/libsa/zfs/zfs.c
908
asprintf(ptr, "%.*s", size, str);
stand/libsa/zfs/zfsimpl.c
1032
(void) asprintf(&name, "%.*s%d-%" PRIu64, len, type,
stand/libsa/zfs/zfsimpl.c
1035
(void) asprintf(&name, "%.*s-%" PRIu64, len, type, id);
sys/arm/mv/mv_cp110_clock.c
144
if (asprintf(&clkname, M_DEVBUF, "%s-%d", name, unit) <= 0)
sys/cam/ctl/ctl_backend_block.c
2580
asprintf(&dev_name, M_CTLBLK, "/dev/%s",
sys/dev/bhnd/nvram/bhnd_nvram_private.h
157
#define bhnd_nv_asprintf(buf, fmt, ...) asprintf((buf), fmt, ## __VA_ARGS__)
sys/dev/bhnd/nvram/bhnd_nvram_private.h
80
#define bhnd_nv_asprintf(buf, fmt, ...) asprintf((buf), M_BHND_NVRAM, \
sys/dev/clk/xilinx/zynqmp_clock.c
164
asprintf(&clkname, M_DEVBUF, "%s_mux", clkdef->clkdef.name);
sys/dev/clk/xilinx/zynqmp_clock.c
169
asprintf(&clkname, M_DEVBUF, "%s_pll", clkdef->clkdef.name);
sys/dev/clk/xilinx/zynqmp_clock.c
174
asprintf(&clkname, M_DEVBUF, "%s_fixed", clkdef->clkdef.name);
sys/dev/clk/xilinx/zynqmp_clock.c
179
asprintf(&clkname, M_DEVBUF, "%s_div0", clkdef->clkdef.name);
sys/dev/clk/xilinx/zynqmp_clock.c
184
asprintf(&clkname, M_DEVBUF, "%s_div1", clkdef->clkdef.name);
sys/dev/clk/xilinx/zynqmp_clock.c
189
asprintf(&clkname, M_DEVBUF, "%s_gate", clkdef->clkdef.name);
sys/dev/nvdimm/nvdimm_ns.c
73
asprintf(&name, M_NVDIMM, "spa%dns%d", spa->spa_nfit_idx, i);
sys/dev/nvdimm/nvdimm_spa.c
469
asprintf(&name, M_NVDIMM, "spa%d", spa->spa_nfit_idx);
sys/dev/nvdimm/nvdimm_spa.c
516
asprintf(&devname, M_NVDIMM, "nvdimm_%s", name);
sys/kern/kern_jail.c
5264
? asprintf(&allow_name, M_PRISON, "allow.%s.%s", prefix, name)
sys/kern/kern_jail.c
5266
asprintf(&allow_noname, M_PRISON, "allow.%s.no%s", prefix, name)
sys/kern/kern_jail.c
5268
: asprintf(&allow_name, M_PRISON, "allow.%s", name) < 0 ||
sys/kern/kern_jail.c
5269
asprintf(&allow_noname, M_PRISON, "allow.no%s", name) < 0) {
sys/kern/kern_jail.c
5336
? asprintf(&allowed, M_TEMP, "%s_%s_allowed", prefix, name)
sys/kern/kern_jail.c
5337
: asprintf(&allowed, M_TEMP, "%s_allowed", name)) >= 0) {
sys/kern/kern_jail.c
5339
(void)asprintf(&descr_deprecated, M_TEMP, "%s (deprecated)",
sys/kern/kern_jail.c
5375
(void)asprintf(&descr, M_TEMP, "Jail may mount the %s file system",
sys/net/if_ethersubr.c
1425
sz = asprintf(&buf, M_TEMP, "%s-%s-%s", uuid, nameunit,
sys/sys/systm.h
225
int asprintf(char **ret, struct malloc_type *mtp, const char *format,
tests/sys/capsicum/capsicum-test-main.cc
82
assert(asprintf(&new_path, "%s:%s", dir, old_path) > 0);
tests/sys/fs/tarfs/mktar.c
112
if (asprintf(&piece, "%1$s/../%1$s/../%1$s/../%1$s/../", dirname) < 0)
tests/sys/fs/tarfs/mktar.c
114
if (asprintf(&target, "%1$s%1$s%1$s%1$s%1$s%1$s%1$s%1$s%2$s", piece, filename) < 0)
tests/sys/fs/tarfs/mktar.c
192
if (asprintf(&dirname, "%s%s.XXXXXXXX", _PATH_TMP, PROGNAME) < 0)
tests/sys/vfs/lookup_cap_dotdot.c
58
asprintf(&abspath, "%s/testdir/d1/f1", cwd);
tools/regression/gaithrstress/gaithrstress.c
116
if (asprintf(&hostname, "%s%s%s.%s",
tools/regression/poll/pipepoll.c
38
asprintf(&ncresult, "%#x", events);
tools/test/iconv/tablegen/tablegen.c
238
asprintf(&tocode, "%s%s%s", argv[1], tflag ? "//TRASNLIT" : "",
tools/test/iconv/tablegen/tablegen.c
249
asprintf(&tocode, "%s%s%s", argv[0], tflag ? "//TRANSLIT" : "",
tools/tools/crypto/cryptocheck.c
295
asprintf(&name, "%s+%s", cipher->name, mac->name);
tools/tools/intel-ucode-split/intel-ucode-split.c
181
asprintf(&output_file, "%s.%02x", sig_str,
tools/tools/intel-ucode-split/intel-ucode-split.c
71
asprintf(&buf, "%02x-%02x-%02x", family, model, stepping);
tools/tools/syscall_timing/syscall_timing.c
1097
rv = asprintf(&tmp_path, "%s/testfile", tmp_dir);
usr.bin/calendar/events.c
188
asprintf(&e->text, "%s\n%s", oldtext, text);
usr.bin/chpass/edit.c
246
asprintf(&val, "%.*s", (int)(buf + len - p), p);
usr.bin/chpass/edit.c
263
len = asprintf(&p, "%s,%s,%s,%s,%s", list[E_NAME].save,
usr.bin/diff3/diff3.c
1054
asprintf(&f1mark, "%s",
usr.bin/diff3/diff3.c
1058
asprintf(&f2mark, "%s",
usr.bin/diff3/diff3.c
1062
asprintf(&f3mark, "%s",
usr.bin/fetch/fetch.c
1092
if (asprintf(argv, "ftp://%s/%s/%s", h_hostname,
usr.bin/fetch/fetch.c
1182
asprintf(&q, "%s/%s", o_filename, p);
usr.bin/fetch/fetch.c
727
asprintf(&tmppath, "%.*s.fetch.XXXXXX.%s",
usr.bin/hexdump/odsyntax.c
348
asprintf(&hdfmt, "%lu/%lu \" %%%d.%de \" \"\\n\"",
usr.bin/hexdump/odsyntax.c
412
asprintf(&hdfmt, "%lu/%lu \"%*s%%%s%d%c\" \"\\n\"",
usr.bin/hexdump/parse.c
397
if (asprintf(&pr->fmt, "%s%s", fmtp, cs) == -1)
usr.bin/indent/indent.c
1245
if (asprintf(&bakfile, "%s%s", in_name, simple_backup_suffix) < 0)
usr.bin/last/last.c
510
asprintf(&mval, "tty%s", arg);
usr.bin/locale/locale.c
767
if (asprintf(&rval, "%s;%s",
usr.bin/localedef/charmap.c
339
(void) asprintf(&nn, "%s%0*u", s, ls - si, i);
usr.bin/localedef/monetary.c
165
(void) asprintf(&s, "%d", n);
usr.bin/localedef/monetary.c
167
(void) asprintf(&s, "%s;%d", mon.mon_grouping, n);
usr.bin/localedef/monetary.c
94
(void) asprintf(&str, "%d", n);
usr.bin/localedef/numeric.c
91
(void) asprintf(&s, "%d", n);
usr.bin/localedef/numeric.c
93
(void) asprintf(&s, "%s;%d", numeric.grouping, n);
usr.bin/logger/logger.c
369
if ((len = asprintf(&line, "<%d>%s %s %s: %s", pri, timestamp,
usr.bin/login/login.c
625
asprintf(&cx, "%s/%s",
usr.bin/login/login.c
653
if (asprintf(&arg0, "-%s", p ? p + 1 : pwd->pw_shell) >= MAXPATHLEN) {
usr.bin/mkimg/vmdk.c
129
n = asprintf(&desc, desc_fmt, 1 /*version*/, 0 /*CID*/,
usr.bin/mktemp/mktemp.c
139
asprintf(&name, "%s%s.XXXXXXXXXX", tmpdir, prefix);
usr.bin/mktemp/mktemp.c
141
asprintf(&name, "%s/%s.XXXXXXXXXX", tmpdir, prefix);
usr.bin/mktemp/mktemp.c
155
asprintf(&name, "%s/%s", tmpdir, argv[0]);
usr.bin/mkuzip/mkuzip.c
259
asprintf(&oname, "%s%s", cfs.iname, cfs.handler->default_sufx);
usr.bin/newgrp/newgrp.c
295
if (asprintf(args, "-%s", shell) < 0)
usr.bin/nice/nice.c
59
if (asprintf(&argv[1], "-n%s", argv[1] + 1) < 0)
usr.bin/patch/backupfile.c
127
if (asprintf(&backup_name, "%s.~%d~", file, version) == -1)
usr.bin/patch/backupfile.c
162
if (asprintf(&newstr, "%s%s", str1, str2) == -1)
usr.bin/patch/patch.c
175
if (asprintf(&TMPOUTNAME, "%.*s/patchoXXXXXXXXXX", i, tmpdir) == -1)
usr.bin/patch/patch.c
181
if (asprintf(&TMPINNAME, "%.*s/patchiXXXXXXXXXX", i, tmpdir) == -1)
usr.bin/patch/patch.c
187
if (asprintf(&TMPREJNAME, "%.*s/patchrXXXXXXXXXX", i, tmpdir) == -1)
usr.bin/patch/patch.c
193
if (asprintf(&TMPPATNAME, "%.*s/patchpXXXXXXXXXX", i, tmpdir) == -1)
usr.bin/procstat/procstat.c
191
asprintf(&pidstr, "%d", kipp->ki_pid);
usr.bin/procstat/procstat_rusage.c
126
asprintf(&threadid, "%d", kipp->ki_tid);
usr.bin/procstat/procstat_rusage.c
142
asprintf(&field, "{e:%s/%%D}", rusage_info[i].ri_name);
usr.bin/procstat/procstat_sigs.c
159
asprintf(&threadid, "%d", kipp->ki_tid);
usr.bin/procstat/procstat_sigs.c
226
asprintf(&threadid, "%d", kipp->ki_tid);
usr.bin/procstat/procstat_threads.c
67
asprintf(&threadid, "%d", kipp->ki_tid);
usr.bin/quota/quota.c
459
if (asprintf(&buf, "%lddays", ((long)hours + 12) / 24) < 0)
usr.bin/quota/quota.c
464
if (asprintf(&buf, "%2ld:%ld", (long)minutes / 60,
usr.bin/quota/quota.c
469
if (asprintf(&buf, "%2ld", (long)minutes) < 0)
usr.bin/rctl/rctl.c
156
ret = asprintf(&expanded, "%s:%s:%s:%s=%ju",
usr.bin/rctl/rctl.c
159
ret = asprintf(&expanded, "%s:%s:%s:%s=%ju/%s",
usr.bin/rctl/rctl.c
219
ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest);
usr.bin/rctl/rctl.c
227
ret = asprintf(&resolved, "%s:%d:%s", subject, (int)id, rest);
usr.bin/rctl/rctl.c
229
ret = asprintf(&resolved, "%s:%s:%s", subject, textid, rest);
usr.bin/rctl/rctl.c
282
ret = asprintf(&humanized, "%s:%s:%s", subject, textid, rest);
usr.bin/rctl/rctl.c
339
ret = asprintf(&humanized, "%s:%s:%s:%s=%s",
usr.bin/rctl/rctl.c
342
ret = asprintf(&humanized, "%s:%s:%s:%s=%s/%s",
usr.bin/rctl/rctl.c
482
ret = asprintf(&humanized, "%s=%s", resource, buf);
usr.bin/script/script.c
194
asprintf(&fmfname, "%s.filemon", fname);
usr.bin/sdiff/edit.c
110
if (asprintf(&text, "%s\n%s\n", left, right) == -1)
usr.bin/sdiff/edit.c
120
if (asprintf(&text, "%s\n", left) == -1)
usr.bin/sdiff/edit.c
131
if (asprintf(&text, "%s\n", right) == -1)
usr.bin/sdiff/edit.c
141
if (asprintf(&filename, "%s/sdiff.XXXXXXXXXX", tmpdir) == -1)
usr.bin/sdiff/sdiff.c
176
if (asprintf(&target_file, "%s/sdiff.XXXXXXXXXX", tmpdir) == -1)
usr.bin/sed/main.c
140
if (asprintf(&temp_arg, "%s\n", optarg) == -1)
usr.bin/sed/main.c
174
if (asprintf(&temp_arg, "%s\n", *argv) == -1)
usr.bin/seq/seq.c
199
if (asprintf(&cur_print, fmt, cur) < 0 ||
usr.bin/seq/seq.c
200
asprintf(&last_print, fmt, last) < 0 ||
usr.bin/seq/seq.c
201
asprintf(&prev_print, fmt, prev) < 0) {
usr.bin/sort/file.c
191
if (asprintf(&ret, "%s/.bsdsort.XXXXXXXXXX", tmpdir) == -1)
usr.bin/sort/file.c
545
r = asprintf(&cmd, "cat %s | %s -d",
usr.bin/sort/file.c
548
r = asprintf(&cmd, "%s > %s",
usr.bin/stdbuf/stdbuf.c
45
ret = asprintf(&newpair, "%s=%s", key, value);
usr.bin/stdbuf/stdbuf.c
47
ret = asprintf(&newpair, "%s=%s:%s", key, curval, value);
usr.bin/systat/devs.c
318
asprintf(&buffer, "%s%d", dev_select[i].device_name,
usr.bin/tftp/main.c
497
if (asprintf(&path, "%s/%s", targ, tail(argv[n])) < 0)
usr.bin/tip/tip/cu.c
63
asprintf(&cp, "-s%s", argv[i] + 1);
usr.bin/tip/tip/cu.c
89
asprintf(&DV, "/dev/%s", optarg);
usr.bin/truss/setup.c
561
asprintf(&temp, "0x%lx",
usr.bin/truss/syscalls.c
909
asprintf(__DECONST(char **, &name), "#%d", number);
usr.bin/uniq/uniq.c
361
if (asprintf(&p, "-%c%s", ap[0] == '+' ? 's' : 'f', ap + 1) < 0)
usr.bin/units/units.c
676
asprintf(&oformat, "\t%s\n", outputformat);
usr.bin/units/units.c
682
asprintf(&oformat, "\t (-> x*%sg %sg)\n\t (<- y*%sg %sg)\n",
usr.bin/usbhidctl/usbhid.c
105
asprintf(&var->name, "%s%s%s:%s",
usr.bin/xinstall/xinstall.c
1296
if (asprintf(&prefixed_from_name, "./%s", from_name) == -1)
usr.sbin/acpi/acpidump/acpi.c
1299
asprintf(&eventname, "%s",
usr.sbin/acpi/acpidump/acpi.c
1322
asprintf(&eventname, "%s",
usr.sbin/acpi/acpidump/acpi.c
1327
asprintf(&eventname, "<unknown tag 0x%02x>",
usr.sbin/acpi/acpidump/acpi.c
1334
asprintf(&eventname, "<unknown 0x%02x>", event->event_type);
usr.sbin/autofs/automount.c
151
ret = asprintf(&from, "map %s", map);
usr.sbin/autofs/automount.c
66
ret = asprintf(&fsid_str, "FSID:%d:%d",
usr.sbin/autofs/autounmountd.c
157
ret = asprintf(&fsid_str, "FSID:%d:%d", fsid.val[0], fsid.val[1]);
usr.sbin/autofs/common.c
1051
ret = asprintf(&path, "%s/%s", AUTO_MAP_PREFIX, map);
usr.sbin/autofs/common.c
112
ret = asprintf(&result, "%s%s", s1, s2 + 1);
usr.sbin/autofs/common.c
115
ret = asprintf(&result, "%s%s", s1, s2);
usr.sbin/autofs/common.c
117
ret = asprintf(&result, "%s%c%s", s1, separator, s2);
usr.sbin/autofs/common.c
367
ret = asprintf(&expanded, "%.*s%s%s",
usr.sbin/autofs/common.c
966
ret = asprintf(&path, "%s/special_%s", AUTO_SPECIAL_PREFIX, map + 1);
usr.sbin/autofs/defined.c
188
ret = asprintf(&expanded, "%.*s%s%s",
usr.sbin/bhyve/amd64/pci_irq.c
286
asprintf(&irq_prs, "%d", irq);
usr.sbin/bhyve/amd64/pci_irq.c
289
asprintf(&irq_prs, "%s,%d", old, irq);
usr.sbin/bhyve/amd64/pci_lpc.c
151
asprintf(&node_name, "lpc.%s.path",
usr.sbin/bhyve/amd64/pci_lpc.c
160
asprintf(&node_name, "lpc.%s", pctestdev_getname());
usr.sbin/bhyve/amd64/pci_lpc.c
269
asprintf(&node_name, "lpc.%s.path", name);
usr.sbin/bhyve/amd64/pci_lpc.c
293
asprintf(&node_name, "lpc.%s", pctestdev_getname());
usr.sbin/bhyve/amd64/pci_lpc.c
571
asprintf(&name, "\\_SB.PC00.ISA.LNK%c,", 'A' + pin - 1);
usr.sbin/bhyve/bhyverun.c
386
if (asprintf(&newval, "%s%s%d", value != NULL ? value : "",
usr.sbin/bhyve/config.c
465
asprintf(&new_prefix, "%s%s.", prefix, name);
usr.sbin/bhyve/pci_nvme.c
634
asprintf(&data, "%s%u%u%u", get_config_value("name"),
usr.sbin/bhyve/rfb.c
1368
rc->fbnamelen = asprintf(&rc->fbname, "bhyve:%s",
usr.sbin/bhyveload/bhyveload.c
639
if (asprintf(&loader, "userboot_%s.so", interp_req) == -1)
usr.sbin/bluetooth/btpand/btpand.c
116
asprintf(&ep, "/dev/%s", optarg);
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
123
asprintf(&fwname, "%s/ibt-hw-%x.%x.%x-fw-%x.%x.%x.%x.%x.%s",
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
140
asprintf(&fwname, "%s/ibt-hw-%x.%x.%s",
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
150
asprintf(&fwname, "%s/ibt-%u-%u.%s",
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
161
asprintf(&fwname, "%s/ibt-%u-%u-%u.%s",
usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c
187
asprintf(&fwname, "%s/ibt-%04x-%04x.%s",
usr.sbin/bluetooth/l2ping/l2ping.c
154
asprintf(&rname, "%s", bt_ntoa(&dst, NULL));
usr.sbin/bluetooth/rtlbtfw/rtlbt_fw.c
236
asprintf(&fwname, "%s/%s%s", prefix, fw_name, suffix);
usr.sbin/bsdinstall/partedit/diskmenu.c
57
asprintf(__DECONST(char**, &bsditems[i].desc),
usr.sbin/bsdinstall/partedit/gpart_ops.c
749
asprintf(&md->newfs, "%s %s /dev/%s", newfs,
usr.sbin/bsdinstall/partedit/gpart_ops.c
752
asprintf(&md->newfs, "%s /dev/%s", newfs, name);
usr.sbin/bsdinstall/partedit/gpart_ops.c
789
asprintf(&md->fstab->fs_spec, "/dev/%s", name);
usr.sbin/bsdinstall/partedit/partedit.c
365
asprintf(&item, "Initializing %s", md->name);
usr.sbin/bsdinstall/partedit/partedit.c
391
asprintf(&command, "(echo %s; %s) >>%s 2>>%s",
usr.sbin/bsdinstall/runconsoles/runconsoles.c
325
asprintf(&dev, "/dev/%s", tty->ty_name);
usr.sbin/bsnmpd/modules/snmp_bridge/bridge_sys.c
1476
asprintf(&mib_oid, "%s%s", bridge_sysctl,
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
332
if (asprintf(&pkg_file, "%s/%s/%s", pkg_dir, ent->d_name,
usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swinstalled_tbl.c
350
if (asprintf(&pkg_file, "%s/%s", pkg_dir, ent->d_name) == -1)
usr.sbin/btxld/btxld.c
553
asprintf(&s, "%s: Warning: %s", locus, fmt);
usr.sbin/config/main.cc
448
asprintf(&cp, "%s/%s", destdir, file);
usr.sbin/config/main.cc
469
asprintf(&lend, "\\n\\\n");
usr.sbin/config/main.cc
749
asprintf(&cmd, "/usr/bin/elfdump -c %s | grep -A 8 kern_conf"
usr.sbin/config/mkmakefile.cc
397
asprintf(&fnamebuf, "%s/%s", ipath->path, fname);
usr.sbin/cpucontrol/cpucontrol.c
375
rc = asprintf(&fw_path, "%s/%s", dpath, fname);
usr.sbin/ctld/discovery.cc
131
ret = asprintf(&buf, "%s:%s,%d", hbuf, sbuf,
usr.sbin/ctld/discovery.cc
137
ret = asprintf(&buf, "[%s]:%s,%d", hbuf, sbuf,
usr.sbin/efibootmgr/efibootmgr.c
1014
if (asprintf(&name, "Boot%04X", current) < 0)
usr.sbin/efibootmgr/efibootmgr.c
401
asprintf(&name, "%s%04X", "Boot", bootnum);
usr.sbin/efibootmgr/efibootmgr.c
509
asprintf(&name, "%s%04X", "Boot", bootnum);
usr.sbin/efibootmgr/efibootmgr.c
589
asprintf(&name, "%s%04X", "Boot", i);
usr.sbin/efibootmgr/efibootmgr.c
606
asprintf(&name, "%s%04X", "Boot", bootnum);
usr.sbin/inetd/builtins.c
327
asprintf(&p, "%d , %d : ERROR : %s\r\n", lport, fport, er);
usr.sbin/inetd/builtins.c
585
if (asprintf(&p, "%s/.noident", pw->pw_dir) == -1)
usr.sbin/inetd/builtins.c
620
if (asprintf(&p, "%s/.fakeid", pw->pw_dir) == -1)
usr.sbin/inetd/builtins.c
676
if (asprintf(&p, "%d , %d : USERID : %s : %s\r\n", lport, fport, osname,
usr.sbin/iostat/iostat.c
874
if (asprintf(&devicename, "%s%d",
usr.sbin/iovctl/parse.c
430
error = asprintf(&device, "/dev/iov/%s", deviceName);
usr.sbin/jls/jls.c
519
asprintf(&xo_nname, "{en:%s/true}", params[i].jp_name);
usr.sbin/jls/jls.c
529
asprintf(&xo_nname, "{en:%s/true}", params[i].jp_name);
usr.sbin/jls/jls.c
532
asprintf(&xo_nname, "{en:%s/false}", params[i].jp_name);
usr.sbin/kbdmap/kbdmap.c
269
asprintf(&cmd, "vidcontrol -f %s", fnt);
usr.sbin/kbdmap/kbdmap.c
292
asprintf(&cmd, "vidcontrol -f %s %s", p, fnt);
usr.sbin/kbdmap/kbdmap.c
311
asprintf(&kbd_cmd, "kbdcontrol -l %s/%s", dir, km->keym);
usr.sbin/kbdmap/kbdmap.c
328
asprintf(&vid_cmd, "%s/%s", dir, km->keym);
usr.sbin/kbdmap/kbdmap.c
537
asprintf(&fn, "%s/%s", dir, keym);
usr.sbin/lpr/common_source/net.c
206
asprintf(&error, "unable to get official name "
usr.sbin/lpr/common_source/net.c
219
asprintf(&error, "unable to get address list for "
usr.sbin/lpr/common_source/rmjob.c
343
asprintf((char **)&iov[elem].iov_base, " %d", requ[i]);
usr.sbin/lpr/lpd/lpd.c
676
asprintf(&syserr,
usr.sbin/lpr/lpd/lpd.c
679
asprintf(&usererr,
usr.sbin/lpr/lpd/lpd.c
684
asprintf(&syserr,
usr.sbin/lpr/lpd/lpd.c
687
asprintf(&usererr,
usr.sbin/lpr/lpd/lpd.c
702
asprintf(&syserr, "Cannot print IP address (error %d)",
usr.sbin/lpr/lpd/lpd.c
704
asprintf(&usererr, "Cannot print IP address for your host");
usr.sbin/lpr/lpd/lpd.c
719
asprintf(&syserr, "reverse lookup results in non-FQDN %s",
usr.sbin/lpr/lpd/lpd.c
732
asprintf(&syserr, "dns lookup for address %s failed: %s",
usr.sbin/lpr/lpd/lpd.c
734
asprintf(&usererr, "hostname for your address (%s) unknown: %s",
usr.sbin/lpr/lpd/lpd.c
749
asprintf(&syserr, "address for remote host (%s) not matched",
usr.sbin/lpr/lpd/lpd.c
751
asprintf(&usererr,
usr.sbin/lpr/lpd/lpd.c
774
asprintf(&syserr, "refused connection from %s, sip=%s", from_host,
usr.sbin/lpr/lpd/lpd.c
776
asprintf(&usererr,
usr.sbin/lpr/lpd/lpd.c
789
asprintf(&syserr, "malformed from-address (%d)", error);
usr.sbin/lpr/lpd/lpd.c
796
asprintf(&syserr, "connected from invalid port (%s)", serv);
usr.sbin/lpr/pac/pac.c
431
asprintf(&sumfile, "%s_sum", acctfile);
usr.sbin/mfiutil/mfiutil.c
161
if (asprintf(&mfi_device, "%s%s%d", _PATH_DEV, mfi_type,
usr.sbin/mfiutil/mfiutil.c
166
if (asprintf(&temp, "%s%s%d", _PATH_DEV, mfi_type,
usr.sbin/mountd/mountd.c
3909
asprintf(err, "%s: lstat() failed: %s.\n",
usr.sbin/mountd/mountd.c
3918
asprintf(err, "%s: path is a symbolic link.\n", path);
usr.sbin/mountd/mountd.c
3921
asprintf(err, "%s: path is a file rather than a directory.\n",
usr.sbin/mountd/mountd.c
3925
asprintf(err, "%s: path is not a directory.\n", path);
usr.sbin/mountd/mountd.c
3967
asprintf(err, "%s: statfs() failed: %s\n", dirp,
usr.sbin/moused/moused/moused.c
2603
asprintf(&errstr, "invalid argument `%s'", arg);
usr.sbin/moused/moused/moused.c
2614
asprintf(&errstr, "invalid argument `%s'", argv[*idx]);
usr.sbin/newsyslog/newsyslog.c
2095
asprintf(&tmp, "%s %d", swork->sw_fname, swork->sw_signum);
usr.sbin/newsyslog/newsyslog.c
2198
asprintf(&zresult, "%s%s", zwork->zw_fname, ct->suffix);
usr.sbin/newsyslog/newsyslog.c
418
asprintf(&tempwork->log, "%s%s", destdir, fname);
usr.sbin/nscd/config.c
177
asprintf(&retval->positive_cache_params.cep.entry_name, "%s+", name);
usr.sbin/nscd/config.c
180
asprintf(&retval->negative_cache_params.cep.entry_name, "%s-", name);
usr.sbin/nscd/config.c
183
asprintf(&retval->mp_cache_params.cep.entry_name, "%s*", name);
usr.sbin/nscd/mp_rs_query.c
207
asprintf(&dec_cache_entry_name, "%s%s", qstate->eid_str,
usr.sbin/nscd/mp_ws_query.c
215
asprintf(&dec_cache_entry_name, "%s%s", qstate->eid_str,
usr.sbin/nscd/query.c
1242
if (asprintf(&retval->eid_str, "%d_%d_", retval->euid,
usr.sbin/pciconf/pciconf.c
515
asprintf(&indent_buf, "%s%c ", indent, last ? ' ' : '|');
usr.sbin/pkg/config.c
170
error = asprintf(&abi, "%s:%d:%s", uts.sysname, __FreeBSD_version/100000,
usr.sbin/pkg/config.c
193
asprintf(&newval, "%.*s%s%s",
usr.sbin/pkg/config.c
490
asprintf(&major, "%d", __FreeBSD_version/100000);
usr.sbin/pkg/config.c
493
asprintf(&minor, "%d", (__FreeBSD_version / 1000) % 100);
usr.sbin/pkg/config.c
621
if (asprintf(&cv->value, "%s/etc/pkg/repos", localbase) < 0)
usr.sbin/pmcannotate/pmcannotate.c
762
asprintf(&tbfl, "%s/%s", _PATH_TMP, TMPNAME);
usr.sbin/pmcannotate/pmcannotate.c
763
asprintf(&tofl, "%s/%s", _PATH_TMP, TMPNAME);
usr.sbin/pmcannotate/pmcannotate.c
765
asprintf(&tbfl, "%s/%s", tmpdir, TMPNAME);
usr.sbin/pmcannotate/pmcannotate.c
766
asprintf(&tofl, "%s/%s", tmpdir, TMPNAME);
usr.sbin/pw/pw_user.c
310
asprintf(&passtmp, "%s%s", locked_str, pwd->pw_passwd);
usr.sbin/quot/quot.c
234
asprintf(&usr->name, "#%u", uid);
usr.sbin/rarpd/rarpd.c
974
asprintf(&np, "%s%.*s%s", p, (int)(m - str),
usr.sbin/rarpd/rarpd.c
986
asprintf(&np, "%s%s", p, str);
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
393
asprintf(&pwbuf, ":%d:%d:", pw->pw_uid, pw->pw_gid);
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
409
asprintf(&pwbuf, formats[i],
usr.sbin/rpc.yppasswdd/yppasswdd_server.c
416
asprintf(&pwbuf, formats[i],
usr.sbin/sesutil/sesutil.c
588
asprintf(&tmp, "/dev/%.*s", comma, devnames);
usr.sbin/setfib/setfib.c
68
if (asprintf(&argv[1], "-F%s", ep) < 0)
usr.sbin/setfmac/setfmac.c
323
if (asprintf(®exstr, "^%s$", regexstr) == -1)
usr.sbin/setfmac/setfmac.c
340
if (asprintf(&entry->mactext, "sebsd/%s", macstr) == -1)
usr.sbin/syslogd/syslogd.c
455
asprintf(&msgbuf, "getaddrinfo failed for %s%s: %s",
usr.sbin/trim/trim.c
161
if (asprintf(&tstr, "%s%s", _PATH_DEV, path) < 0)
usr.sbin/tzsetup/tzsetup.c
640
asprintf(&dmi->prompt, "%d", ++cp->nzones);
usr.sbin/tzsetup/tzsetup.c
654
asprintf(&dmi->prompt, "%d", ++cont->nitems);
usr.sbin/tzsetup/tzsetup.c
664
asprintf(&dmi->prompt, "%d", ++cont->nitems);
usr.sbin/uefisign/uefisign.c
168
asprintf(&magic_conf, magic_fmt, digest_hex);
usr.sbin/usbconfig/dump.c
459
asprintf(&desc, "ugen%u.%u",
usr.sbin/usbconfig/dump.c
517
asprintf(&desc, "vendor='%s' product='%s'",
usr.sbin/usbconfig/dump.c
526
asprintf(&desc, "ugen%u.%u: <%s %s> at usbus%u",
usr.sbin/usbdump/usbdump.c
830
asprintf(&i_arg, "usbus%d", ifindex);
usr.sbin/vidcontrol/vidcontrol.c
248
asprintf(name, "%s%s%s%s",
usr.sbin/watchdogd/watchdogd.c
521
if (asprintf(&opts, "%s%s%s",
usr.sbin/ypldap/log.c
72
if (asprintf(&nfmt, "%s\n", fmt) == -1) {
usr.sbin/ypldap/log.c
97
if (asprintf(&nfmt, "%s: %s", emsg, strerror(errno)) == -1) {
usr.sbin/yppush/yppush_main.c
443
asprintf(&server, "%.*s", vallen, val);