Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_common_dynamic.cpp478 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() argument
480 if (arg != nullptr || arg_size != 0) { in android_mallopt()
488 if (arg != nullptr || arg_size != 0) { in android_mallopt()
498 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
509 return LimitEnable(arg, arg_size); in android_mallopt()
512 if (arg == nullptr || arg_size != sizeof(FILE*)) { in android_mallopt()
519 if (arg == nullptr || arg_size != sizeof(android_mallopt_leak_info_t)) { in android_mallopt()
526 if (arg == nullptr || arg_size != sizeof(android_mallopt_leak_info_t)) { in android_mallopt()
533 if (arg == nullptr || arg_size != sizeof(android_mallopt_gwp_asan_options_t)) { in android_mallopt()
541 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
[all …]
Dmalloc_common.cpp339 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() argument
341 return LimitEnable(arg, arg_size); in android_mallopt()
344 if (arg == nullptr || arg_size != sizeof(android_mallopt_gwp_asan_options_t)) { in android_mallopt()
352 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
360 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
Dmalloc_limit.h34 bool LimitEnable(void* arg, size_t arg_size);
Dmalloc_heapprofd.h45 bool HeapprofdMallopt(int optcode, void* arg, size_t arg_size);
Dmalloc_heapprofd.cpp479 bool HeapprofdMallopt(int opcode, void* arg, size_t arg_size) { in HeapprofdMallopt() argument
481 if (arg != nullptr || arg_size != 0) { in HeapprofdMallopt()
Dmalloc_limit.cpp307 bool LimitEnable(void* arg, size_t arg_size) { in LimitEnable() argument
308 if (arg == nullptr || arg_size != sizeof(size_t)) { in LimitEnable()
/bionic/libc/platform/bionic/
Dmalloc.h188 extern "C" bool android_mallopt(int opcode, void* _Nullable arg, size_t arg_size);