Home
last modified time | relevance | path

Searched refs:snprintf (Results 126 – 150 of 2422) sorted by relevance

12345678910>>...97

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_project.c79 snprintf(name, 256, "%s.no_return_funcs", option_project_str); in register_no_return_funcs()
106 snprintf(name, 256, "%s.ignored_macros", option_project_str); in register_ignored_macros()
135 snprintf(name, 256, "%s.skipped_functions", option_project_str); in register_skipped_functions()
164 snprintf(name, 256, "%s.silenced_functions", option_project_str); in register_silenced_functions()
193 snprintf(name, 256, "%s.no_inline_functions", option_project_str); in register_no_inline_functions()
H A Dsmatch_db.c471 snprintf(sql_filter, sizeof(sql_filter), in get_static_filter()
475 snprintf(sql_filter, sizeof(sql_filter), in get_static_filter()
725 snprintf(buf, sizeof(buf), "return %p", expr); in db_return_vals()
872 snprintf(buf, sizeof(buf), "%s%s$", in sm_to_arg_name()
1372 snprintf(buf, sizeof(buf), "[r $%d]", param); in get_fn_param_str()
1390 snprintf(buf, sizeof(buf), "%s orig", var); in get_return_compare_is_param()
2363 p += snprintf(p, 4096 - (p - buf), ", "); in save_cache_data()
2368 p += snprintf(p, 4096 - (p - buf), ");"); in save_cache_data()
2624 snprintf(buf, sizeof(buf), "*%s", tmp); in get_variable_from_key()
2635 snprintf(buf, sizeof(buf), "$%s", key + 4); in get_variable_from_key()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Ddict.c67 (void) snprintf(dblock, sizeof (dblock), "%s/authtok_check.lock", path); in lock_db()
129 (void) snprintf(dict_hwm, sizeof (dict_hwm), "%s/%s", path, in database_present()
131 (void) snprintf(dict_pwd, sizeof (dict_pwd), "%s/%s", path, in database_present()
133 (void) snprintf(dict_pwi, sizeof (dict_pwi), "%s/%s", path, in database_present()
177 (void) snprintf(dbase_pwd, sizeof (dbase_pwd), "%s/%s", path, in update_dict_database()
/illumos-gate/usr/src/cmd/bnu/
H A Dmailst.c68 (void) snprintf(cmd, sizeof (cmd), "%s %s '%s'", PATH, MAIL, user);
89 snprintf(cmd, sizeof (cmd),
96 snprintf(cmd, sizeof (cmd),
124 (void) snprintf(un, sizeof (un), "LOGNAME=%s",p);
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dstrings.c276 (void) snprintf(ret, len, "bogus-0x%.2x", id); in ipp_tag_string()
287 (void) snprintf(ret, len, "reserved-0x%.4x", id); in ipp_opid_string()
292 (void) snprintf(ret, len, "reserved-vendor-0x%.4x", id); in ipp_opid_string()
328 (void) snprintf(ret, len, "bogus-0x%.4hx", id); in ipp_status_string()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_diff.c107 (void) snprintf(pn, maxlen, "(on_delete_queue)"); in get_stats_for_obj()
110 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj()
116 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj()
121 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj()
479 (void) snprintf(di->errbuf, sizeof (di->errbuf), in differ()
497 (void) snprintf(di->errbuf, sizeof (di->errbuf), in find_shares_object()
571 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_snapshot_names()
593 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_snapshot_names()
676 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_mountpoint()
762 (void) snprintf(errbuf, sizeof (errbuf), in zfs_show_diffs()
[all …]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_persist.c168 (void) snprintf(tmpbuf, sizeof (tmpbuf), ","); in i_ipadm_ip_addhostname2dbline()
170 (void) snprintf(tmpbuf, sizeof (tmpbuf), ",%s", cp); in i_ipadm_ip_addhostname2dbline()
190 (void) snprintf(buf, buflen, "%s=", IPADM_NVP_IPV4ADDR); in i_ipadm_ip4_nvp2dbline()
245 (void) snprintf(buf, buflen, "%s=", IPADM_NVP_INTFID); in i_ipadm_intfid_nvp2dbline()
258 (void) snprintf(addrbuf, sizeof (addrbuf), "/%d,%s,%s", in i_ipadm_intfid_nvp2dbline()
287 (void) snprintf(buf, buflen, "%s=", IPADM_NVP_DHCP); in i_ipadm_dhcp_nvp2dbline()
333 nbytes = snprintf(buf, buflen, "%c%c", '\n', '\0'); in ipadm_nvlist2str()
657 return (snprintf(buf, buflen, "%s=%d", in i_ipadm_families_nvp2dbline()
660 return (snprintf(buf, buflen, "%s=%d,%d", in i_ipadm_families_nvp2dbline()
716 n = snprintf(buf, buflen, "%s=", IPADM_NVP_MIFNAMES); in i_ipadm_groupmembers_nvp2dbline()
[all …]
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dsmp_plugin.c273 (void) snprintf(path, sizeof (path), "%s/%s", in smp_plugin_load_dir()
289 (void) snprintf(path, sizeof (path), "%s/%s/%s/%s", in smp_plugin_load_dir()
334 (void) snprintf(path, sizeof (path), "%s/%s/%s/component_%s%s", in smp_plugin_load_dir()
340 (void) snprintf(path, sizeof (path), in smp_plugin_load_dir()
347 (void) snprintf(path, sizeof (path), in smp_plugin_load_dir()
356 (void) snprintf(path, sizeof (path), "%s/%s/%s/%s%s", pluginroot, in smp_plugin_load_dir()
361 (void) snprintf(path, sizeof (path), "%s/%s/%s/%s-%s%s", pluginroot, in smp_plugin_load_dir()
366 (void) snprintf(path, sizeof (path), "%s/%s/%s/%s-%s-%s%s", pluginroot, in smp_plugin_load_dir()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Docfile.c146 (void) snprintf(tmpcf, sizeof (tmpcf), "%s/contents", pkgadm_dir); in set_cfdir()
161 (void) snprintf(realcf, sizeof (realcf), "%s/contents", get_PKGADM()); in set_cfdir()
250 (void) snprintf(contents, sizeof (contents), "%s/contents", pkgadm_dir); in ocfile()
285 (void) snprintf(logfile, sizeof (logfile), "%s/" PKGLOG, pkgadm_dir); in ocfile()
510 (void) snprintf(line, sizeof (line), in swapcfile()
558 (void) snprintf(lockpath, sizeof (lockpath), in pkgWlock()
650 (void) snprintf(contents, PATH_MAX, "%s/contents", get_PKGADM()); in iscfile()
673 (void) snprintf(contents, sizeof (contents), in vcfile()
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rexd.c212 (void) snprintf(buf, sizeof (buf), dgettext(bsm_dom,
219 (void) snprintf(buf, sizeof (buf), dgettext(bsm_dom,
223 (void) snprintf(buf, sizeof (buf), dgettext(bsm_dom,
246 (void) snprintf(tbuf, tlen, gtxt, cmdbuf);
336 (void) snprintf(buf, sizeof (buf), dgettext(bsm_dom,
341 (void) snprintf(buf, sizeof (buf), dgettext(bsm_dom,
364 (void) snprintf(tbuf, tlen, gtxt, cmdbuf);
H A Ddevalloc.c128 slen = snprintf(fbuf, nlen, "%s", ptr); in da_check_logindevperm()
130 slen = snprintf(fbuf + plen, nlen - plen, ":%s", ptr); in da_check_logindevperm()
345 length += snprintf(buf + length, size - length, "%s%s", in _dmap2str()
743 (void) snprintf(errmsg, sizeof (errmsg), in _rebuild_lists()
766 (void) snprintf(errmsg, sizeof (errmsg), in _rebuild_lists()
849 (void) snprintf(errmsg, sizeof (errmsg), in _rebuild_lists()
1274 if (snprintf(path, sizeof (path), "%s%s", rootdir, in da_open_devdb()
1307 if (snprintf(path, sizeof (path), "%s%s", rootdir, in da_open_devdb()
1844 (void) snprintf(kval, nlen, "%s%s%s%s%s%s%s", in da_add_list()
1999 snprintf(current->devinfo.devlist, in da_remove_list()
[all …]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetpwent.c113 idlen = snprintf(NULL, 0, "%u:%u", uid, gid); in validate_passwd_ids()
120 (void) snprintf(uidp, idlen + 1, "%u:%u", uid, gid); in validate_passwd_ids()
206 len = snprintf(s, buflen, "%s:%s",
211 len = snprintf(s, buflen, "%s:%s,%s",
214 len = snprintf(s, buflen, "%s:%s",
223 len = snprintf(s, buflen, ":%u:%u:%s:%s:%s",
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetnetent.c115 len = snprintf(buffer, buflen, "%s %s", cname, network[0]); in _nss_ldap_networks2str()
125 len = snprintf(buffer, buflen, " %s", in _nss_ldap_networks2str()
209 ret = snprintf(searchfilter, sizeof (searchfilter), in getbyname()
214 ret = snprintf(userdata, sizeof (userdata), in getbyname()
247 ret = snprintf(searchfilter, sizeof (searchfilter), in getbyaddr()
252 ret = snprintf(userdata, sizeof (userdata), in getbyaddr()
H A Dgetkeyent.c135 (void) snprintf(buffer, len, "%s:%s", pkey, skey); in _nss_ldap_key2str()
188 ret = snprintf(searchfilter, sizeof (searchfilter), in getkeys()
193 ret = snprintf(userdata, sizeof (userdata), in getkeys()
203 ret = snprintf(searchfilter, sizeof (searchfilter), in getkeys()
208 ret = snprintf(userdata, sizeof (userdata), in getkeys()
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_util.c88 (void) snprintf(ihp->ih_errbuf, sizeof (ihp->ih_errbuf), in ipmi_errmsg()
151 (void) snprintf(buf, len, "0x%02x", id); in ipmi_entity_name()
166 (void) snprintf(buf, len, "0x%02x", type); in ipmi_sensor_type_name()
181 (void) snprintf(buf, len, "0x%02x", type); in ipmi_sensor_units_name()
207 (void) snprintf(buf, len, "%02x/%02x", reading_type, in ipmi_sensor_reading_name()
210 (void) snprintf(buf, len, "%02x", reading_type); in ipmi_sensor_reading_name()
/illumos-gate/usr/src/cmd/flowstat/
H A Dflowstat.c242 (void) snprintf(buf, bufsize, "%.0lf", num); in map_to_units()
301 (void) snprintf(buf, bufsize, " %7.0lf%c", num, unit); in map_to_units()
303 (void) snprintf(buf, bufsize, " %6.2lf%c", num, unit); in map_to_units()
383 (void) snprintf(buf, bufsize, "%s", fargs->flow_s_flow); in print_flow_stats_cb()
840 (void) snprintf(ubuf.history_l_stime, sizeof (ubuf.history_l_stime), in show_history_time()
844 (void) snprintf(ubuf.history_l_etime, sizeof (ubuf.history_l_etime), in show_history_time()
846 (void) snprintf(ubuf.history_l_rbytes, sizeof (ubuf.history_l_rbytes), in show_history_time()
850 (void) snprintf(ubuf.history_l_bandwidth, in show_history_time()
878 (void) snprintf(ubuf.history_flow, sizeof (ubuf.history_flow), "%s", in show_history_res()
884 (void) snprintf(ubuf.history_rbytes, sizeof (ubuf.history_rbytes), in show_history_res()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_oss.c171 (void) snprintf(ext->id, sizeof (ext->id), "RECORD"); in oss_add_control()
199 (void) snprintf(ext->id, sizeof (ext->id), "MISC"); in oss_add_control()
218 (void) snprintf(ext->extname, sizeof (ext->extname), in oss_add_control()
312 (void) snprintf(ext->extname, in oss_add_control()
315 (void) snprintf(ext->id, in oss_add_control()
427 (void) snprintf(ext->id, sizeof (ext->id), "DEVROOT"); in oss_alloc_controls()
1204 (void) snprintf(ci->longname, sizeof (ci->longname), in sndctl_cardinfo()
1319 (void) snprintf(si->devnode, sizeof (si->devnode), in sndctl_audioinfo()
1325 (void) snprintf(si->devnode, sizeof (si->devnode), in sndctl_audioinfo()
1438 (void) snprintf(mi->devnode, sizeof (mi->devnode), in sndctl_mixerinfo()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/daktari/common/
H A Dworkfile.c741 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list()
744 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list()
749 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list()
792 (void) snprintf(buf, MAXSTRLEN, "%s-%s", name, in fill_pci_card_list()
796 (void) snprintf(buf, MAXSTRLEN, "%s", name); in fill_pci_card_list()
811 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list()
816 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list()
833 (void) snprintf(pci_card->model, MAXSTRLEN, in fill_pci_card_list()
837 (void) snprintf(pci_card->model, MAXSTRLEN, in fill_pci_card_list()
840 (void) snprintf(pci_card->model, MAXSTRLEN, in fill_pci_card_list()
[all …]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/littleneck/common/
H A Dworkfile.c754 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list()
762 (void) snprintf(pci_card->slot_str, MAXSTRLEN, in fill_pci_card_list()
810 (void) snprintf(buf, MAXSTRLEN, "%s-%s", name, in fill_pci_card_list()
814 (void) snprintf(buf, MAXSTRLEN, "%s", name); in fill_pci_card_list()
829 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list()
835 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list()
840 (void) snprintf(pci_card->name, MAXSTRLEN, in fill_pci_card_list()
853 (void) snprintf(pci_card->model, MAXSTRLEN, in fill_pci_card_list()
857 (void) snprintf(pci_card->model, MAXSTRLEN, in fill_pci_card_list()
860 (void) snprintf(pci_card->model, MAXSTRLEN, in fill_pci_card_list()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dmodule.c158 (void) snprintf(command_errbuf, sizeof (command_errbuf), in command_load()
179 (void) snprintf(command_errbuf, sizeof (command_errbuf), in command_load()
191 (void) snprintf(command_errbuf, sizeof (command_errbuf), in command_load()
254 (void) snprintf(lbuf, sizeof (lbuf), " %p: ", in command_lsmod()
258 (void) snprintf(lbuf, sizeof (lbuf), " (%s, 0x%lx)\n", in command_lsmod()
294 (void) snprintf(lbuf, sizeof (lbuf), "%s.%d ", in command_lsmod()
308 (void) snprintf(lbuf, sizeof (lbuf), in command_lsmod()
358 (void) snprintf(command_errbuf, sizeof (command_errbuf), in file_load()
396 (void) snprintf(command_errbuf, in file_load_dependencies()
659 (void) snprintf(command_errbuf, sizeof (command_errbuf), in file_loadraw()
[all …]
/illumos-gate/usr/src/head/iso/
H A Dstdio_c99.h60 #pragma redefine_extname snprintf _snprintf_c89
66 #define snprintf _snprintf_c89
82 extern int snprintf(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c199 (void) snprintf(pci_card.status, in huron_pci_callback()
204 (void) snprintf(pci_card.status, in huron_pci_callback()
209 (void) snprintf(pci_card.status, in huron_pci_callback()
310 (void) snprintf(NAC, sizeof (NAC), "%s/%s%d", in huron_hw_rev_callback()
319 (void) snprintf(NAC, sizeof (NAC), "%s/%s%d", MOTHERBOARD, in huron_hw_rev_callback()
327 (void) snprintf(NAC, sizeof (NAC), "%s/%s", in huron_hw_rev_callback()
335 (void) snprintf(NAC, sizeof (NAC), "%s/%s", MOTHERBOARD, in huron_hw_rev_callback()
343 (void) snprintf(NAC, sizeof (NAC), "%s/%s", MOTHERBOARD, in huron_hw_rev_callback()
351 (void) snprintf(NAC, sizeof (NAC), "%s/%s", MOTHERBOARD, in huron_hw_rev_callback()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm_hc.c103 (void) snprintf(buf, bufsize, "%d", info->hci_timeout); in print_hc()
106 (void) snprintf(buf, bufsize, "%d", info->hci_count); in print_hc()
109 (void) snprintf(buf, bufsize, "%d", info->hci_interval); in print_hc()
112 (void) snprintf(buf, bufsize, "%c", in print_hc()
116 (void) snprintf(buf, bufsize, "%s", info->hci_test); in print_hc()
223 (void) snprintf(buf, bufsize, "%u", srv->hcs_fail_cnt); in print_hc_result()
228 (void) snprintf(buf, bufsize, "%02d:%02d:%02d", tv.tm_hour, in print_hc_result()
236 (void) snprintf(buf, bufsize, "%02d:%02d:%02d", tv.tm_hour, in print_hc_result()
240 (void) snprintf(buf, bufsize, "%u", srv->hcs_rtt); in print_hc_result()
/illumos-gate/usr/src/test/os-tests/tests/
H A Dodirectory.c82 (void) snprintf(odir_fpath, sizeof (odir_fpath), in odir_setup()
91 (void) snprintf(odir_dpath, sizeof (odir_dpath), in odir_setup()
104 (void) snprintf(odir_doorpath, sizeof (odir_doorpath), in odir_setup()
119 (void) snprintf(odir_enoent, sizeof (odir_enoent), in odir_setup()
130 (void) snprintf(odir_udspath, sizeof (odir_udspath), in odir_setup()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c250 (void) snprintf(ra_buf, sizeof (ra_buf), in interpret_icmp()
276 (void) snprintf(ra_ext_buf, in interpret_icmp()
740 (void) snprintf(get_line(0, 0),
822 snprintf(buf, sizeof (chbuf) - (buf - chbuf),
916 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_mldv2qry()
923 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_mldv2qry()
926 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_mldv2qry()
964 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_mldv2rpt()
971 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_mldv2rpt()
977 (void) snprintf(get_line(0, 0), get_line_remain(), in interpret_mldv2rpt()
[all …]

12345678910>>...97