Home
last modified time | relevance | path

Searched refs:error_msg (Results 101 – 125 of 189) sorted by relevance

12345678

/art/compiler/
Dcommon_compiler_test.cc51 std::string error_msg; in CreateCompilerOptions() local
53 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in CreateCompilerOptions()
54 CHECK(compiler_options->instruction_set_features_ != nullptr) << error_msg; in CreateCompilerOptions()
150 std::string error_msg; in OverrideInstructionSetFeatures() local
152 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in OverrideInstructionSetFeatures()
153 CHECK(instruction_set_features_ != nullptr) << error_msg; in OverrideInstructionSetFeatures()
/art/libartbase/base/
Dcommon_art_test.h124 std::string error_msg; in CreateFakeDex() local
132 &error_msg)); in CreateFakeDex()
133 CHECK(dex != nullptr) << error_msg; in CreateFakeDex()
203 std::string error_msg; in MutateDexFile() local
209 &error_msg, in MutateDexFile()
210 &dex_files)) << error_msg; in MutateDexFile()
/art/oatdump/
Doatdump.cc119 const DexFile* OpenDexFile(const OatDexFile* oat_dex_file, std::string* error_msg) { in OpenDexFile() argument
125 const DexFile* ret = oat_dex_file->OpenDexFile(error_msg).release(); in OpenDexFile()
243 std::string error_msg; in WalkOatDexFile() local
244 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in WalkOatDexFile()
512 std::string error_msg; in Dump() local
513 const DexFile* const dex_file = OpenDexFile(oat_dex_file, &error_msg); in Dump()
516 << error_msg; in Dump()
557 std::string error_msg; in Dump() local
560 const DexFile* dex_file = OpenDexFile(oat_dex_files_[i], &error_msg); in Dump()
562 os << "Error opening dex file: " << error_msg << std::endl; in Dump()
[all …]
/art/imgdiag/
Dimgdiag.cc1230 std::string error_msg; in Init() local
1235 &error_msg)) { in Init()
1237 << ", error: " << error_msg; in Init()
1245 &error_msg)) { in Init()
1247 << ", error: " << error_msg; in Init()
1379 std::string error_msg; in ComputeDirtyBytes() local
1387 &error_msg)); in ComputeDirtyBytes()
1389 os << error_msg; in ComputeDirtyBytes()
1443 std::string error_msg; in DumpImageDiffMap() local
1620 /*out*/ std::string* error_msg) { in GetPageFrameNumber() argument
[all …]
/art/runtime/base/
Dmem_map_arena_pool.cc59 std::string error_msg; in Allocate() local
64 &error_msg); in Allocate()
65 CHECK(map.IsValid()) << error_msg; in Allocate()
/art/tools/dexanalyze/
Ddexanalyze.cc200 std::string error_msg; in Run() local
217 &error_msg, in Run()
219 LOG(ERROR) << "OpenAll failed for " + filename << " with " << error_msg << std::endl; in Run()
225 LOG(ERROR) << "Failed to process " << filename << " with error " << error_msg; in Run()
/art/libartbase/arch/
Dinstruction_set.cc115 NO_RETURN void GetStackOverflowReservedBytesFailure(const char* error_msg) { in GetStackOverflowReservedBytesFailure() argument
116 LOG(FATAL) << error_msg; in GetStackOverflowReservedBytesFailure()
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64.h31 static Arm64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
103 std::string* error_msg) const override;
Dinstruction_set_features_arm64.cc38 const std::string& variant, std::string* error_msg) { in FromVariant() argument
139 *error_msg = os.str(); in FromVariant()
323 const std::vector<std::string>& features, std::string* error_msg) const { in AddFeaturesFromSplitString()
387 *error_msg = StringPrintf("Unknown instruction set feature: '%s'", feature.c_str()); in AddFeaturesFromSplitString()
/art/runtime/
Druntime.cc913 std::string error_msg; in Start() local
914 if (!jit::Jit::LoadCompilerLibrary(&error_msg)) { in Start()
915 LOG(WARNING) << "Failed to load JIT compiler with error " << error_msg; in Start()
1129 std::string error_msg; in OpenBootDexFiles() local
1139 &error_msg, in OpenBootDexFiles()
1141 LOG(WARNING) << "Failed to open .dex from file '" << dex_filename << "': " << error_msg; in OpenBootDexFiles()
1258 std::string error_msg; in Init() local
1264 &error_msg)); in Init()
1266 LOG(ERROR) << "Could not open boot oat file for extracting boot class path: " << error_msg; in Init()
1529 std::string error_msg; in Init() local
[all …]
Dcommon_runtime_test.cc391 /*out*/std::string* error_msg, in StartDex2OatCommandLine() argument
398 *error_msg = "No image location found for Dex2Oat."; in StartDex2OatCommandLine()
429 std::string* error_msg, in CompileBootImage() argument
483 bool result = RunDex2Oat(argv, error_msg); in CompileBootImage()
497 std::string* error_msg) { in RunDex2Oat() argument
500 ForkAndExecResult res = ForkAndExec(args, post_fork_fn, error_msg); in RunDex2Oat()
502 *error_msg = strerror(errno); in RunDex2Oat()
555 std::string error_msg; in VisitDexes() local
561 &error_msg, in VisitDexes()
563 << error_msg; in VisitDexes()
Dimage.cc174 std::string* error_msg) const { in Decompress()
193 if (error_msg != nullptr) { in Decompress()
194 *error_msg = (std::ostringstream() << "Invalid image format " << storage_mode_).str(); in Decompress()
Dindirect_reference_table.h236 std::string* error_msg);
253 std::string* error_msg)
295 bool EnsureFreeCapacity(size_t free_capacity, std::string* error_msg)
385 bool Resize(size_t new_size, std::string* error_msg);
/art/libdexfile/dex/
Ddex_file_verifier.h35 std::string* error_msg);
Dart_dex_file_loader_test.cc67 std::string error_msg; in TEST_F() local
71 &error_msg)) in TEST_F()
72 << error_msg; in TEST_F()
78 std::string error_msg; in TEST_F() local
84 &error_msg)) << error_msg; in TEST_F()
Ddex_file_verifier.cc373 bool VerifyTypeDescriptor(dex::TypeIndex idx, const char* error_msg, ExtraCheckFn extra_check);
446 const char* error_msg, in VerifyTypeDescriptor() argument
455 ErrorStringPrintf("%s: '%s'", error_msg, descriptor); in VerifyTypeDescriptor()
463 ErrorStringPrintf("%s: '%s'", error_msg, descriptor); in VerifyTypeDescriptor()
469 ErrorStringPrintf("%s: '%s'", error_msg, descriptor); in VerifyTypeDescriptor()
852 std::string error_msg; in CheckClassDataItemField() local
853 if (!CheckFieldAccessFlags(idx, access_flags, class_access_flags, &error_msg)) { in CheckClassDataItemField()
854 ErrorStringPrintf("%s", error_msg.c_str()); in CheckClassDataItemField()
882 std::string error_msg; in CheckClassDataItemMethod() local
909 &error_msg)) { in CheckClassDataItemMethod()
[all …]
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc42 const std::string& variant, std::string* error_msg) { in FromVariant() argument
99 *error_msg = StringPrintf("Attempt to use unsupported ARM variant: %s", variant.c_str()); in FromVariant()
318 const std::vector<std::string>& features, std::string* error_msg) const { in AddFeaturesFromSplitString()
338 *error_msg = StringPrintf("Unknown instruction set feature: '%s'", feature.c_str()); in AddFeaturesFromSplitString()
/art/compiler/driver/
Dcompiler_options_map-inl.h35 inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string* error_msg) { in ReadCompilerOptions() argument
40 *error_msg = android::base::StringPrintf("Unknown --compiler-filter value %s", in ReadCompilerOptions()
64 if (!options->ParseDumpInitFailures(*map.Get(Base::DumpInitFailures), error_msg)) { in ReadCompilerOptions()
73 if (!options->ParseRegisterAllocationStrategy(*map.Get(Base::DumpInitFailures), error_msg)) { in ReadCompilerOptions()
Dcompiler_options.h315 std::string* error_msg);
390 bool ParseDumpInitFailures(const std::string& option, std::string* error_msg);
391 bool ParseRegisterAllocationStrategy(const std::string& option, std::string* error_msg);
505 friend bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string* error_msg);
/art/runtime/verifier/
Dverifier_deps.h133 /* out */ std::string* error_msg) const
337 /* out */ std::string* error_msg) const
358 /* out */ std::string* error_msg) const
366 /* out */ std::string* error_msg) const
375 /* out */ std::string* error_msg) const
385 /* out */ std::string* error_msg) const
396 /* out */ std::string* error_msg) const
/art/libdexfile/external/
Ddex_file_ext.cc230 std::string error_msg; in ExtDexFileOpenFromMemory() local
238 &error_msg); in ExtDexFileOpenFromMemory()
240 *ext_error_msg = new ExtDexFileString{std::move(error_msg)}; in ExtDexFileOpenFromMemory()
310 std::string error_msg; in ExtDexFileOpenFromFd() local
319 &error_msg, in ExtDexFileOpenFromFd()
322 *ext_error_msg = new ExtDexFileString{std::move(error_msg)}; in ExtDexFileOpenFromFd()
/art/dex2oat/
Dverifier_deps_test.cc475 bool RunValidation(Fn fn, const std::vector<uint8_t>& buffer, std::string* error_msg) { in RunValidation() argument
497 error_msg); in RunValidation()
1246 std::string error_msg; in TEST_F() local
1261 ASSERT_TRUE(RunValidation([](VerifierDeps::DexFileDeps&) {}, buffer, &error_msg)) in TEST_F()
1262 << error_msg; in TEST_F()
1267 }, buffer, &error_msg)); in TEST_F()
1272 }, buffer, &error_msg)); in TEST_F()
1285 }, buffer, &error_msg)); in TEST_F()
1296 }, buffer, &error_msg)); in TEST_F()
1307 }, buffer, &error_msg)); in TEST_F()
[all …]
Ddex2oat.cc866 std::string error_msg; member
883 compiler_options_->instruction_set_, option, &parser_options->error_msg); in ParseInstructionSetVariant()
885 Usage("%s", parser_options->error_msg.c_str()); in ParseInstructionSetVariant()
892 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ParseInstructionSetFeatures()
895 parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
900 option, &parser_options->error_msg); in ParseInstructionSetFeatures()
902 Usage("Error parsing '%s': %s", option.c_str(), parser_options->error_msg.c_str()); in ParseInstructionSetFeatures()
1072 compiler_options_->instruction_set_, "default", &parser_options->error_msg); in ProcessOptions()
1075 parser_options->error_msg.c_str()); in ProcessOptions()
1300 std::string error_msg; in ParseArgs() local
[all …]
/art/dexlist/
Ddexlist.cc170 std::string error_msg; in processFile() local
178 &error_msg, in processFile()
180 LOG(ERROR) << error_msg; in processFile()
/art/openjdkjvmti/
Dtransform.cc328 std::string error_msg; in RetransformClasses() local
332 res = Redefiner::GetClassRedefinitionError<RedefinitionType::kNormal>(classes[i], &error_msg); in RetransformClasses()
334 JVMTI_LOG(WARNING, env) << "FAILURE TO RETRANSFORM " << error_msg; in RetransformClasses()
354 ArtJvmTiEnv::AsArtJvmTiEnv(env), runtime, self, definitions, redef_type, &error_msg); in RetransformClasses()
356 JVMTI_LOG(WARNING, env) << "FAILURE TO RETRANSFORM " << error_msg; in RetransformClasses()

12345678