Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dmalloc_limit.h34 bool LimitEnable(void* arg, size_t arg_size);
Dmalloc_heapprofd.h47 bool HeapprofdMallopt(int optcode, void* arg, size_t arg_size);
Dmalloc_common_dynamic.cpp467 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() argument
469 if (arg != nullptr || arg_size != 0) { in android_mallopt()
477 return LimitEnable(arg, arg_size); in android_mallopt()
480 if (arg == nullptr || arg_size != sizeof(FILE*)) { in android_mallopt()
487 if (arg == nullptr || arg_size != sizeof(android_mallopt_leak_info_t)) { in android_mallopt()
494 if (arg == nullptr || arg_size != sizeof(android_mallopt_leak_info_t)) { in android_mallopt()
500 return HeapprofdMallopt(opcode, arg, arg_size); in android_mallopt()
Dmalloc_heapprofd.cpp359 bool HeapprofdMallopt(int opcode, void* arg, size_t arg_size) { in HeapprofdMallopt() argument
361 if (arg != nullptr || arg_size != 0) { in HeapprofdMallopt()
368 if (arg != nullptr || arg_size != 0) { in HeapprofdMallopt()
Dmalloc_common.cpp273 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size) { in android_mallopt() argument
275 return LimitEnable(arg, arg_size); in android_mallopt()
Dmalloc_limit.cpp304 bool LimitEnable(void* arg, size_t arg_size) { in LimitEnable() argument
305 if (arg == nullptr || arg_size != sizeof(size_t)) { in LimitEnable()
/bionic/libc/private/
Dbionic_malloc.h93 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size);