Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 6 of 6) sorted by relevance

/system/core/toolbox/
Dcmp.c22 int limit = 0; in cmp_main() local
36 limit = atoi(optarg); in cmp_main()
79 if(limit) { in cmp_main()
80 limit--; in cmp_main()
81 if(limit == 0) in cmp_main()
/system/core/libutils/
Dprimes.py28 limit = (n - 1) / 2
30 while d <= limit:
/system/core/fastboot/
Dfastboot.c583 int64_t limit = 0; in get_target_sparse_limit() local
588 limit = strtoul(response, NULL, 0); in get_target_sparse_limit()
589 if (limit > 0) { in get_target_sparse_limit()
591 limit); in get_target_sparse_limit()
595 return limit; in get_target_sparse_limit()
600 int64_t limit; in get_sparse_limit() local
605 limit = sparse_limit; in get_sparse_limit()
611 limit = target_sparse_limit; in get_sparse_limit()
617 if (size > limit) { in get_sparse_limit()
618 return limit; in get_sparse_limit()
[all …]
/system/core/init/
Dutil.c411 size_t len = 0, limit = 1024; in get_hardware_name() local
423 x = realloc(data, limit); in get_hardware_name()
430 n = read(fd, data + len, limit - len); in get_hardware_name()
437 if (len < limit) in get_hardware_name()
441 limit *= 2; in get_hardware_name()
Dbuiltins.c626 struct rlimit limit; in do_setrlimit() local
629 limit.rlim_cur = atoi(args[2]); in do_setrlimit()
630 limit.rlim_max = atoi(args[3]); in do_setrlimit()
631 return setrlimit(resource, &limit); in do_setrlimit()
/system/core/rootdir/
Dinit.rc142 # qtaguid will limit access to specific data based on group memberships.