Home | History | Annotate | Download | only in patchoat

Lines Matching defs:Patch

95 bool PatchOat::Patch(const std::string& image_location, off_t delta,
167 LOG(ERROR) << "Failed to patch image file " << input_image->GetPath();
178 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta,
279 // Don't patch the OAT, since we just symlinked it. Image still needs patching.
289 LOG(ERROR) << "Failed to patch oat file " << input_oat->GetPath();
293 LOG(ERROR) << "Failed to patch image file " << input_image->GetPath();
524 // Patch dex file int/long arrays which point to ArtFields.
658 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings,
690 t.NewTiming("Patch Oat file");
753 // to patch all absolute addresses, starting with ELF program headers.
854 UsageError(" --patched-image-file=<file.art>: Use the same patch delta as was used to patch");
857 UsageError(" --patched-image-location=<file.art>: Use the same patch delta as was used to");
858 UsageError(" patch the given image location. If used one must also specify the");
866 UsageError(" --dump-timings: dump out patch timing information");
868 UsageError(" --no-dump-timings: do not dump out patch timing information");
1309 TimingLogger::ScopedTiming pt("patch image and oat", &timings);
1310 ret = PatchOat::Patch(input_oat.get(), input_image_location, base_delta,
1319 TimingLogger::ScopedTiming pt("patch oat", &timings);
1320 ret = PatchOat::Patch(input_oat.get(), base_delta, output_oat.get(), &timings,
1325 TimingLogger::ScopedTiming pt("patch image", &timings);
1326 ret = PatchOat::Patch(input_image_location, base_delta, output_image.get(), isa, &timings);