Lines Matching defs:zero

314 a0ialloc(size_t size, bool zero, bool is_internal) {
319 return iallocztm(TSDN_NULL, size, sz_size2index(size), zero, NULL,
1363 CONF_HANDLE_BOOL(opt_zero, "zero")
2277 bool zero;
2289 dynamic_opts->zero = false;
2399 dopts->zero, tcache, arena);
2402 return iallocztm(tsd_tsdn(tsd), size, ind, dopts->zero, tcache, false,
2468 * We got a non-zero size, but we don't know if we overflowed to get
2489 * The zero initialization for ind is actually dead store, in that its
2513 dopts->zero = zero_get(dopts->zero, sopts->slow);
2596 if (config_fill && sopts->slow && !dopts->zero
2854 dopts.zero = true;
3385 dopts.zero = MALLOCX_ZERO_GET(flags);
3423 dopts.zero = MALLOCX_ZERO_GET(flags);
3441 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena,
3452 SC_LARGE_MINCLASS, alignment, zero, tcache,
3459 p = iralloct(tsdn, old_ptr, old_usize, usize, alignment, zero,
3469 size_t alignment, size_t usize, bool zero, tcache_t *tcache,
3480 usize, alignment, zero, tcache, arena, tctx, hook_args);
3483 zero, tcache, arena, hook_args);
3511 bool zero = zero_get(MALLOCX_ZERO_GET(flags), /* slow */ true);
3536 zero, tcache, arena, &alloc_ctx, &hook_args);
3542 zero, tcache, arena, &hook_args);
3556 && !zero) {
3670 size_t extra, size_t alignment, bool zero) {
3673 if (ixalloc(tsdn, ptr, old_usize, size, extra, alignment, zero,
3683 size_t extra, size_t alignment, bool zero, prof_tctx_t *tctx) {
3690 zero);
3695 size_t extra, size_t alignment, bool zero, emap_alloc_ctx_t *alloc_ctx) {
3704 * usize isn't knowable before ixalloc() returns when extra is non-zero.
3726 size, extra, alignment, zero, tctx);
3729 extra, alignment, zero);
3761 bool zero = zero_get(MALLOCX_ZERO_GET(flags), /* slow */ true);
3806 alignment, zero, &alloc_ctx);
3809 extra, alignment, zero);
3826 !zero) {
4155 bool zero = zero_get(MALLOCX_ZERO_GET(flags), /* slow */ true);
4205 ind, ptrs + filled, arena_batch, zero);
4252 if (zero) {