Lines Matching refs:PatchOat

95 bool PatchOat::Patch(const std::string& image_location, off_t delta,  in Patch()
163 PatchOat p(isa, image.release(), ispc->GetLiveBitmap(), ispc->GetMemMap(), in Patch()
178 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, in Patch()
285 PatchOat p(isa, elf.release(), image.release(), ispc->GetLiveBitmap(), ispc->GetMemMap(), in Patch()
309 bool PatchOat::WriteElf(File* out) { in WriteElf()
324 bool PatchOat::WriteImage(File* out) { in WriteImage()
343 bool PatchOat::IsImagePic(const ImageHeader& image_header, const std::string& image_path) { in IsImagePic()
358 PatchOat::MaybePic PatchOat::IsOatPic(const ElfFile* oat_in) { in IsOatPic()
385 bool PatchOat::ReplaceOatFileWithSymlink(const std::string& input_oat_filename, in ReplaceOatFileWithSymlink()
420 void PatchOat::PatchArtFields(const ImageHeader* image_header) { in PatchArtFields()
429 void PatchOat::PatchArtMethods(const ImageHeader* image_header) { in PatchArtMethods()
442 explicit FixupRootVisitor(const PatchOat* patch_oat) : patch_oat_(patch_oat) { in FixupRootVisitor()
461 const PatchOat* const patch_oat_;
464 void PatchOat::PatchInternedStrings(const ImageHeader* image_header) { in PatchInternedStrings()
475 void PatchOat::PatchDexFileArrays(mirror::ObjectArray<mirror::Object>* img_roots) { in PatchDexFileArrays()
495 void PatchOat::FixupNativePointerArray(mirror::PointerArray* object) { in FixupNativePointerArray()
514 bool PatchOat::PatchImage() { in PatchImage()
537 bitmap_->Walk(PatchOat::BitmapCallback, this); in PatchImage()
542 bool PatchOat::InHeap(mirror::Object* o) { in InHeap()
549 void PatchOat::PatchVisitor::operator() (mirror::Object* obj, MemberOffset off, in operator ()()
557 void PatchOat::PatchVisitor::operator() (mirror::Class* cls ATTRIBUTE_UNUSED, in operator ()()
566 const OatHeader* PatchOat::GetOatHeader(const ElfFile* elf_file) { in GetOatHeader()
575 const OatHeader* PatchOat::GetOatHeader(const ElfFileImpl* elf_file) { in GetOatHeader()
586 void PatchOat::VisitObject(mirror::Object* object) { in VisitObject()
597 PatchOat::PatchVisitor visitor(this, copy); in VisitObject()
642 void PatchOat::FixupMethod(ArtMethod* object, ArtMethod* copy) { in FixupMethod()
658 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, in Patch()
689 PatchOat p(elf.release(), delta, timings); in Patch()
703 bool PatchOat::PatchOatHeader(ElfFileImpl* oat_file) { in PatchOatHeader()
717 bool PatchOat::PatchElf() { in PatchElf()
725 bool PatchOat::PatchElf(ElfFileImpl* oat_file) { in PatchElf()
1310 ret = PatchOat::Patch(input_oat.get(), input_image_location, base_delta, in patchoat()
1320 ret = PatchOat::Patch(input_oat.get(), base_delta, output_oat.get(), &timings, in patchoat()
1326 ret = PatchOat::Patch(input_image_location, base_delta, output_image.get(), isa, &timings); in patchoat()