Home
last modified time | relevance | path

Searched refs:n_chunks (Results 1 – 3 of 3) sorted by relevance

/external/valgrind/memcheck/
Dmc_leakcheck.c263 Int n_chunks ) in find_chunk_for_OLD() argument
269 for (i = 0; i < n_chunks; i++) { in find_chunk_for_OLD()
286 Int n_chunks ) in find_chunk_for() argument
293 hi = n_chunks-1; in find_chunk_for()
324 tl_assert(retVal == find_chunk_for_OLD ( ptr, chunks, n_chunks )); in find_chunk_for()
339 UInt n_mallocs, n_chunks, m, s; in find_active_chunks() local
357 n_chunks = n_mallocs; in find_active_chunks()
368 n_chunks++; in find_active_chunks()
373 tl_assert(n_chunks > 0); in find_active_chunks()
374 n_chunks--; in find_active_chunks()
[all …]
Dmc_malloc_wrappers.c759 UInt n_chunks, i, bad = 0; in check_mempool_sane() local
762 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks ); in check_mempool_sane()
789 VG_(ssort)((void*)chunks, n_chunks, sizeof(VgHashNode*), mp_compar); in check_mempool_sane()
792 for (i = 0; i < n_chunks-1; i++) { in check_mempool_sane()
797 i+1, n_chunks); in check_mempool_sane()
803 for (i = 0; i < n_chunks-1; i++) { in check_mempool_sane()
807 i+1, n_chunks); in check_mempool_sane()
815 n_chunks); in check_mempool_sane()
816 for (i = 0; i < n_chunks; ++i) { in check_mempool_sane()
821 n_chunks, in check_mempool_sane()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h874 uptr n_chunks = kRegionSize / (size + kMetadataSize); in PopulateFreeList() local
877 for (uptr i = reg; i < reg + n_chunks * size; i += size) { in PopulateFreeList()