/freebsd-11.0-release/contrib/dtc/ |
H A D | util.c | 116 strncpy(x, s + *i, 3); 139 strncpy(x, s + *i, 2);
|
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | stabs.c | 133 strncpy(out + strlen(out), s2, savelen); 135 strncpy(out, s2, savelen);
|
/freebsd-11.0-release/sbin/nos-tun/ |
H A D | nos-tun.c | 130 strncpy(ifrq.ifr_name, dev_name+5, IFNAMSIZ); 131 strncpy(ifra.ifra_name, dev_name+5, IFNAMSIZ);
|
/freebsd-11.0-release/sbin/restore/ |
H A D | interactive.c | 340 (void) strncpy(name, curdir, size); 381 strncpy(name, ap->glob.gl_pathv[ap->glob.gl_pathc - ap->argcnt], size);
|
/freebsd-11.0-release/sys/contrib/dev/acpica/compiler/ |
H A D | aslprintf.c | 189 strncpy (NewString, StartPosition, StringLength); 278 strncpy (NewString, StartPosition, StringLength);
|
H A D | dtio.c | 185 strncpy (ReturnString, Start, Length); 316 strncpy (TmpName, Start, Length); 364 strncpy (TmpValue, Start, Length);
|
/freebsd-11.0-release/tools/tools/net80211/wlanstats/ |
H A D | main.c | 100 (void) strncpy(ireq.i_name, ifr.ifr_name, sizeof(ireq.i_name)); 265 (void) strncpy(ireq.i_name, ifr.ifr_name, sizeof(ireq.i_name));
|
/freebsd-11.0-release/usr.bin/rusers/ |
H A D | rusers.c | 125 strncpy(date, &(ctime(&t)[4]), sizeof(date) - 1); 151 strncpy(remote, up->utmpidlearr_val[x].ui_utmp.ut_host,
|
/freebsd-11.0-release/usr.sbin/bluetooth/hccontrol/ |
H A D | hccontrol.c | 126 strncpy(addr.hci_node, node, sizeof(addr.hci_node)); 299 strncpy(addr.hci_node, node, sizeof(addr.hci_node));
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | iplist.c | 50 strncpy(ipstr, start, end-start); 152 strncpy(list->src, src, sizeof list->src - 1);
|
H A D | server.c | 164 strncpy(p->src.from, s->cfg.sockname, sizeof p->src.from - 1); 290 strncpy(server.cfg.sockname, ifsun.sun_path, sizeof server.cfg.sockname - 1); 301 strncpy(server.cfg.sockname, ifsun.sun_path,
|
/freebsd-11.0-release/sys/geom/part/ |
H A D | g_part_apm.c | 134 strncpy(buf, type, bufsz); 234 strncpy(entry->ent.ent_name, gpp->gpp_label, 307 strncpy(u.name, entry->ent.ent_name, APM_ENT_NAMELEN); 312 strncpy(u.type, entry->ent.ent_type, APM_ENT_TYPELEN); 351 strncpy(entry->ent.ent_name, gpp->gpp_label,
|
/freebsd-11.0-release/contrib/ntp/ntpd/ |
H A D | refclock_tsyncpci.c | 346 strncpy((char *)&up->refId, TSYNC_REF_LOCAL, TSYNC_REF_LEN); 354 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN); 717 strncpy((char *)&up->refId, RefIdLookupTbl[j].pRefId, 726 strncpy((char *)&pp->refid, RefIdLookupTbl[j].pRefId, 748 strncpy((char *)&pp->refid, TSYNC_REF_LOCAL, TSYNC_REF_LEN);
|
/freebsd-11.0-release/crypto/openssh/ |
H A D | loginrec.c | 592 * NOTE: use strncpy because we do NOT necessarily want zero 618 strncpy(dst, src, (size_t)dstsize); 695 /* Use strncpy because we don't necessarily want null termination */ 696 strncpy(ut->ut_name, li->username, 699 strncpy(ut->ut_host, li->hostname, 768 /* strncpy(): Don't necessarily want null termination */ 769 strncpy(utx->ut_user, li->username, 781 strncpy(utx->ut_host, li->hostname, 1692 /* strncpy because we don't necessarily want nul termination */ 1693 strncpy(u [all...] |
/freebsd-11.0-release/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_gpio.c | 204 strncpy(buf, "input", bufsize); 207 strncpy(buf, "output", bufsize); 210 strncpy(buf, "alt0", bufsize); 213 strncpy(buf, "alt1", bufsize); 216 strncpy(buf, "alt2", bufsize); 219 strncpy(buf, "alt3", bufsize); 222 strncpy(buf, "alt4", bufsize); 225 strncpy(buf, "alt5", bufsize); 228 strncpy(buf, "invalid", bufsize);
|
/freebsd-11.0-release/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 329 (void) strncpy(saddr.sun_path, _PATH_LOG_PRIV, 338 (void) strncpy(saddr.sun_path, _PATH_LOG, 352 (void) strncpy(saddr.sun_path, _PATH_OLDLOG,
|
/freebsd-11.0-release/contrib/gdb/gdb/ |
H A D | cp-namespace.c | 396 strncpy (namespace, scope, scope_len); 620 strncpy (full_name, scope, scope_length); 621 strncpy (full_name + scope_length, "::", 2);
|
/freebsd-11.0-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_interfaces.c | 80 strncpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name)); 98 strncpy(ifr1.ifr_name, ifp->name, sizeof(ifr1.ifr_name)); 119 strncpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name));
|
/freebsd-11.0-release/contrib/dma/ |
H A D | net.c | 102 strncpy(neterr, ssl_errstr(), sizeof(neterr)); 152 strncpy(neterr, ssl_errstr(), sizeof(neterr)); 157 strncpy(neterr, strerror(errno), sizeof(neterr));
|
/freebsd-11.0-release/sys/dev/amr/ |
H A D | amr_cam.c | 326 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN); 327 strncpy(cpi->hba_vid, "LSI", HBA_IDLEN); 328 strncpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
|
/freebsd-11.0-release/sys/fs/smbfs/ |
H A D | smbfs_vfsops.c | 220 pc = strchr(strncpy(pc, vcp->vc_username, pe - pc - 2), 0); 223 pc = strchr(strncpy(pc, vcp->vc_srvname, pe - pc - 2), 0); 226 strncpy(pc, ssp->ss_name, pe - pc - 2);
|
/freebsd-11.0-release/sys/dev/twa/ |
H A D | tw_osl_cam.c | 427 strncpy(path_inq->sim_vid, "FreeBSD", SIM_IDLEN); 428 strncpy(path_inq->hba_vid, "3ware", HBA_IDLEN); 429 strncpy(path_inq->dev_name, cam_sim_name(sim), DEV_IDLEN);
|
/freebsd-11.0-release/usr.bin/usbhidaction/ |
H A D | usbhidaction.c | 477 strncpy(q, argv[n], len); 486 strncpy(q, cmd->name, len); 490 strncpy(q, hid, len);
|
/freebsd-11.0-release/usr.sbin/cron/crontab/ |
H A D | crontab.c | 140 (void) strncpy(User, pw->pw_name, (sizeof User)-1); 157 (void) strncpy(User, pw->pw_name, (sizeof User)-1); 189 (void) strncpy (Filename, argv[optind], (sizeof Filename)-1);
|
/freebsd-11.0-release/contrib/telnet/telnet/ |
H A D | main.c | 279 (void)strncpy(dest_realm, optarg, dst_realm_sz);
|