Home
last modified time | relevance | path

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

/external/libxml2/
DtestOOMlib.c204 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/dbus/dbus/
Ddbus-internals.c981 run_failing_each_malloc (int n_mallocs, in run_failing_each_malloc() argument
986 n_mallocs += 10; /* fudge factor to ensure reallocs etc. are covered */ in run_failing_each_malloc()
988 while (n_mallocs >= 0) in run_failing_each_malloc()
990 _dbus_set_fail_alloc_counter (n_mallocs); in run_failing_each_malloc()
993 description, n_mallocs, in run_failing_each_malloc()
999 n_mallocs -= 1; in run_failing_each_malloc()
/external/valgrind/memcheck/
Dmc_leakcheck.c339 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()