Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_limit.cpp96 static inline bool CheckLimit(size_t bytes) { in CheckLimit() function
116 if (__builtin_mul_overflow(n_elements, elem_size, &total) || !CheckLimit(total)) { in LimitCalloc()
138 if (!CheckLimit(bytes)) { in LimitMalloc()
150 if (!CheckLimit(bytes)) { in LimitMemalign()
163 if (!CheckLimit(size)) { in LimitPosixMemalign()
183 if (!CheckLimit(size)) { in LimitAlignedAlloc()
199 if (bytes > old_usable_size && !CheckLimit(bytes - old_usable_size)) { in LimitRealloc()
232 if (!CheckLimit(bytes)) { in LimitPvalloc()
244 if (!CheckLimit(bytes)) { in LimitValloc()