Lines Matching refs:PatchEntry
26 struct PatchEntry { struct
27 PatchEntry* originalTableLink; argument
28 PatchEntry* patchedTableLink; argument
34 static PatchEntry* Create(const char* name, void* function) in Create() argument
37 void* memory = malloc(_ALIGN(sizeof(PatchEntry)) in Create()
42 PatchEntry* entry = new(memory) PatchEntry; in Create()
44 void* stub = (uint8*)memory + _ALIGN(sizeof(PatchEntry)); in Create()
58 typedef PatchEntry ValueType;
65 size_t Hash(PatchEntry* value) const in Hash()
70 bool Compare(const void* key, PatchEntry* value) const in Compare()
75 PatchEntry*& GetLink(PatchEntry* value) const in GetLink()
84 typedef PatchEntry ValueType;
91 size_t Hash(PatchEntry* value) const in Hash()
96 bool Compare(const void* key, PatchEntry* value) const in Compare()
101 PatchEntry*& GetLink(PatchEntry* value) const in GetLink()
118 PatchEntry* entry = sPatchedTable.Lookup(stub); in function_call_callback()
155 PatchEntry* entry = sOriginalTable.Lookup(*symbol); in symbol_patcher()
162 entry = PatchEntry::Create(name, *symbol); in symbol_patcher()