Searched defs:key_pointer (Results 1 - 5 of 5) sorted by relevance

/system/extras/memory_replay/
H A DPointers.h24 std::atomic_uintptr_t key_pointer; member in struct:pointer_data
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);
H A DThread.cpp60 Action* Thread::CreateAction(uintptr_t key_pointer, const char* type, const char* line) { argument
61 return Action::CreateAction(key_pointer, type, line, action_memory_);
H A DPointers.cpp52 void Pointers::Add(uintptr_t key_pointer, void* pointer) { argument
53 pointer_data* data = FindEmpty(key_pointer);
55 err(1, "No empty entry found for 0x%" PRIxPTR "\n", key_pointer);
57 atomic_store(&data->key_pointer, key_pointer);
61 void* Pointers::Remove(uintptr_t key_pointer) { argument
62 if (key_pointer == 0) {
66 pointer_data* data = Find(key_pointer);
68 err(1, "No pointer value found for 0x%" PRIxPTR "\n", key_pointer);
72 atomic_store(&data->key_pointer, uintptr_
77 Find(uintptr_t key_pointer) argument
90 FindEmpty(uintptr_t key_pointer) argument
105 GetHash(uintptr_t key_pointer) argument
[all...]
H A DAction.cpp50 AllocAction(uintptr_t key_pointer) : key_pointer_(key_pointer) {} argument
59 MallocAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { argument
79 CallocAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { argument
102 ReallocAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { argument
132 MemalignAction(uintptr_t key_pointer, const char* line) : AllocAction(key_pointer) { argument
155 FreeAction(uintptr_t key_pointer) argument
179 CreateAction(uintptr_t key_pointer, const char* type, const char* line, void* action_memory) argument
[all...]
H A Dmain.cpp89 uintptr_t key_pointer; local
95 if (sscanf(line, "%d: %s %" SCNxPTR " %n", &tid, type, &key_pointer, &line_pos) != 3) {
112 Action* action = thread->CreateAction(key_pointer, type, line + line_pos);

Completed in 8453 milliseconds