/external/toybox/toys/pending/ |
D | brctl.c | 52 xstrncpy(ifr.ifr_name, bridge, IFNAMSIZ); 65 xstrncpy(ifr.ifr_name, bridge, IFNAMSIZ); in get_br_info() 121 xstrncpy(br, argv[0], IFNAMSIZ); in br_addbr() 134 xstrncpy(br, argv[0], IFNAMSIZ); in br_delbr() 151 xstrncpy(ifr.ifr_name, argv[0], IFNAMSIZ); in br_addif() 169 xstrncpy(ifr.ifr_name, argv[0], IFNAMSIZ); in br_delif() 197 xstrncpy(ifr.ifr_name, br, IFNAMSIZ); in set_time() 273 xstrncpy(ifr.ifr_name, br, IFNAMSIZ); in set_cost_prio()
|
D | getty.c | 277 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + in utmp_entry() 280 xstrncpy(entry.ut_user, "LOGIN", UT_NAMESIZE); in utmp_entry() 282 else xstrncpy(entry.ut_host, TT.host_str, UT_HOSTSIZE); in utmp_entry() 287 xstrncpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen("/dev/"), UT_LINESIZE); in utmp_entry() 288 xstrncpy(entry.ut_user, "LOGIN", UT_NAMESIZE); in utmp_entry() 290 else xstrncpy(entry.ut_host, TT.host_str, UT_HOSTSIZE); in utmp_entry()
|
D | arp.c | 163 xstrncpy(ifre.ifr_name, toys.optargs[1], IFNAMSIZ); in set_entry() 173 xstrncpy(req.arp_dev, TT.device, sizeof(req.arp_dev)); in set_entry() 202 xstrncpy(req.arp_dev, TT.device, sizeof(req.arp_dev)); in delete_entry()
|
D | arping.c | 60 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_interface() 212 xstrncpy(ifr.ifr_name, TT.iface, IFNAMSIZ); in arping_main()
|
D | ip.c | 643 xstrncpy(req.ifr_name, *argv, IF_NAMESIZE); in link_set() 671 xstrncpy(req.ifr_ifru.ifru_newname, *argv, IF_NAMESIZE); in link_set() 673 xstrncpy(req.ifr_name, *argv++, IF_NAMESIZE); in link_set() 836 xstrncpy(link->type, lname, IFNAMSIZ); in get_link_info() 883 xstrncpy(link->state, lname,IFNAMSIZ); in get_link_info() 972 xstrncpy(label, RTA_DATA(rta_tb[IFA_LABEL]), 256); in print_addrinfo() 2329 xstrncpy(req.ifr_name, ptnl->name, IF_NAMESIZE); in tnl_ioctl() 2330 else xstrncpy(req.ifr_name, dev, IF_NAMESIZE); in tnl_ioctl() 2447 xstrncpy(ptnl->name, *argv, IF_NAMESIZE); in parse_iptunnel_args() 2544 xstrncpy(req.ifr_name, *argv, IFNAMSIZ); in parse_iptunnel_args() [all …]
|
D | tar.c | 207 xstrncpy(hdr.link, node->arg, sizeof(hdr.link)); in add_file() 225 xstrncpy(hdr.link, lnk, sizeof(hdr.link)); in add_file()
|
D | route.c | 378 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ); in setroute_inet6()
|
D | dhcp.c | 288 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_interface() 631 xstrncpy(ifr.ifr_name, state->iface, IFNAMSIZ); in mode_app() 1242 xstrncpy(buffer, inet_ntoa(temp_addr), sizeof(buffer)); in release()
|
D | dhcp6.c | 168 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_mac()
|
D | dhcpd.c | 369 xstrncpy(req.ifr_name, (char *)interface, IFNAMSIZ); in get_interface() 838 xstrncpy(ifr.ifr_name, gconfig.interface, IFNAMSIZ); in open_listensock()
|
/external/toybox/toys/other/ |
D | vconfig.c | 57 xstrncpy(request.device1, toys.optargs[1], sizeof(request.device1)); in vconfig_main()
|
D | losetup.c | 107 xstrncpy((char *)loop->lo_file_name, s, LO_NAME_SIZE);
|
/external/toybox/toys/net/ |
D | sntp.c | 147 xstrncpy(buf, ntop(ai->ai_addr), 128); in sntp_main()
|
D | ifconfig.c | 118 xstrncpy(ifre.ifr_name, name, IFNAMSIZ); in display_ifconfig() 386 xstrncpy(ifre.ifr_name, *argv, IFNAMSIZ); in ifconfig_main()
|
/external/toybox/lib/ |
D | lib.h | 115 void xstrncpy(char *dest, char *src, size_t size);
|
D | xwrap.c | 16 void xstrncpy(char *dest, char *src, size_t size) in xstrncpy() function
|