Home
last modified time | relevance | path

Searched refs:xstrncpy (Results 1 – 17 of 17) sorted by relevance

/third_party/toybox/toys/pending/
Dbrctl.c52 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()
Dgetty.c277 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()
Darp.c156 xstrncpy(ifre.ifr_name, toys.optargs[1], IFNAMSIZ); in set_entry()
166 xstrncpy(req.arp_dev, TT.device, sizeof(req.arp_dev)); in set_entry()
194 xstrncpy(req.arp_dev, TT.device, sizeof(req.arp_dev)); in delete_entry()
Darping.c60 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_interface()
211 xstrncpy(ifr.ifr_name, TT.iface, IFNAMSIZ); in arping_main()
Dip.c692 xstrncpy(req.ifr_name, *argv, IF_NAMESIZE); in link_set()
720 xstrncpy(req.ifr_ifru.ifru_newname, *argv, IF_NAMESIZE); in link_set()
722 xstrncpy(req.ifr_name, *argv++, IF_NAMESIZE); in link_set()
885 xstrncpy(link->type, lname, IFNAMSIZ); in get_link_info()
932 xstrncpy(link->state, lname,IFNAMSIZ); in get_link_info()
1021 xstrncpy(label, RTA_DATA(rta_tb[IFA_LABEL]), 256); in print_addrinfo()
2439 xstrncpy(req.ifr_name, ptnl->name, IF_NAMESIZE); in tnl_ioctl()
2440 else xstrncpy(req.ifr_name, dev, IF_NAMESIZE); in tnl_ioctl()
2557 xstrncpy(ptnl->name, *argv, IF_NAMESIZE); in parse_iptunnel_args()
2654 xstrncpy(req.ifr_name, *argv, IFNAMSIZ); in parse_iptunnel_args()
[all …]
Droute.c379 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ); in setroute_inet6()
Ddhcp.c288 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()
Ddhcp6.c168 xstrncpy(req.ifr_name, interface, IFNAMSIZ); in get_mac()
Ddhcpd.c369 xstrncpy(req.ifr_name, (char *)interface, IFNAMSIZ); in get_interface()
838 xstrncpy(ifr.ifr_name, gconfig.interface, IFNAMSIZ); in open_listensock()
/third_party/toybox/toys/other/
Dvconfig.c57 xstrncpy(request.device1, toys.optargs[1], sizeof(request.device1)); in vconfig_main()
Dlosetup.c115 xstrncpy((char *)loop->lo_file_name, s, LO_NAME_SIZE);
/third_party/toybox/toys/net/
Dsntp.c147 xstrncpy(buf, ntop(ai->ai_addr), 128); in sntp_main()
Difconfig.c118 xstrncpy(ifre.ifr_name, name, IFNAMSIZ); in display_ifconfig()
387 xstrncpy(ifre.ifr_name, *argv, IFNAMSIZ); in ifconfig_main()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c117 xstrncpy(ifre.ifr_name, name, IFNAMSIZ); in display_ifconfig()
400 xstrncpy(ifre.ifr_name, *argv, IFNAMSIZ); in ifconfig_main()
/third_party/toybox/porting/liteos_a/lib/
Dlib.h119 void xstrncpy(char *dest, char *src, size_t size);
/third_party/toybox/lib/
Dlib.h118 void xstrncpy(char *dest, char *src, size_t size);
Dxwrap.c16 void xstrncpy(char *dest, char *src, size_t size) in xstrncpy() function