Searched refs:strlcpy (Results 701 - 725 of 1186) sorted by relevance

<<21222324252627282930>>

/freebsd-12-stable/sbin/ping6/
H A Dping6.c1982 strlcpy(ntopbuf, "?", sizeof(ntopbuf));
2151 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2452 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2456 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2588 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
2591 strlcpy(ntop_buf, "?", sizeof(ntop_buf));
/freebsd-12-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_util.c59 #include "../strlcpy-internal.h"
648 tt_int_op(5, ==, strlcpy(buf, "Hello", sizeof(buf)));
652 tt_int_op(13, ==, strlcpy(buf, "pentasyllabic", sizeof(buf)));
656 tt_int_op(8, ==, strlcpy(buf, "overlong", sizeof(buf)));
1391 { "strlcpy", test_evutil_strlcpy, 0, NULL, NULL },
/freebsd-12-stable/contrib/libevent/test/
H A Dregress_util.c59 #include "../strlcpy-internal.h"
648 tt_int_op(5, ==, strlcpy(buf, "Hello", sizeof(buf)));
652 tt_int_op(13, ==, strlcpy(buf, "pentasyllabic", sizeof(buf)));
656 tt_int_op(8, ==, strlcpy(buf, "overlong", sizeof(buf)));
1466 { "strlcpy", test_evutil_strlcpy, 0, NULL, NULL },
/freebsd-12-stable/bin/ps/
H A Dps.c875 strlcpy(pathbuf, _PATH_DEV, sizeof(pathbuf));
885 strlcpy(pathbuf2, _PATH_TTY, sizeof(pathbuf2));
893 strlcpy(pathbuf3, _PATH_PTS, sizeof(pathbuf3));
/freebsd-12-stable/crypto/heimdal/lib/krb5/
H A Daddr_families.c484 if (strlcpy(buf, address, sizeof(buf)) > sizeof(buf))
608 l = strlcpy(str, "RANGE:", len);
708 l = strlcpy(str, "ADDRPORT:", len);
/freebsd-12-stable/sys/dev/advansys/
H A Dadvansys.c429 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
430 strlcpy(cpi->hba_vid, "Advansys", HBA_IDLEN);
431 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
H A Dadwcam.c713 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
714 strlcpy(cpi->hba_vid, "AdvanSys", HBA_IDLEN);
715 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c787 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
788 strlcpy(cpi->hba_vid, "HPT ", HBA_IDLEN);
789 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/dev/pci/
H A Dpci_user.c798 strlcpy(pcup->pc32.pd_name, pcp->pd_name,
819 strlcpy(pcup->pco32.pd_name, pcp->pd_name,
838 strlcpy(pcup->pco.pd_name, pcp->pd_name,
/freebsd-12-stable/sys/dev/tws/
H A Dtws_cam.c314 strlcpy(ccb->cpi.sim_vid, "FreeBSD", SIM_IDLEN);
315 strlcpy(ccb->cpi.hba_vid, "3ware", HBA_IDLEN);
316 strlcpy(ccb->cpi.dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/dev/aic7xxx/
H A Daic79xx_osm.c702 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
703 strlcpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
704 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
H A Daic7xxx_osm.c800 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
801 strlcpy(cpi->hba_vid, "Adaptec", HBA_IDLEN);
802 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/dev/ata/
H A Data-all.c1168 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
1169 strlcpy(cpi->hba_vid, "ATA", HBA_IDLEN);
1170 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
/freebsd-12-stable/sys/kern/
H A Duipc_shm.c763 : strlcpy(path, pr_path, MAXPATHLEN);
875 : strlcpy(path, pr_path, MAXPATHLEN);
1140 strlcpy(kif->kf_path, path, sizeof(kif->kf_path));
/freebsd-12-stable/crypto/openssh/regress/
H A Dnetcat.c321 strlcpy(unix_dg_tmp_socket_buf, "/tmp/nc.XXXXXXXXXX",
530 if (strlcpy(sun_sa.sun_path, path, sizeof(sun_sa.sun_path)) >=
566 if (strlcpy(sun_sa.sun_path, path, sizeof(sun_sa.sun_path)) >=
/freebsd-12-stable/sbin/ifconfig/
H A Difieee80211.c3466 strlcpy(buf, "0x", bufsize);
3788 (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name));
4285 (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name));
4491 (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name)); /* XXX ?? */
4597 (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name));
4679 (void) strlcpy(ifmr.ifm_name, name, sizeof(ifmr.ifm_name));
4825 (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name));
4842 (void) strlcpy(ireq.i_name, name, sizeof(ireq.i_name));
5764 strlcpy(orig_name, name, sizeof(orig_name));
5765 strlcpy(nam
[all...]
/freebsd-12-stable/sbin/pfctl/
H A Dpfctl_altq.c1269 if (strlcpy(io.ifname, ifname, IFNAMSIZ) >=
1271 errx(1, "getifspeed: strlcpy");
1286 if (strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)) >=
1288 errx(1, "getifspeed: strlcpy");
1304 if (strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)) >=
1306 errx(1, "getifmtu: strlcpy");
/freebsd-12-stable/usr.sbin/ancontrol/
H A Dancontrol.c144 strlcpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name));
170 strlcpy(ifr.ifr_name, iface, sizeof(ifr.ifr_name));
1181 strlcpy(ssid->an_entry[act-1].an_ssid, (char *)arg,
/freebsd-12-stable/crypto/heimdal/appl/login/
H A Dlogin.c621 strlcpy (username, *argv, sizeof(username));
/freebsd-12-stable/contrib/mandoc/
H A Dconfigure312 runtest strlcpy STRLCPY || true
549 echo "extern size_t strlcpy(char *, const char *, size_t);"
/freebsd-12-stable/contrib/nvi/common/
H A Dmain.c552 (void)strlcpy(argv[0] + 2, p + 1, len);
/freebsd-12-stable/contrib/ntp/lib/isc/
H A Dnetaddr.c34 #include "ntp_stdlib.h" /* NTP change for strlcpy, strlcat */
310 strlcpy(netaddr->type.un, path, sizeof(netaddr->type.un));
/freebsd-12-stable/contrib/ntp/lib/isc/win32/
H A Dfile.c601 strlcpy(dir, path, slash - path);
/freebsd-12-stable/contrib/ntp/libntp/
H A Dwork_fork.c557 strlcpy(saved_argv[0], "ntpd: asynchronous dns resolver", argvlen);
/freebsd-12-stable/contrib/ntp/ntpd/
H A Dntp_filegen.c120 suflen = strlcpy(fullname, filename, len);

Completed in 410 milliseconds

<<21222324252627282930>>