Searched refs:old_ptr (Results 1 – 7 of 7) sorted by relevance
/system/extras/memory_replay/tests/ |
D | FileTest.cpp | 62 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()
|
D | AllocTest.cpp | 93 EXPECT_EQ(0x4000U, entry.u.old_ptr); in TEST() 139 EXPECT_EQ(0U, entry.u.old_ptr); in TEST()
|
/system/extras/memory_replay/ |
D | Alloc.cpp | 65 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()
|
D | TraceBenchmark.cpp | 113 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()
|
D | Alloc.h | 39 uint64_t old_ptr = 0; member
|
D | main.cpp | 54 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/ |
D | README | 41 <tid>:realloc <new_ptr> <old_ptr> <size> 42 Allocation made by realloc(<old_ptr>, <size>). <old_ptr> can be 0x0
|