Home
last modified time | relevance | path

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

/art/patchoat/
Dpatchoat.cc502 std::unique_ptr<File> input_image(OS::OpenFileForReading(input_image_filename.c_str())); in Patch() local
503 if (input_image.get() == nullptr) { in Patch()
508 int64_t image_len = input_image->GetLength(); in Patch()
514 if (sizeof(image_header) != input_image->Read(reinterpret_cast<char*>(&image_header), in Patch()
516 LOG(ERROR) << "Unable to read image header from image file " << input_image->GetPath(); in Patch()
519 /*bool is_image_pic = */IsImagePic(image_header, input_image->GetPath()); in Patch()
528 input_image->Fd(), in Patch()
531 input_image->GetPath().c_str(), in Patch()
534 LOG(ERROR) << "Unable to map image file " << input_image->GetPath() << " : " << error_msg; in Patch()
589 int64_t input_image_size = input_image->GetLength(); in Patch()
[all …]