Searched refs:input_image (Results 1 – 1 of 1) sorted by relevance
111 std::unique_ptr<File> input_image(OS::OpenFileForReading(image_filename.c_str())); in Patch() local112 if (input_image.get() == nullptr) { in Patch()118 int64_t image_len = input_image->GetLength(); in Patch()124 if (sizeof(image_header) != input_image->Read(reinterpret_cast<char*>(&image_header), in Patch()126 LOG(ERROR) << "Unable to read image header from image file " << input_image->GetPath(); in Patch()130 /*bool is_image_pic = */IsImagePic(image_header, input_image->GetPath()); in Patch()154 input_image->Fd(), 0, in Patch()155 input_image->GetPath().c_str(), in Patch()158 LOG(ERROR) << "unable to map image file " << input_image->GetPath() << " : " << error_msg; in Patch()167 LOG(ERROR) << "Failed to patch image file " << input_image->GetPath(); in Patch()[all …]