Lines Matching refs:error_msg

89 const DexFile* OpenDexFile(const OatFile::OatDexFile* oat_dex_file, std::string* error_msg) {
95 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release();
182 std::string error_msg;
183 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg);
493 std::string error_msg;
494 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg);
497 << "': " << error_msg;
522 std::string error_msg;
523 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg);
526 << "': " << error_msg;
587 std::string error_msg;
588 const DexFile* const dex_file = OpenDexFile(&oat_dex_file, &error_msg);
590 os << "NOT FOUND: " << error_msg << "\n\n";
640 std::string error_msg;
643 const DexFile* const dex_file = OpenDexFile(&oat_dex_file, &error_msg);
645 os << "Failed to open dex file '" << dex_file_location << "': " << error_msg;
1370 std::string error_msg;
1383 &error_msg);
1386 os << "OAT FILE NOT FOUND: " << error_msg << "\n";
2223 std::string error_msg;
2231 &error_msg));
2233 LOG(ERROR) << "Failed to open oat file " << options->app_oat_ << " with error " << error_msg;
2237 gc::space::ImageSpace::CreateFromAppImage(options->app_image_, oat_file.get(), &error_msg));
2240 << error_msg;
2244 if (!runtime->GetClassLinker()->OpenImageDexFiles(space.get(), &dex_files, &error_msg)) {
2246 << error_msg;
2282 std::string error_msg;
2283 const DexFile* const dex_file = OpenDexFile(odf, &error_msg);
2284 CHECK(dex_file != nullptr) << error_msg;
2317 std::string error_msg;
2325 &error_msg);
2327 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());
2339 std::string error_msg;
2347 &error_msg);
2349 fprintf(stderr, "Failed to open oat file from '%s': %s\n", oat_filename, error_msg.c_str());
2376 std::string* error_msg) OVERRIDE {
2378 ParseStatus base_parse = Base::ParseCustom(option, error_msg);
2413 *error_msg = "Address conversion failed";
2427 virtual ParseStatus ParseChecks(std::string* error_msg) OVERRIDE {
2434 ParseStatus parent_checks = Base::ParseChecks(error_msg);
2441 *error_msg = "Either --image or --oat-file must be specified";
2444 *error_msg = "Either --image or --oat-file must be specified but not both";