| /netbsd/src/lib/libcurses/ |
| D | keyname.c | 114 strncpy(name, "KEY_BREAK\0", KEYNAMEMAX); in keyname() 118 strncpy(name, "KEY_DOWN\0", KEYNAMEMAX); in keyname() 122 strncpy(name, "KEY_UP\0", KEYNAMEMAX); in keyname() 126 strncpy(name, "KEY_LEFT\0", KEYNAMEMAX); in keyname() 130 strncpy(name, "KEY_RIGHT\0", KEYNAMEMAX); in keyname() 134 strncpy(name, "KEY_HOME\0", KEYNAMEMAX); in keyname() 138 strncpy(name, "KEY_BACKSPACE\0", KEYNAMEMAX); in keyname() 152 strncpy(name, "KEY_DL\0", KEYNAMEMAX); in keyname() 156 strncpy(name, "KEY_IL\0", KEYNAMEMAX); in keyname() 160 strncpy(name, "KEY_DC\0", KEYNAMEMAX); in keyname() [all …]
|
| /netbsd/src/crypto/external/bsd/openssh/dist/ |
| D | sshlogin.c | 103 strncpy(buf, llxp->ll_host, bufsize - 1); in get_last_login_time() 132 strncpy(buf, ll.ll_host, bufsize - 1); in get_last_login_time() 202 strncpy(u.ut_line, tty + 5, sizeof(u.ut_line)); in record_login() 204 strncpy(u.ut_name, user, sizeof(u.ut_name)); in record_login() 205 strncpy(u.ut_host, host, sizeof(u.ut_host)); in record_login() 219 strncpy(ll.ll_line, tty + 5, sizeof(ll.ll_line)); in record_login() 220 strncpy(ll.ll_host, host, sizeof(ll.ll_host)); in record_login() 233 strncpy(ux.ut_line, tty + 5, sizeof(ux.ut_line)); in record_login() 238 strncpy(ux.ut_name, user, sizeof(ux.ut_name)); in record_login() 239 strncpy(ux.ut_host, host, sizeof(ux.ut_host)); in record_login() [all …]
|
| /netbsd/src/usr.bin/login/ |
| D | common.c | 246 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx() 248 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host)); in doutmpx() 251 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line)); in doutmpx() 256 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id), in doutmpx() 259 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id)); in doutmpx() 284 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line)); in dolastlogx() 286 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlogx() 306 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); in doutmp() 308 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host)); in doutmp() 309 (void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line)); in doutmp() [all …]
|
| /netbsd/src/lib/libpam/modules/pam_lastlog/ |
| D | pam_lastlog.c | 279 (void)strncpy(utmpx.ut_name, username, sizeof(utmpx.ut_name)); in doutmpx() 281 (void)strncpy(utmpx.ut_host, hostname, sizeof(utmpx.ut_host)); in doutmpx() 285 (void)strncpy(utmpx.ut_line, tty, sizeof(utmpx.ut_line)); in doutmpx() 290 (void)strncpy(utmpx.ut_id, t - sizeof(utmpx.ut_id), in doutmpx() 293 (void)strncpy(utmpx.ut_id, tty, sizeof(utmpx.ut_id)); in doutmpx() 315 (void)strncpy(ll.ll_line, tty, sizeof(ll.ll_line)); in dolastlogx() 318 (void)strncpy(ll.ll_host, hostname, sizeof(ll.ll_host)); in dolastlogx() 342 (void)strncpy(utmp.ut_name, username, sizeof(utmp.ut_name)); in doutmp() 344 (void)strncpy(utmp.ut_host, hostname, sizeof(utmp.ut_host)); in doutmp() 345 (void)strncpy(utmp.ut_line, tty, sizeof(utmp.ut_line)); in doutmp() [all …]
|
| /netbsd/src/libexec/ftpd/ |
| D | logwtmp.c | 95 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in ftpd_logwtmp() 96 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in ftpd_logwtmp() 97 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in ftpd_logwtmp() 128 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in ftpd_logwtmpx() 129 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in ftpd_logwtmpx() 130 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in ftpd_logwtmpx()
|
| /netbsd/src/external/bsd/tmux/usr.bin/tmux/ |
| D | utempter.c | 68 (void)strncpy(ut.ut_name, username, sizeof(ut.ut_name)); in doutmpx() 70 (void)strncpy(ut.ut_host, hostname, sizeof(ut.ut_host)); in doutmpx() 71 (void)strncpy(ut.ut_line, tty, sizeof(ut.ut_line)); in doutmpx() 77 (void)strncpy(ut.ut_id, tty, sizeof(ut.ut_id)); in doutmpx() 103 (void)strncpy(ut.ut_name, username, sizeof(ut.ut_name)); in login_utmp() 105 (void)strncpy(ut.ut_host, hostname, sizeof(ut.ut_host)); in login_utmp() 106 (void)strncpy(ut.ut_line, tty, sizeof(ut.ut_line)); in login_utmp()
|
| /netbsd/src/usr.sbin/altq/libaltq/ |
| D | qop_priq.c | 352 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); in priq_attach() 363 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); in priq_attach() 377 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); in priq_detach() 395 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); in priq_clear() 408 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); in priq_enable() 421 strncpy(iface.ifname, ifinfo->ifname, IFNAMSIZ); in priq_disable() 437 strncpy(class_add.iface.ifname, clinfo->ifinfo->ifname, IFNAMSIZ); in priq_add_class() 459 strncpy(class_mod.iface.ifname, clinfo->ifinfo->ifname, IFNAMSIZ); in priq_modify_class() 480 strncpy(class_delete.iface.ifname, clinfo->ifinfo->ifname, in priq_delete_class() 495 strncpy(fltr_add.iface.ifname, fltrinfo->clinfo->ifinfo->ifname, in priq_add_filter() [all …]
|
| D | qop_fifoq.c | 184 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); in fifoq_attach() 193 strncpy(conf.iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); in fifoq_attach() 210 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); in fifoq_detach() 228 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); in fifoq_enable() 241 strncpy(iface.fifoq_ifname, ifinfo->ifname, IFNAMSIZ); in fifoq_disable()
|
| D | qop_jobs.c | 530 strncpy(attach.iface.jobs_ifname, ifinfo->ifname, IFNAMSIZ); in jobs_attach() 554 strncpy(iface.jobs_ifname, ifinfo->ifname, IFNAMSIZ); in jobs_detach() 572 strncpy(iface.jobs_ifname, ifinfo->ifname, IFNAMSIZ); in jobs_enable() 585 strncpy(iface.jobs_ifname, ifinfo->ifname, IFNAMSIZ); in jobs_disable() 598 strncpy(iface.jobs_ifname, ifinfo->ifname, IFNAMSIZ); in jobs_clear() 614 strncpy(class_add.iface.jobs_ifname, clinfo->ifinfo->ifname, IFNAMSIZ); in jobs_add_class() 639 strncpy(class_mod.iface.jobs_ifname, clinfo->ifinfo->ifname, IFNAMSIZ); in jobs_modify_class() 664 strncpy(class_delete.iface.jobs_ifname, clinfo->ifinfo->ifname, in jobs_delete_class() 679 strncpy(fltr_add.iface.jobs_ifname, fltrinfo->clinfo->ifinfo->ifname, in jobs_add_filter() 696 strncpy(fltr_del.iface.jobs_ifname, fltrinfo->clinfo->ifinfo->ifname, in jobs_delete_filter()
|
| D | qop_cdnr.c | 680 strncpy(iface.cdnr_ifname, ifinfo->ifname+1, IFNAMSIZ); in cdnr_attach() 696 strncpy(iface.cdnr_ifname, ifinfo->ifname+1, IFNAMSIZ); in cdnr_detach() 714 strncpy(iface.cdnr_ifname, ifinfo->ifname+1, IFNAMSIZ); in cdnr_enable() 727 strncpy(iface.cdnr_ifname, ifinfo->ifname+1, IFNAMSIZ); in cdnr_disable() 754 strncpy(element_add.iface.cdnr_ifname, in cdnr_add_class() 766 strncpy(tbmeter_add.iface.cdnr_ifname, in cdnr_add_class() 780 strncpy(trtcm_add.iface.cdnr_ifname, in cdnr_add_class() 797 strncpy(tswtcm_add.iface.cdnr_ifname, in cdnr_add_class() 831 strncpy(tbmeter_modify.iface.cdnr_ifname, in cdnr_modify_class() 841 strncpy(trtcm_modify.iface.cdnr_ifname, in cdnr_modify_class() [all …]
|
| D | qop_wfq.c | 217 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); in wfq_attach() 227 strncpy(conf.iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); in wfq_attach() 248 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); in wfq_detach() 266 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); in wfq_enable() 279 strncpy(iface.wfq_ifacename, ifinfo->ifname, IFNAMSIZ); in wfq_disable()
|
| D | qop_blue.c | 213 strncpy(iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); in blue_attach() 221 strncpy(conf.iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); in blue_attach() 242 strncpy(iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); in blue_detach() 260 strncpy(iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); in blue_enable() 273 strncpy(iface.blue_ifname, ifinfo->ifname, IFNAMSIZ); in blue_disable()
|
| D | qop_red.c | 242 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ); in red_attach() 250 strncpy(conf.iface.red_ifname, ifinfo->ifname, IFNAMSIZ); in red_attach() 272 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ); in red_detach() 290 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ); in red_enable() 303 strncpy(iface.red_ifname, ifinfo->ifname, IFNAMSIZ); in red_disable()
|
| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | elf-linux-core.h | 72 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()
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | elf-linux-core.h | 72 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()
|
| /netbsd/src/usr.sbin/mopd/common/ |
| D | pf-linux2.c | 123 strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name)); in pfInit() 126 strncpy(socklist[s].sa.sa_data, interface, sizeof(socklist[s].sa.sa_data)); in pfInit() 153 strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) -1); in pfEthAddr() 174 strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) - 1); in pfAddMulti() 208 strncpy(ifr.ifr_name, interface, sizeof (ifr.ifr_name) - 1); in pfDelMulti()
|
| /netbsd/src/sys/compat/common/ |
| D | kern_info_09.c | 124 strncpy(outsname.sysname, ostype, sizeof(outsname.sysname)); in compat_09_sys_uname() 125 strncpy(outsname.nodename, hostname, sizeof(outsname.nodename)); in compat_09_sys_uname() 126 strncpy(outsname.release, osrelease, sizeof(outsname.release)); in compat_09_sys_uname() 138 strncpy(outsname.machine, MACHINE, sizeof(outsname.machine)); in compat_09_sys_uname()
|
| /netbsd/src/common/lib/libc/arch/arm/string/ |
| D | strcpy_thumb.S | 39 WEAK_ALIAS(strncpy, _strncpy) 40 #define strncpy _strncpy macro 80 ENTRY(strncpy) 98 END(strncpy)
|
| /netbsd/src/sbin/pppoectl/ |
| D | pppoectl.c | 74 strncpy((_st)->ifname, (_ifname), \ 179 strncpy(parms.ifname, ifname, sizeof(parms.ifname)); in main() 180 strncpy(parms.eth_ifname, eth_if_name, sizeof(parms.eth_ifname)); in main() 206 strncpy(spr.ifname, ifname, sizeof spr.ifname); in main() 210 strncpy(lcp.ifname, ifname, sizeof lcp.ifname); in main() 212 strncpy(ncp.ifname, ifname, sizeof ncp.ifname); in main() 214 strncpy(status.ifname, ifname, sizeof status.ifname); in main() 216 strncpy(timeout.ifname, ifname, sizeof timeout.ifname); in main() 218 strncpy(authfailstats.ifname, ifname, sizeof authfailstats.ifname); in main() 220 strncpy(authfailset.ifname, ifname, sizeof authfailset.ifname); in main() [all …]
|
| /netbsd/src/external/bsd/ipf/dist/tools/ |
| D | ippool_y.y | 131 strncpy(ipht.iph_name, $3, 196 { strncpy(iplo.ipo_name, $4, 204 { strncpy(ipht.iph_name, $4, 216 strncpy(e->ipe_group, 229 | IPT_NAME '=' YY_STR { strncpy(poolname, $3, 240 strncpy(tmp, $3, FR_GROUPLEN); 301 strncpy($$->ipe_group, $3, 438 strncpy(ipld.ipld_name, $6, 450 strncpy(iplo.ipo_name, $6, 461 strncpy(iplo.ipo_name, $3, [all …]
|
| /netbsd/src/lib/libutil/ |
| D | logwtmp.c | 67 (void) strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in logwtmp() 68 (void) strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in logwtmp() 69 (void) strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in logwtmp()
|
| D | logwtmpx.c | 66 (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); in logwtmpx() 67 (void)strncpy(ut.ut_name, name, sizeof(ut.ut_name)); in logwtmpx() 68 (void)strncpy(ut.ut_host, host, sizeof(ut.ut_host)); in logwtmpx()
|
| /netbsd/src/sys/dev/usb/ |
| D | umcpmio.c | 1583 strncpy(buf, "4.096V", UMCPMIO_VREF_NAME); in umcpmio_verify_dac_sysctl() 1586 strncpy(buf, "2.048V", UMCPMIO_VREF_NAME); in umcpmio_verify_dac_sysctl() 1589 strncpy(buf, "1.024V", UMCPMIO_VREF_NAME); in umcpmio_verify_dac_sysctl() 1593 strncpy(buf, "OFF", UMCPMIO_VREF_NAME); in umcpmio_verify_dac_sysctl() 1597 strncpy(buf, "VDD", UMCPMIO_VREF_NAME); in umcpmio_verify_dac_sysctl() 1599 strncpy(cbuf, buf, UMCPMIO_VREF_NAME); in umcpmio_verify_dac_sysctl() 1655 strncpy(buf, "4.096V", UMCPMIO_VREF_NAME); in umcpmio_verify_adc_sysctl() 1658 strncpy(buf, "2.048V", UMCPMIO_VREF_NAME); in umcpmio_verify_adc_sysctl() 1661 strncpy(buf, "1.024V", UMCPMIO_VREF_NAME); in umcpmio_verify_adc_sysctl() 1665 strncpy(buf, "OFF", UMCPMIO_VREF_NAME); in umcpmio_verify_adc_sysctl() [all …]
|
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | var.h | 82 strncpy((y), "(invalid)", sizeof(y)); \ 84 strncpy((z), "(invalid)", sizeof(z)); \ 93 strncpy((y), "(invalid)", sizeof(y)); \
|
| /netbsd/src/lib/libtelnet/ |
| D | sra.c | 395 strncpy(buf, " CONTINUE ", buflen); in sra_printsub() 399 strncpy(buf, " REJECT ", buflen); in sra_printsub() 403 strncpy(buf, " ACCEPT ", buflen); in sra_printsub() 417 strncpy(buf, " KEY ", buflen); in sra_printsub() 421 strncpy(buf, " USER ", buflen); in sra_printsub() 425 strncpy(buf, " PASS ", buflen); in sra_printsub() 430 strncpy(buf, lbuf, buflen); in sra_printsub() 435 strncpy(buf, lbuf, buflen); in sra_printsub()
|