/freebsd-11-stable/contrib/tcsh/ |
H A D | dotlock.c | 72 (void)snprintf(path, sizeof(path), "%.*s.%s.%lx", 143 (void)snprintf(path, sizeof(path), "%s.lock", fname); 177 (void)snprintf(path, sizeof(path), "%s.lock", fname);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | h_ps_strings2.c | 57 snprintf(buf, sizeof(buf), "arg%04zx", i);
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | print.h | 76 #define snprintf isc_print_snprintf macro
|
/freebsd-11-stable/contrib/blacklist/bin/ |
H A D | run.c | 83 r = snprintf(buf, sizeof(buf), "run %s [", controlprog); 87 r = snprintf(buf + z, sizeof(buf) - z, "%s%s", 139 snprintf(poname, sizeof(poname), "%d", c->c_port); 143 snprintf(maskname, sizeof(maskname), "%d", c->c_lmask);
|
H A D | support.c | 93 snprintf(b, l, "*%jd*", (intmax_t)t); 120 z = snprintf(b + o, l - o, "%jd%s", (intmax_t)a, __STRING(a)); \ 143 r = snprintf(buf, len, "%s: ", str); 150 r = snprintf(buf + cz, len - cz, "%.2x", *p++);
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libuutil/common/ |
H A D | uu_open.c | 56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime());
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_misc.c | 51 snprintf(utsname.version, sizeof(utsname.version), "%d", osreldate);
|
/freebsd-11-stable/lib/libc/rpc/ |
H A D | clnt_perror.c | 94 if ((i = snprintf(str, len, "%s: ", s)) > 0) { 122 i = snprintf(str, len, "; errno = %s", strerror(e.re_errno)); 130 i = snprintf(str, len, "; low version = %u, high version = %u", 140 i = snprintf(str, len, "; why = "); 146 i = snprintf(str, len, "%s",err); 148 i = snprintf(str, len, 159 i = snprintf(str, len, "; low version = %u, high version = %u", 168 i = snprintf(str, len, "; s1 = %u, s2 = %u", 246 i = snprintf(str, len, "%s: ", s);
|
/freebsd-11-stable/lib/libnetbsd/ |
H A D | strsuftoll.c | 183 snprintf(ebuf, ebuflen, 189 badnum: snprintf(ebuf, ebuflen, 195 snprintf(ebuf, ebuflen, "%s %lld is less than %lld.", 201 snprintf(ebuf, ebuflen,
|
/freebsd-11-stable/usr.sbin/ngctl/ |
H A D | name.c | 67 snprintf(name.name, sizeof(name.name), "%s", av[2]);
|
/freebsd-11-stable/usr.sbin/zonectl/ |
H A D | zonectl.c | 304 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); 308 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", 314 snprintf(tmpstr, sizeof(tmpstr), "Zone%ctype%c%#x", 322 snprintf(tmpstr, sizeof(tmpstr), "NWP"); 325 snprintf(tmpstr, sizeof(tmpstr), "Empty"); 328 snprintf(tmpstr, sizeof(tmpstr), "Implicit%cOpen", 332 snprintf(tmpstr, sizeof(tmpstr), "Explicit%cOpen", 336 snprintf(tmpstr, sizeof(tmpstr), "Closed"); 339 snprintf(tmpstr, sizeof(tmpstr), "Readonly"); 342 snprintf(tmpst [all...] |
/freebsd-11-stable/contrib/netbsd-tests/sys/netinet/ |
H A D | t_print.c | 115 e = snprintf(res, sizeof(res), "%s", tst[i].str); 117 e = snprintf(res, sizeof(res), "%s:%zu", tst[i].str, i); 129 e = snprintf(res, l, "%s", tst[i].str); 131 e = snprintf(res, l, "%s:%zu", tst[i].str, i);
|
/freebsd-11-stable/contrib/netbsd-tests/sys/netatalk/ |
H A D | t_print.c | 106 e = snprintf(res, sizeof(res), "%s", tst[i].str); 108 e = snprintf(res, sizeof(res), "%s:%zu", tst[i].str, i); 120 e = snprintf(res, l, "%s", tst[i].str); 122 e = snprintf(res, l, "%s:%zu", tst[i].str, i);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | interface.h | 29 /* snprintf et al */ 38 int snprintf(char *, size_t, const char *, ...)
|
H A D | print-sunrpc.c | 180 snprintf(srcid, sizeof(srcid), "0x%x", 184 snprintf(srcid, sizeof(srcid), "0x%x", 186 snprintf(dstid, sizeof(dstid), "0x%x", SUNRPC_PMAPPORT); 244 (void) snprintf(buf, sizeof(buf), "#%u", prog);
|
/freebsd-11-stable/contrib/ntp/sntp/ |
H A D | utilities.c | 162 snprintf(buf, bufsize, 199 cnt = snprintf(result, LIB_BUFLENGTH, "%s %s", 202 cnt = snprintf(result, LIB_BUFLENGTH, "%s", addrtxt); 204 snprintf(result, LIB_BUFLENGTH,
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/zfs/ |
H A D | zfs_deleg.c | 214 (void) snprintf(attr, len, "%c%c%c%lld", type, inheritchr, 219 (void) snprintf(attr, len, "%c-%c%s", type, 224 (void) snprintf(attr, len, "%c-%c", type, 229 (void) snprintf(attr, len, "%c%c%c", type, inheritchr,
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt.c | 107 snprintf(arg, sizeof(arg), "!%c,", c); 112 snprintf(arg, sizeof(arg), "%c,", c); 114 snprintf(arg, sizeof(arg), "%c=%s,", 126 snprintf(arg, sizeof(arg), "%d", nargs - optind);
|
/freebsd-11-stable/usr.bin/wall/ |
H A D | ttymsg.c | 80 (void) snprintf(errbuf, sizeof(errbuf), 92 (void) snprintf(errbuf, sizeof(errbuf), "%s: %s", device, 131 (void) snprintf(errbuf, sizeof(errbuf), 158 (void) snprintf(errbuf, sizeof(errbuf),
|
/freebsd-11-stable/sbin/camcontrol/ |
H A D | zone.c | 246 snprintf(tmpstr, sizeof(tmpstr), "Conventional"); 250 snprintf(tmpstr, sizeof(tmpstr), "Seq%c%s", 256 snprintf(tmpstr, sizeof(tmpstr), "Zone%ctype%c%#x", 265 snprintf(tmpstr, sizeof(tmpstr), "NWP"); 268 snprintf(tmpstr, sizeof(tmpstr), "Empty"); 271 snprintf(tmpstr, sizeof(tmpstr), "Implicit%cOpen", 275 snprintf(tmpstr, sizeof(tmpstr), "Explicit%cOpen", 279 snprintf(tmpstr, sizeof(tmpstr), "Closed"); 282 snprintf(tmpstr, sizeof(tmpstr), "Readonly"); 285 snprintf(tmpst [all...] |
/freebsd-11-stable/usr.sbin/mpsutil/ |
H A D | mps_show.c | 179 snprintf(devhandle, 5, "%04x", phy0->AttachedDevHandle); 180 snprintf(ctrlhandle, 5, "%04x", 184 snprintf(devhandle, 5, " "); 185 snprintf(ctrlhandle, 5, " "); 503 snprintf(bt, sizeof(bt), " "); 505 snprintf(bt, sizeof(bt), "%02d %02d", bus, target); 538 snprintf(enchandle, 5, "%04x", device->EnclosureHandle); 539 snprintf(slot, 3, "%02d", device->Slot); 541 snprintf(enchandle, 5, " "); 542 snprintf(slo [all...] |
/freebsd-11-stable/usr.sbin/tzsetup/ |
H A D | tzsetup.c | 279 snprintf(title, sizeof(title), "Countries in %s", 281 snprintf(prompt, sizeof(prompt), "Select a country or region"); 283 snprintf(title, sizeof(title), "Islands and groups in the %s", 285 snprintf(prompt, sizeof(prompt), "Select an island or group"); 637 snprintf(title, sizeof(title), "%s Time Zones", cp->name); 638 snprintf(prompt, sizeof(prompt), 669 snprintf(title, sizeof(title), "Confirmation"); 670 snprintf(prompt, sizeof(prompt), 722 snprintf(title, sizeof(title), "Info"); 724 snprintf(promp [all...] |
/freebsd-11-stable/tools/tools/mwl/mwlstats/ |
H A D | mwlstats.c | 297 snprintf(b, bs, "MCS%u", rate & IEEE80211_RATE_VAL); 299 snprintf(b, bs, "%u.5M", rate / 2); 301 snprintf(b, bs, "%uM", rate / 2); 309 snprintf(b, bs, "%u", wf->cur.mst_##x - wf->total.mst_##x); return 1 311 snprintf(b, bs, "%u", wf->cur.hw_stats.x - wf->total.hw_stats.x); return 1 313 snprintf(b, bs, "%u", wf->cur.mst_ant_rx[x] - wf->total.mst_ant_rx[x]); return 1 315 snprintf(b, bs, "%u", wf->cur.mst_ant_tx[x] - wf->total.mst_ant_tx[x]); return 1 319 snprintf(b, bs, "%lu", (u_long)( 323 snprintf(b, bs, "%lu", (u_long)( 384 snprintf( [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_zfs.c | 107 snprintf(tmpbuf, sizeof(tmpbuf)-1, "blanket=/dev/zfs:%s:%s", 116 snprintf(tmpbuf, sizeof(tmpbuf)-1, "zpool create %s %s",
|
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_errmsg.c | 82 snprintf(error->err_msg, sizeof(error->err_msg), 86 snprintf(error->err_msg, sizeof(error->err_msg),
|