Searched refs:snprintf (Results 276 - 300 of 1690) sorted by relevance

<<11121314151617181920>>

/freebsd-9.3-release/contrib/libpcap/
H A Dpcap-sita.c270 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Cannot open '/etc/hosts' for reading."); /* return the nohostsfile error response */
293 snprintf(errbuf, PCAP_ERRBUF_SIZE, "Invalid ACN name in '/etc/hosts'."); /* warn the user */
297 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
573 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
582 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
593 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
613 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
621 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
633 snprintf(errbuf, PCAP_ERRBUF_SIZE, "malloc: %s", pcap_strerror(errno));
647 snprintf(errbu
[all...]
/freebsd-9.3-release/sbin/hastd/
H A Dhastd.c199 (void)snprintf(msg, sizeof(msg),
207 (void)snprintf(msg, sizeof(msg),
215 (void)snprintf(msg, sizeof(msg),
221 (void)snprintf(msg, sizeof(msg),
228 (void)snprintf(msg, sizeof(msg),
234 (void)snprintf(msg, sizeof(msg),
242 (void)snprintf(msg, sizeof(msg),
248 (void)snprintf(msg, sizeof(msg),
257 (void)snprintf(msg, sizeof(msg),
265 (void)snprintf(ms
[all...]
/freebsd-9.3-release/contrib/bmake/
H A Dmain.c335 snprintf(fname + len - 2, 20, "%d", getpid());
690 (void)snprintf(buf, len, "%s %s", argv0, line);
717 snprintf(buf, MAXPATHLEN, "%s", path);
722 snprintf(buf, MAXPATHLEN, "%s/%s", curdir, path);
784 len = snprintf(str, sizeof(str), "%s: Working in: %s\n", progname, dir);
1017 snprintf(tmp, sizeof(tmp), "%d", makelevel);
1019 snprintf(tmp, sizeof(tmp), "%u", myPid);
1021 snprintf(tmp, sizeof(tmp), "%u", getppid());
1026 snprintf(pn, sizeof(pn), "%s[%d]", progname, makelevel);
1113 (void)snprintf(mdpat
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_handle.c218 (void) snprintf(str, len, "error on enabled probe ID %u "
261 (void) snprintf(str, len, "error on enabled probe ID %u "
329 (void) snprintf(str, sizeof (str), "[%s] ", dt_droptag(what));
337 (void) snprintf(s, size, "%llu %sdrop%s on CPU %d\n",
422 (void) snprintf(str, sizeof (str), "[%s] ",
431 (void) snprintf(s, size, "%llu %s%s%s\n",
/freebsd-9.3-release/crypto/heimdal/appl/telnet/libtelnet/
H A Dspx.c176 snprintf (targ_printable, sizeof(targ_printable),
219 snprintf (targ_printable, sizeof(targ_printable),
327 snprintf(targ_printable, sizeof(targ_printable),
499 snprintf (acl_file, sizeof(acl_file),
561 snprintf(buf, buflen, " %d (unknown)", data[3]);
565 snprintf(buf, buflen, " %d", data[i]);
/freebsd-9.3-release/libexec/ypxfr/
H A Dypxfr_main.c405 snprintf(tempmap, sizeof(tempmap), "%s.%d",ypxfr_mapname, getpid());
406 snprintf(ypxfr_temp_map, sizeof(ypxfr_temp_map), "%s/%s/%s", yp_dir,
436 snprintf(buf, sizeof(buf), "%lu", ypxfr_order);
465 snprintf (buf, sizeof(buf), "%s:%s", ypxfr_source_host, ypxfr_mapname);
478 snprintf(buf, sizeof(buf), "%s/%s/%s", yp_dir, ypxfr_dest_domain,
528 snprintf(buf, sizeof(buf), "%s/%s/%s", yp_dir, ypxfr_dest_domain,
/freebsd-9.3-release/sbin/geom/class/virstor/
H A Dgeom_virstor.c148 snprintf(path, size, "%s%s", _PATH_DEV, name);
278 snprintf(param, sizeof(param), "arg%u", i);
338 snprintf(param, sizeof(param), "arg%u", i);
419 snprintf(param, sizeof(param), "arg%u", i);
501 snprintf(param, sizeof(param), "arg%u", i);
566 snprintf(param, sizeof(param), "arg%u", i);
/freebsd-9.3-release/sys/ddb/
H A Ddb_ps.c228 snprintf(state, sizeof(state), "Run");
231 snprintf(state, sizeof(state), "RunQ");
234 snprintf(state, sizeof(state), "CanRun");
237 snprintf(state, sizeof(state), "Inactv");
258 snprintf(state, sizeof(state), "???");
271 snprintf(state, sizeof(state), "CPU %d", td->td_oncpu);
/freebsd-9.3-release/tools/tools/ath/athdecode/
H A Dmain.c381 snprintf(buf, sizeof (buf), "AR_%s (0x%x)", dr->name, r->reg);
384 snprintf(buf, sizeof (buf), "AR_KEYTABLE%u(%u) (0x%x)",
390 snprintf(buf, sizeof (buf), "AR_PHY_PCDAC_TX_POWER(%u) (0x%x)",
395 snprintf(buf, sizeof (buf), "AR_RATE_DURATION(0x%x) (0x%x)",
399 snprintf(buf, sizeof (buf), "AR_PHY(%u) (0x%x)",
403 snprintf(buf, sizeof (buf), "0x%x", r->reg);
/freebsd-9.3-release/usr.bin/ldd/
H A Dsods.c369 snprintf(contents, sizeof contents, " [%02x]",
373 snprintf(contents, sizeof contents, " [%04x]",
378 snprintf(contents, sizeof contents, "[%08lx]",
384 snprintf(contents, sizeof contents, " ");
522 snprintf(type, sizeof type, "%#02x", np->n_type);
534 default: snprintf(aux, sizeof aux, "%#01x", N_AUX(np)); break;
/freebsd-9.3-release/usr.bin/usbhidaction/
H A Dusbhidaction.c144 snprintf(devnamebuf, sizeof(devnamebuf), "/dev/%s%s",
170 sz1 = snprintf(buf, sizeof buf, "%ld\n",
390 snprintf(usbuf, sizeof usbuf,
395 snprintf(usbuf, sizeof usbuf,
415 snprintf(coll + strlen(coll),
484 snprintf(q, len, "%d", value);
/freebsd-9.3-release/usr.sbin/ppp/
H A Dlog.c327 snprintf(nfmt, sizeof nfmt, "%s%d(%s): %s: %s", TUN_NAME,
330 snprintf(nfmt, sizeof nfmt, "%s%d: %s: %s", TUN_NAME,
333 snprintf(nfmt, sizeof nfmt, "%s: %s", log_Name(lev), fmt);
349 snprintf(nfmt, sizeof nfmt, "%s%d(%s): %s: %s", TUN_NAME,
352 snprintf(nfmt, sizeof nfmt, "%s%d: %s: %s", TUN_NAME,
355 snprintf(nfmt, sizeof nfmt, "%s: %s", log_Name(lev), fmt);
/freebsd-9.3-release/sbin/geom/core/
H A Dgeom.c186 snprintf(name1, sizeof(name1), "g_%s", class_name);
187 snprintf(name2, sizeof(name2), "geom_%s", class_name);
261 snprintf(ptr, optnamesize, "%s%u", opt->go_name, G_OPT_NUM(opt));
388 snprintf(argname, sizeof(argname), "arg%u", i);
532 snprintf(path, sizeof(path), "%s/geom_%s.so", curpath,
607 snprintf(comm, sizeof(comm), "%s", basename((*argv)[0]));
909 snprintf(buf, sizeof(buf), "%s", pp->lg_name);
911 snprintf(buf, sizeof(buf), "%s (%s, %s)", pp->lg_name,
914 snprintf(buf, sizeof(buf), "%s (%s)", pp->lg_name,
1098 snprintf(nam
[all...]
/freebsd-9.3-release/sbin/mount_nfs/
H A Dmount_nfs.c402 snprintf(gssn, sizeof (gssn), "%s@%s", gssname,
780 snprintf(pname, sizeof (pname), "nfs@%s",
883 snprintf(errbuf, sizeof errbuf,
888 snprintf(errbuf, sizeof errbuf, "%s: %s", netid, nc_sperror());
898 snprintf(errbuf, sizeof errbuf,
904 snprintf(errbuf, sizeof errbuf, "%s: %s", netid_mnt,
937 snprintf(errbuf, sizeof errbuf, "[%s] %s:%s: %s",
949 snprintf(errbuf, sizeof errbuf, "[%s] %s:%s: %s", netid,
963 snprintf(errbuf, sizeof errbuf,
981 snprintf(errbu
[all...]
/freebsd-9.3-release/sys/cam/ctl/
H A Dctl_backend_ramdisk.c374 snprintf(lun_req->error_str, sizeof(lun_req->error_str),
412 snprintf(req->error_str, sizeof(req->error_str),
421 snprintf(req->error_str, sizeof(req->error_str),
441 snprintf(req->error_str, sizeof(req->error_str),
507 snprintf(req->error_str, sizeof(req->error_str),
521 snprintf(req->error_str, sizeof(req->error_str),
563 snprintf(tmpstr, sizeof(tmpstr), "MYSERIAL%4d",
579 snprintf(tmpstr, sizeof(tmpstr), "MYDEVID%4d", softc->num_luns);
607 snprintf(req->error_str, sizeof(req->error_str),
633 snprintf(re
[all...]
/freebsd-9.3-release/usr.sbin/pkg/
H A Dpkg.c210 snprintf(zone, sizeof(zone),
333 snprintf(path, MAXPATHLEN, "%s/%s", dir, filename);
722 snprintf(path, MAXPATHLEN, "%s/trusted", fingerprints);
733 snprintf(path, MAXPATHLEN, "%s/revoked", fingerprints);
836 snprintf(url, MAXPATHLEN, "%s/Latest/pkg.txz", packagesite);
838 snprintf(tmppkg, MAXPATHLEN, "%s/pkg.txz.XXXXXX",
848 snprintf(tmpsig, MAXPATHLEN, "%s/pkg.txz.sig.XXXXXX",
850 snprintf(url, MAXPATHLEN, "%s/Latest/pkg.txz.sig",
863 snprintf(tmpsig, MAXPATHLEN,
866 snprintf(ur
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Dntp_control.c1096 snprintf(reply, sizeof(reply),
1109 prc = snprintf(fullpath, sizeof(fullpath), "%s%s",
1145 snprintf(savedconfig, sizeof(savedconfig), "%s%s",
1624 snprintf(cp, sizeof(buffer) - (cp - buffer), use_f ? "%.*f" : "%.*g",
1650 snprintf(cp, sizeof(buffer) - (cp - buffer), "%lu", uval);
1667 numch = snprintf(buffer, sizeof(buffer),
1708 snprintf(cp, sizeof(buffer) - (cp - buffer),
1737 snprintf(cp, sizeof(buffer) - (cp - buffer), "0x%lx", uval);
1763 snprintf(cp, sizeof(buffer) - (cp - buffer), "%ld", ival);
1789 snprintf(c
[all...]
/freebsd-9.3-release/contrib/bind9/bin/named/
H A Dnotify.c131 snprintf(tsigbuf, sizeof(tsigbuf), ": TSIG '%s' (%s)",
134 snprintf(tsigbuf, sizeof(tsigbuf), ": TSIG '%s'",
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dttl.c60 len = snprintf(tmp, sizeof(tmp), "%s%u %s%s",
65 len = snprintf(tmp, sizeof(tmp), "%u%c", t, s[0]);
/freebsd-9.3-release/contrib/gcclibs/libssp/
H A DMakefile.am32 memset-chk.c snprintf-chk.c sprintf-chk.c stpcpy-chk.c \
/freebsd-9.3-release/contrib/gdb/gdb/gdbserver/
H A Dthread-db.c107 snprintf (buf, sizeof (buf), "unknown thread_db error '%d'", err);
133 snprintf (buf, sizeof (buf), "unknown thread_db state %d", state);
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dload_http.c38 error = snprintf(buffer, avail, "GET %s HTTP/1.0\r\n", url);
63 error = snprintf(buffer + strlen(buffer), avail, "Host: %s\r\n\r\n", s);
/freebsd-9.3-release/contrib/libarchive/cpio/
H A Dcmdline.c345 snprintf(errbuff, sizeof(errbuff),
363 snprintf(errbuff, sizeof(errbuff),
/freebsd-9.3-release/contrib/nvi/tk/
H A Dtk_funcs.c55 (void)snprintf(buf, sizeof(buf), "%d ", (int)len);
264 (void)snprintf(buf, sizeof(buf), "%d %d", RLNO(sp, lno), cno);
/freebsd-9.3-release/contrib/sendmail/libmilter/
H A Dexample.c68 snprintf(host, sizeof host, "localhost");
74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);

Completed in 368 milliseconds

<<11121314151617181920>>