Searched refs:allocations (Results 1 - 3 of 3) sorted by last modified time

/bionic/libc/bionic/
H A Dmalloc_debug_common.cpp103 // allocations is implemented in libc_malloc_debug_qemu.so and can be run inside
131 size_t nbAlloc1 = e1->allocations;
132 size_t nbAlloc2 = e2->allocations;
140 // 2) number of allocations
166 // "*totalMemory" is set to the sum of all allocations we're tracking; does
199 *totalMemory = *totalMemory + ((entry->size & ~SIZE_FLAG_MASK) * entry->allocations);
H A Dmalloc_debug_common.h65 size_t allocations; member in struct:HashEntry
H A Dmalloc_debug_leak.cpp146 entry->allocations++;
153 entry->allocations = 1;
353 // decrement the allocations
355 entry->allocations--;
356 if (entry->allocations <= 0) {

Completed in 48 milliseconds