Searched refs:asprintf (Results 1 - 25 of 386) sorted by relevance

1234567891011>>

/freebsd-12-stable/contrib/openpam/lib/libpam/
H A Dopenpam_asprintf.h37 #undef asprintf macro
38 #define asprintf(arg, ...) openpam_asprintf(arg, __VA_ARGS__) macro
H A Dpam_setenv.c81 if (asprintf(&env, "%s=%s", name, value) < 0)
/freebsd-12-stable/contrib/file/src/
H A Dasprintf.c32 FILE_RCSID("@(#)$File: asprintf.c,v 1.5 2018/09/09 20:33:28 christos Exp $")
35 int asprintf(char **ptr, const char *fmt, ...) function
/freebsd-12-stable/contrib/gcclibs/libiberty/
H A Dasprintf.c32 @deftypefn Extension int asprintf (char **@var{resptr}, const char *@var{format}, ...)
47 asprintf (char **buf, const char *fmt, ...) function
/freebsd-12-stable/contrib/binutils/libiberty/
H A Dasprintf.c32 @deftypefn Extension int asprintf (char **@var{resptr}, const char *@var{format}, ...)
47 asprintf (char **buf, const char *fmt, ...) function
/freebsd-12-stable/usr.bin/stdbuf/
H A Dstdbuf.c92 i = asprintf(&preload1, "LD_PRELOAD=" LIBSTDBUF);
94 i = asprintf(&preload1, "LD_PRELOAD=%s:%s", preload0,
102 i = asprintf(&preload1, "LD_32_PRELOAD=" LIBSTDBUF32);
104 i = asprintf(&preload1, "LD_32_PRELOAD=%s:%s", preload0,
/freebsd-12-stable/stand/efi/libefi/
H A Ddevpath.c87 (void)asprintf(&tail, "/%s", suffix);
113 rv = asprintf(&head, "%sVendor(%s)[%x:", type, uuid, size);
120 rv = asprintf(&name, "%s%02x", head,
132 if (asprintf(&name, "%s]%s", head, tail) < 0)
148 if (asprintf(&name, "Pci(%x,%x)%s",
154 if (asprintf(&name, "PCCARD(%x)%s",
159 if (asprintf(&name, "MMap(%x,%" PRIx64 ",%" PRIx64 ")%s",
170 if (asprintf(&name, "Ctrl(%x)%s",
175 if (asprintf(&name, "UnknownHW(%x)%s", subtype, tail) < 0)
196 if (asprintf(
[all...]
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/
H A Dt_gdtoa.c57 ATF_REQUIRE_EQ(262161, asprintf(&buf, "%1.262159f", 1.1));
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dsetenv.c56 if (asprintf (&t, "%s=%s", var, val) < 0 || t == NULL)
/freebsd-12-stable/lib/libc/gen/
H A Dfeature_present.c54 if (asprintf(&mib, "kern.features.%s", feature) < 0)
/freebsd-12-stable/lib/libypclnt/
H A Dypclnt_error.c59 asprintf(&ypclnt->error, "%s(): %s", func, errmsg);
/freebsd-12-stable/contrib/openpam/t/
H A Dt_pam_conv.c74 asprintf(&s->comment, "expected %d messages, got %d",
89 asprintf(&s->comment,
95 asprintf(&s->comment,
114 asprintf(&s->comment, "invalid message style %d",
128 asprintf(&s->comment, "%s", strerror(ENOMEM));
/freebsd-12-stable/bin/ps/
H A Dprint.c126 asprintf(&str, "%s%s%s%s%s",
153 asprintf(&str, "%s%s%s%s",
179 asprintf(&str, "%s%s%s%s%s",
187 asprintf(&str, "%s/%s%s", k->ki_p->ki_comm,
201 asprintf(&str, "%s%s", k->ki_p->ki_tdname,
299 asprintf(&str, "%d", scalepri(k->ki_p->ki_pri.pri_level));
308 asprintf(&str, "%d", scalepri(k->ki_p->ki_pri.pri_user));
351 asprintf(&str, "%#jx", (uintmax_t)dev);
371 asprintf(&str, "%s%c", ttname,
461 asprintf(
[all...]
/freebsd-12-stable/libexec/rtld-elf/tests/
H A Dld_library_pathfds.c69 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d", files.etc) > 0);
82 ATF_REQUIRE(asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=::") > 0);
96 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d", files.testdir) > 0);
110 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d:%d",
125 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d:%d:%d",
140 asprintf(&pathfds, "LD_LIBRARY_PATH_FDS=%d:%d",
/freebsd-12-stable/crypto/heimdal/lib/gssapi/krb5/
H A Ddisplay_status.c167 e = asprintf(&buf, "%s",
170 e = asprintf (&buf, "%s %s",
179 e = asprintf(&buf, "unknown mech error-code %u",
/freebsd-12-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_display_status.c167 e = asprintf(&buf, "%s", supplementary_error(
170 e = asprintf (&buf, "%s %s",
194 e = asprintf (&buf, "unknown mech-code %lu for mech %.*s",
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.c58 asprintf(&json, FMT, size, idx, odd, even, action);
/freebsd-12-stable/crypto/heimdal/lib/gssapi/ntlm/
H A Ddisplay_name.c62 len = asprintf(&str, "%s@%s", n->user, n->domain);
/freebsd-12-stable/lib/libc/stdio/
H A Dasprintf.c48 asprintf(char ** __restrict s, char const * __restrict fmt, ...) function
/freebsd-12-stable/lib/libc/posix1e/
H A Dacl_to_text.c92 len = asprintf(&tmpbuf, "%suser::%s\n", buf,
119 len = asprintf(&tmpbuf, "%suser:%s:%s\t\t# "
124 len = asprintf(&tmpbuf, "%suser:%s:%s\n", buf,
147 len = asprintf(&tmpbuf, "%sgroup::%s\t\t# "
151 len = asprintf(&tmpbuf, "%sgroup::%s\n", buf,
179 len = asprintf(&tmpbuf, "%sgroup:%s:%s\t\t# "
184 len = asprintf(&tmpbuf, "%sgroup:%s:%s\n", buf,
199 len = asprintf(&tmpbuf, "%smask::%s\n", buf,
213 len = asprintf(&tmpbuf, "%sother::%s\n", buf,
/freebsd-12-stable/usr.bin/localedef/
H A Dnumeric.c93 (void) asprintf(&s, "%d", n);
95 (void) asprintf(&s, "%s;%d", numeric.grouping, n);
/freebsd-12-stable/usr.bin/mktemp/
H A Dmktemp.c100 asprintf(&name, "%s%s.XXXXXXXX", _PATH_TMP, prefix);
102 asprintf(&name, "%s/%s.XXXXXXXX", tmpdir, prefix);
/freebsd-12-stable/crypto/heimdal/kadmin/
H A Dcheck.c131 if (asprintf(&p, "%s/%s@%s", KRB5_TGS_NAME, realm, realm) == -1) {
132 krb5_warn(context, errno, "asprintf");
151 if (asprintf(&p, "kadmin/admin@%s", realm) == -1) {
152 krb5_warn(context, errno, "asprintf");
171 if (asprintf(&p, "kadmin/changepw@%s", realm) == -1) {
172 krb5_warn(context, errno, "asprintf");
198 if (asprintf(&p, "afs/%s@%s", p2, realm) == -1) {
199 krb5_warn(context, errno, "asprintf");
213 if (asprintf(&p, "afs@%s", realm) == -1) {
214 krb5_warn(context, errno, "asprintf");
[all...]
H A Dstash.c61 asprintf(&opt->key_file_string, "%s/m-key", hdb_db_dir(context));
112 asprintf(&old, "%s.old", opt->key_file_string);
113 asprintf(&new, "%s.new", opt->key_file_string);
/freebsd-12-stable/contrib/netbsd-tests/lib/libcurses/slave/
H A Dcommands.c80 asprintf(&string, "NULL");
82 asprintf(&string, "%p", ptr);
95 asprintf(&string, "%d", value);

Completed in 235 milliseconds

1234567891011>>