/freebsd-10.3-release/contrib/gcclibs/libiberty/ |
H A D | stpncpy.c | 38 extern char *strncpy (char *, const char *, size_t); 46 return strncpy (dst, src, len) + n;
|
/freebsd-10.3-release/contrib/opie/libopie/ |
H A D | logwtmp.c | 148 strncpy(ut.ut_id, id, sizeof(ut.ut_id)); 153 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); 154 strncpy(ut.ut_name, name, sizeof(ut.ut_name)); 156 strncpy(ut.ut_host, host, sizeof(ut.ut_host)); 170 strncpy(utx.ut_line, line, sizeof(utx.ut_line)); 171 strncpy(utx.ut_name, name, sizeof(utx.ut_name)); 172 strncpy(utx.ut_host, host, sizeof(utx.ut_host)); 180 strncpy(utx.ut_id, id, sizeof(utx.ut_id));
|
H A D | login.c | 59 strncpy(u.ut_line, line + 5, sizeof(u.ut_line)); 61 strncpy(u.ut_line, line, sizeof(u.ut_line)); 68 strncpy(id, u.ut_id, sizeof(u.ut_id)); 80 strncpy(u.ut_name, name, sizeof(u.ut_name)); 86 strncpy(u.ut_host, host, sizeof(u.ut_host));
|
H A D | getutmpentry.c | 55 strncpy(u.ut_line, line + 5, sizeof(u.ut_line)); 62 strncpy(u.ut_line + 4, line + 5, sizeof(u.ut_line) - 4); 69 strncpy(u.ut_line, line, sizeof(u.ut_line));
|
/freebsd-10.3-release/contrib/gcclibs/libssp/ |
H A D | strncpy-chk.c | 1 /* Checking strncpy. 51 return strncpy (dest, src, len);
|
/freebsd-10.3-release/contrib/netbsd-tests/lib/libc/ssp/ |
H A D | h_strncpy.c | 43 (void)strncpy(b, "1020202020202", len);
|
H A D | h_stpncpy.c | 51 (void)strncpy(b, "1020202020202", len);
|
/freebsd-10.3-release/lib/libc/string/ |
H A D | strncpy.c | 34 static char sccsid[] = "@(#)strncpy.c 8.1 (Berkeley) 6/4/93"; 37 __FBSDID("$FreeBSD: releng/10.3/lib/libc/string/strncpy.c 251069 2013-05-28 20:57:40Z emaste $"); 46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) function
|
/freebsd-10.3-release/sys/libkern/ |
H A D | strncpy.c | 34 __FBSDID("$FreeBSD: releng/10.3/sys/libkern/strncpy.c 128019 2004-04-07 20:46:16Z imp $"); 43 strncpy(char * __restrict dst, const char * __restrict src, size_t n) function
|
/freebsd-10.3-release/crypto/heimdal/appl/login/ |
H A D | utmp_login.c | 66 strncpy (dst, hostname, dst_sz); 75 strncpy (dst, hostname, dst_sz); 92 strncpy(utmp->ut_line, ttyx, sizeof(utmp->ut_line)); 93 strncpy(utmp->ut_name, username, sizeof(utmp->ut_name)); 96 strncpy(utmp->ut_user, username, sizeof(utmp->ut_user)); 121 strncpy(utmp->ut_id, make_id(ttyx), sizeof(utmp->ut_id));
|
H A D | utmpx_login.c | 35 strncpy(ut->ut_line, clean_tty, sizeof(ut->ut_line)); 37 strncpy(ut->ut_id, make_id(clean_tty), sizeof(ut->ut_id)); 39 strncpy(ut->ut_user, user, sizeof(ut->ut_user));
|
/freebsd-10.3-release/contrib/ipfilter/lib/ |
H A D | portname.c | 24 strncpy(buf, sv->s_name, sizeof(buf)-1); 34 strncpy(buf, sv->s_name, sizeof(buf)-1);
|
H A D | remove_hash.c | 31 strncpy(op.iplo_name, iphp->iph_name, sizeof(op.iplo_name)); 40 strncpy(iph.iph_name, iphp->iph_name, sizeof(iph.iph_name));
|
H A D | remove_pool.c | 31 strncpy(op.iplo_name, poolp->ipo_name, sizeof(op.iplo_name)); 37 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name));
|
H A D | remove_poolnode.c | 34 strncpy(op.iplo_name, name, sizeof(op.iplo_name)); 44 strncpy(pn.ipn_name, node->ipn_name, sizeof(pn.ipn_name));
|
H A D | printlookup.c | 38 strncpy(name, base + addr->iplookupname, sizeof(name));
|
H A D | load_pool.c | 33 strncpy(op.iplo_name, plp->ipo_name, sizeof(op.iplo_name)); 38 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name)); 52 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool.ipo_name));
|
H A D | kvatoname.c | 36 strncpy(funcname, res.ipfu_name, sizeof(funcname));
|
H A D | nametokva.c | 23 strncpy(res.ipfu_name, name, sizeof(res.ipfu_name));
|
/freebsd-10.3-release/lib/libcompat/4.4/ |
H A D | cuserid.c | 52 (void)strncpy(s, pwd->pw_name, L_cuserid);
|
/freebsd-10.3-release/sbin/ifconfig/ |
H A D | iffib.c | 52 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); 58 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); 77 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name)); 96 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name));
|
/freebsd-10.3-release/lib/libulog/ |
H A D | ulog_login.c | 53 strncpy(utx->ut_line, line, sizeof utx->ut_line); 70 strncpy(utx.ut_user, user, sizeof utx.ut_user); 72 strncpy(utx.ut_host, host, sizeof utx.ut_host);
|
/freebsd-10.3-release/libexec/ftpd/ |
H A D | logwtmp.c | 62 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user)); 73 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id)); 74 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line));
|
/freebsd-10.3-release/crypto/heimdal/appl/ftp/ftpd/ |
H A D | logwtmp.c | 132 strncpy(ut.ut_line, line, sizeof(ut.ut_line)); 133 strncpy(ut.ut_name, name, sizeof(ut.ut_name)); 138 strncpy(ut.ut_host, host, sizeof(ut.ut_host)); 144 strncpy(utx.ut_line, line, sizeof(utx.ut_line)); 145 strncpy(utx.ut_user, name, sizeof(utx.ut_user)); 146 strncpy(utx.ut_host, host, sizeof(utx.ut_host));
|
/freebsd-10.3-release/usr.bin/mkimg/ |
H A D | apm.c | 91 strncpy(ent->ent_type, APM_ENT_TYPE_SELF, sizeof(ent->ent_type)); 92 strncpy(ent->ent_name, "Apple", sizeof(ent->ent_name)); 100 strncpy(ent->ent_type, ALIAS_TYPE2PTR(part->type), 103 strncpy(ent->ent_name, part->label,
|