Home
last modified time | relevance | path

Searched refs:malloc_func (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/wuffs/src/internal/cgen/base/
H A Dmemory-public.h33 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8()
34 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8()
35 void* p = (*malloc_func)(num_u8 * sizeof(uint8_t)); in wuffs_base__malloc_slice_u8()
44 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16()
45 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16()
46 void* p = (*malloc_func)(num_u16 * sizeof(uint16_t)); in wuffs_base__malloc_slice_u16()
55 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32()
56 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32()
57 void* p = (*malloc_func)(num_u32 * sizeof(uint32_t)); in wuffs_base__malloc_slice_u32()
67 if (malloc_func && (num_u64 <= (SIZE_MAX / sizeof(uint64_t)))) { in wuffs_base__malloc_slice_u64()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/wuffs/src/internal/cgen/base/
H A Dmemory-public.h33 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8()
34 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8()
35 void* p = (*malloc_func)(num_u8 * sizeof(uint8_t)); in wuffs_base__malloc_slice_u8()
44 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16()
45 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16()
46 void* p = (*malloc_func)(num_u16 * sizeof(uint16_t)); in wuffs_base__malloc_slice_u16()
55 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32()
56 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32()
57 void* p = (*malloc_func)(num_u32 * sizeof(uint32_t)); in wuffs_base__malloc_slice_u32()
67 if (malloc_func && (num_u64 <= (SIZE_MAX / sizeof(uint64_t)))) { in wuffs_base__malloc_slice_u64()
[all …]
/dports/databases/cassandra-cpp-driver/cpp-driver-2.16.0/src/
H A Dmemory.cpp29 void cass_alloc_set_functions(CassMallocFunction malloc_func, CassReallocFunction realloc_func, in cass_alloc_set_functions() argument
31 Memory::set_functions(malloc_func, realloc_func, free_func); in cass_alloc_set_functions()
72 void Memory::set_functions(CassMallocFunction malloc_func, CassReallocFunction realloc_func, in set_functions() argument
74 if (malloc_func == NULL || realloc_func == NULL || free_func == NULL) { in set_functions()
79 Memory::malloc_func_ = malloc_func; in set_functions()
/dports/science/code_saturne/code_saturne-7.1.0/libple/src/
H A Dple_defs.c557 ple_mem_functions_get(ple_mem_malloc_t **malloc_func, in ple_mem_functions_get() argument
561 if (malloc_func != NULL) in ple_mem_functions_get()
562 *malloc_func = _ple_mem_malloc; in ple_mem_functions_get()
583 ple_mem_functions_set(ple_mem_malloc_t *malloc_func, in ple_mem_functions_set() argument
587 if (malloc_func != NULL) in ple_mem_functions_set()
588 _ple_mem_malloc = malloc_func; in ple_mem_functions_set()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/q68/
H A Dq68.c79 Q68State *q68_create_ex(void *(*malloc_func)(size_t size), in q68_create_ex()
85 state = (*malloc_func)(sizeof(*state)); in q68_create_ex()
89 state->malloc_func = malloc_func; in q68_create_ex()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/2D/Source/GR/
H A Dgrmalloc.c43 void gr_set_malloc (void *(*malloc_func)(int bytes)) in gr_set_malloc()
45 gr_malloc = malloc_func; in gr_set_malloc()
/dports/www/firefox-esr/firefox-91.8.0/media/libogg/src/
H A Dogg_alloc.c22 ogg_set_mem_functions(ogg_malloc_function_type *malloc_func, in ogg_set_mem_functions() argument
27 ogg_malloc_func = malloc_func; in ogg_set_mem_functions()
/dports/www/firefox/firefox-99.0/media/libogg/src/
H A Dogg_alloc.c22 ogg_set_mem_functions(ogg_malloc_function_type *malloc_func, in ogg_set_mem_functions() argument
27 ogg_malloc_func = malloc_func; in ogg_set_mem_functions()
/dports/lang/spidermonkey60/firefox-60.9.0/media/libogg/src/
H A Dogg_alloc.c22 ogg_set_mem_functions(ogg_malloc_function_type *malloc_func, in ogg_set_mem_functions() argument
27 ogg_malloc_func = malloc_func; in ogg_set_mem_functions()
/dports/www/firefox-legacy/firefox-52.8.0esr/media/libogg/src/
H A Dogg_alloc.c22 ogg_set_mem_functions(ogg_malloc_function_type *malloc_func, in ogg_set_mem_functions() argument
27 ogg_malloc_func = malloc_func; in ogg_set_mem_functions()
/dports/mail/thunderbird/thunderbird-91.8.0/media/libogg/src/
H A Dogg_alloc.c22 ogg_set_mem_functions(ogg_malloc_function_type *malloc_func, in ogg_set_mem_functions() argument
27 ogg_malloc_func = malloc_func; in ogg_set_mem_functions()
/dports/lang/spidermonkey78/firefox-78.9.0/media/libogg/src/
H A Dogg_alloc.c22 ogg_set_mem_functions(ogg_malloc_function_type *malloc_func, in ogg_set_mem_functions() argument
27 ogg_malloc_func = malloc_func; in ogg_set_mem_functions()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nasm/config/
H A Dunconfig.h150 #ifndef malloc_func
152 # define malloc_func __attribute__((malloc)) macro
154 # define malloc_func macro
/dports/devel/nasm/nasm-2.15.05/config/
H A Dunconfig.h150 #ifndef malloc_func
152 # define malloc_func __attribute__((malloc)) macro
154 # define malloc_func macro
/dports/math/jags/JAGS-4.3.0/src/modules/glm/SSparse/config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-graphblas/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-config/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-klu/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-amd/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-ldl/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-rbio/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-mongoose/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-colamd/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-cholmod/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()
/dports/math/suitesparse-camd/SuiteSparse-5.10.1/SuiteSparse_config/
H A DSuiteSparse_config.c111 SuiteSparse_config.malloc_func = mxMalloc ; in SuiteSparse_start()
117 SuiteSparse_config.malloc_func = malloc ; in SuiteSparse_start()
125 SuiteSparse_config.malloc_func = NULL ; in SuiteSparse_start()
192 p = (void *) (SuiteSparse_config.malloc_func) (size) ; in SuiteSparse_malloc()

12345678910>>...20