Searched refs:n_mallocs (Results 1 – 2 of 2) sorted by relevance
/external/libxml2/ |
D | testOOMlib.c | 204 run_failing_each_malloc (int n_mallocs, in run_failing_each_malloc() argument 208 n_mallocs += 10; /* fudge factor to ensure reallocs etc. are covered */ in run_failing_each_malloc() 210 while (n_mallocs >= 0) in run_failing_each_malloc() 212 set_fail_alloc_counter (n_mallocs); in run_failing_each_malloc() 217 n_mallocs -= 1; in run_failing_each_malloc()
|
/external/valgrind/memcheck/ |
D | mc_leakcheck.c | 339 UInt n_mallocs, n_chunks, m, s; in find_active_chunks() local 345 mallocs = (MC_Chunk**) VG_(HT_to_array)( MC_(malloc_list), &n_mallocs ); in find_active_chunks() 346 if (n_mallocs == 0) { in find_active_chunks() 351 VG_(ssort)(mallocs, n_mallocs, sizeof(VgHashNode*), compare_MC_Chunks); in find_active_chunks() 356 n_mallocs, sizeof(Bool) ); in find_active_chunks() 357 n_chunks = n_mallocs; in find_active_chunks() 371 m = find_chunk_for(mc->data, mallocs, n_mallocs); in find_active_chunks() 380 m = find_chunk_for(mc->data + (mc->szB - 1), mallocs, n_mallocs); in find_active_chunks() 405 for (m = 0; m < n_mallocs; ++m) { in find_active_chunks()
|