Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/wuffs/internal/cgen/base/
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()
66 wuffs_base__malloc_slice_u64(void* (*malloc_func)(size_t), uint64_t num_u64) { in wuffs_base__malloc_slice_u64()
[all …]
/third_party/libuv/src/
Duv-common.c114 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/
Dwuffs-v0.2.c1364 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 …]
Dwuffs-v0.3.c3377 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/flutter/skia/third_party/externals/wuffs/release/c/
Dwuffs-v0.2.c1444 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8()
1445 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8()
1446 void* p = (*malloc_func)(num_u8 * sizeof(uint8_t)); in wuffs_base__malloc_slice_u8()
1455 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16()
1456 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16()
1457 void* p = (*malloc_func)(num_u16 * sizeof(uint16_t)); in wuffs_base__malloc_slice_u16()
1466 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32()
1467 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32()
1468 void* p = (*malloc_func)(num_u32 * sizeof(uint32_t)); in wuffs_base__malloc_slice_u32()
1477 wuffs_base__malloc_slice_u64(void* (*malloc_func)(size_t), uint64_t num_u64) { in wuffs_base__malloc_slice_u64()
[all …]
Dwuffs-unsupported-snapshot.c1443 wuffs_base__malloc_slice_u8(void* (*malloc_func)(size_t), uint64_t num_u8) { in wuffs_base__malloc_slice_u8()
1444 if (malloc_func && (num_u8 <= (SIZE_MAX / sizeof(uint8_t)))) { in wuffs_base__malloc_slice_u8()
1445 void* p = (*malloc_func)(num_u8 * sizeof(uint8_t)); in wuffs_base__malloc_slice_u8()
1454 wuffs_base__malloc_slice_u16(void* (*malloc_func)(size_t), uint64_t num_u16) { in wuffs_base__malloc_slice_u16()
1455 if (malloc_func && (num_u16 <= (SIZE_MAX / sizeof(uint16_t)))) { in wuffs_base__malloc_slice_u16()
1456 void* p = (*malloc_func)(num_u16 * sizeof(uint16_t)); in wuffs_base__malloc_slice_u16()
1465 wuffs_base__malloc_slice_u32(void* (*malloc_func)(size_t), uint64_t num_u32) { in wuffs_base__malloc_slice_u32()
1466 if (malloc_func && (num_u32 <= (SIZE_MAX / sizeof(uint32_t)))) { in wuffs_base__malloc_slice_u32()
1467 void* p = (*malloc_func)(num_u32 * sizeof(uint32_t)); in wuffs_base__malloc_slice_u32()
1476 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/uv_ndk/
Duv.h273 UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func,
/third_party/libuv/include/
Duv.h275 UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func,
/third_party/libuv/docs/src/
Dmisc.rst216 .. c:function:: int uv_replace_allocator(uv_malloc_func malloc_func, uv_realloc_func realloc_func, …