Lines Matching defs:func

192 static bool init_malloc_function(void* malloc_shared_library_handler, MallocMallocType* func, const char* prefix)
196 *func = (MallocMallocType)(dlsym(malloc_shared_library_handler, symbol));
197 if (*func == NULL) {
203 static bool init_free_function(void* malloc_shared_library_handler, MallocFreeType* func, const char* prefix)
207 *func = (MallocFreeType)(dlsym(malloc_shared_library_handler, symbol));
208 if (*func == NULL) {
214 static bool init_mmap_function(void* malloc_shared_library_handler, MallocMmapType* func, const char* prefix)
218 *func = (MallocMmapType)(dlsym(malloc_shared_library_handler, symbol));
219 if (*func == NULL) {
225 static bool init_munmap_function(void* malloc_shared_library_handler, MallocMunmapType* func, const char* prefix)
229 *func = (MallocMunmapType)(dlsym(malloc_shared_library_handler, symbol));
230 if (*func == NULL) {
236 static bool init_memtrace_function(void* malloc_shared_library_handler, MemTrace* func, const char* prefix)
240 *func = (MemTrace)(dlsym(malloc_shared_library_handler, symbol));
241 if (*func == NULL) {
247 static bool init_calloc_function(void* malloc_shared_library_handler, MallocCallocType* func, const char* prefix)
251 *func = (MallocCallocType)(dlsym(malloc_shared_library_handler, symbol));
252 if (*func == NULL) {
258 static bool init_realloc_function(void* malloc_shared_library_handler, MallocReallocType* func, const char* prefix)
262 *func = (MallocReallocType)(dlsym(malloc_shared_library_handler, symbol));
263 if (*func == NULL) {
269 static bool init_malloc_usable_size_function(void* malloc_shared_library_handler, MallocMallocUsableSizeType* func, const char* prefix)
273 *func = (MallocMallocUsableSizeType)(dlsym(malloc_shared_library_handler, symbol));
274 if (*func == NULL) {
280 static bool init_prctl_function(void* malloc_shared_library_handler, MallocPrctlType* func, const char* prefix)
284 *func = (MallocPrctlType)(dlsym(malloc_shared_library_handler, symbol));
285 if (*func == NULL) {
291 static bool init_aligned_alloc_function(void* malloc_shared_library_handler, MallocAlignedAllocType* func, const char* prefix)
295 *func = (MallocAlignedAllocType)(dlsym(malloc_shared_library_handler, symbol));
296 if (*func == NULL) {