Home
last modified time | relevance | path

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

/art/patchoat/
Dpatchoat.cc127 std::unique_ptr<File> input_image(OS::OpenFileForReading(image_filename.c_str())); in Patch() local
128 if (input_image.get() == nullptr) { in Patch()
134 int64_t image_len = input_image->GetLength(); in Patch()
140 if (sizeof(image_header) != input_image->Read(reinterpret_cast<char*>(&image_header), in Patch()
142 LOG(ERROR) << "Unable to read image header from image file " << input_image->GetPath(); in Patch()
146 /*bool is_image_pic = */IsImagePic(image_header, input_image->GetPath()); in Patch()
170 input_image->Fd(), 0, in Patch()
171 input_image->GetPath().c_str(), in Patch()
174 LOG(ERROR) << "unable to map image file " << input_image->GetPath() << " : " << error_msg; in Patch()
183 LOG(ERROR) << "Failed to patch image file " << input_image->GetPath(); in Patch()
[all …]