Searched refs:patch_ptr (Results 1 – 2 of 2) sorted by relevance
131 uint32_t* ElfPatcher::GetPatchLocation(uintptr_t patch_ptr) { in GetPatchLocation() argument132 CHECK_GE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin())); in GetPatchLocation()133 CHECK_LE(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->End())); in GetPatchLocation()134 uintptr_t off = patch_ptr - reinterpret_cast<uintptr_t>(oat_file_->Begin()); in GetPatchLocation()149 uintptr_t patch_ptr = reinterpret_cast<uintptr_t>(base + patch->GetLiteralOffset()); in SetPatchLocation() local150 uint32_t* patch_location = GetPatchLocation(patch_ptr); in SetPatchLocation()181 uintptr_t loc = patch_ptr - (reinterpret_cast<uintptr_t>(oat_file_->Begin()) + in SetPatchLocation()183 CHECK_GT(patch_ptr, reinterpret_cast<uintptr_t>(oat_file_->Begin()) + in SetPatchLocation()
95 uint32_t* GetPatchLocation(uintptr_t patch_ptr);