Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/zlib/google/
Dcompression_utils_portable.cc66 void* (*malloc_fn)(size_t), in GzipCompressHelper()
69 Z_DEFAULT_COMPRESSION, malloc_fn, free_fn); in GzipCompressHelper()
85 void* (*malloc_fn)(size_t), in CompressHelper()
104 void* (*malloc_fn)(size_t); in CompressHelper() member
106 } malloc_free = {malloc_fn, free_fn}; in CompressHelper()
108 if (malloc_fn) { in CompressHelper()
113 return reinterpret_cast<MallocFreeFunctions*>(opaque)->malloc_fn(items * in CompressHelper()
Dcompression_utils_portable.h38 void* (*malloc_fn)(size_t),
47 void* (*malloc_fn)(size_t),
Dcompression_utils.cc20 void* (*malloc_fn)(size_t), in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
Dcompression_utils.h25 void* (*malloc_fn)(size_t),
/third_party/node/deps/zlib/google/
Dcompression_utils_portable.cc66 void* (*malloc_fn)(size_t), in GzipCompressHelper()
69 Z_DEFAULT_COMPRESSION, malloc_fn, free_fn); in GzipCompressHelper()
85 void* (*malloc_fn)(size_t), in CompressHelper()
104 void* (*malloc_fn)(size_t); in CompressHelper() member
106 } malloc_free = {malloc_fn, free_fn}; in CompressHelper()
108 if (malloc_fn) { in CompressHelper()
113 return reinterpret_cast<MallocFreeFunctions*>(opaque)->malloc_fn(items * in CompressHelper()
Dcompression_utils_portable.h34 void* (*malloc_fn)(size_t),
43 void* (*malloc_fn)(size_t),
Dcompression_utils.cc21 void* (*malloc_fn)(size_t), in GzipCompress()
30 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
Dcompression_utils.h25 void* (*malloc_fn)(size_t),
/third_party/flutter/skia/third_party/externals/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.h417 png_malloc_ptr malloc_fn; /* function for allocating 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);
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);
/third_party/skia/third_party/externals/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.h417 png_malloc_ptr malloc_fn; /* function for allocating 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);
290 PNG_UNUSED(malloc_fn)
/third_party/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.h417 png_malloc_ptr malloc_fn; /* function for allocating 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);
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);
/third_party/openssl/include/openssl/
Dengine.h663 dyn_MEM_malloc_fn malloc_fn; member
722 CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
/third_party/cJSON/
DcJSON.h128 void *(CJSON_CDECL *malloc_fn)(size_t sz);
/third_party/openssl/crypto/engine/
Deng_dyn.c471 CRYPTO_get_mem_functions(&fns.mem_fns.malloc_fn, &fns.mem_fns.realloc_fn, in dynamic_load()

12