Home
last modified time | relevance | path

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

12

/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/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/openssl/crypto/
Dmem.c57 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn, in CRYPTO_set_mem_functions() argument
63 if (malloc_fn != NULL) in CRYPTO_set_mem_functions()
64 malloc_impl = malloc_fn; in CRYPTO_set_mem_functions()
72 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn, in CRYPTO_get_mem_functions() argument
76 if (malloc_fn != NULL) in CRYPTO_get_mem_functions()
77 *malloc_fn = malloc_impl; in CRYPTO_get_mem_functions()
/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)
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/doc/man3/
DOPENSSL_malloc.pod57 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
60 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
126 If any of B<malloc_fn>, B<realloc_fn>, or B<free_fn> are NULL, then
/third_party/openssl/ohos_lite/include/openssl/
Dengine.h663 dyn_MEM_malloc_fn malloc_fn; member
722 CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
/third_party/openssl/include/openssl/
Dengine.h742 dyn_MEM_malloc_fn malloc_fn; member
801 CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
Dcrypto.h.in314 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
317 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
/third_party/openssl/crypto/engine/
Deng_dyn.c498 CRYPTO_get_mem_functions(&fns.mem_fns.malloc_fn, &fns.mem_fns.realloc_fn, in dynamic_load()
/third_party/cJSON/
DcJSON.h128 void *(CJSON_CDECL *malloc_fn)(size_t sz);

12