Searched refs:key_pointer (Results 1 – 7 of 7) sorted by relevance
/system/extras/memory_replay/ |
D | Pointers.cpp | 52 void Pointers::Add(uintptr_t key_pointer, void* pointer) { in Add() argument 53 pointer_data* data = FindEmpty(key_pointer); in Add() 55 err(1, "No empty entry found for 0x%" PRIxPTR "\n", key_pointer); in Add() 57 atomic_store(&data->key_pointer, key_pointer); in Add() 61 void* Pointers::Remove(uintptr_t key_pointer) { in Remove() argument 62 if (key_pointer == 0) { in Remove() 66 pointer_data* data = Find(key_pointer); in Remove() 68 err(1, "No pointer value found for 0x%" PRIxPTR "\n", key_pointer); in Remove() 72 atomic_store(&data->key_pointer, uintptr_t(0)); in Remove() 77 pointer_data* Pointers::Find(uintptr_t key_pointer) { in Find() argument [all …]
|
D | Action.cpp | 50 explicit AllocAction(uintptr_t key_pointer) : key_pointer_(key_pointer) {} in AllocAction() argument 59 MallocAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { in MallocAction() argument 79 CallocAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { in CallocAction() argument 102 ReallocAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { in ReallocAction() argument 132 MemalignAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { in MemalignAction() argument 155 explicit FreeAction(uintptr_t key_pointer) : AllocAction(key_pointer) { in FreeAction() argument 179 Action* Action::CreateAction(uintptr_t key_pointer, const char* type, in CreateAction() argument 183 action = new (action_memory) MallocAction(key_pointer, line); in CreateAction() 185 action = new (action_memory) FreeAction(key_pointer); in CreateAction() 187 action = new (action_memory) CallocAction(key_pointer, line); in CreateAction() [all …]
|
D | Pointers.h | 24 std::atomic_uintptr_t key_pointer; member 33 void Add(uintptr_t key_pointer, void* pointer); 35 void* Remove(uintptr_t key_pointer); 42 pointer_data* FindEmpty(uintptr_t key_pointer); 43 pointer_data* Find(uintptr_t key_pointer); 44 size_t GetHash(uintptr_t key_pointer);
|
D | Thread.cpp | 60 Action* Thread::CreateAction(uintptr_t key_pointer, const char* type, const char* line) { in CreateAction() argument 61 return Action::CreateAction(key_pointer, type, line, action_memory_); in CreateAction()
|
D | main.cpp | 89 uintptr_t key_pointer; in ProcessDump() local 95 if (sscanf(line, "%d: %s %" SCNxPTR " %n", &tid, type, &key_pointer, &line_pos) != 3) { in ProcessDump() 112 Action* action = thread->CreateAction(key_pointer, type, line + line_pos); in ProcessDump()
|
D | Action.h | 38 static Action* CreateAction(uintptr_t key_pointer, const char* type,
|
D | Thread.h | 39 Action* CreateAction(uintptr_t key_pointer, const char* type, const char* line);
|