/external/toybox/toys/other/ |
vconfig.c | 64 if (toys.optargs[2]) request.u.VID = atolx_range(toys.optargs[2], 0, 4094); 70 if (toys.optargs[2]) request.u.flag = atolx_range(toys.optargs[2], 0, 1); 71 if (toys.optargs[3]) request.vlan_qos = atolx_range(toys.optargs[3], 0, 7); 75 request.u.skb_priority = atolx_range(toys.optargs[2], 0, INT_MAX); 76 if (toys.optargs[3]) request.vlan_qos = atolx_range(toys.optargs[3], 0, 7); 80 request.u.skb_priority = atolx_range(toys.optargs[2], 0, INT_MAX); 82 if (toys.optargs[3]) request.vlan_qos = atolx_range(toys.optargs[3], 0, 7);
|
vmstat.c | 86 if (toys.optc) loop_delay = atolx_range(toys.optargs[0], 0, INT_MAX); 87 if (toys.optc > 1) loop_max = atolx_range(toys.optargs[1], 1, INT_MAX) - 1;
|
rfkill.c | 55 if (i == ARRAY_LEN(rftypes)) idx = atolx_range(*optargs, 0, INT_MAX);
|
ifconfig.c | 91 if (slash) len = atolx_range(slash+1, 0, (af == AF_INET) ? 32 : 128);
|
/external/toybox/toys/posix/ |
cal.c | 81 tm->tm_year = atolx_range(toys.optargs[--toys.optc], 1, 9999); 86 tm->tm_mon = atolx_range(toys.optargs[--toys.optc], 1, 12);
|
ulimit.c | 110 else val = atolx_range(*toys.optargs, 0, LONG_MAX);
|
cut.c | 82 start = atolx_range(dtoken, 0, INT_MAX); 89 end = atolx_range(ctoken, 0, INT_MAX);
|
/external/toybox/toys/pending/ |
route.c | 171 plen = atolx_range(prefix + 1, 0, 32); 196 rt->rt_metric = atolx_range(*argv, 0, ULONG_MAX) + 1; 219 rt->rt_mss = atolx_range(*argv, 64, 32768); //MSS low and max 223 rt->rt_window = atolx_range(*argv, 128, INT_MAX); //win low 226 rt->rt_irtt = atolx_range(*argv, 0, INT_MAX); 299 plen = atolx_range(prefix + 1, 0, 128); //DEFAULT_PREFIXLEN); 319 rt->rtmsg_metric = atolx_range(*argv, 0, ULONG_MAX);
|
ftpget.c | 105 cmd_status = atolx_range(toybuf, 0, INT_MAX); 166 portnum = atolx_range(pch + 1, 0, 255); 170 portnum = portnum + (atolx_range(pch + 1, 0, 255) * 256);
|
openvt.c | 139 if (*toys.optargs) vt_num = atolx_range(*toys.optargs, 1, 63);
|
tcpsvd.c | 203 n = atolx_range(user, 0, INT_MAX); 211 n = atolx_range(group, 0, INT_MAX); 282 TT.maxc = atolx_range(TT.nmsg, 1, INT_MAX);
|
brctl.c | 282 cost = atolx_range(argv[2], 0, INT_MAX); 290 prio = atolx_range(argv[2], 0, INT_MAX);
|
tftp.c | 74 if(toys.optc == 2) port = atolx_range(toys.optargs[1], 1, 65535);
|
traceroute.c | 507 TT.msg_len = atolx_range(toys.optargs[1], pack_size, 32768);//max packet size
|
ip.c | 330 if (idx < 0) return atolx_range(name, 0, 255); [all...] |
/external/toybox/lib/ |
lib.h | 179 long atolx_range(char *numstr, long low, long high);
|
lib.c | 313 long atolx_range(char *numstr, long low, long high) function
|