/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_builtin.c | 209 (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 D | directory_provider_nsswitch.c | 322 (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 D | adutils.c | 751 (void) asprintf(&filter, SANFILTER, s_name); in idmap_name2sid_batch_add1() 797 (void) asprintf(&filter, OBJSIDFILTER, cbinsid, cbinsid); in idmap_sid2name_batch_add1() 832 (void) asprintf(&filter, "(&(objectclass=%s)(%s=%s))", in idmap_unixname2sid_batch_add1() 872 (void) asprintf(&filter, UIDNUMBERFILTER, pid); in idmap_pid2sid_batch_add1() 875 (void) asprintf(&filter, GIDNUMBERFILTER, pid); in idmap_pid2sid_batch_add1() 891 (void) asprintf(value, "%u", pid); in idmap_pid2sid_batch_add1()
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosacpi.c | 134 if (asprintf(&value, "%u,8,N,1,-", baudrate) < 0) in biosacpi_setup_spcr() 164 if (asprintf(&name, "%s,text", port) > 0) { in biosacpi_setup_spcr() 168 if (asprintf(&name, "%s-mode", port) > 0) { in biosacpi_setup_spcr() 172 if (asprintf(&name, "%s-spcr-mode", port) > 0) { in biosacpi_setup_spcr()
|
/illumos-gate/usr/src/common/ficl/ |
H A D | main.c | 105 if (asprintf(&buffer, "%d", cols) < 0) in main() 109 if (asprintf(&buffer, "%d", rows) < 0) in main() 127 if (asprintf(&buffer, ".( loading %s ) cr include %s\n cr", in main()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | Makefile | 42 asprintf-14933 \ 87 asprintf-14933.32 := CSTD=$(GNU_C99) 88 asprintf-14933.64 := CSTD=$(GNU_C99)
|
H A D | asprintf-14933.c | 41 ret = asprintf(&out, "%s%c%s", "0123", '\0', "abc"); in main() 71 ret = asprintf(&out, "%s%c%s%c%s%c%s%c%s", longstr, '\0', longstr, '\0', in main()
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | tail.c | 340 if (asprintf(&start, "-%sn%c10", in obsolete() 363 if (asprintf(&start, in obsolete() 384 if (asprintf(&start, "-%c%s", in obsolete() 389 if (asprintf(&start, "-%s%c%c10", in obsolete()
|
/illumos-gate/usr/src/cmd/localedef/ |
H A D | numeric.c | 77 (void) asprintf(&s, "%d", n); in add_numeric_group() 79 (void) asprintf(&s, "%s;%d", numeric.grouping, n); in add_numeric_group()
|
H A D | monetary.c | 80 (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()
|
/illumos-gate/usr/src/lib/varpd/libvarpd/common/ |
H A D | libvarpd_util.c | 48 if (asprintf(&dirpath, "%s/%s", path, libvarpd_isaext()) == -1) in libvarpd_dirwalk() 74 if (asprintf(&filepath, "%s/%s", dirpath, dp->d_name) == -1) { in libvarpd_dirwalk()
|
/illumos-gate/usr/src/cmd/auditd/ |
H A D | auditd.c | 829 (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()
|
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/ |
H A D | vnode_zvol.c | 156 err = asprintf(&pool, "mevent_test_%d", getpid()); in main() 159 err = asprintf(&vol, "%s/test_zvol_%d", pool, getpid()); in main() 162 err = asprintf(&backend, "/dev/zvol/rdsk/%s", vol); in main()
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ksetpwd.c | 541 (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()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_lpc.c | 155 asprintf(&node_name, "lpc.%s.path", in lpc_device_parse() 164 asprintf(&node_name, "lpc.%s", pctestdev_getname()); in lpc_device_parse() 309 asprintf(&node_name, "lpc.%s.path", name); in lpc_init() 332 asprintf(&node_name, "lpc.%s", pctestdev_getname()); in lpc_init() 610 asprintf(&name, "\\_SB.PC00.ISA.LNK%c,", 'A' + pin - 1); in lpc_pirq_name()
|
/illumos-gate/usr/src/cmd/printf/ |
H A D | printf.c | 59 (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); \
|
/illumos-gate/usr/src/tools/cpcgen/ |
H A D | cpcgen.c | 537 if (asprintf(&path, "%s/%s", datadir, file) == -1) { in cpcgen_read_datafile() 618 if (asprintf(&mappath, "%s/%s", datadir, cpcgen_intel_mapfile) == -1) { in cpcgen_determine_vendor() 735 if (asprintf(&mappath, "%s/%s", datadir, cpcgen_intel_mapfile) == -1) { in cpcgen_read_intel() 847 if (asprintf(&name, "%s_events.3cpc", map->cmap_name) == -1) { in cpcgen_manual_intel_name() 1001 if (asprintf(&name, "core_pcbe_%s.c", map->cmap_name) == -1) { in cpcgen_cfile_intel_name() 1218 if (asprintf(&tmpname, ".%s.%d", fname, getpid()) == -1) { in cpcgen_common_intel_files() 1287 if (asprintf(&tmpname, ".%s.%d", fname, getpid()) == -1) { in cpcgen_common_intel_files() 1427 if (asprintf(&name, "amd_%s_events.3cpc", map->cmap_name) == -1) { in cpcgen_manual_amd_name() 1605 if (asprintf(&name, "opteron_pcbe_%s.c", map->cmap_name) == -1) { in cpcgen_cfile_amd_name() 1626 if (asprintf(&tmpname, ".%s.%d", fname, getpid()) == -1) { in cpcgen_common_amd_files() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/common/ |
H A D | test_common.c | 71 (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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/ |
H A D | asprintf.c | 27 asprintf(char** s, const char* fmt, ...) in asprintf() function
|
/illumos-gate/usr/src/lib/librename/common/ |
H A D | librename.c | 98 ret = asprintf(&lrap->lra_altname, ".%d.%s", (int)getpid(), in librename_atomic_fdinit() 101 ret = asprintf(&lrap->lra_altname, "%s%s", prefix, file); in librename_atomic_fdinit()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/json/ |
H A D | tst.usdt.c | 53 asprintf(&json, FMT, size, idx, odd, even, action); in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | jdtrace.c | 58 (void) asprintf(av, "/usr/java/bin/%s/java", isaname); in main()
|
/illumos-gate/usr/src/test/os-tests/tests/signalfd/ |
H A D | common.c | 29 (void) asprintf(&fmt_hdr, "TEST FAILED - %s", fmt); in test_fail()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 847 asprintf(ptr, "%.*s", size, str); in zfs_nvstore_getter() 1257 (void) asprintf(&value, "%uc", in zfs_nvstore_setenv() 1264 (void) asprintf(&value, "%c", *(int *)&nvp_data->nv_data[0]); in zfs_nvstore_setenv() 1270 (void) asprintf(&value, "%hd", *(short *)&nvp_data->nv_data[0]); in zfs_nvstore_setenv() 1276 (void) asprintf(&value, "%hu", in zfs_nvstore_setenv() 1284 (void) asprintf(&value, "%d", *(int *)&nvp_data->nv_data[0]); in zfs_nvstore_setenv() 1290 (void) asprintf(&value, "%u", in zfs_nvstore_setenv() 1297 (void) asprintf(&value, "%jd", in zfs_nvstore_setenv() 1304 (void) asprintf(&value, "%ju", in zfs_nvstore_setenv()
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 380 if (asprintf(&file, "%s%s", path, "/EFI") < 0) { in install_esp_cb() 388 if (asprintf(&file, "%s%s", path, "/EFI/Boot") < 0) { in install_esp_cb() 1087 (void) asprintf(&ptr, "%s%d", path, i); in get_slice() 1466 (void) asprintf(&ptr, "%s%d", path, i); in probe_vtoc() 1615 rv = asprintf(&ptr, "%s%d", path, i + 1); in probe_mbr() 2088 if (asprintf(&stage1, "%s/%s", boot_dir, STAGE1) < 0) { in handle_install() 2092 if (asprintf(&stage2, "%s/%s", boot_dir, STAGE2) < 0) { in handle_install() 2096 if (asprintf(&efi32, "%s/%s", boot_dir, LOADER32) < 0) { in handle_install() 2100 if (asprintf(&efi64, "%s/%s", boot_dir, LOADER64) < 0) { in handle_install() 2118 if (asprintf(&efi32, "%s/%s", boot_dir, LOADER32) < 0) { in handle_install() [all …]
|