/freebsd-11-stable/usr.sbin/mfiutil/ |
H A D | mfi_cmd.c | 122 snprintf(buffer, sizeof(buffer), "Status: 0x%02x", status_code); 189 snprintf(buf, sizeof(buf), "%d", target_id); 218 snprintf(mibname, sizeof(mibname), "dev.mfi.%d.delete_busy_volumes", 310 snprintf(path, sizeof(path), "/dev/mfi%d", unit);
|
H A D | mfi_drive.c | 73 snprintf(buf, sizeof(buf), "MISSING"); 75 snprintf(buf, sizeof(buf), "%2u", device_id); 98 error = snprintf(p, len, "MISSING"); 100 error = snprintf(p, len, "%2u", device_id); 115 error = snprintf(p, len, "S%u", 118 error = snprintf(p, len, "E%u", 121 error = snprintf(p, len, "E%u:S%u", 360 snprintf(inq_string, sizeof(inq_string), "<%s %s serial=%s> SATA", 373 snprintf(rstr, sizeof (rstr), "SCSI-%d", 377 snprintf(inq_strin [all...] |
/freebsd-11-stable/contrib/libarchive/cpio/test/ |
H A D | test_option_t.c | 95 snprintf(date, sizeof(date)-1, "%12.12s file", date2);
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | wpa_helpers.c | 254 snprintf(buf, sizeof(buf), "SET_NETWORK %d %s %s", id, field, value); 263 snprintf(buf, sizeof(buf), "SET_NETWORK %d %s \"%s\"", 282 snprintf(buf, sizeof(buf), "SET_CRED %d %s %s", id, field, value); 291 snprintf(buf, sizeof(buf), "SET_CRED %d %s \"%s\"",
|
/freebsd-11-stable/contrib/tcp_wrappers/ |
H A D | tcpd.c | 69 snprintf(path, sizeof(path), "%s/%s", REAL_DAEMON_DIR, argv[0]);
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | net_utils.c | 70 snprintf(nstr, sizeof(nstr), "%d-%d-%s", pi->pi_slot,
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | gethost.c | 158 snprintf(r, l, "%s%.*s", a, (int)len, b); 160 snprintf(r, l, "%.*s", (int)len, b); 203 snprintf(undername, len + 10, "__%.*s__)", (int)len, 207 snprintf(undername, len + 10, "__%.*s)", (int)len,
|
/freebsd-11-stable/contrib/libpcap/ |
H A D | portability.h | 100 * On Windows, snprintf(), with that name and with C99 behavior - i.e., 105 * small. We therefore can't just define snprintf to be _snprintf 110 * prior to VS 2015, so we can't rely on snprintf() being present. 113 * a routine with C99 snprintf() behavior will be available to them. 114 * We also don't want it to collide with the C library snprintf() if 118 * #defining them to be snprintf or vsnprintf, respectively, or by 122 #define pcap_snprintf snprintf
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/openbsd/ |
H A D | HostInfoOpenBSD.cpp | 39 ::snprintf(osrev_str, sizeof(osrev_str), "%-8.8u", osrev);
|
/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_safe_c_api.h | 51 #define KMP_SNPRINTF snprintf
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/freebsd/ |
H A D | HostInfoFreeBSD.cpp | 40 ::snprintf(osrev_str, sizeof(osrev_str), "%-8.8u", osrev);
|
/freebsd-11-stable/usr.bin/localedef/ |
H A D | localedef.c | 94 (void) snprintf(locpath, sizeof (locpath), "%s.%s", 97 (void) snprintf(locpath, sizeof (locpath), "%s/%s", 157 (void) snprintf(srcpath, sizeof (srcpath), "%s/%s", 162 (void) snprintf(srcpath, sizeof (srcpath),
|
/freebsd-11-stable/contrib/dma/ |
H A D | net.c | 130 snprintf(neterr, sizeof(neterr), "Timeout reached"); 360 snprintf(errmsg, sizeof(errmsg), "can not seek: %s", strerror(errno)); 373 snprintf(errmsg, sizeof(errmsg), "%s [%s] did not like our %s:\n%s", \ 430 snprintf(errmsg, sizeof(errmsg), "SMTP login to %s failed", host->host); 458 snprintf(errmsg, sizeof(errmsg), "corrupted queue file"); 512 snprintf(errmsg, sizeof(errmsg), "Internal error: badly formed address %s", 523 snprintf(errmsg, sizeof(errmsg), "DNS lookup failure: host %s not found", host);
|
/freebsd-11-stable/tools/tools/ath/athaggrstats/ |
H A D | athaggrstats.c | 216 snprintf(b, bs, "MCS%u", rate &~ IEEE80211_RATE_MCS); 218 snprintf(b, bs, "%u.5M", rate / 2); 220 snprintf(b, bs, "%uM", rate / 2); 228 snprintf(b, bs, "%u", wf->cur.aggr_##x - wf->total.aggr_##x); return 1 230 snprintf(b, bs, "%u", wf->cur.aggr_pkts[x] - wf->total.aggr_pkts[x]); return 1 284 snprintf(b, bs, "%u", wf->total.aggr_##x); return 1 286 snprintf(b, bs, "%u", wf->total.aggr_pkts[x]); return 1
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_dis.c | 266 (void) snprintf(kind, sizeof (kind), "0x%x", t->dtdt_kind); 313 (void) snprintf(ckind, sizeof (ckind), "0x%x", t->dtdt_ckind); 317 (void) snprintf(buf, len, "%s (%s) by %sref (size %lu)", 321 (void) snprintf(buf, len, "%s (%s) (size %lu)", 473 (void) snprintf(kind, sizeof (kind), 488 (void) snprintf(scope, sizeof (scope), 493 (void) snprintf(flags, sizeof (flags), "/0x%x",
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibroute.c | 106 n += snprintf(str + n, strlen - n, "%04hx", mask); 271 return snprintf(str, strlen, 275 return snprintf(str, strlen, 280 return snprintf(str, strlen, 290 return snprintf(str, strlen, ": (illegal port)"); 298 return snprintf(str, strlen, ": (unknown node and type)"); 314 rc = snprintf(str, strlen, ": (%s portguid %s: '%s')",
|
H A D | dump_fts.c | 81 n += snprintf(str + n, strlen - n, "%04hx", mask); 250 return snprintf(str, str_len, 254 return snprintf(str, str_len, 259 return snprintf(str, str_len, 269 return snprintf(str, str_len, ": (illegal port)"); 275 return snprintf(str, str_len, ": (node info not available fabric scan)"); 294 rc = snprintf(str, str_len, ": (%s portguid %s: '%s')",
|
/freebsd-11-stable/crypto/openssh/regress/unittests/test_helper/ |
H A D | fuzz.c | 110 snprintf(s, n, "%s case %zu of %zu (bit: %zu)\n", 115 snprintf(s, n, "%s case %llu of %llu (bits: %zu, %zu)\n", 122 snprintf(s, n, "%s case %zu of %zu (byte: %zu)\n", 127 snprintf(s, n, "%s case %llu of %llu (bytes: %zu, %zu)\n", 134 snprintf(s, n, "%s case %zu of %zu (offset: %zu)\n", 139 snprintf(s, n, "%s case %zu of %zu (offset: %zu)\n", 145 snprintf(s, n, "%s case %llu of %llu (offset: %zu char: %c)\n",
|
/freebsd-11-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 269 (void) snprintf(n, sizeof(n), CRON_TAB(User)); 299 (void) snprintf(n, sizeof(n), CRON_TAB(User)); 333 (void) snprintf(n, sizeof(n), CRON_TAB(User)); 343 (void) snprintf(Filename, sizeof(Filename), "/tmp/crontab.XXXXXXXXXX"); 518 (void) snprintf(n, sizeof(n), "tmp.%d", Pid); 519 (void) snprintf(tn, sizeof(tn), CRON_TAB(n)); 607 (void) snprintf(n, sizeof(n), CRON_TAB(User));
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_bancomm.c | 275 snprintf(namebuf, sizeof(namebuf), template, n); 440 snprintf(pp->a_lastcode, 543 snprintf(cbuf, sizeof(cbuf), "%3.3x", 549 snprintf(cbuf, sizeof(cbuf), "%2.2x", 554 snprintf(cbuf, sizeof(cbuf), "%2.2x", 559 snprintf(cbuf, sizeof(cbuf), "%2.2x", 566 snprintf(cbuf, sizeof(cbuf), "%4.4x%2.2x",
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | Makefile.am | 23 noinst_PROGRAMS = snprintf-test resolve-test rkpty 34 snprintf-test \ 44 libtest_la_SOURCES = strftime.c strptime.c snprintf.c tsearch.c 59 snprintf_test_SOURCES = snprintf-test.c 108 snprintf.c \
|
/freebsd-11-stable/bin/ls/ |
H A D | print.c | 140 snprintf(fmt, sizeof(fmt), "{:%s/%%hs}", field); 509 snprintf(nfmt, sizeof(nfmt), "%.*s%s%*s%s", 550 snprintf(fmt, sizeof(fmt), "{d:%s/%%hs} ", field); 553 snprintf(fmt, sizeof(fmt), "{en:%s/%%ld}", field); 748 (void)snprintf(name, sizeof(name), "%s", p->fts_name); 750 (void)snprintf(name, sizeof(name), 775 snprintf(fmt, sizeof(fmt), "{:%s/%%%ds} ", field, (int) width); 780 snprintf(fmt, sizeof(fmt), "{:%s/%%%dj%sd} ", 812 snprintf(name, sizeof(name), "%s", p->fts_name); 814 snprintf(nam [all...] |
/freebsd-11-stable/usr.bin/netstat/ |
H A D | route.c | 371 snprintf(buffer, sizeof(buffer), "{[:-%d}{:flags/%%s}{]:} ", 419 snprintf(buf, sizeof(buf), "{:%s/%%s} ", name); 424 snprintf(buf, sizeof(buf), "{[:%d}{:%s/%%s}{]:} ", 431 snprintf(buf, sizeof(buf), "{[:%d}{:%s/%%-.*s}{]:} ", 497 snprintf(cq, sizeof(buf), "(%d)", sa->sa_family); 500 snprintf(cq, sizeof(" ff"), " %02x", *s++); 503 snprintf(cq, sizeof("ff"), "%02x", *s++); 604 snprintf(dst, buflen, "&0x%lx", mask); 606 snprintf(dst, buflen, "/%d", 32-i); 748 snprintf(maskbu [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | netgraph.c | 560 snprintf(modname, sizeof modname, "ng_%s", nodetype); 566 snprintf(path, sizeof path, "%s:", nodename); 626 snprintf(modname, sizeof modname, "ng_%s", nodetype); 633 snprintf(mkp.type, sizeof mkp.type, "%s", nodetype); 634 snprintf(mkp.ourhook, sizeof mkp.ourhook, "%s", lasthook); 635 snprintf(mkp.peerhook, sizeof mkp.peerhook, "%s", hook); 648 snprintf(path + len, sizeof path - len, "%s%s", 693 snprintf(dev->hook, sizeof dev->hook, "%s", lasthook); 696 snprintf(ngc.path, sizeof ngc.path, "%s", path); 697 snprintf(ng [all...] |
/freebsd-11-stable/usr.sbin/diskinfo/ |
H A D | diskinfo.c | 148 snprintf(tstr, sizeof(tstr), "%s%s", _PATH_DEV, argv[i]); 303 snprintf(rate, buflen, "Unknown"); 305 snprintf(rate, buflen, "%d", 0); 307 snprintf(rate, buflen, "%d", arg.value.u16); 309 snprintf(rate, buflen, "Invalid"); 726 snprintf(zone_str, zone_str_len, "Not_Zoned"); 729 snprintf(zone_str, zone_str_len, "Host_Aware"); 732 snprintf(zone_str, zone_str_len, "Drive_Managed"); 735 snprintf(zone_str, zone_str_len, "Host_Managed"); 738 snprintf(zone_st [all...] |