Home
last modified time | relevance | path

Searched refs:malloc_fn (Results 1 – 25 of 27) sorted by relevance

12

/external/libpng/
Dpngmem.c90 if (png_ptr != NULL && png_ptr->malloc_fn != NULL)
91 return png_ptr->malloc_fn(png_constcast(png_structrp,png_ptr), size);
261 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn()
266 png_ptr->malloc_fn = malloc_fn; in png_set_mem_fn()
Dpngstruct.h411 png_malloc_ptr malloc_fn; /* function for allocating memory */ member
Dpng.h1007 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1012 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1637 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
Dpng.c252 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
287 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn);
290 PNG_UNUSED(malloc_fn)
Dpngwrite.c513 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
516 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dpngread.c43 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
46 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dpngpriv.h1026 png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn,
/external/pdfium/third_party/libpng16/
Dpngmem.c93 if (png_ptr != NULL && png_ptr->malloc_fn != NULL)
94 return png_ptr->malloc_fn(png_constcast(png_structrp,png_ptr), size);
264 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn()
269 png_ptr->malloc_fn = malloc_fn; in png_set_mem_fn()
Dpngstruct.h411 png_malloc_ptr malloc_fn; /* function for allocating memory */ member
Dpng.h1011 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1016 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1641 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
Dpng.c232 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
267 png_set_mem_fn(&create_struct, mem_ptr, malloc_fn, free_fn);
270 PNG_UNUSED(malloc_fn)
Dpngwrite.c502 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
505 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dpngread.c43 png_malloc_ptr malloc_fn, png_free_ptr free_fn),PNG_ALLOCATED)
46 error_fn, warn_fn, mem_ptr, malloc_fn, free_fn);
Dpngpriv.h952 png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn,
/external/grpc-grpc/src/core/lib/gpr/
Dalloc.cc44 GPR_ASSERT(functions.malloc_fn != nullptr); in gpr_set_allocation_functions()
57 p = g_alloc_functions.malloc_fn(size); in gpr_malloc()
/external/grpc-grpc/include/grpc/support/
Dalloc.h31 void* (*malloc_fn)(size_t size); member
/external/tensorflow/tensorflow/contrib/mpi/
Dmpi_server_lib.cc103 alloc_fns.malloc_fn = port::Malloc; in MPIServerRegistrar()
/external/grpc-grpc/test/core/util/
Dmemory_counters.cc51 ptr = static_cast<size_t*>(g_old_allocs.malloc_fn(size + sizeof(size))); in guard_malloc()
/external/tensorflow/tensorflow/contrib/gdr/
Dgdr_server_lib.cc145 alloc_fns.malloc_fn = port::Malloc; in GdrServerRegistrar()
/external/tensorflow/tensorflow/contrib/verbs/
Dverbs_server_lib.cc164 alloc_fns.malloc_fn = port::Malloc; in VerbsServerRegistrar()
/external/libevent/include/event2/
Devent.h1543 void *(*malloc_fn)(size_t sz),
/external/iperf3/src/
Dcjson.h82 void *(*malloc_fn)(size_t sz); member
Dcjson.c149 if (hooks->malloc_fn != NULL) in cJSON_InitHooks()
151 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.cc479 alloc_fns.malloc_fn = port::Malloc; in GrpcServerRegistrar()
/external/libevent/
Devent.c3520 event_set_mem_functions(void *(*malloc_fn)(size_t sz), in event_set_mem_functions()
3524 mm_malloc_fn_ = malloc_fn; in event_set_mem_functions()

12