Home
last modified time | relevance | path

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

1234

/third_party/node/deps/v8/third_party/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.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/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/node/deps/openssl/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/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()
/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/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/node/deps/openssl/openssl/include/openssl/
Dengine.h742 dyn_MEM_malloc_fn malloc_fn; member
801 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, \
/third_party/node/deps/v8/src/utils/
Dallocation.cc146 void* AllocWithRetry(size_t size, MallocFn malloc_fn) { in AllocWithRetry() argument
149 result = malloc_fn(size); in AllocWithRetry()
/third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/
Dcrypto.h337 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
340 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
/third_party/node/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/
Dcrypto.h337 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
340 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/include/openssl/
Dcrypto.h337 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
340 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
/third_party/node/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/
Dcrypto.h337 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
340 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
/third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/
Dcrypto.h337 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
340 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,

1234