Home
last modified time | relevance | path

Searched refs:malloc_fn (Results 1 - 25 of 86) sorted by relevance

1234

/third_party/node/deps/v8/third_party/zlib/google/
H A 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()
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()
62 GzipCompressHelper(Bytef* dest, uLongf* dest_length, const Bytef* source, uLong source_length, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) GzipCompressHelper() argument
79 CompressHelper(WrapperType wrapper_type, Bytef* dest, uLongf* dest_length, const Bytef* source, uLong source_length, int compression_level, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) CompressHelper() argument
H A Dcompression_utils_portable.h38 void* (*malloc_fn)(size_t),
47 void* (*malloc_fn)(size_t),
H A Dcompression_utils.cc20 void* (*malloc_fn)(size_t), in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
16 GzipCompress(base::span<const char> input, char* output_buffer, size_t output_buffer_size, size_t* compressed_size, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) GzipCompress() argument
H A Dcompression_utils.h18 // |malloc_fn| and |free_fn| are pointers to malloc() and free()-like functions,
25 void* (*malloc_fn)(size_t),
/third_party/node/deps/zlib/google/
H A 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()
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()
62 GzipCompressHelper(Bytef* dest, uLongf* dest_length, const Bytef* source, uLong source_length, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) GzipCompressHelper() argument
79 CompressHelper(WrapperType wrapper_type, Bytef* dest, uLongf* dest_length, const Bytef* source, uLong source_length, int compression_level, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) CompressHelper() argument
H A Dcompression_utils_portable.h38 void* (*malloc_fn)(size_t),
47 void* (*malloc_fn)(size_t),
H A Dcompression_utils.cc19 void* (*malloc_fn)(size_t), in GzipCompress()
28 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
15 GzipCompress(base::span<const char> input, char* output_buffer, size_t output_buffer_size, size_t* compressed_size, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) GzipCompress() argument
H A Dcompression_utils.h18 // |malloc_fn| and |free_fn| are pointers to malloc() and free()-like functions,
25 void* (*malloc_fn)(size_t),
/third_party/skia/third_party/externals/zlib/google/
H A 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()
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()
62 GzipCompressHelper(Bytef* dest, uLongf* dest_length, const Bytef* source, uLong source_length, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) GzipCompressHelper() argument
79 CompressHelper(WrapperType wrapper_type, Bytef* dest, uLongf* dest_length, const Bytef* source, uLong source_length, int compression_level, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) CompressHelper() argument
H A Dcompression_utils_portable.h38 void* (*malloc_fn)(size_t),
47 void* (*malloc_fn)(size_t),
H A Dcompression_utils.cc20 void* (*malloc_fn)(size_t), in GzipCompress()
29 static_cast<uLongf>(input.size()), malloc_fn, free_fn) != Z_OK) { in GzipCompress()
16 GzipCompress(base::span<const char> input, char* output_buffer, size_t output_buffer_size, size_t* compressed_size, void* (*malloc_fn)(size_t), void (*free_fn)(void*)) GzipCompress() argument
H A Dcompression_utils.h18 // |malloc_fn| and |free_fn| are pointers to malloc() and free()-like functions,
25 void* (*malloc_fn)(size_t),
/third_party/node/deps/openssl/openssl/crypto/
H A 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/openssl/crypto/
H A 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/
H A Dpngmem.c90 if (png_ptr != NULL && png_ptr->malloc_fn != NULL) in PNG_FUNCTION()
91 return png_ptr->malloc_fn(png_constcast(png_structrp,png_ptr), size); in PNG_FUNCTION()
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()
260 png_set_mem_fn(png_structrp png_ptr, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn) png_set_mem_fn() argument
/third_party/node/deps/v8/src/utils/
H A 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/openssl/include/openssl/
H A Dengine.h742 dyn_MEM_malloc_fn malloc_fn; member
801 CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
/third_party/openssl/include/openssl/
H A Dengine.h742 dyn_MEM_malloc_fn malloc_fn; member
801 CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
/third_party/openssl/ohos_lite/include/openssl/
H A Dengine.h663 dyn_MEM_malloc_fn malloc_fn; member
722 CRYPTO_set_mem_functions(fns->mem_fns.malloc_fn, \
/third_party/node/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/
H A 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/darwin64-arm64-cc/no-asm/include/openssl/
H A 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/no-asm/include/openssl/
H A 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-elf/asm/include/openssl/
H A 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/darwin64-x86_64-cc/no-asm/include/openssl/
H A 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/darwin64-arm64-cc/asm/include/openssl/
H A Dcrypto.h337 int CRYPTO_set_mem_functions(CRYPTO_malloc_fn malloc_fn,
340 void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,

Completed in 16 milliseconds

1234