Searched refs:strncpy (Results 26 - 50 of 780) sorted by relevance

1234567891011>>

/freebsd-11.0-release/lib/libc/mips/string/
H A DMakefile.inc7 strncat.c strncmp.c strncpy.c strrchr.S strpbrk.c strsep.c \
/freebsd-11.0-release/contrib/ipfilter/ipsend/
H A Dsirix.c48 strncpy(sr.sr_ifname, device, sizeof(sr.sr_ifname));
76 strncpy(ifr.ifr_name, sr.sr_ifname, sizeof ifr.ifr_name);
H A Dslinux.c75 strncpy(ifr.ifr_name, eth_dev, sizeof(ifr.ifr_name));
83 strncpy(s.sa_data, eth_dev, sizeof(s.sa_data));
/freebsd-11.0-release/contrib/ipfilter/lib/
H A Dhostname.c35 strncpy(hostbuf, hp->h_name, sizeof(hostbuf));
43 strncpy(hostbuf, np->n_name, sizeof(hostbuf));
H A Dipf_dotuning.c47 strncpy(tu.ipft_name, s, sizeof(tu.ipft_name));
60 strncpy(tu.ipft_name, s, sizeof(tu.ipft_name));
H A Dload_dstlist.c35 strncpy(op.iplo_name, dst->ipld_name, sizeof(op.iplo_name));
42 strncpy(dest.ipld_name, dst->ipld_name, sizeof(dest.ipld_name));
H A Dload_poolnode.c39 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
48 strncpy(pn.ipn_name, node->ipn_name, sizeof(pn.ipn_name));
H A Dload_hash.c40 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name));
70 strncpy(iph.iph_name, op.iplo_name, sizeof(op.iplo_name));
71 strncpy(iphp->iph_name, op.iplo_name, sizeof(op.iplo_name));
H A Dremove_hashnode.c36 strncpy(op.iplo_name, name, sizeof(op.iplo_name));
/freebsd-11.0-release/contrib/telnet/libtelnet/
H A Dkrb4encpwd.c366 strncpy((char *)buf, " REJECT ", buflen);
370 strncpy((char *)buf, " ACCEPT ", buflen);
383 strncpy((char *)buf, " AUTH", buflen);
387 strncpy((char *)buf, " CHALLENGE", buflen);
391 strncpy((char *)buf, " ACK", buflen);
396 strncpy((char *)buf, lbuf, buflen);
401 strncpy((char *)buf, lbuf, buflen);
H A Dkerberos.c171 strncpy(instance, realm, sizeof(instance));
430 strncpy((char *)buf, " REJECT ", buflen);
434 strncpy((char *)buf, " ACCEPT ", buflen);
447 strncpy((char *)buf, " AUTH", buflen);
451 strncpy((char *)buf, " CHALLENGE", buflen);
455 strncpy((char *)buf, " RESPONSE", buflen);
460 strncpy((char *)buf, lbuf, buflen);
465 strncpy((char *)buf, lbuf, buflen);
/freebsd-11.0-release/sys/i386/ibcs2/
H A Dibcs2_xenix.c166 strncpy(ibcs2_sco_uname.sysname, ostype,
170 strncpy(ibcs2_sco_uname.release, osrelease,
172 strncpy(ibcs2_sco_uname.kernelid, version,
174 strncpy(ibcs2_sco_uname.machine, machine,
176 strncpy(ibcs2_sco_uname.bustype, "ISA/EISA",
178 strncpy(ibcs2_sco_uname.sysserial, "no charge",
180 strncpy(ibcs2_sco_uname.numusers, "unlim",
/freebsd-11.0-release/tools/tools/ath/common/
H A Dctrl.c148 strncpy(ifr.ifr_name, req->ifname, sizeof (ifr.ifr_name));
169 strncpy(ifr.ifr_name, req->ifname, sizeof (ifr.ifr_name));
191 strncpy(ifr.ifr_name, req->ifname, sizeof (ifr.ifr_name));
/freebsd-11.0-release/lib/libc/net/
H A Dif_indextoname.c82 strncpy(ifname, ifa->ifa_name, IFNAMSIZ);
/freebsd-11.0-release/contrib/libstdc++/include/c_compatibility/
H A Dstring.h38 using std::strncpy;
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.c88 (void) strncpy(newstr, str, len);
/freebsd-11.0-release/lib/librpcsvc/
H A Dsecretkey.c83 (void) strncpy(secretkey, p, HEXKEYBYTES);
/freebsd-11.0-release/lib/libutil/
H A Drealhostname.c74 strncpy(host, trimmed, hsize);
81 strncpy(host, inet_ntoa(*ip), hsize);
184 strncpy(host, buf, hsize);
194 strncpy(host, buf, hsize);
/freebsd-11.0-release/lib/ncurses/ncurses/
H A Dtermcap.c131 strncpy(pathbuf, termpath, PBUFSIZ);
134 strncpy(pathbuf, home, PBUFSIZ - 1); /* $HOME first */
139 strncpy(p, _PATH_DEF, PBUFSIZ - (p - pathbuf));
143 strncpy(pathbuf, cp, PBUFSIZ); /* still can be tokenized */
/freebsd-11.0-release/sys/contrib/ncsw/inc/
H A Dstdlib_ext.h104 * strncpy - Copy a length-limited, %NUL-terminated string
109 * Note that unlike userspace strncpy, this does not %NUL-pad the buffer.
113 char * strncpy(char * dest,const char *src,size_t count);
/freebsd-11.0-release/contrib/libstdc++/include/c_std/
H A Dstd_cstring.h58 #undef strncpy macro
83 using ::strncpy;
/freebsd-11.0-release/sys/contrib/dev/acpica/components/tables/
H A Dtbfind.c103 strncpy (Header.OemId, OemId, ACPI_OEM_ID_SIZE);
104 strncpy (Header.OemTableId, OemTableId, ACPI_OEM_TABLE_ID_SIZE);
/freebsd-11.0-release/contrib/libarchive/libarchive/
H A Darchive_write_set_format_ar.c184 strncpy(&buff[AR_fmag_offset], "`\n", 2);
193 strncpy(buff + AR_name_offset, "__.SYMDEF", 9);
229 strncpy(&buff[AR_name_offset],
252 strncpy(se, filename, strlen(filename));
289 strncpy(&buff[AR_name_offset], filename, strlen(filename));
293 strncpy(buff + AR_name_offset, "#1/", 3);
384 strncpy(ar->strtab, buff, s);
/freebsd-11.0-release/sys/dev/ahci/
H A Dahciem.c389 strncpy(&buf[3], device_get_nameunit(dev), 7);
390 strncpy(&buf[10], "AHCI ", SID_VENDOR_SIZE);
391 strncpy(&buf[18], "SGPIO Enclosure ", SID_PRODUCT_SIZE);
392 strncpy(&buf[34], "1.00", SID_REVISION_SIZE);
393 strncpy(&buf[39], "0001", 4);
394 strncpy(&buf[43], "S-E-S ", 6);
395 strncpy(&buf[49], "2.00", 4);
431 strncpy(ed->vendor_id, "AHCI ", SID_VENDOR_SIZE);
432 strncpy(ed->product_id, "SGPIO Enclosure ", SID_PRODUCT_SIZE);
433 strncpy(e
[all...]
/freebsd-11.0-release/contrib/gcc/config/
H A Ddarwin-c.c289 strncpy (&frname[0], dir->name, dir->len);
293 strncpy (&frname[frname_len], fname, fname_len);
295 strncpy (&frname[frname_len], ".framework/", strlen (".framework/"));
321 strncpy (&frname[frname_len],
383 strncpy (&sfrname[0], pname, sfrname_len);
385 strncpy (&sfrname[sfrname_len], "Frameworks/", strlen ("Frameworks/"));
388 strncpy (&sfrname[sfrname_len], fname, fname_len);
391 strncpy (&sfrname[sfrname_len], ".framework/", strlen (".framework/"));
397 strncpy (&sfrname[sfrname_len],

Completed in 294 milliseconds

1234567891011>>