Home
last modified time | relevance | path

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

123

/system/core/init/
Drlimit_parser.cpp73 rlimit limit; in ParseRlimit() local
75 limit.rlim_cur = RLIM_INFINITY; in ParseRlimit()
76 } else if (!ParseUint(args[2], &limit.rlim_cur)) { in ParseRlimit()
81 limit.rlim_max = RLIM_INFINITY; in ParseRlimit()
82 } else if (!ParseUint(args[3], &limit.rlim_max)) { in ParseRlimit()
86 return std::pair{resource, limit}; in ParseRlimit()
/system/memory/libmemunreachable/include/memunreachable/
Dmemunreachable.h77 bool GetUnreachableMemory(UnreachableMemoryInfo& info, size_t limit = 100);
79 std::string GetUnreachableMemoryString(bool log_contents = false, size_t limit = 100);
87 bool LogUnreachableMemory(bool log_contents, size_t limit);
/system/libhidl/base/
DSynchronizedQueue.h32 SynchronizedQueue(size_t limit);
68 SynchronizedQueue<T>::SynchronizedQueue(size_t limit) : mQueueLimit(limit) { in SynchronizedQueue() argument
DTaskRunner.cpp31 void TaskRunner::start(size_t limit) { in start() argument
32 mQueue = std::make_shared<SynchronizedQueue<Task>>(limit); in start()
/system/media/audio_utils/fuzz/monoblend_fuzzer/
Dmonoblend_fuzzer.cpp46 bool limit = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput() local
53 mono_blend((void *) buf, format, channelCount, frames, limit); in LLVMFuzzerTestOneInput()
/system/media/audio_utils/
Dmono_blend.cpp23 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend() argument
51 if (limit && channelCount == 2) { in mono_blend()
Dpower.cpp203 const size_t limit = size - size % N; in energyMonoVector() local
204 for (i = 0; i < limit; i += N) { in energyMonoVector()
/system/memory/libmemunreachable/
DMemUnreachable.cpp60 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks,
137 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory() argument
209 if (leaks.size() > limit) { in GetUnreachableMemory()
210 leaks.resize(limit); in GetUnreachableMemory()
294 bool GetUnreachableMemory(UnreachableMemoryInfo& info, size_t limit) { in GetUnreachableMemory() argument
394 bool ok = unreachable.GetUnreachableMemory(leaks, limit, &num_leaks, &leak_bytes); in GetUnreachableMemory()
565 std::string GetUnreachableMemoryString(bool log_contents, size_t limit) { in GetUnreachableMemoryString() argument
567 if (!GetUnreachableMemory(info, limit)) { in GetUnreachableMemoryString()
579 bool LogUnreachableMemory(bool log_contents, size_t limit) { in LogUnreachableMemory() argument
581 if (!android::GetUnreachableMemory(info, limit)) { in LogUnreachableMemory()
DREADME.md112 #### `bool LogUnreachableMemory(bool log_contents, size_t limit)` ####
113 …y to the log. A summary is always written, followed by details of up to `limit` leaks. If `log_c…
121 #### `bool GetUnreachableMemory(UnreachableMemoryInfo& info, size_t limit = 100)` ####
122 …MemoryInfo` object with information on leaks, including details on up to `limit` leaks. Returns t…
124 #### `std::string GetUnreachableMemoryString(bool log_contents = false, size_t limit = 100)` ####
125 …eaked memory. A summary is always written, followed by details of up to `limit` leaks. If `log_c…
DHeapWalker.cpp162 bool HeapWalker::Leaked(allocator::vector<Range>& leaked, size_t limit, size_t* num_leaks_out, in Leaked() argument
178 if (n++ < limit) { in Leaked()
/system/media/audio_utils/include/audio_utils/
Dmono_blend.h44 bool limit = false);
/system/libhidl/base/include/hidl/
DTaskRunner.h55 void start(size_t limit);
/system/extras/iotop/
Diotop.cpp106 int limit = -1; in main() local
138 limit = atoi(optarg); in main()
235 int n = limit; in main()
/system/logging/logd/libaudit/include/
Dlibaudit.h101 extern int audit_rate_limit(int fd, uint32_t limit);
/system/logging/logd/libaudit/
Dlibaudit.cpp160 int audit_rate_limit(int fd, uint32_t limit) { in audit_rate_limit() argument
162 .mask = AUDIT_STATUS_RATE_LIMIT, .rate_limit = limit, /* audit entries per second */ in audit_rate_limit()
/system/sepolicy/private/
Dmm_events.te8 # Allow running the sleep command to rate limit attempts
/system/core/storaged/
DREADME.properties5 ro.storaged.uid_io.threshold # Per UID IO usage limit, in bytes
/system/libsysprop/srcs/android/sysprop/
DCarProperties.sysprop27 # Max length limit is 4. Chars exceeding length limit will be truncated.
DMediaProperties.sysprop50 prop_name: "media.resolution.limit.32bit"
/system/sepolicy/vendor/
Dvndservicemanager.te8 # transfer binder objects to other processes (TODO b/35870313 limit this to vendor-only)
/system/security/keystore2/
Dkeystore2.rc14 # The default memlock limit of 65536 bytes is too low for keystore.
/system/extras/simpleperf/
Denvironment.cpp848 rlimit limit; in AllowMoreOpenedFiles() local
849 if (getrlimit(RLIMIT_NOFILE, &limit) != 0) { in AllowMoreOpenedFiles()
852 rlim_t new_limit = limit.rlim_max; in AllowMoreOpenedFiles()
860 if (limit.rlim_cur < new_limit) { in AllowMoreOpenedFiles()
861 limit.rlim_cur = limit.rlim_max = new_limit; in AllowMoreOpenedFiles()
862 if (setrlimit(RLIMIT_NOFILE, &limit) == 0) { in AllowMoreOpenedFiles()
/system/core/trusty/gatekeeper/
DAndroid.bp18 // named (liblights.panda), and must build everywhere, or limit themselves
/system/core/fastboot/
Dtask.cpp124 if (int limit = get_sparse_limit(super_size_, fp_)) { in Run() local
125 files = resparse_file(sparse_layout_.get(), limit); in Run()
Dfastboot.cpp1023 int64_t limit = int64_t(fp->sparse_limit); in get_sparse_limit() local
1024 if (limit == 0) { in get_sparse_limit()
1031 limit = target_sparse_limit; in get_sparse_limit()
1037 if (size > limit) { in get_sparse_limit()
1038 return std::min(limit, RESPARSE_LIMIT); in get_sparse_limit()
1064 int64_t limit = get_sparse_limit(sz, fp); in load_buf_fd() local
1066 if (limit) { in load_buf_fd()
1067 buf->files = load_sparse_files(buf->fd.get(), limit); in load_buf_fd()
2017 unsigned int limit = INT_MAX; in fb_perform_format() local
2018 if (target_sparse_limit > 0 && target_sparse_limit < limit) { in fb_perform_format()
[all …]

123