Lines Matching refs:error_msg

94     std::string error_msg;  in LocationToFilename()  local
96 &cache_filename, &error_msg)) { in LocationToFilename()
168 std::string error_msg; in Patch() local
172 &error_msg)); in Patch()
174 LOG(ERROR) << "unable to map image file " << input_image->GetPath() << " : " << error_msg; in Patch()
263 std::string error_msg; in Patch() local
267 &error_msg)); in Patch()
269 LOG(ERROR) << "unable to map image file " << input_image->GetPath() << " : " << error_msg; in Patch()
275 PROT_READ | PROT_WRITE, MAP_PRIVATE, &error_msg)); in Patch()
277 LOG(ERROR) << "unable to open oat file " << input_oat->GetPath() << " : " << error_msg; in Patch()
342 std::string error_msg; in WriteImage() local
345 img_flock.Init(out, &error_msg); in WriteImage()
571 std::string error_msg; in Patch() local
573 PROT_READ | PROT_WRITE, MAP_PRIVATE, &error_msg)); in Patch()
575 LOG(ERROR) << "unable to open oat file " << input_oat->GetPath() << " : " << error_msg; in Patch()
851 static bool ReadBaseDelta(const char* name, off_t* delta, std::string* error_msg) { in ReadBaseDelta() argument
858 *error_msg = "Failed to open file %s for reading"; in ReadBaseDelta()
862 *error_msg = "File %s does not exist"; in ReadBaseDelta()
868 *error_msg = "Failed to read file %s"; in ReadBaseDelta()
872 *error_msg = "%s does not contain a valid image header."; in ReadBaseDelta()
1150 std::string error_msg; in patchoat() local
1151 if (!ReadBaseDelta(patched_image_filename.c_str(), &base_delta, &error_msg)) { in patchoat()
1152 Usage(error_msg.c_str(), patched_image_filename.c_str()); in patchoat()
1273 std::string error_msg; in patchoat() local
1274 if (have_oat_files && !output_oat_lock.Init(output_oat.get(), &error_msg)) { in patchoat()
1275 LOG(ERROR) << "Unable to lock output oat " << output_image->GetPath() << ": " << error_msg; in patchoat()