/freebsd-12-stable/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 460 strlcpy(origin_host, line + 1, sizeof(origin_host)); 462 strlcpy(class, line+1, sizeof(class)); 467 strlcpy(logname, line + 1, sizeof(logname)); 492 strlcpy(jobname, line + 1, sizeof(jobname)); 499 strlcpy(class, line + 1, sizeof(class)); 502 * just strlcpy'ing local_host? */ 509 strlcpy(title, line + 1, sizeof(title)); 522 strlcpy(fonts[line[0]-'1'], line + 1, 528 strlcpy(width+2, line + 1, sizeof(width) - 2); 532 strlcpy(inden [all...] |
/freebsd-12-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 169 strlcpy(token_key, "/tmp/t_sysv.XXXXXX", sizeof(token_key)); 173 strlcpy(token_dir, tmpdir, sizeof(token_dir)); 174 strlcpy(token_key, tmpdir, sizeof(token_key)); 290 strlcpy(m.mtext, m1_str, sizeof(m.mtext)); 304 strlcpy(m.mtext, m2_str, sizeof(m.mtext));
|
/freebsd-12-stable/crypto/heimdal/kuser/ |
H A D | klist.c | 48 strlcpy(s, "?", sizeof(s)); 50 strlcpy(s, p + 4, sizeof(s)); 423 strlcpy (buf1, printable_time(ct.BeginTimestamp), 426 strlcpy (buf2, printable_time(ct.EndTimestamp), 429 strlcpy (buf2, N_(">>> Expired <<<", ""), sizeof(buf2));
|
/freebsd-12-stable/sbin/hastd/ |
H A D | proto_tcp.c | 163 if (strlcpy(iporhost, addr, size) >= size) 169 (void)strlcpy(iporhost, addr + 1, size); 174 (void)strlcpy(iporhost, addr, size); 579 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size); 597 PJDLOG_VERIFY(strlcpy(addr, "N/A", size) < size);
|
/freebsd-12-stable/contrib/bmake/ |
H A D | meta.c | 232 strlcpy(cp, cp2, bufsz - (cp - buf)); 266 strlcpy(rp, cp, sizeof(buf) - (rp - buf)); 277 strlcpy(buf, tname, sizeof(buf)); 1162 strlcpy(lcwd, cwd, sizeof(lcwd)); 1163 strlcpy(latestdir, cwd, sizeof(latestdir)); 1256 strlcpy(latestdir, ldir, sizeof(latestdir)); 1261 strlcpy(lcwd, ldir, sizeof(lcwd)); 1310 strlcpy(latestdir, p, sizeof(latestdir)); 1311 strlcpy(lcwd, p, sizeof(lcwd)); 1509 strlcpy(latestdi [all...] |
/freebsd-12-stable/sys/dev/sound/pcm/ |
H A D | sound.c | 329 strlcpy(c->comm, (comm != NULL) ? comm : 379 strlcpy(c->comm, CHN_COMM_UNUSED, sizeof(c->comm)); 572 strlcpy(ch->comm, CHN_COMM_UNUSED, sizeof(ch->comm)); 782 strlcpy(d->status, str, SND_STATUSLEN); 1286 strlcpy(si->product, si_product, sizeof(si->product)); 1287 strlcpy(si->version, si_version, sizeof(si->version)); 1289 strlcpy(si->license, si_license, sizeof(si->license)); 1384 strlcpy(si->shortname, device_get_nameunit(d->dev), 1386 strlcpy(si->longname, device_get_desc(d->dev), 1388 strlcpy(s [all...] |
/freebsd-12-stable/crypto/heimdal/lib/com_err/ |
H A D | Makefile.in | 132 @do_roken_rename_TRUE@ libcom_err_la-strlcpy.lo 424 @do_roken_rename_TRUE@nodist_libcom_err_la_SOURCES = snprintf.c strlcpy.c 568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libcom_err_la-strlcpy.Plo@am__quote@ 613 libcom_err_la-strlcpy.lo: strlcpy.c 614 @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libcom_err_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libcom_err_la-strlcpy.lo -MD -MP -MF $(DEPDIR)/libcom_err_la-strlcpy.Tpo -c -o libcom_err_la-strlcpy.lo `test -f 'strlcpy.c' || echo '$(srcdir)/'`strlcpy [all...] |
/freebsd-12-stable/sys/dev/bnxt/ |
H A D | bnxt_hwrm.c | 298 strlcpy(softc->ver_info->driver_hwrm_if_ver, HWRM_VERSION_STR, 300 strlcpy(softc->ver_info->hwrm_fw_name, resp->hwrm_fw_name, 305 strlcpy(softc->ver_info->mgmt_fw_ver, naver, BNXT_VERSTR_SIZE); 306 strlcpy(softc->ver_info->mgmt_fw_name, nastr, BNXT_NAME_SIZE); 312 strlcpy(softc->ver_info->mgmt_fw_name, resp->mgmt_fw_name, 317 strlcpy(softc->ver_info->netctrl_fw_ver, naver, 319 strlcpy(softc->ver_info->netctrl_fw_name, nastr, 326 strlcpy(softc->ver_info->netctrl_fw_name, resp->netctrl_fw_name, 331 strlcpy(softc->ver_info->roce_fw_ver, naver, BNXT_VERSTR_SIZE); 332 strlcpy(soft [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_diff.c | 89 (void) strlcpy(zc.zc_name, dsname, sizeof (zc.zc_name)); 100 (void) strlcpy(pn, zc.zc_value, maxlen); 383 (void) strlcpy(zc.zc_name, di->fromsnap, sizeof (zc.zc_name)); 490 (void) strlcpy(fullpath, di->dsmnt, MAXPATHLEN); 515 (void) strlcpy(zc.zc_name, di->ds, sizeof (zc.zc_name)); 794 (void) strlcpy(zc.zc_value, di.fromsnap, strlen(di.fromsnap) + 1); 795 (void) strlcpy(zc.zc_name, di.tosnap, strlen(di.tosnap) + 1);
|
/freebsd-12-stable/contrib/ntp/lib/isc/unix/ |
H A D | file.c | 78 #include "ntp_stdlib.h" /* NTP change for strlcpy, strlcat */ 188 strlcpy(buf, path, buflen); 195 strlcpy(buf, templet, buflen); 526 strlcpy(dir, path, slash - path);
|
/freebsd-12-stable/contrib/ntp/libparse/ |
H A D | data_mbg.c | 181 strlcpy(tznamep, (char *)*buffpp, sizeof(TZ_NAME)); 246 strlcpy(p, ", ", size - (p - start)); 249 strlcpy(p, s->string, size - (p - start));
|
/freebsd-12-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_interfaces.c | 80 strlcpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name)); 98 strlcpy(ifr1.ifr_name, ifp->name, sizeof(ifr1.ifr_name)); 119 strlcpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name));
|
/freebsd-12-stable/lib/geom/mirror/ |
H A D | geom_mirror.c | 198 strlcpy(md.md_magic, G_MIRROR_MAGIC, sizeof(md.md_magic)); 201 strlcpy(md.md_name, str, sizeof(md.md_name)); 281 strlcpy(md.md_provider, str, sizeof(md.md_provider));
|
/freebsd-12-stable/sys/dev/twa/ |
H A D | tw_osl_cam.c | 429 strlcpy(path_inq->sim_vid, "FreeBSD", SIM_IDLEN); 430 strlcpy(path_inq->hba_vid, "3ware", HBA_IDLEN); 431 strlcpy(path_inq->dev_name, cam_sim_name(sim), DEV_IDLEN);
|
/freebsd-12-stable/sys/dev/amr/ |
H A D | amr_cam.c | 328 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); 329 strlcpy(cpi->hba_vid, "LSI", HBA_IDLEN); 330 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
|
/freebsd-12-stable/sys/netinet/ |
H A D | tcp_log_buf.c | 680 * NB: Don't use strlcpy() unless you are sure 685 * can use strlcpy(). :-) 810 len = strlcpy(buf, tp->t_lib->tlb_id, TCP_LOG_ID_LEN); 1528 strlcpy(log_verbose->tlv_snd_frm, output_caller, 1532 strlcpy(log_verbose->tlv_trace_func, func, TCP_FUNC_LEN); 1932 strlcpy(hdr->tlh_id, entry->tldl_id, TCP_LOG_ID_LEN); 1933 strlcpy(hdr->tlh_reason, entry->tldl_reason, TCP_LOG_REASON_LEN); 2026 strlcpy(entry->tldl_id, tp->t_lib->tlb_id, TCP_LOG_ID_LEN); 2028 strlcpy(entry->tldl_id, "UNKNOWN", TCP_LOG_ID_LEN); 2030 strlcpy(entr [all...] |
/freebsd-12-stable/lib/libkvm/ |
H A D | kvm.c | 221 strlcpy(errout, kd->errbuf, _POSIX2_LINE_MAX); 234 (void)strlcpy(errout, strerror(errno), 265 (void)strlcpy(errout, strerror(errno),
|
/freebsd-12-stable/sbin/dumpon/ |
H A D | dumpon.c | 285 (void)strlcpy(dumpdev, _PATH_DEVNULL, sizeof(dumpdev)); 319 strlcpy(dumpdev, arg, PATH_MAX); 446 if (strlcpy(ndconf.ndc_iface, argv[0],
|
/freebsd-12-stable/tools/tools/vhba/ |
H A D | vhba.c | 137 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); 138 strlcpy(cpi->hba_vid, "FakeHBA", HBA_IDLEN); 139 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
|
/freebsd-12-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_device_tbl.c | 168 strlcpy(map->name_key, name, name_len); 169 strlcpy(map->location_key, location, location_len); 420 strlcpy(devd_addr.sun_path, PATH_DEVD_PIPE,
|
H A D | hostres_diskstorage_tbl.c | 318 strlcpy(disk_entry->dev_name, entry->name, 383 strlcpy(disk_entry->dev_name, entry->name, 497 strlcpy((char *)disk_entry->dev_name, disk,
|
/freebsd-12-stable/usr.sbin/lpr/common_source/ |
H A D | common.c | 295 strlcpy(buf, pp->lock_file, len); 313 strlcpy(buf, pp->status_file, len); 522 strlcpy(strp, tempstr, strsize);
|
H A D | displayq.c | 446 strlcpy(file, line + 1, sizeof(file)); 456 strlcpy(savedname, line + 1, sizeof(savedname)); 471 strlcpy(savedname, file, sizeof(savedname));
|
/freebsd-12-stable/usr.sbin/unbound/ |
H A D | config.h | 162 /* Define to 1 if you have the declaration of `strlcpy', and to 0 if you 564 /* Define to 1 if you have the `strlcpy' function. */ 1207 #define strlcpy strlcpy_unbound macro 1208 size_t strlcpy(char *dst, const char *src, size_t siz); 1310 size_t strlcpy(char *dst, const char *src, size_t siz);
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_jail.c | 225 strlcpy(prison0.pr_osrelease, osrelease, sizeof(prison0.pr_osrelease)); 242 (void)strlcpy(prison0.pr_hostuuid, data, 958 strlcpy(g_path, path, MAXPATHLEN); 1247 strlcpy(pr->pr_hostuuid, DEFAULT_HOSTUUID, HOSTUUIDLEN); 1296 strlcpy(pr->pr_osrelease, ppr->pr_osrelease, 1299 strlcpy(pr->pr_osrelease, osrelstr, 1679 strlcpy(pr->pr_name, namelc, sizeof(pr->pr_name)); 1697 strlcpy(pr->pr_path, path, sizeof(pr->pr_path)); 1708 strlcpy(pr->pr_hostname, pr->pr_parent->pr_hostname, 1710 strlcpy(p [all...] |