Searched refs:patch_ptr (Results 1 – 2 of 2) sorted by relevance
121 uint32_t* ElfPatcher::GetPatchLocation(uintptr_t patch_ptr) { in GetPatchLocation() argument122 CHECK_GE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin())); in GetPatchLocation()123 CHECK_LE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->End())); in GetPatchLocation()124 uintptr_t off = patch_ptr - reinterpret_cast<uintptr_t>(oat_file_->Begin()); in GetPatchLocation()139 uintptr_t patch_ptr = reinterpret_cast<uintptr_t>(base + patch->GetLiteralOffset()); in SetPatchLocation() local140 uint32_t* patch_location = GetPatchLocation(patch_ptr); in SetPatchLocation()171 uintptr_t loc = patch_ptr - (reinterpret_cast<uintptr_t>(oat_file_->Begin()) + in SetPatchLocation()173 CHECK_GT(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin()) + in SetPatchLocation()
93 uint32_t* GetPatchLocation(uintptr_t patch_ptr);