Searched refs:is_zeroed (Results 1 - 15 of 15) sorted by relevance

/external/jemalloc/src/
H A Dhuge.c28 bool is_zeroed; local
44 * Copy zero into is_zeroed and pass the copy to chunk_alloc(), so that
47 is_zeroed = zero;
49 ret = arena_chunk_alloc_huge(arena, csize, alignment, &is_zeroed);
67 else if (opt_zero && is_zeroed == false)
/external/valgrind/main/drd/
H A Ddrd_malloc_wrappers.c70 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) argument
77 if (is_zeroed)
148 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False);
154 return new_block(tid, n, align, /*is_zeroed*/False);
161 /*is_zeroed*/True);
255 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False);
267 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False);
/external/valgrind/main/memcheck/
H A Dmc_malloc_wrappers.c368 Bool is_zeroed, MC_AllocKind kind, VgHashTable table)
381 if (is_zeroed) {
396 if (is_zeroed)
413 /*is_zeroed*/False, MC_AllocMalloc, MC_(malloc_list));
423 /*is_zeroed*/False, MC_AllocNew, MC_(malloc_list));
433 /*is_zeroed*/False, MC_AllocNewVec, MC_(malloc_list));
443 /*is_zeroed*/False, MC_AllocMalloc, MC_(malloc_list));
453 /*is_zeroed*/True, MC_AllocMalloc, MC_(malloc_list));
700 void MC_(create_mempool)(Addr pool, UInt rzB, Bool is_zeroed) argument
706 pool, rzB, is_zeroed);
366 new_block( ThreadId tid, Addr p, SizeT szB, SizeT alignB, Bool is_zeroed, MC_AllocKind kind, VgHashTable table) argument
[all...]
H A Dmc_include.h95 Bool is_zeroed; // allocations from this pool are zeroed member in struct:_MC_Mempool
103 Bool is_zeroed, MC_AllocKind kind,
108 void MC_(create_mempool) ( Addr pool, UInt rzB, Bool is_zeroed );
H A Dmc_main.c5993 Bool is_zeroed = (Bool)arg[4]; local
5995 MC_(new_block) ( tid, p, sizeB, /*ignored*/0, is_zeroed,
6032 Bool is_zeroed = (Bool)arg[3]; local
6034 MC_(create_mempool) ( pool, rzB, is_zeroed );
/external/valgrind/main/exp-sgcheck/
H A Dh_main.c304 SizeT size, SizeT alignment, Bool is_zeroed )
311 if (is_zeroed) VG_(memset)((void*)p, 0, size);
353 /*is_zeroed*/False );
359 /*is_zeroed*/False );
365 /*is_zeroed*/False );
371 /*is_zeroed*/False );
377 /*is_zeroed*/True );
/external/chromium_org/base/third_party/valgrind/
H A Dvalgrind.h4594 - It marks the block as being addressable and undefined (if 'is_zeroed' is
4595 not set), or addressable and defined (if 'is_zeroed' is set). This
4602 Valgrind will spot block overruns. `is_zeroed' indicates if the memory is
4654 #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \
4658 addr, sizeB, rzB, is_zeroed, 0); \
4672 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
4676 pool, rzB, is_zeroed, 0, 0); \
/external/chromium_org/third_party/re2/util/
H A Dvalgrind.h4331 - It marks the block as being addressable and undefined (if 'is_zeroed' is
4332 not set), or addressable and defined (if 'is_zeroed' is set). This
4339 Valgrind will spot block overruns. `is_zeroed' indicates if the memory is
4391 #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \
4395 addr, sizeB, rzB, is_zeroed, 0); \
4409 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
4413 pool, rzB, is_zeroed, 0, 0); \
/external/chromium_org/third_party/tcmalloc/vendor/src/third_party/
H A Dvalgrind.h3786 block overruns. `is_zeroed' indicates if the memory is zeroed, as it is
3807 #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \
3811 addr, sizeB, rzB, is_zeroed, 0); \
3826 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
3830 pool, rzB, is_zeroed, 0, 0); \
/external/chromium_org/v8/src/third_party/valgrind/
H A Dvalgrind.h3845 - It marks the block as being addressable and undefined (if 'is_zeroed' is
3846 not set), or addressable and defined (if 'is_zeroed' is set). This
3853 Valgrind will spot block overruns. `is_zeroed' indicates if the memory is
3919 #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \
3922 addr, sizeB, rzB, is_zeroed, 0)
3941 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
3944 pool, rzB, is_zeroed, 0, 0)
/external/regex-re2/util/
H A Dvalgrind.h4330 - It marks the block as being addressable and undefined (if 'is_zeroed' is
4331 not set), or addressable and defined (if 'is_zeroed' is set). This
4338 Valgrind will spot block overruns. `is_zeroed' indicates if the memory is
4390 #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \
4394 addr, sizeB, rzB, is_zeroed, 0); \
4408 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
4412 pool, rzB, is_zeroed, 0, 0); \
/external/valgrind/main/exp-dhat/
H A Ddh_main.c452 Bool is_zeroed )
468 if (is_zeroed) VG_(memset)(p, 0, req_szB);
622 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False );
627 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False );
632 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False );
637 return new_block( tid, NULL, m*szB, VG_(clo_alignment), /*is_zeroed*/True );
/external/valgrind/main/massif/
H A Dms_main.c1557 Bool is_zeroed )
1569 if (is_zeroed) VG_(memset)(p, 0, req_szB);
1749 return alloc_and_record_block( tid, szB, VG_(clo_alignment), /*is_zeroed*/False );
1754 return alloc_and_record_block( tid, szB, VG_(clo_alignment), /*is_zeroed*/False );
1759 return alloc_and_record_block( tid, szB, VG_(clo_alignment), /*is_zeroed*/False );
1764 return alloc_and_record_block( tid, m*szB, VG_(clo_alignment), /*is_zeroed*/True );
/external/valgrind/main/include/
H A Dvalgrind.h5739 - It marks the block as being addressable and undefined (if 'is_zeroed' is
5740 not set), or addressable and defined (if 'is_zeroed' is set). This
5747 Valgrind will spot block overruns. `is_zeroed' indicates if the memory is
5813 #define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed) \
5815 addr, sizeB, rzB, is_zeroed, 0)
5832 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
5834 pool, rzB, is_zeroed, 0, 0)
/external/valgrind/main/helgrind/
H A Dhg_main.c4002 SizeT szB, SizeT alignB, Bool is_zeroed )
4012 if (is_zeroed)
4027 evh__new_mem_heap( p, szB, is_zeroed );
4040 /*is_zeroed*/False );
4045 /*is_zeroed*/False );
4050 /*is_zeroed*/False );
4055 /*is_zeroed*/False );
4060 /*is_zeroed*/True );

Completed in 534 milliseconds