Searched refs:arg_size (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_common_dynamic.cpp | 474 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()
|
D | malloc_limit.h | 34 bool LimitEnable(void* arg, size_t arg_size);
|
D | malloc_heapprofd.h | 45 bool HeapprofdMallopt(int optcode, void* arg, size_t arg_size);
|
D | malloc_common.cpp | 324 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()
|
D | malloc_heapprofd.cpp | 457 bool HeapprofdMallopt(int opcode, void* arg, size_t arg_size) { in HeapprofdMallopt() argument 459 if (arg != nullptr || arg_size != 0) { in HeapprofdMallopt()
|
D | malloc_limit.cpp | 306 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/ |
D | malloc.h | 109 extern "C" bool android_mallopt(int opcode, void* arg, size_t arg_size);
|