Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_common_dynamic.cpp474 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() argument
476 if (arg != nullptr || arg_size != 0) { in android_mallopt()
484 if (arg != nullptr || arg_size != 0) { in android_mallopt()
494 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
505 return LimitEnable(arg, arg_size); in android_mallopt()
508 if (arg == nullptr || arg_size != sizeof(FILE*)) { in android_mallopt()
515 if (arg == nullptr || arg_size != sizeof(android_mallopt_leak_info_t)) { in android_mallopt()
522 if (arg == nullptr || arg_size != sizeof(android_mallopt_leak_info_t)) { in android_mallopt()
529 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
538 return HeapprofdMallopt(opcode, arg, arg_size); 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_common.cpp324 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() argument
326 return LimitEnable(arg, arg_size); in android_mallopt()
329 if (arg == nullptr || arg_size != sizeof(bool)) { in android_mallopt()
Dmalloc_heapprofd.cpp457 bool HeapprofdMallopt(int opcode, void* arg, size_t arg_size) { in HeapprofdMallopt() argument
459 if (arg != nullptr || arg_size != 0) { in HeapprofdMallopt()
Dmalloc_limit.cpp306 bool LimitEnable(void* arg, size_t arg_size) { in LimitEnable() argument
307 if (arg == nullptr || arg_size != sizeof(size_t)) { in LimitEnable()
/bionic/libc/platform/bionic/
Dmalloc.h109 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size);