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/sh/
Dmiscbltin.c348 struct rlimit limit; in ulimitcmd() local
395 getrlimit(l->cmd, &limit); in ulimitcmd()
397 val = limit.rlim_cur; in ulimitcmd()
399 val = limit.rlim_max; in ulimitcmd()
417 getrlimit(l->cmd, &limit); in ulimitcmd()
420 limit.rlim_max = val; in ulimitcmd()
422 limit.rlim_cur = val; in ulimitcmd()
423 if (setrlimit(l->cmd, &limit) < 0) in ulimitcmd()
427 val = limit.rlim_cur; in ulimitcmd()
429 val = limit.rlim_max; in ulimitcmd()
/system/core/libutils/
Dprimes.py28 limit = (n - 1) / 2
30 while d <= limit:
/system/core/fastboot/
Dfastboot.c571 int64_t limit = 0; in get_target_sparse_limit() local
576 limit = strtoul(response, NULL, 0); in get_target_sparse_limit()
577 if (limit > 0) { in get_target_sparse_limit()
579 limit); in get_target_sparse_limit()
583 return limit; in get_target_sparse_limit()
588 int64_t limit; in get_sparse_limit() local
593 limit = sparse_limit; in get_sparse_limit()
599 limit = target_sparse_limit; in get_sparse_limit()
605 if (size > limit) { in get_sparse_limit()
606 return limit; in get_sparse_limit()
[all …]
/system/core/init/
Dbuiltins.c576 struct rlimit limit; in do_setrlimit() local
579 limit.rlim_cur = atoi(args[2]); in do_setrlimit()
580 limit.rlim_max = atoi(args[3]); in do_setrlimit()
581 return setrlimit(resource, &limit); in do_setrlimit()
/system/core/rootdir/
Dinit.rc125 # qtaguid will limit access to specific data based on group memberships.