Searched refs:limit (Results 1 - 5 of 5) sorted by relevance

/system/core/libutils/
H A Dprimes.py28 limit = (n - 1) / 2
30 while d <= limit:
/system/core/toolbox/
H A Dcmp.c22 int limit = 0; local
36 limit = atoi(optarg);
79 if(limit) {
80 limit--;
81 if(limit == 0)
/system/core/sh/
H A Dmiscbltin.c348 struct rlimit limit; local
395 getrlimit(l->cmd, &limit);
397 val = limit.rlim_cur;
399 val = limit.rlim_max;
417 getrlimit(l->cmd, &limit);
420 limit.rlim_max = val;
422 limit.rlim_cur = val;
423 if (setrlimit(l->cmd, &limit) < 0)
424 error("error setting limit (%s)", strerror(errno));
427 val = limit
[all...]
/system/core/fastboot/
H A Dfastboot.c571 int64_t limit = 0; local
576 limit = strtoul(response, NULL, 0);
577 if (limit > 0) {
579 limit);
583 return limit;
588 int64_t limit; local
593 limit = sparse_limit;
599 limit = target_sparse_limit;
605 if (size > limit) {
606 return limit;
629 int64_t limit; local
[all...]
/system/core/init/
H A Dbuiltins.c576 struct rlimit limit; local
579 limit.rlim_cur = atoi(args[2]);
580 limit.rlim_max = atoi(args[3]);
581 return setrlimit(resource, &limit);

Completed in 141 milliseconds