Home
last modified time | relevance | path

Searched refs:MallocEntry (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/malloc_debug/
DRecordData.h78 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 {
DRecordData.cpp57 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()
Dmalloc_debug.cpp479 g_debug->record->AddEntry(new MallocEntry(pointer, size)); in debug_malloc()
/bionic/benchmarks/
Dmalloc_sql_benchmark.cpp46 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()