/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | regerror.c | 49 #define snprintf _snprintf macro 104 (void)snprintf(convbuf, sizeof convbuf, 133 (void)snprintf(localbuf, localbufsize, "%d", r->code);
|
/freebsd-11-stable/lib/libcam/ |
H A D | camlib.c | 124 snprintf(cam_errbuf, nitems(cam_errbuf), 151 snprintf(cam_errbuf, nitems(cam_errbuf), 179 snprintf(cam_errbuf, nitems(cam_errbuf), 191 snprintf(cam_errbuf, nitems(cam_errbuf), 204 snprintf(cam_errbuf, nitems(cam_errbuf), 280 snprintf(cam_errbuf, nitems(cam_errbuf), 297 snprintf(cam_errbuf, nitems(cam_errbuf), 310 snprintf(cam_errbuf, nitems(cam_errbuf), 333 snprintf(cam_errbuf, nitems(cam_errbuf), 345 snprintf(cam_errbu [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | ip.c | 191 snprintf(protobuff, sizeof protobuff, "%d", cproto); 193 snprintf(protobuff, sizeof protobuff, "%s", pe->p_name); 320 snprintf(dbuff, sizeof dbuff, "sport = %d", sport); 329 snprintf(dbuff, sizeof dbuff, "sport = %d", sport); 359 snprintf(dbuff, sizeof dbuff, "sport = %d, dport = %d", 381 snprintf(dbuff, sizeof dbuff, 401 snprintf(dbuff + len, sizeof dbuff - len, 413 snprintf(dbuff, sizeof dbuff, ", src %s %d", 419 snprintf(dbuff + len, sizeof dbuff - len, 461 snprintf(dsti [all...] |
/freebsd-11-stable/tests/sys/audit/ |
H A D | administrative.c | 72 snprintf(adregex, sizeof(adregex), "settimeofday.*%d.*success", pid); 100 snprintf(adregex, sizeof(adregex), "settimeofday.*%d.*failure", pid); 129 snprintf(adregex, sizeof(adregex), "clock_settime.*%d.*success", pid); 156 snprintf(adregex, sizeof(adregex), "clock_settime.*%d.*failure", pid); 183 snprintf(adregex, sizeof(adregex), "adjtime.*%d.*return,success", pid); 207 snprintf(adregex, sizeof(adregex), "adjtime.*%d.*return,failure", pid); 233 snprintf(adregex, sizeof(adregex), "ntp_adjtime.*%d.*success", pid); 256 snprintf(adregex, sizeof(adregex), "ntp_adjtime.*%d.*failure", pid); 280 snprintf(adregex, sizeof(adregex), "nfs_getfh.*%d.*ret.*success", pid); 306 snprintf(adrege [all...] |
H A D | network.c | 93 snprintf(extregex, sizeof(extregex), "socket.*ret.*success,%d", sockfd); 113 snprintf(extregex, sizeof(extregex), "socket.*%s", nosupregex); 140 snprintf(extregex, sizeof(extregex), "socketpair.*0x0.*return,success"); 160 snprintf(extregex, sizeof(extregex), "socketpair.*%s", nosupregex); 185 snprintf(extregex, sizeof(extregex), 210 snprintf(extregex, sizeof(extregex), "setsockopt.*%s", invalregex); 236 snprintf(extregex, sizeof(extregex), 262 snprintf(extregex, sizeof(extregex), 290 snprintf(extregex, sizeof(extregex), 316 snprintf(extrege [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/tests/ |
H A D | symtab_test.c | 74 snprintf(str, sizeof(str), "%04x", i); 91 snprintf(str, sizeof(str), "%04x", i); 107 snprintf(str, sizeof(str), "%04x", i); 119 snprintf(str, sizeof(str), "%04x", i); 130 snprintf(str, sizeof(str), "%04x", i);
|
/freebsd-11-stable/stand/common/ |
H A D | ls.c | 133 snprintf(lbuf, sizeof(lbuf), " %c %8d %s\n", 137 snprintf(lbuf, sizeof(lbuf), " %c %s\n", 169 snprintf(command_errbuf, sizeof (command_errbuf), 177 snprintf(command_errbuf, sizeof(command_errbuf), 188 snprintf(command_errbuf, sizeof(command_errbuf), 193 snprintf(command_errbuf, sizeof(command_errbuf), 198 snprintf(command_errbuf, sizeof(command_errbuf),
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_printf.c | 56 (void)snprintf(s, sizeof(s), "%#.o", 0); 58 (void)fprintf(stderr, "snprintf = %s", s); 76 ATF_CHECK(snprintf(s, sizeof(s), "%.0f", 0.1) == 1); 91 ATF_CHECK(snprintf(s, sizeof(s), "%1$d", -23) == 3); 107 ATF_CHECK(snprintf(s, sizeof(s), "%1$*2$d", -23, 4) == 4); 129 snprintf(fmt, sizeof(fmt), "%%%zu$d", SIZE_MAX / sizeof(size_t)); 131 ATF_CHECK(snprintf(s, sizeof(s), fmt, -23) == -1); 175 ATF_CHECK(snprintf(buf, sizeof buf, " %.2f", u.d) != -1);
|
/freebsd-11-stable/usr.sbin/bsdinstall/distfetch/ |
H A D | distfetch.c | 77 snprintf(urls[i], PATH_MAX, "%s/%s", 82 snprintf(error, sizeof(error), 153 snprintf(errormsg, sizeof(errormsg), 166 snprintf(errormsg, sizeof(errormsg), 190 snprintf(status, sizeof(status), "-%jd", 204 snprintf(errormsg, sizeof(errormsg), 208 snprintf(errormsg, sizeof(errormsg),
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe_debug.c | 138 snprintf(buf, sizeof(buf), "ELINK: %s", fmt); 150 snprintf(tmp, sizeof(tmp), "ELINK: %s", fmt); 151 snprintf(buf, sizeof(buf), tmp, arg1); 164 snprintf(tmp, sizeof(tmp), "ELINK: %s", fmt); 165 snprintf(buf, sizeof(buf), tmp, arg1, arg2); 179 snprintf(tmp, sizeof(tmp), "ELINK: %s", fmt); 180 snprintf(buf, sizeof(buf), tmp, arg1, arg2, arg3); 210 snprintf(c, sizeof(c), "%03x", xx); 215 snprintf(c, sizeof(c), "%02x ", *mem); 246 snprintf( [all...] |
/freebsd-11-stable/usr.sbin/nghook/ |
H A D | main.c | 157 snprintf(ngc.path, sizeof(ngc.path), "%s", path); 158 snprintf(ngc.ourhook, sizeof(ngc.ourhook), NG_SOCK_HOOK_NAME); 159 snprintf(ngc.peerhook, sizeof(ngc.peerhook), "%s", hook); 259 snprintf(sbuf, sizeof(sbuf), "%04x: ", count); 262 snprintf(sbuf + strlen(sbuf), 266 snprintf(sbuf + strlen(sbuf), 268 snprintf(sbuf + strlen(sbuf), sizeof(sbuf) - strlen(sbuf), " "); 273 snprintf(sbuf + strlen(sbuf), 276 snprintf(sbuf + strlen(sbuf), 278 snprintf(sbu [all...] |
/freebsd-11-stable/lib/libnetbsd/ |
H A D | sockaddr_snprintf.c | 65 return snprintf(str, len, "sin_len=%u, sin_family=%u, sin_port=%u, " 76 return snprintf(str, len, "sin6_len=%u, sin6_family=%u, sin6_port=%u, " 89 return snprintf(str, len, "sun_len=%u, sun_family=%u, sun_path=%*s", 100 return snprintf(str, len, "sdl_len=%u, sdl_family=%u, sdl_index=%u, " 164 (void)snprintf(abuf, sizeof(abuf), "link#%hu", 206 (void)snprintf(nbuf, sizeof(nbuf), "%d", p); 212 (void)snprintf(nbuf, sizeof(nbuf), "%d", sa->sa_family); 216 (void)snprintf(nbuf, sizeof(nbuf), "%zu", salen); 254 (void)snprintf(nbuf, sizeof(nbuf), "%d", 264 (void)snprintf(nbu [all...] |
/freebsd-11-stable/usr.sbin/bsdinstall/distextract/ |
H A D | distextract.c | 119 snprintf(dist->path, span + 1, "%s", distributions); 140 snprintf(error, sizeof(error), 206 snprintf(path, sizeof(path), "%s/MANIFEST", distdir); 238 snprintf(errormsg, sizeof(errormsg), 245 snprintf(path, sizeof(path), "%s/%s", distdir, file); 248 snprintf(errormsg, sizeof(errormsg), 276 snprintf(errormsg, sizeof(errormsg), 284 snprintf(path, sizeof(path), "%s/%s", distdir, file->path); 287 snprintf(errormsg, sizeof(errormsg), 314 snprintf(errorms [all...] |
/freebsd-11-stable/contrib/blacklist/port/ |
H A D | sockaddr_snprintf.c | 101 return snprintf(str, len, "sat_len=%u, sat_family=%u, sat_port=%u, " 117 return snprintf(str, len, "sin_len=%u, sin_family=%u, sin_port=%u, " 128 return snprintf(str, len, "sin6_len=%u, sin6_family=%u, sin6_port=%u, " 141 return snprintf(str, len, "sun_len=%u, sun_family=%u, sun_path=%*s", 152 return snprintf(str, len, "sdl_len=%u, sdl_family=%u, sdl_index=%u, " 199 (void)snprintf(addr = abuf, sizeof(abuf), "%u.%u", 201 (void)snprintf(port = pbuf, sizeof(pbuf), "%d", p); 256 (void)snprintf(nbuf, sizeof(nbuf), "%d", p); 262 (void)snprintf(nbuf, sizeof(nbuf), "%d", sa->sa_family); 266 (void)snprintf(nbu [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-icmp.c | 325 snprintf(buf, sizeof(buf), "%02u:%02u:%02u.%03u",hrs,min,sec,msec); 359 (void)snprintf(buf, sizeof(buf), "echo %s, id %u, seq %u", 372 (void)snprintf(buf, sizeof(buf), 388 (void)snprintf(buf, sizeof(buf), 395 (void)snprintf(buf, sizeof(buf), 402 (void)snprintf(buf, sizeof(buf), 416 (void)snprintf(buf, sizeof(buf), 420 (void)snprintf(buf, sizeof(buf), 430 (void)snprintf(buf, sizeof(buf), fmt, 440 (void)snprintf(bu [all...] |
/freebsd-11-stable/libexec/talkd/ |
H A D | announce.c | 73 (void)snprintf(full_tty, sizeof(full_tty), 109 (void)snprintf(line_buf[i], N_CHARS, " "); 113 (void)snprintf(line_buf[i], N_CHARS, 124 (void)snprintf(line_buf[i], N_CHARS, 129 (void)snprintf(line_buf[i], N_CHARS, "talk: respond with: talk %s@%s", 134 (void)snprintf(line_buf[i], N_CHARS, " ");
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-openpty.c | 162 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty/%03d", i); 163 snprintf(ttbuf, sizeof(ttbuf), "/dev/ttyp%03d", i); 187 snprintf(ptbuf, sizeof(ptbuf), "/dev/pty%c%c", 189 snprintf(ttbuf, sizeof(ttbuf), "/dev/tty%c%c", 194 snprintf(ptbuf, sizeof(ptbuf), "/dev/ptyp%d", i); 195 snprintf(ttbuf, sizeof(ttbuf), "/dev/ttyp%d", i);
|
/freebsd-11-stable/contrib/netbsd-tests/fs/common/ |
H A D | fstest_ext2fs.c | 64 snprintf(cmd, 1024, "newfs_ext2fs -F -s %"PRId64" %s >/dev/null", 78 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.ext2fs", num); 79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
|
H A D | fstest_msdosfs.c | 64 snprintf(cmd, 1024, "newfs_msdos -C %"PRId64"s %s >/dev/null", 78 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.msdosfs", num); 79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
|
H A D | fstest_sysvbfs.c | 64 snprintf(cmd, 1024, "newfs_sysvbfs -F -s %"PRId64" %s >/dev/null", 78 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.sysvbfs", num); 79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
|
H A D | fstest_v7fs.c | 64 snprintf(cmd, 1024, "newfs_v7fs -F -s %"PRId64" %s >/dev/null", 78 snprintf(args->ta_devpath, MAXPATHLEN, "/dev/device%d.v7fs", num); 79 snprintf(args->ta_imgpath, MAXPATHLEN, "%s", image);
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | t-fget.c | 75 l = snprintf(res, sizeof(res), "%c%s\n", '\0', "test ing"); 78 l = snprintf(res, sizeof(res), "%c%s%c\n", '\0', "test ing", '\0'); 81 l = snprintf(res, sizeof(res), "%c%s%c%s\n",
|
/freebsd-11-stable/usr.bin/tip/tip/ |
H A D | uucplock.c | 69 (void)snprintf(tbuf, sizeof tbuf, _PATH_LOCKDIRNAME, ttyname); 111 (void)snprintf(text_pid, sizeof text_pid, "%10ld\n", (long)pid); 128 (void)snprintf(tbuf, sizeof tbuf, _PATH_LOCKDIRNAME, ttyname);
|
/freebsd-11-stable/usr.sbin/ngctl/ |
H A D | show.c | 111 snprintf(ninfo->name, sizeof(ninfo->name), "%s", UNNAMED); 127 snprintf(peer->name, sizeof(peer->name), 130 snprintf(idbuf, sizeof(idbuf), "%08x", peer->id);
|
/freebsd-11-stable/contrib/libxo/xo/ |
H A D | xo.c | 145 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); 147 rc = snprintf(buf, bufsiz, fmt, w1, value); 149 rc = snprintf(buf, bufsiz, fmt, value); 154 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); 156 rc = snprintf(buf, bufsiz, fmt, w1, value); 158 rc = snprintf(buf, bufsiz, fmt, value); 163 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); 165 rc = snprintf(buf, bufsiz, fmt, w1, value); 167 rc = snprintf(buf, bufsiz, fmt, value); 172 rc = snprintf(bu [all...] |