Home
last modified time | relevance | path

Searched refs:patches (Results 1 – 1 of 1) sorted by relevance

/art/patchoat/
Dpatchoat.cc615 uintptr_t* patches = reinterpret_cast<uintptr_t*>(oat_file_->Begin() + patches_sec->sh_offset); in CheckOatFile() local
616 uintptr_t* patches_end = patches + (patches_sec->sh_size/sizeof(uintptr_t)); in CheckOatFile()
629 for (; patches < patches_end; patches++) { in CheckOatFile()
630 if (oat_text_sec->sh_size <= *patches) { in CheckOatFile()
744 uintptr_t* patches = reinterpret_cast<uintptr_t*>(oat_file_->Begin() + patches_sec->sh_offset); in PatchTextSection() local
745 uintptr_t* patches_end = patches + (patches_sec->sh_size/sizeof(uintptr_t)); in PatchTextSection()
751 for (; patches < patches_end; patches++) { in PatchTextSection()
752 CHECK_LT(*patches, oat_text_sec->sh_size) << "Bad Patch"; in PatchTextSection()
753 uint32_t* patch_loc = reinterpret_cast<uint32_t*>(to_patch + *patches); in PatchTextSection()