Searched refs:strlcpy (Results 76 - 100 of 1186) sorted by relevance

1234567891011>>

/freebsd-12-stable/sbin/mksnap_ffs/
H A Dmksnap_ffs.c119 strlcpy(path, ".", PATH_MAX);
121 strlcpy(path, "/", PATH_MAX);
123 strlcpy(path, snapname, cp - snapname + 1);
151 strlcpy(stfsbuf.f_mntonname, cp, sizeof(stfsbuf.f_mntonname));
/freebsd-12-stable/usr.bin/mail/
H A Dv7.local.c64 (void)strlcpy(buf, tmp, buflen);
/freebsd-12-stable/usr.sbin/fstyp/
H A Dext2fs.c81 strlcpy(label, s_volume_name, size);
/freebsd-12-stable/sys/netpfil/pf/
H A Dpf_ruleset.c127 strlcpy(key->path, path, sizeof(key->path));
180 strlcpy(p, path, MAXPATHLEN);
192 strlcpy(p, path, MAXPATHLEN);
212 strlcpy(anchor->name, q, sizeof(anchor->name));
214 strlcpy(anchor->path, parent->path,
299 strlcpy(path, name + 1, MAXPATHLEN);
306 strlcpy(path, s->anchor->path, MAXPATHLEN);
348 strlcpy(anchor_call, "/", sizeof(anchor_call));
358 strlcpy(a, rs->anchor->path, MAXPATHLEN);
394 strlcpy(p
[all...]
/freebsd-12-stable/contrib/nvi/regex/
H A Dregerror.c132 (void) strlcpy(convbuf, r->name, sizeof(convbuf));
143 strlcpy(errbuf, s, errbuf_size);
/freebsd-12-stable/contrib/ntp/libntp/
H A Dsystime.c428 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line));
433 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line));
447 strlcpy(utx.ut_line, OTIME_MSG, sizeof(utx.ut_line));
452 strlcpy(utx.ut_line, NTIME_MSG, sizeof(utx.ut_line));
470 strlcpy(ut.ut_line, OTIME_MSG, sizeof(ut.ut_line));
475 strlcpy(ut.ut_line, NTIME_MSG, sizeof(ut.ut_line));
490 strlcpy(utx.ut_line, OTIME_MSG, sizeof(utx.ut_line));
500 strlcpy(utx.ut_line, NTIME_MSG, sizeof(utx.ut_line));
/freebsd-12-stable/contrib/tnftp/src/
H A Dcomplete.c188 (void)strlcpy(dir, word, file - word + 1);
196 (void)strlcpy(dir, p, sizeof(dir));
231 (void)strlcpy(path, dir, sizeof(path));
293 (void)strlcpy(cmdbuf, "complete", sizeof(cmdbuf));
304 (void)strlcpy(dir, word, cp - word + 2);
339 (void)strlcpy(lastdir, dir, sizeof(lastdir));
374 (void)strlcpy(line, lf->buffer, len + 1);
390 (void)strlcpy(word, margv[cursor_argc], cursor_argo + 1);
/freebsd-12-stable/contrib/com_err/
H A Dparse.y82 strlcpy(name, $2, sizeof(name));
88 strlcpy(name, $3, sizeof(name));
/freebsd-12-stable/crypto/heimdal/lib/com_err/
H A Dparse.y82 strlcpy(name, $2, sizeof(name));
88 strlcpy(name, $3, sizeof(name));
/freebsd-12-stable/crypto/heimdal/lib/roken/
H A Dgetnameinfo.c56 strlcpy (host, hostent_find_fqdn(he), hostlen);
83 strlcpy (serv, se->s_name, servlen);
/freebsd-12-stable/lib/libc/string/
H A Dstrerror.c79 strlcpy(buf, uprefix, len);
104 if (strlcpy(strerrbuf,
H A Dstrsignal.c110 n = strlcpy(ebuf,
118 n = strlcpy(ebuf,
/freebsd-12-stable/lib/libdevctl/
H A Ddevctl.c55 if (strlcpy(req.dr_name, name, sizeof(req.dr_name)) >=
114 if (strlcpy(req.dr_name, device, sizeof(req.dr_name)) >=
/freebsd-12-stable/sys/dev/drm/
H A Ddrm_memory.c99 strlcpy(mrdesc.mr_owner, "drm", sizeof(mrdesc.mr_owner));
113 strlcpy(mrdesc.mr_owner, "drm", sizeof(mrdesc.mr_owner));
/freebsd-12-stable/tools/regression/netinet/msocket/
H A Dmsocket.c251 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
256 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
266 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
272 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
293 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
298 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
308 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
314 strlcpy(buf, inet_ntoa(imr.imr_multiaddr), 128);
/freebsd-12-stable/crypto/openssh/
H A Dsftp-glob.c84 strlcpy(ret->d_name, od->dir[od->offset++]->filename, MAXPATHLEN);
86 strlcpy(ret->d_name, od->dir[od->offset++]->filename,
/freebsd-12-stable/sbin/ifconfig/
H A Difmac.c62 strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
95 strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name));
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_sys.c141 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
228 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
287 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
330 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
352 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
374 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
396 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
418 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
443 strlcpy(ifd.ifd_name, bif->bif_name, IFNAMSIZ);
465 strlcpy(if
[all...]
/freebsd-12-stable/contrib/ntp/sntp/tests/
H A Dcrypto.c42 strlcpy(md5.typen, "MD5", sizeof(md5.typen));
69 strlcpy(sha1.typen, "SHA1", sizeof(sha1.typen));
132 strlcpy(md5.typen, "MD5", sizeof(md5.typen));
156 strlcpy(sha1.typen, "SHA1", sizeof(sha1.typen));
240 strlcpy(md5.typen, "MD5", sizeof(md5.typen));
259 strlcpy(md5.typen, "MD5", sizeof(md5.typen));
/freebsd-12-stable/contrib/openbsm/bin/auditdistd/
H A Dtrail.c46 #include <compat/strlcpy.h>
100 if (strlcpy(trail->tr_dirname, dirname, sizeof(trail->tr_dirname)) >=
192 PJDLOG_VERIFY(strlcpy(trail->tr_filename, dp->d_name,
211 PJDLOG_VERIFY(strlcpy(trail->tr_filename, filename,
351 PJDLOG_VERIFY(strlcpy(curfile, dp->d_name, sizeof(curfile)) <
385 PJDLOG_VERIFY(strlcpy(trail->tr_filename, curfile,
394 PJDLOG_VERIFY(strlcpy(trail->tr_filename, curfile,
477 strlcpy(filename, trail->tr_filename, sizeof(filename));
541 PJDLOG_VERIFY(strlcpy(curfile, dp->d_name, sizeof(curfile)) <
552 PJDLOG_VERIFY(strlcpy(filenam
[all...]
/freebsd-12-stable/sys/ddb/
H A Ddb_textdump.c218 strlcpy(uhp->uh_filename, filename, sizeof(uhp->uh_filename));
219 strlcpy(uhp->uh_mode, TAR_MODE, sizeof(uhp->uh_mode));
221 strlcpy(uhp->uh_tar_owner, TAR_UID, sizeof(uhp->uh_tar_owner));
222 strlcpy(uhp->uh_tar_group, TAR_GID, sizeof(uhp->uh_tar_group));
223 strlcpy(uhp->uh_owner, TAR_USER, sizeof(uhp->uh_owner));
224 strlcpy(uhp->uh_group, TAR_GROUP, sizeof(uhp->uh_group));
228 strlcpy(uhp->uh_ustar, TAR_USTAR, sizeof(uhp->uh_ustar));
/freebsd-12-stable/sbin/pfctl/
H A Dpf_ruleset.c151 strlcpy(key->path, path, sizeof(key->path));
190 strlcpy(p, path, MAXPATHLEN);
202 strlcpy(p, path, MAXPATHLEN);
222 strlcpy(anchor->name, q, sizeof(anchor->name));
224 strlcpy(anchor->path, parent->path,
308 strlcpy(path, name + 1, MAXPATHLEN);
315 strlcpy(path, s->anchor->path, MAXPATHLEN);
/freebsd-12-stable/usr.sbin/nfsdumpstate/
H A Dnfsdumpstate.c262 strlcpy(flag_string, "Open ", sizeof (flag_string));
287 strlcpy(flag_string, "Deleg R", sizeof (flag_string));
289 strlcpy(flag_string, "Deleg W", sizeof (flag_string));
298 strlcpy(flag_string, "Lock R", sizeof (flag_string));
300 strlcpy(flag_string, "Lock W", sizeof (flag_string));
/freebsd-12-stable/contrib/openbsm/libbsm/
H A Dbsm_class.c43 #include <compat/strlcpy.h>
81 strlcpy(c->ac_name, classname, AU_CLASS_NAME_MAX);
88 strlcpy(c->ac_desc, classdesc, AU_CLASS_DESC_MAX);
/freebsd-12-stable/contrib/unbound/compat/
H A Dfake-rfc2553.c55 if (strlcpy(serv, tmpserv, servlen) >= servlen)
61 if (strlcpy(host, inet_ntoa(sin->sin_addr),
72 if (strlcpy(host, hp->h_name, hostlen) >= hostlen)

Completed in 312 milliseconds

1234567891011>>