Searched refs:malloc_func (Results 1 – 10 of 10) sorted by relevance
/third_party/node/deps/uv/src/ |
D | uv-common.c | 114 int uv_replace_allocator(uv_malloc_func malloc_func, in uv_replace_allocator() argument 118 if (malloc_func == NULL || realloc_func == NULL || in uv_replace_allocator() 123 uv__allocator.local_malloc = malloc_func; in uv_replace_allocator()
|
/third_party/libuv/src/ |
D | uv-common.c | 114 int uv_replace_allocator(uv_malloc_func malloc_func, in uv_replace_allocator() argument 118 if (malloc_func == NULL || realloc_func == NULL || in uv_replace_allocator() 123 uv__allocator.local_malloc = malloc_func; in uv_replace_allocator()
|
/third_party/skia/third_party/externals/wuffs/release/c/ |
D | wuffs-v0.2.c | 1364 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8() 1365 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8() 1366 void* p = (*malloc_func)(num_u8 * sizeof(uint8_t)); in wuffs_base__malloc_slice_u8() 1375 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16() 1376 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16() 1377 void* p = (*malloc_func)(num_u16 * sizeof(uint16_t)); in wuffs_base__malloc_slice_u16() 1386 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32() 1387 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32() 1388 void* p = (*malloc_func)(num_u32 * sizeof(uint32_t)); in wuffs_base__malloc_slice_u32() 1397 wuffs_base__malloc_slice_u64(void* (*malloc_func)(size_t), uint64_t num_u64) { in wuffs_base__malloc_slice_u64() [all …]
|
D | wuffs-v0.3.c | 3377 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8() 3378 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8() 3379 void* p = (*malloc_func)((size_t)(num_u8 * sizeof(uint8_t))); in wuffs_base__malloc_slice_u8() 3388 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16() 3389 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16() 3390 void* p = (*malloc_func)((size_t)(num_u16 * sizeof(uint16_t))); in wuffs_base__malloc_slice_u16() 3399 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32() 3400 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32() 3401 void* p = (*malloc_func)((size_t)(num_u32 * sizeof(uint32_t))); in wuffs_base__malloc_slice_u32() 3410 wuffs_base__malloc_slice_u64(void* (*malloc_func)(size_t), uint64_t num_u64) { in wuffs_base__malloc_slice_u64() [all …]
|
/third_party/libuv/include/ |
D | uv.h | 275 UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func,
|
/third_party/node/deps/uv/include/ |
D | uv.h | 275 UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func,
|
/third_party/libuv/include/uv_ndk/ |
D | uv.h | 273 UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func,
|
/third_party/libuv/docs/src/ |
D | misc.rst | 216 .. c:function:: int uv_replace_allocator(uv_malloc_func malloc_func, uv_realloc_func realloc_func, …
|
/third_party/astc-encoder/Source/ |
D | wuffs-v0.3.c | 3592 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8() 3593 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8() 3594 void* p = (*malloc_func)((size_t)(num_u8 * sizeof(uint8_t))); in wuffs_base__malloc_slice_u8() 3603 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16() 3604 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16() 3605 void* p = (*malloc_func)((size_t)(num_u16 * sizeof(uint16_t))); in wuffs_base__malloc_slice_u16() 3614 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32() 3615 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32() 3616 void* p = (*malloc_func)((size_t)(num_u32 * sizeof(uint32_t))); in wuffs_base__malloc_slice_u32() 3625 wuffs_base__malloc_slice_u64(void* (*malloc_func)(size_t), uint64_t num_u64) { in wuffs_base__malloc_slice_u64() [all …]
|
/third_party/rust/crates/libc/src/ |
D | psp.rs | 4149 malloc_func: HttpMallocFunction, in sceHttpSetMallocFunction()
|