Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 562) sorted by relevance

12345678910>>...23

/dflybsd-src/contrib/binutils-2.34/bfd/
H A Delf-linux-core.h72 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname)); in swap_linux_prpsinfo32_ugid32_out()
73 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs)); in swap_linux_prpsinfo32_ugid32_out()
124 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname)); in swap_linux_prpsinfo32_ugid16_out()
125 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs)); in swap_linux_prpsinfo32_ugid16_out()
177 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname)); in swap_linux_prpsinfo64_ugid32_out()
178 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs)); in swap_linux_prpsinfo64_ugid32_out()
230 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname)); in swap_linux_prpsinfo64_ugid16_out()
231 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs)); in swap_linux_prpsinfo64_ugid16_out()
/dflybsd-src/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c217 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx()
219 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host)); in doutmpx()
223 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line)); in doutmpx()
228 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id), in doutmpx()
231 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id)); in doutmpx()
255 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line)); in dolastlogx()
258 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlogx()
/dflybsd-src/lib/libtelnet/
H A Dkrb4encpwd.c349 strncpy((char *)buf, " REJECT ", buflen);
353 strncpy((char *)buf, " ACCEPT ", buflen);
366 strncpy((char *)buf, " AUTH", buflen);
370 strncpy((char *)buf, " CHALLENGE", buflen);
374 strncpy((char *)buf, " ACK", buflen);
379 strncpy((char *)buf, lbuf, buflen);
384 strncpy((char *)buf, lbuf, buflen);
H A Dsra.c367 strncpy(buf, " CONTINUE ", buflen); in sra_printsub()
371 strncpy(buf, " REJECT ", buflen); in sra_printsub()
375 strncpy(buf, " ACCEPT ", buflen); in sra_printsub()
389 strncpy(buf, " KEY ", buflen); in sra_printsub()
393 strncpy(buf, " USER ", buflen); in sra_printsub()
397 strncpy(buf, " PASS ", buflen); in sra_printsub()
402 strncpy(buf, lbuf, buflen); in sra_printsub()
408 strncpy(buf, lbuf, buflen); in sra_printsub()
H A Drsaencpwd.c402 strncpy((char *)buf, " REJECT ", buflen);
406 strncpy((char *)buf, " ACCEPT ", buflen);
419 strncpy((char *)buf, " AUTH", buflen);
423 strncpy((char *)buf, " CHALLENGEKEY", buflen);
428 strncpy((char *)buf, lbuf, buflen);
433 strncpy((char *)buf, lbuf, buflen);
/dflybsd-src/libexec/ftpd/
H A Dlogwtmpx.c58 (void)strncpy(ut.ut_user, user, sizeof(ut.ut_user)); in ftpd_logwtmpx()
69 (void)strncpy(ut.ut_id, id, sizeof(ut.ut_id)); in ftpd_logwtmpx()
70 (void)strncpy(ut.ut_line, "ftpd", sizeof(ut.ut_line)); in ftpd_logwtmpx()
/dflybsd-src/contrib/gdb-7/bfd/
H A Delf-linux-psinfo.h73 strncpy (to.pr_fname, from->pr_fname, sizeof (to.pr_fname)); \
74 strncpy (to.pr_psargs, from->pr_psargs, sizeof (to.pr_psargs)); \
123 strncpy (to.pr_fname, from->pr_fname, sizeof (to.pr_fname)); \
124 strncpy (to.pr_psargs, from->pr_psargs, sizeof (to.pr_psargs)); \
/dflybsd-src/lib/libutil/
H A Dlogwtmpx.c58 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in logwtmpx()
59 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in logwtmpx()
60 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in logwtmpx()
H A Drealhostname.c72 strncpy(host, trimmed, hsize); in realhostname()
79 strncpy(host, inet_ntoa(*ip), hsize); in realhostname()
182 strncpy(host, buf, hsize); in realhostname_sa()
192 strncpy(host, buf, hsize); in realhostname_sa()
/dflybsd-src/contrib/gdb-7/gdb/common/
H A Dformat.c142 strncpy (current_substring, prev_start, f - 1 - prev_start); in parse_format_string()
322 strncpy (current_substring, percent_loc, length_before_ll); in parse_format_string()
334 strncpy (current_substring, percent_loc, length_before_ls); in parse_format_string()
340 strncpy (current_substring, percent_loc, f - percent_loc); in parse_format_string()
357 strncpy (current_substring, prev_start, f - prev_start); in parse_format_string()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Delf-linux-core.h71 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname)); in swap_linux_prpsinfo32_out()
72 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs)); in swap_linux_prpsinfo32_out()
119 strncpy (to->pr_fname, from->pr_fname, sizeof (to->pr_fname)); in swap_linux_prpsinfo64_out()
120 strncpy (to->pr_psargs, from->pr_psargs, sizeof (to->pr_psargs)); in swap_linux_prpsinfo64_out()
/dflybsd-src/sbin/spppcontrol/
H A Dspppcontrol.c82 strncpy(ifr.ifr_name, ifname, sizeof ifr.ifr_name); in main()
130 strncpy(spr.defs.myauth.name, argv[0] + off, in main()
134 strncpy(spr.defs.myauth.secret, argv[0] + off, in main()
147 strncpy(spr.defs.hisauth.name, argv[0] + off, in main()
151 strncpy(spr.defs.hisauth.secret, argv[0] + off, in main()
/dflybsd-src/usr.bin/talk/
H A Dget_names.c105 strncpy(msg.l_name, my_name, NAME_SIZE); in get_names()
107 strncpy(msg.r_name, his_name, NAME_SIZE); in get_names()
109 strncpy(msg.r_tty, his_tty, TTY_SIZE); in get_names()
/dflybsd-src/games/hack/
H A Dhack.main.c153 (void) strncpy(plname, s, sizeof(plname) - 1); in main()
155 (void) strncpy(plname, s, sizeof(plname) - 1); in main()
157 (void) strncpy(plname, s, sizeof(plname) - 1); in main()
220 (void) strncpy(plname, argv[0] + 2, sizeof(plname) - 1); in main()
224 (void) strncpy(plname, argv[0], sizeof(plname) - 1); in main()
230 (void) strncpy(pl_character, argv[0] + 1, in main()
/dflybsd-src/contrib/tcsh-6/
H A Dtc.who.c334 (void) strncpy(wp->who_new, utmp.ut_name, UTNAMLEN);
339 (void) strncpy(wp->who_host, host, UTHOSTLEN);
343 (void) strncpy(wp->who_host, utmp.ut_host, UTHOSTLEN);
355 (void) strncpy(wpnew->who_tty, utmp.ut_line, UTLINLEN);
360 (void) strncpy(wpnew->who_host, host, UTHOSTLEN);
364 (void) strncpy(wpnew->who_host, utmp.ut_host, UTHOSTLEN);
376 (void) strncpy(wpnew->who_new, utmp.ut_name, UTNAMLEN);
/dflybsd-src/contrib/elftoolchain/libelf/
H A Dlibelf_ar_util.c131 (void) strncpy(s, (const char *) q, len - 1); in _libelf_ar_get_translated_name()
159 (void) strncpy(s, (const char *) q, len); in _libelf_ar_get_translated_name()
199 (void) strncpy(s, (const char *) buf, len - 1); in _libelf_ar_get_translated_name()
220 (void) strncpy(rawname, arh->ar_name, namesz); in _libelf_ar_get_raw_name()
/dflybsd-src/tools/tools/net80211/wlanwds/
H A Dwlanwds.c231 strncpy(ifmr.ifm_name, ifname, sizeof(ifmr.ifm_name)); in iswdsvap()
247 strncpy(ireq.i_name, ifname, sizeof(ireq.i_name)); in getbssid()
460 strncpy(cp.icp_parent, parent, IFNAMSIZ); in wds_vap_create()
465 strncpy(ifr.ifr_name, "wlan", IFNAMSIZ); in wds_vap_create()
498 strncpy(ifr.i_name, ifname, IFNAMSIZ); in wds_vap_destroy()
/dflybsd-src/usr.sbin/gifconfig/
H A Dgifconfig.c214 strncpy(name, *argv, sizeof(name)); in main()
215 strncpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); in main()
303 strncpy(name, sdl->sdl_data, sdl->sdl_nlen); in main()
337 strncpy(ifr.ifr_name, name, sizeof ifr.ifr_name); in ifconfig()
339 strncpy(in6_ifr.ifr_name, name, sizeof in6_ifr.ifr_name); in ifconfig()
382 strncpy(rafp->af_addreq, name, sizeof ifr.ifr_name); in ifconfig()
419 strncpy(ifr.ifr_name, name, sizeof (ifr.ifr_name)); in setifflags()
/dflybsd-src/usr.bin/rpcgen/
H A Drpc_scan.c325 strncpy(tmp, *str, size); in findstrconst()
349 strncpy(tmp, *str, size); in findchrconst()
375 strncpy(tmp, *str, size); in findconst()
430 strncpy(tmp, str, len); in findkind()
/dflybsd-src/lib/libc/rpc/
H A Dnetnamer.c122 strncpy(val, val1, 1024); in netname2user()
202 strncpy(hostname, val + 2, hostlen); in netname2host()
218 strncpy(hostname, val, vallen); in netname2host()
/dflybsd-src/sbin/dump/
H A Dmain.c310 strncpy(spcl.c_dev, dt->fs_spec, NAMELEN); in main()
311 strncpy(spcl.c_filesys, dt->fs_file, NAMELEN); in main()
313 strncpy(spcl.c_dev, disk, NAMELEN); in main()
314 strncpy(spcl.c_filesys, "an unlisted file system", NAMELEN); in main()
593 strncpy(rawbuf, cp, MAXPATHLEN - 1); in rawname()
/dflybsd-src/usr.bin/finger/
H A Dutil.c72 (void)strncpy(p = tbuf, pw->pw_gecos, sizeof(tbuf)); in match()
83 (void)strncpy(t, pw->pw_name, in match()
324 (void)strncpy(bp = tbuf, pw->pw_gecos, sizeof(tbuf)); in userinfo()
334 (void)strncpy(t, pw->pw_name, in userinfo()
/dflybsd-src/sys/contrib/dev/acpica/source/components/tables/
H A Dtbfind.c211 strncpy (Header.OemId, OemId, ACPI_OEM_ID_SIZE); in AcpiTbFindTable()
212 strncpy (Header.OemTableId, OemTableId, ACPI_OEM_TABLE_ID_SIZE); in AcpiTbFindTable()
/dflybsd-src/contrib/flex/src/
H A Dscan.l77 strncpy( nmstr, yytext, sizeof(nmstr) ); \
210 strncpy( nmstr, yytext, sizeof(nmstr) );
463 strncpy( nmstr, yytext + 1, sizeof(nmstr) );
640 strncpy( nmstr, yytext, sizeof(nmstr) );
698 strncpy( nmstr, yytext + 1, sizeof(nmstr) );
/dflybsd-src/usr.sbin/sliplogin/
H A Dsliplogin.c150 strncpy(loginname, name, sizeof(loginname)-1); in findid()
194 strncpy(loginfile, _PATH_SLOGIN, sizeof(loginfile)-1); in findid()
205 strncpy(slparmsfile, _PATH_SLPARMS, sizeof(slparmsfile)-1); in findid()
297 strncpy(logoutfile, _PATH_SLOGOUT, sizeof(logoutfile)-1); in hup_handler()

12345678910>>...23