Searched refs:MallocEntry (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/malloc_debug/ |
D | RecordData.h | 78 class MallocEntry : public AllocEntry { 80 MallocEntry(void* pointer, size_t size); 81 virtual ~MallocEntry() = default; 89 BIONIC_DISALLOW_COPY_AND_ASSIGN(MallocEntry); 103 class CallocEntry : public MallocEntry { 117 class ReallocEntry : public MallocEntry { 132 class MemalignEntry : public MallocEntry {
|
D | RecordData.cpp | 57 MallocEntry::MallocEntry(void* pointer, size_t size) : AllocEntry(pointer), size_(size) {} in MallocEntry() function in MallocEntry 59 std::string MallocEntry::GetString() const { in GetString() 70 : MallocEntry(pointer, size), nmemb_(nmemb) {} in CallocEntry() 77 : MallocEntry(pointer, size), old_pointer_(old_pointer) {} in ReallocEntry() 85 : MallocEntry(pointer, size), alignment_(alignment) {} in MemalignEntry()
|
D | malloc_debug.cpp | 479 g_debug->record->AddEntry(new MallocEntry(pointer, size)); in debug_malloc()
|
/bionic/benchmarks/ |
D | malloc_sql_benchmark.cpp | 46 struct MallocEntry { struct 53 void BenchmarkMalloc(MallocEntry entries[], size_t total_entries, size_t max_allocs) { in BenchmarkMalloc() argument 111 BenchmarkMalloc(g_sql_entries, sizeof(g_sql_entries) / sizeof(MallocEntry), in BM_malloc_sql_trace_default() 121 BenchmarkMalloc(g_sql_entries, sizeof(g_sql_entries) / sizeof(MallocEntry), in BM_malloc_sql_trace_decay1()
|