Home
last modified time | relevance | path

Searched refs:free_fn (Results 1 – 25 of 40) sorted by relevance

12

/external/angle/third_party/zlib/google/
Dcompression_utils_portable.cc67 void (*free_fn)(void*)) { in GzipCompressHelper()
69 Z_DEFAULT_COMPRESSION, malloc_fn, free_fn); in GzipCompressHelper()
86 void (*free_fn)(void*)) { in CompressHelper()
105 void (*free_fn)(void*); in CompressHelper() member
106 } malloc_free = {malloc_fn, free_fn}; in CompressHelper()
109 if (!free_fn) in CompressHelper()
117 return reinterpret_cast<MallocFreeFunctions*>(opaque)->free_fn(address); in CompressHelper()
Dcompression_utils_portable.h39 void (*free_fn)(void*));
48 void (*free_fn)(void*));
Dcompression_utils.cc21 void (*free_fn)(void*)) { in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
Dcompression_utils.h26 void (*free_fn)(void*));
/external/zlib/google/
Dcompression_utils_portable.cc67 void (*free_fn)(void*)) { in GzipCompressHelper()
69 Z_DEFAULT_COMPRESSION, malloc_fn, free_fn); in GzipCompressHelper()
86 void (*free_fn)(void*)) { in CompressHelper()
105 void (*free_fn)(void*); in CompressHelper() member
106 } malloc_free = {malloc_fn, free_fn}; in CompressHelper()
109 if (!free_fn) in CompressHelper()
117 return reinterpret_cast<MallocFreeFunctions*>(opaque)->free_fn(address); in CompressHelper()
Dcompression_utils_portable.h39 void (*free_fn)(void*));
48 void (*free_fn)(void*));
Dcompression_utils.cc21 void (*free_fn)(void*)) { in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
Dcompression_utils.h26 void (*free_fn)(void*));
/external/pdfium/third_party/libpng16/
Dpngmem.c241 if (png_ptr->free_fn != NULL) in png_free()
242 png_ptr->free_fn(png_constcast(png_structrp,png_ptr), ptr); in png_free()
264 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn() argument
270 png_ptr->free_fn = free_fn; in png_set_mem_fn()
Dpngstruct.h418 png_free_ptr free_fn; /* function for freeing memory */ member
Dpng.h976 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
981 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1606 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);
291 PNG_UNUSED(free_fn)
/external/libpng/
Dpngmem.c238 if (png_ptr->free_fn != NULL) in png_free()
239 png_ptr->free_fn(png_constcast(png_structrp,png_ptr), ptr); in png_free()
261 malloc_fn, png_free_ptr free_fn) in png_set_mem_fn() argument
267 png_ptr->free_fn = free_fn; in png_set_mem_fn()
Dpngstruct.h418 png_free_ptr free_fn; /* function for freeing memory */ member
Dpng.h976 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
981 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1606 png_malloc_ptr malloc_fn, png_free_ptr free_fn));
/external/grpc-grpc/src/core/lib/gpr/
Dalloc.cc46 GPR_ASSERT(functions.free_fn != nullptr); in gpr_set_allocation_functions()
77 g_alloc_functions.free_fn(p); in gpr_free()
/external/perfetto/src/profiling/memory/
Dheap_profile_internal.h39 void (*_Nonnull free_fn)(void* _Nullable));
Dclient_api.cc475 void (*free_fn)(void*)) { in AHeapProfile_initSession()
512 free_fn); in AHeapProfile_initSession()
/external/strace/
Dmmap_cache.h37 void (*free_fn)(struct tcb *, const char *caller); member
Dmmap_cache.c116 .free_fn = delete_mmap_cache, in mmap_cache_rebuild_if_invalid()
/external/grpc-grpc/include/grpc/support/
Dalloc.h34 void (*free_fn)(void* ptr); member
/external/grpc-grpc/test/core/util/
Dmemory_counters.cc81 g_old_allocs.free_fn(ptr); in guard_free()
/external/tensorflow/tensorflow/core/kernels/
Dxsmm_conv2d.cc158 libxsmm_free_function free_fn; in libxsmm_dnn_registry_type() local
160 free_fn.function = libxsmm_tf_scratch_allocator::free; in libxsmm_dnn_registry_type()
161 libxsmm_set_scratch_allocator(0 /*context*/, malloc_fn, free_fn); in libxsmm_dnn_registry_type()
/external/libevent/include/event2/
Devent.h1542 void (*free_fn)(void *ptr));
/external/iperf3/src/
Dcjson.h134 void (CJSON_CDECL *free_fn)(void *ptr);

12