/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);
|
chrt.c | 73 pri = atolx_range(*toys.optargs, sched_get_priority_min(pol),
|
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;
|
/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 | 111 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/ |
dd.c | 119 if (strstarteq(&arg, "bs")) bs = atolx_range(arg, 1, LONG_MAX); 120 else if (strstarteq(&arg, "ibs")) TT.in.sz = atolx_range(arg, 1, LONG_MAX); 121 else if (strstarteq(&arg, "obs")) TT.out.sz = atolx_range(arg, 1, LONG_MAX); 123 TT.c_count = atolx_range(arg, 0, LLONG_MAX); 127 TT.out.offset = atolx_range(arg, 0, LLONG_MAX); 129 TT.in.offset = atolx_range(arg, 0, LLONG_MAX);
|
route.c | 204 rt->rt_metric = atolx_range(*argv, 0, ULONG_MAX) + 1; 223 rt->rt_mtu = atolx_range(*argv, 64, 65536); 227 rt->rt_window = atolx_range(*argv, 128, INT_MAX); //win low 230 rt->rt_irtt = atolx_range(*argv, 0, INT_MAX); 277 = htonl((1<<(32-atolx_range(netmask, 0, 32)))-1); 310 plen = atolx_range(prefix + 1, 0, 128); //DEFAULT_PREFIXLEN); 330 rt->rtmsg_metric = atolx_range(*argv, 0, ULONG_MAX);
|
openvt.c | 140 if (*toys.optargs) vt_num = atolx_range(*toys.optargs, 1, 63);
|
tcpsvd.c | 204 n = atolx_range(user, 0, INT_MAX); 212 n = atolx_range(group, 0, INT_MAX); 283 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/toys/net/ |
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/lib/ |
lib.h | 205 long long atolx_range(char *numstr, long long low, long long high);
|
lib.c | 317 long long atolx_range(char *numstr, long long low, long long high) function
|