Searched refs:old_ptr (Results 1 – 8 of 8) 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 | 38 return entry.u.old_ptr != 0; in AllocDoesFree() 68 if (entry.u.old_ptr != 0) { in ReallocExecute() 69 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 | AllocParser.h | 38 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()
|
D | AllocParser.cpp | 66 if (sscanf(args_beg, "%" SCNx64 " %zu%n", &entry->u.old_ptr, &entry->size, in AllocGetData()
|
/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
|