Lines Matching refs:output_oat_filename
386 const std::string& output_oat_filename, in ReplaceOatFileWithSymlink() argument
398 LOG(ERROR) << "Oat file " << output_oat_filename << " already exists, refusing to overwrite"; in ReplaceOatFileWithSymlink()
403 TEMP_FAILURE_RETRY(unlink(output_oat_filename.c_str())); in ReplaceOatFileWithSymlink()
406 if (symlink(input_oat_filename.c_str(), output_oat_filename.c_str()) < 0) { in ReplaceOatFileWithSymlink()
408 LOG(ERROR) << "Failed to create symlink at " << output_oat_filename in ReplaceOatFileWithSymlink()
414 LOG(INFO) << "Created symlink " << output_oat_filename << " -> " << input_oat_filename; in ReplaceOatFileWithSymlink()
962 std::string output_oat_filename; in patchoat() local
1023 output_oat_filename = option.substr(strlen("--output-oat-file=")).data(); in patchoat()
1238 if (output_oat_filename.empty()) { in patchoat()
1239 output_oat_filename = "output-oat-file"; in patchoat()
1241 output_oat.reset(new File(output_oat_fd, output_oat_filename, true)); in patchoat()
1247 CHECK(!output_oat_filename.empty()); in patchoat()
1248 output_oat.reset(CreateOrOpen(output_oat_filename.c_str(), &new_oat_out)); in patchoat()
1251 LOG(ERROR) << "Failed to open output oat file " << output_oat_filename in patchoat()
1258 auto cleanup = [&output_image_filename, &output_oat_filename, in patchoat()
1263 CHECK(!output_oat_filename.empty()); in patchoat()
1264 TEMP_FAILURE_RETRY(unlink(output_oat_filename.c_str())); in patchoat()