Home
last modified time | relevance | path

Searched refs:old_ptr (Results 1 – 7 of 7) sorted by relevance

/system/extras/memory_replay/tests/
DFileTest.cpp62 EXPECT_EQ(0U, entries[0].u.old_ptr); in TEST()
68 EXPECT_EQ(0U, entries[1].u.old_ptr); in TEST()
103 EXPECT_EQ(0U, entries[1].u.old_ptr); in TEST()
DAllocTest.cpp93 EXPECT_EQ(0x4000U, entry.u.old_ptr); in TEST()
139 EXPECT_EQ(0U, entry.u.old_ptr); in TEST()
/system/extras/memory_replay/
DAlloc.cpp65 if (sscanf(line_end, "%" SCNx64 " %zu", &entry->u.old_ptr, &entry->size) != 2) { in AllocGetData()
95 return entry.u.old_ptr != 0; in AllocDoesFree()
125 if (entry.u.old_ptr != 0) { in ReallocExecute()
126 old_memory = pointers->Remove(entry.u.old_ptr); in ReallocExecute()
DTraceBenchmark.cpp113 if (entry->u.old_ptr != 0) { in GetTraceData()
114 auto idx_entry = ptr_to_index.find(entry->u.old_ptr); in GetTraceData()
116 errx(1, "File Error: Failed to find realloc pointer %" PRIx64, entry->u.old_ptr); in GetTraceData()
121 entry->u.old_ptr = old_pointer_idx + 1; in GetTraceData()
208 if (entry.u.old_ptr == 0) { in RunTrace()
211 ptr = realloc(ptrs[entry.u.old_ptr - 1], entry.size); in RunTrace()
212 ptrs[entry.u.old_ptr - 1] = nullptr; in RunTrace()
DAlloc.h39 uint64_t old_ptr = 0; member
Dmain.cpp54 if (entries[i].ptr == 0 && entries[i].u.old_ptr != 0) { in GetMaxAllocs()
56 } else if (entries[i].ptr != 0 && entries[i].u.old_ptr == 0) { in GetMaxAllocs()
/system/extras/memory_replay/traces/
DREADME41 <tid>:realloc <new_ptr> <old_ptr> <size>
42 Allocation made by realloc(<old_ptr>, <size>). <old_ptr> can be 0x0