Home
last modified time | relevance | path

Searched refs:atolx_range (Results 1 – 22 of 22) sorted by relevance

/external/toybox/toys/other/
Di2ctools.c186 i2cdetect_dash_F(atolx_range(*toys.optargs, 0, INT_MAX)); in i2cdetect_main()
196 bus = atolx_range(*toys.optargs, 0, INT_MAX); in i2cdetect_main()
198 first = atolx_range(toys.optargs[1], 0, 0x7f); in i2cdetect_main()
199 last = atolx_range(toys.optargs[2], 0, 0x7f); in i2cdetect_main()
235 int bus = atolx_range(toys.optargs[0], 0, INT_MAX); in i2cdump_main()
236 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cdump_main()
261 int bus = atolx_range(toys.optargs[0], 0, INT_MAX); in i2cget_main()
262 int chip = atolx_range(toys.optargs[1], 0, 0x7f); in i2cget_main()
263 int addr = atolx_range(toys.optargs[2], 0, 0xff); in i2cget_main()
280 int bus = atolx_range(toys.optargs[0], 0, INT_MAX); in i2cset_main()
[all …]
Dvconfig.c61 if (toys.optargs[2]) request.u.VID = atolx_range(toys.optargs[2], 0, 4094); in vconfig_main()
67 if (toys.optargs[2]) request.u.flag = atolx_range(toys.optargs[2], 0, 1); in vconfig_main()
68 if (toys.optargs[3]) request.vlan_qos = atolx_range(toys.optargs[3], 0, 7); in vconfig_main()
72 request.u.skb_priority = atolx_range(toys.optargs[2], 0, INT_MAX); in vconfig_main()
73 if (toys.optargs[3]) request.vlan_qos = atolx_range(toys.optargs[3], 0, 7); in vconfig_main()
77 request.u.skb_priority = atolx_range(toys.optargs[2], 0, INT_MAX); in vconfig_main()
79 if (toys.optargs[3]) request.vlan_qos = atolx_range(toys.optargs[3], 0, 7); in vconfig_main()
Dvmstat.c84 if (toys.optc) loop_delay = atolx_range(toys.optargs[0], 0, INT_MAX); in vmstat_main()
85 if (toys.optc > 1) loop_max = atolx_range(toys.optargs[1], 1, INT_MAX); in vmstat_main()
Ddevmem.c37 if (writing) data = atolx_range(toys.optargs[2], 0, (1ULL<<(8*bytes))-1); in devmem_main()
Dchrt.c90 pri = atolx_range(*toys.optargs, sched_get_priority_min(pol), in chrt_main()
/external/toybox/toys/pending/
Ddd.c151 if (strstart(&arg, "bs=")) bs = atolx_range(arg, 1, LONG_MAX); in dd_main()
152 else if (strstart(&arg, "ibs=")) TT.in.sz = atolx_range(arg, 1, LONG_MAX); in dd_main()
153 else if (strstart(&arg, "obs=")) TT.out.sz = atolx_range(arg, 1, LONG_MAX); in dd_main()
155 TT.c_count = atolx_range(arg, 0, LLONG_MAX); in dd_main()
159 TT.out.offset = atolx_range(arg, 0, LLONG_MAX); in dd_main()
161 TT.in.offset = atolx_range(arg, 0, LLONG_MAX); in dd_main()
Dtcpsvd.c204 n = atolx_range(user, 0, INT_MAX); in get_uidgid()
212 n = atolx_range(group, 0, INT_MAX); in get_uidgid()
283 TT.maxc = atolx_range(TT.nmsg, 1, INT_MAX); in tcpsvd_main()
Dgetty.c52 TT.speeds[TT.sc] = atolx_range(ptr, 0, INT_MAX); in parse_speeds()
126 speed = atolx_range(ptr, 0, INT_MAX); in sense_baud()
Dopenvt.c98 if (*toys.optargs) vt_num = atolx_range(*toys.optargs, 1, 63); in deallocvt_main()
Dbrctl.c282 cost = atolx_range(argv[2], 0, INT_MAX); in br_set_path_cost()
290 prio = atolx_range(argv[2], 0, INT_MAX); in br_set_port_prio()
Dstty.c206 return atolx_range(toys.optargs[*i], 0, high); in get_arg()
359 int new_speed = speed(atolx_range(arg, 0, 4000000)); in stty_main()
Droute.c306 unsigned int priority = atolx_range(argv[1], 0, UINT_MAX); in setroute()
Dtftp.c74 if(toys.optc == 2) port = atolx_range(toys.optargs[1], 1, 65535);
Dtraceroute.c506 TT.msg_len = atolx_range(toys.optargs[1], pack_size, 32768);//max packet size in traceroute_main()
Dip.c351 if (idx < 0) return atolx_range(name, 0, 255); in rtmtype_str2idx()
2659 ptnl->iph.ttl = atolx_range(*argv, 0, 255); in parse_iptunnel_args()
/external/toybox/toys/posix/
Dcal.c97 tm->tm_year = atolx_range(toys.optargs[--toys.optc], 1, 9999); in cal_main()
102 tm->tm_mon = atolx_range(toys.optargs[--toys.optc], 1, 12); in cal_main()
Dulimit.c119 else val = atolx_range(*toys.optargs, 0, LONG_MAX); in ulimit_main()
Did.c98 uid = atolx_range(username, 0, INT_MAX); in do_id()
/external/toybox/toys/net/
Drfkill.c55 if (i == ARRAY_LEN(rftypes)) idx = atolx_range(*optargs, 0, INT_MAX); in rfkill_main()
Difconfig.c96 if (slash) len = atolx_range(slash+1, 0, (af == AF_INET) ? 32 : 128);
/external/toybox/lib/
Dlib.h231 long long atolx_range(char *numstr, long long low, long long high);
Dlib.c330 long long atolx_range(char *numstr, long long low, long long high) in atolx_range() function