/art/compiler/ |
D | common_compiler_test.cc | 51 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/ |
D | common_art_test.h | 124 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/ |
D | oatdump.cc | 119 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/ |
D | imgdiag.cc | 1230 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/ |
D | mem_map_arena_pool.cc | 59 std::string error_msg; in Allocate() local 64 &error_msg); in Allocate() 65 CHECK(map.IsValid()) << error_msg; in Allocate()
|
/art/tools/dexanalyze/ |
D | dexanalyze.cc | 200 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/ |
D | instruction_set.cc | 115 NO_RETURN void GetStackOverflowReservedBytesFailure(const char* error_msg) { in GetStackOverflowReservedBytesFailure() argument 116 LOG(FATAL) << error_msg; in GetStackOverflowReservedBytesFailure()
|
/art/runtime/arch/arm64/ |
D | instruction_set_features_arm64.h | 31 static Arm64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg); 103 std::string* error_msg) const override;
|
D | instruction_set_features_arm64.cc | 38 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/ |
D | runtime.cc | 913 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 …]
|
D | common_runtime_test.cc | 391 /*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()
|
D | image.cc | 174 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()
|
D | indirect_reference_table.h | 236 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/ |
D | dex_file_verifier.h | 35 std::string* error_msg);
|
D | art_dex_file_loader_test.cc | 67 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()
|
D | dex_file_verifier.cc | 373 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/ |
D | instruction_set_features_arm.cc | 42 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/ |
D | compiler_options_map-inl.h | 35 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()
|
D | compiler_options.h | 315 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/ |
D | verifier_deps.h | 133 /* 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/ |
D | dex_file_ext.cc | 230 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/ |
D | verifier_deps_test.cc | 475 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 …]
|
D | dex2oat.cc | 866 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/ |
D | dexlist.cc | 170 std::string error_msg; in processFile() local 178 &error_msg, in processFile() 180 LOG(ERROR) << error_msg; in processFile()
|
/art/openjdkjvmti/ |
D | transform.cc | 328 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()
|