Home
last modified time | relevance | path

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

/external/valgrind/main/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.c781 UInt n_chunks, i, bad = 0; in check_mempool_sane() local
784 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks ); in check_mempool_sane()
811 VG_(ssort)((void*)chunks, n_chunks, sizeof(VgHashNode*), mp_compar); in check_mempool_sane()
814 for (i = 0; i < n_chunks-1; i++) { in check_mempool_sane()
819 i+1, n_chunks); in check_mempool_sane()
825 for (i = 0; i < n_chunks-1; i++) { in check_mempool_sane()
829 i+1, n_chunks); in check_mempool_sane()
837 n_chunks); in check_mempool_sane()
838 for (i = 0; i < n_chunks; ++i) { in check_mempool_sane()
843 n_chunks, in check_mempool_sane()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_allocator.h865 uptr n_chunks = kRegionSize / (size + kMetadataSize); in PopulateFreeList() local
868 for (uptr i = reg; i < reg + n_chunks * size; i += size) { in PopulateFreeList()