Searched refs:strncpy (Results 151 - 175 of 780) sorted by relevance

1234567891011>>

/freebsd-11.0-release/contrib/dtc/
H A Dutil.c116 strncpy(x, s + *i, 3);
139 strncpy(x, s + *i, 2);
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstabs.c133 strncpy(out + strlen(out), s2, savelen);
135 strncpy(out, s2, savelen);
/freebsd-11.0-release/sbin/nos-tun/
H A Dnos-tun.c130 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 Dinteractive.c340 (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 Daslprintf.c189 strncpy (NewString, StartPosition, StringLength);
278 strncpy (NewString, StartPosition, StringLength);
H A Ddtio.c185 strncpy (ReturnString, Start, Length);
316 strncpy (TmpName, Start, Length);
364 strncpy (TmpValue, Start, Length);
/freebsd-11.0-release/tools/tools/net80211/wlanstats/
H A Dmain.c100 (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 Drusers.c125 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 Dhccontrol.c126 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 Diplist.c50 strncpy(ipstr, start, end-start);
152 strncpy(list->src, src, sizeof list->src - 1);
H A Dserver.c164 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 Dg_part_apm.c134 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 Drefclock_tsyncpci.c346 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 Dloginrec.c592 * 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 Dbcm2835_gpio.c204 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 Dxo_syslog.c329 (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 Dcp-namespace.c396 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 DmibII_interfaces.c80 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 Dnet.c102 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 Damr_cam.c326 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 Dsmbfs_vfsops.c220 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 Dtw_osl_cam.c427 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 Dusbhidaction.c477 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 Dcrontab.c140 (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 Dmain.c279 (void)strncpy(dest_realm, optarg, dst_realm_sz);

Completed in 375 milliseconds

1234567891011>>