Searched refs:dispatch_table (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/bionic/ |
D | malloc_limit.cpp | 121 auto dispatch_table = GetDefaultDispatchTable(); in LimitCalloc() local 122 if (__predict_false(dispatch_table != nullptr)) { in LimitCalloc() 123 return IncrementLimit(dispatch_table->calloc(n_elements, elem_size)); in LimitCalloc() 130 auto dispatch_table = GetDefaultDispatchTable(); in LimitFree() local 131 if (__predict_false(dispatch_table != nullptr)) { in LimitFree() 132 return dispatch_table->free(mem); in LimitFree() 142 auto dispatch_table = GetDefaultDispatchTable(); in LimitMalloc() local 143 if (__predict_false(dispatch_table != nullptr)) { in LimitMalloc() 144 return IncrementLimit(dispatch_table->malloc(bytes)); in LimitMalloc() 155 auto dispatch_table = GetDefaultDispatchTable(); in LimitMemalign() local [all …]
|
D | malloc_common.cpp | 65 auto dispatch_table = GetDispatchTable(); in calloc() local 66 if (__predict_false(dispatch_table != nullptr)) { in calloc() 67 return MaybeTagPointer(dispatch_table->calloc(n_elements, elem_size)); in calloc() 77 auto dispatch_table = GetDispatchTable(); in free() local 79 if (__predict_false(dispatch_table != nullptr)) { in free() 80 dispatch_table->free(mem); in free() 87 auto dispatch_table = GetDispatchTable(); in mallinfo() local 88 if (__predict_false(dispatch_table != nullptr)) { in mallinfo() 89 return dispatch_table->mallinfo(); in mallinfo() 95 auto dispatch_table = GetDispatchTable(); in malloc_info() local [all …]
|
D | malloc_common_dynamic.h | 39 MallocDispatch* dispatch_table); 41 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table);
|
D | malloc_common_dynamic.cpp | 253 …ry(void* impl_handle, const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table) { in InitSharedLibrary() argument 273 if (!InitMallocFunctions(impl_handle, dispatch_table, prefix)) { in InitSharedLibrary() 282 void* LoadSharedLibrary(const char* shared_lib, const char* prefix, MallocDispatch* dispatch_table)… in LoadSharedLibrary() argument 312 if (!InitSharedLibrary(impl_handle, shared_lib, prefix, dispatch_table)) { in LoadSharedLibrary()
|