Home
last modified time | relevance | path

Searched refs:xasprintf (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/usr.sbin/certctl/
H A Dcertctl.c33 xasprintf(const char *fmt, ...) in xasprintf() function
117 parent = xasprintf("%.*s", (int)(sep - dir), dir); in mkdirp()
179 return (xasprintf("%s%s%s", destdir, localbase, template + 2)); in expand_path()
180 return (xasprintf("%s%s%s", destdir, distbase, template)); in expand_path()
443 cert->path = xasprintf("%08lx.%d", cert->hash, file->c); in write_certs()
510 tmppath = xasprintf(".%s", path); in write_certs()
523 tmppath = xasprintf(".%s", path); in write_certs()
595 tmpfile = xasprintf(".%s", file); in write_bundle()
746 dir = xasprintf("%.*s", (int)(sep - bundle_dest), bundle_dest); in save_bundle()
1001 metalog = xasprintf("%s/METALOG", destdir); in set_defaults()
/freebsd/contrib/tcsh/
H A Dtc.vers.c158 version = xasprintf( in fix_version()
167 version = xasprintf("%d.%.2d.%.2d", REV, VERS, PATCHLEVEL); in fix_version()
H A Dtc.prompt.c238 cz = xasprintf("%d", *(int *)info); in tprintf()
241 cz = xasprintf("%d", eventno + 1); in tprintf()
604 cz = xasprintf("%d", eventno + 1); in tprintf()
H A Dtc.decls.h232 extern char *xasprintf (const char *, ...)
/freebsd/crypto/openssh/regress/unittests/kex/
H A Dtest_proposal.c76 xasprintf(&in, "a,%s,b", tests[i].in); in kex_proposal_tests()
80 xasprintf(&out, "a,%s,b", tests[i].out); in kex_proposal_tests()
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.h42 int xasprintf(char **, const char *, ...);
H A Dmemory.c48 xasprintf(char **s, const char *fmt, ...) in xasprintf() function
/freebsd/crypto/openssh/
H A Dauth-rhosts.c214 xasprintf(&path, "%s/%s", in auth_rhosts2()
283 xasprintf(&path, "%s/%s", in auth_rhosts2()
H A Dxmalloc.h24 int xasprintf(char **, const char *, ...)
H A Dxmalloc.c109 xasprintf(char **ret, const char *fmt, ...) in xasprintf() function
H A Dauth2-pubkey.c88 xasprintf(&ret, "%s %s", sshkey_type(key), fp); in format_key()
209 xasprintf(&userstyle, "%s%s%s", authctxt->user, in userauth_pubkey()
745 xasprintf(&command, "%s %s", av[0], av[1]); in user_key_command_allowed2()
810 xasprintf(&conn_id, "%s %d %s %d", in user_key_allowed()
H A Dsshconnect.c97 xasprintf(&tmp, "exec %s", proxy_command); in expand_proxy_command()
726 xasprintf(&ret, "~/%s", path + l); in try_tilde_unexpand()
772 xasprintf(&ctx->names[ctx->nnames], "%s:%lu: %s", path, l->linenum, in hostkeys_find_by_key_cb()
861 xasprintf(&ret, "This host key is known by the following other " in other_hostkeys_message()
892 xasprintf(&tag, "KnownHostsCommand-%s", invocation); in load_hostkeys_command()
1193 xasprintf(&msg1, "The authenticity of host " in check_host_key()
H A Dssh-keygen.c329 xasprintf(&prompt, "Enter passphrase for \"%s\": ", filename); in load_identity()
1116 xasprintf(&prv_file, "%s%s", in do_gen_all_hostkeys()
1133 xasprintf(&prv_tmp, "%s%s.XXXXXXXXXX", in do_gen_all_hostkeys()
1135 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", in do_gen_all_hostkeys()
1137 xasprintf(&pub_file, "%s%s.pub", in do_gen_all_hostkeys()
1924 xasprintf(&out, "%s-cert.pub", tmp); in do_ca_sign()
2627 xasprintf(&prompt, "Enter PIN for %s key: ", in sign_one()
2661 xasprintf(&wfile, "%s.sig", filename); in sign_one()
3152 xasprintf(&prompt, "Enter passphrase for \"%s\" " in private_key_passphrase()
3242 xasprintf(&path, "id_%s_rk%s%s", in do_download_sk()
[all …]
H A Dmux.c535 xasprintf(&ret, "local forward %.200s:%d -> %.200s:%d", in format_forward()
544 xasprintf(&ret, "dynamic forward %.200s:%d -> *", in format_forward()
550 xasprintf(&ret, "remote forward %.200s:%d -> %.200s:%d", in format_forward()
614 xasprintf(&failmsg, "unknown forwarding id %d", fctx->fid); in mux_confirm_remote_forward()
651 xasprintf(&failmsg, "remote port forwarding failed for " in mux_confirm_remote_forward()
654 xasprintf(&failmsg, "remote port forwarding failed for " in mux_confirm_remote_forward()
1299 xasprintf(&options.control_path, "%s.%s", orig_control_path, rbuf); in muxserver_listen()
H A Dsession.c221 xasprintf(&auth_sock_name, "%s/agent.%ld", in auth_input_request_forwarding()
1216 xasprintf(&user_rc, "%s/%s", s->pw->pw_dir, _PATH_SSH_USER_RC); in do_rc_files()
1222 if (xasprintf(&cmd, "%s -c '%s %s'", shell, _PATH_BSHELL, in do_rc_files()
1260 if (xasprintf(&cmd, "%s -q -", options.xauth_location) == -1) in do_rc_files()
1983 xasprintf(&type, "session:subsystem:%s", in session_subsystem_req()
2392 xasprintf(&note, "exit %d", WEXITSTATUS(status)); in session_exit_message()
2404 xasprintf(&note, "signal %d%s", WTERMSIG(status), in session_exit_message()
H A Dssh.c498 xasprintf(&fullhost, "%s.%s.", *hostp, in resolve_canonicalize()
1338 xasprintf(&options.proxy_command, in main()
1439 xasprintf(&cinfo->portstr, "%d", options.port); in main()
1440 xasprintf(&cinfo->uidstr, "%llu", in main()
1598 xasprintf(&p, "%s=%s", name, cp); in main()
2469 xasprintf(&cp, "%s-cert", filename); in load_public_identity_files()
H A Dauth.c244 xasprintf(&ret, "%s %s ID %s (serial %llu) CA %s %s%s%s", in format_method_key()
257 xasprintf(&ret, "%s %s%s%s", sshkey_type(key), in format_method_key()
/freebsd/usr.bin/diff/
H A Dxmalloc.h26 int xasprintf(char **, const char *, ...)
H A Dxmalloc.c72 xasprintf(char **ret, const char *fmt, ...) in xasprintf() function
H A Dpr.c55 xasprintf(&header, "%s %s %s", diffargs, file1, file2); in start_pr()
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dkex_fuzz.cc349 xasprintf(&path, "S2C-%s-%s", in main()
360 xasprintf(&path, "C2S-%s-%s", in main()
377 xasprintf(&path, "%s.priv", in main()
384 xasprintf(&path, "%s.pub", in main()
/freebsd/crypto/krb5/src/clients/ksu/
H A Dxmalloc.c68 char *xasprintf (const char *format, ...) in xasprintf() function
H A Dksu.h237 extern char *xasprintf (const char *format, ...);
/freebsd/usr.sbin/moused/moused/
H A Dutil.h211 xasprintf(char **strp, const char *fmt, ...) in xasprintf() function
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-linux.c215 xasprintf(&newctx, "%.*s%s%s", (int)(cx - oldctx + 1), oldctx, in ssh_selinux_change_context()

123