Home
last modified time | relevance | path

Searched refs:asprintf (Results 1 – 25 of 104) sorted by relevance

12345

/titanic_51/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_builtin.c209 (void) asprintf(&dn, in directory_provider_builtin_populate()
241 (void) asprintf(&canon, "%s@%s", in directory_provider_builtin_populate()
247 (void) asprintf(&canon, "%s@%s", in directory_provider_builtin_populate()
287 (void) asprintf(&text_sid, "%s-%d", in sid_dav()
292 (void) asprintf(&text_sid, "%s-%d", in sid_dav()
H A Ddirectory_provider_nsswitch.c322 (void) asprintf(&dn, in directory_provider_nsswitch_populate()
348 (void) asprintf(&canon, "%s@%s", in directory_provider_nsswitch_populate()
385 (void) asprintf(&dn, in directory_provider_nsswitch_populate()
406 (void) asprintf(&canon, "%s@%s", in directory_provider_nsswitch_populate()
H A Dadutils.c749 (void) asprintf(&filter, SANFILTER, s_name); in idmap_name2sid_batch_add1()
795 (void) asprintf(&filter, OBJSIDFILTER, cbinsid); in idmap_sid2name_batch_add1()
830 (void) asprintf(&filter, "(&(objectclass=%s)(%s=%s))", in idmap_unixname2sid_batch_add1()
870 (void) asprintf(&filter, UIDNUMBERFILTER, pid); in idmap_pid2sid_batch_add1()
873 (void) asprintf(&filter, GIDNUMBERFILTER, pid); in idmap_pid2sid_batch_add1()
889 (void) asprintf(value, "%u", pid); in idmap_pid2sid_batch_add1()
/titanic_51/usr/src/common/ficl/
H A Dmain.c104 asprintf(&buffer, "%d", cols); in main()
107 asprintf(&buffer, "%d", rows); in main()
124 asprintf(&buffer, ".( loading %s ) cr include %s\n cr", in main()
/titanic_51/usr/src/cmd/localedef/
H A Dnumeric.c77 (void) asprintf(&s, "%d", n); in add_numeric_group()
79 (void) asprintf(&s, "%s;%d", numeric.grouping, n); in add_numeric_group()
H A Dmonetary.c80 (void) asprintf(&str, "%d", n); in add_monetary_num()
151 (void) asprintf(&s, "%d", n); in add_monetary_group()
153 (void) asprintf(&s, "%s;%d", mon.mon_grouping, n); in add_monetary_group()
/titanic_51/usr/src/cmd/auditd/
H A Dauditd.c829 (void) asprintf(&msg, gettext("Audit module does not appear " in conf_to_kernel()
844 (void) asprintf(&msg, in conf_to_kernel()
867 (void) asprintf(&msg, gettext("Unable to gather audit queue " in scf_to_kernel_qctrl()
879 (void) asprintf(&msg, gettext("Could not retrieve " in scf_to_kernel_qctrl()
907 (void) asprintf(&msg, in scf_to_kernel_qctrl()
925 (void) asprintf(&msg, gettext("Unable to get audit policy " in scf_to_kernel_policy()
931 (void) asprintf(&msg, in scf_to_kernel_policy()
/titanic_51/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c541 (void) asprintf(&buf, "%s/%s.%s", in smb_krb5_get_pn_by_id()
550 (void) asprintf(&buf, "%s/%s.%s", in smb_krb5_get_pn_by_id()
556 (void) asprintf(&buf, "%s/%s", in smb_krb5_get_pn_by_id()
565 (void) asprintf(&buf, "%s$", nbname); in smb_krb5_get_pn_by_id()
587 (void) asprintf(&tmp, "%s@%s", buf, in smb_krb5_get_pn_by_id()
/titanic_51/usr/src/tools/cpcgen/
H A Dcpcgen.c531 if (asprintf(&path, "%s/%s", datadir, file) == -1) { in cpcgen_read_datafile()
612 if (asprintf(&mappath, "%s/%s", datadir, cpcgen_intel_mapfile) == -1) { in cpcgen_determine_vendor()
718 if (asprintf(&mappath, "%s/%s", datadir, cpcgen_intel_mapfile) == -1) { in cpcgen_read_intel()
830 if (asprintf(&name, "%s_events.3cpc", map->cmap_name) == -1) { in cpcgen_manual_intel_name()
985 if (asprintf(&name, "core_pcbe_%s.c", map->cmap_name) == -1) { in cpcgen_cfile_intel_name()
1195 if (asprintf(&tmpname, ".%s.%d", fname, getpid()) == -1) { in cpcgen_common_intel_files()
1264 if (asprintf(&tmpname, ".%s.%d", fname, getpid()) == -1) { in cpcgen_common_intel_files()
1400 if (asprintf(&name, "amd_%s_events.3cpc", map->cmap_name) == -1) { in cpcgen_manual_amd_name()
1566 if (asprintf(&name, "opteron_pcbe_%s.c", map->cmap_name) == -1) { in cpcgen_cfile_amd_name()
1587 if (asprintf( in cpcgen_common_amd_files()
[all...]
/titanic_51/usr/src/cmd/printf/
H A Dprintf.c59 (void) asprintf(&b, f, fieldwidth, precision, func); \
61 (void) asprintf(&b, f, fieldwidth, func); \
63 (void) asprintf(&b, f, precision, func); \
65 (void) asprintf(&b, f, func); \
/titanic_51/usr/src/lib/libast/common/stdio/
H A Dasprintf.c27 asprintf(char** s, const char* fmt, ...) in asprintf() function
/titanic_51/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dasprintf.c27 asprintf(char** s, const char* fmt, ...) in asprintf() function
/titanic_51/usr/src/test/libc-tests/tests/common/
H A Dtest_common.c71 (void) asprintf(&t->name, "%s (%s)", s, ARCH); in test_start()
223 (void) asprintf(&t->name, "%s (%s)", s, ARCH); in test_run()
387 (void) asprintf(&err, "unknown keyword %s", tok); in test_load_config()
/titanic_51/usr/src/cmd/dtrace/test/tst/common/json/
H A Dtst.usdt.c53 asprintf(&json, FMT, size, idx, odd, even, action); in main()
/titanic_51/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A Djdtrace.c58 asprintf(av, "/usr/java/bin/%s/java", isaname); in main()
/titanic_51/usr/src/lib/libc/port/print/
H A Dasprintf.c9 * Based originally on asprintf.c from OpenBSD:
83 asprintf(char **str, const char *format, ...) in asprintf() function
/titanic_51/usr/src/cmd/rcm_daemon/common/
H A Dbridge_rcm.c572 (void) asprintf(&buf, fmt, name, bridge); in bridge_usage()
692 (void) asprintf(&rsrc, "%s/%u", RCM_LINK_PREFIX, linkid); in bridge_update()
850 (void) asprintf(&error, _("Bridge: %s(%s)"), errmsg, link); in bridge_log_err()
852 (void) asprintf(&error, _("Bridge: %s"), errmsg); in bridge_log_err()
/titanic_51/usr/src/lib/libpkg/common/
H A Dncgrpw.c640 if (asprintf(&buf, "%s%s", instroot, PASSWD) < 0) { in clpwnam()
678 if (asprintf(&buf, "%s%s", instroot, GROUP) < 0) { in clgrgid()
717 if (asprintf(&buf, "%s%s", instroot, PASSWD) < 0) { in clpwuid()
/titanic_51/usr/src/cmd/stat/kstat/
H A Dkstat.c840 (void) asprintf(&ks_number, "%d", ksi->ks_instance); in ks_instances_print()
1231 (void) asprintf(&simm_buf, "%d,", *simmstat); in save_simmstat()
1233 (void) asprintf(&simm_buf, "%s%d,", list, *simmstat); in save_simmstat()
1239 (void) asprintf(&simm_buf, "%s%d", list, *simmstat); in save_simmstat()
1258 (void) asprintf(&list_buf, "%hd,", *shortp); in short_array_to_string()
1260 (void) asprintf(&list_buf, "%s%hd,", list, *shortp); in short_array_to_string()
1266 (void) asprintf(&list_buf, "%s%hd", list, *shortp); in short_array_to_string()
1321 (void) asprintf(&value, "%hu", *sh); in save_temp_over()
/titanic_51/usr/src/cmd/hal/tools/
H A Dhal-device.c201 asprintf(&udi, "/org/freedesktop/Hal/devices/%s", arg); in dump_devices()
315 asprintf(&udi, "/org/freedesktop/Hal/devices/%s", arg); in remove_udi()
355 asprintf(&udi, "/org/freedesktop/Hal/devices/%s", arg); in add_udi()
/titanic_51/usr/src/boot/sys/boot/common/
H A Dmultiboot2.c432 asprintf(&cmdline, "%s%s%s", head, prop_opt, prop); in insert_cmdline()
434 asprintf(&cmdline, "%.*s%s,%s", len, head, prop, tail); in insert_cmdline()
533 asprintf(&propstr, "console=%s", os_console); in update_cmdline()
550 asprintf(&propstr, "%s=\"%s\"", mode, ttymode); in update_cmdline()
625 asprintf(&cmdline, "%s %s", fp->f_name, fp->f_args); in mb_kernel_cmdline()
/titanic_51/usr/src/tools/findunref/
H A Dfindunref.c205 asprintf(&hgcmd, "hg manifest -R %s", hgroot) == -1) in hg_manifest()
247 asprintf(&gitcmd, "git --git-dir=%s/.git ls-files", gitroot) == -1) in git_manifest()
/titanic_51/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c157 } else if (asprintf(&keystore_file, "%s/.pkg/security", in main()
/titanic_51/usr/src/test/util-tests/tests/mergeq/
H A Dmqt.c69 if (asprintf(&out, "%s%s", first, second) != -1) { in mqt_append()
/titanic_51/usr/src/cmd/make/bin/
H A Dmain.cc1617 asprintf(&newpath, "%s=%s", in add_to_env()
1620 asprintf(&newpath, "%s=%s", in add_to_env()
1625 asprintf(&newpath, "%s=%s:%s", in add_to_env()
1628 asprintf(&newpath, "%s=%s:%s", in add_to_env()
1660 asprintf(&lib32, "%s/%s/%s", origin, "../lib", in set_sgs_support()
1666 asprintf(&lib32, "%s/%s/%s/%s", origin, "../../lib/", in set_sgs_support()
1675 asprintf(&lib64, "%s/%s/64/%s", origin, "../lib", in set_sgs_support()
1681 asprintf(&lib64, "%s/%s/%s/64/%s", origin, "../../lib/", in set_sgs_support()

12345