Home
last modified time | relevance | path

Searched refs:error_msg (Results 76 – 100 of 189) sorted by relevance

12345678

/art/runtime/
Dplugin.cc37 bool Plugin::Load(/*out*/std::string* error_msg) { in Load() argument
42 *error_msg = StringPrintf("dlopen failed: %s", dlerror()); in Load()
51 *error_msg = StringPrintf("Initialization of plugin failed"); in Load()
Dvdex_file.h190 std::string* error_msg);
203 std::string* error_msg);
210 std::string* error_msg) { in Open() argument
218 error_msg); in Open()
228 std::string* error_msg) { in Open() argument
238 error_msg); in Open()
312 std::string* error_msg) const;
345 std::string* error_msg);
Dcommon_runtime_test.h89 std::string error_msg; in MutateDexFile() local
95 &error_msg, in MutateDexFile()
96 &dex_files)) << error_msg; in MutateDexFile()
116 /*out*/std::string* error_msg,
123 std::string* error_msg,
129 std::string* error_msg,
132 extra_args, image_file_name_prefix, dex_files, dex_files, error_msg, use_fd_prefix);
135 bool RunDex2Oat(const std::vector<std::string>& args, std::string* error_msg);
Doat_file_assistant.h230 std::string* error_msg);
241 std::string* error_msg);
379 bool DexChecksumUpToDate(const VdexFile& file, std::string* error_msg);
384 bool DexChecksumUpToDate(const OatFile& file, std::string* error_msg);
Doat_file.h112 /*out*/std::string* error_msg);
120 /*out*/std::string* error_msg) { in Open() argument
128 error_msg); in Open()
136 /*out*/std::string* error_msg) { in Open() argument
144 error_msg); in Open()
158 /*out*/std::string* error_msg);
305 /*out*/std::string* error_msg = nullptr) const
481 std::unique_ptr<const DexFile> OpenDexFile(std::string* error_msg) const;
Doat_file_assistant_test.cc154 std::string error_msg; in TEST_F() local
155 ASSERT_TRUE(Dex2Oat(args, &error_msg)) << error_msg; in TEST_F()
182 std::string error_msg; in TEST_F() local
187 ASSERT_TRUE(Dex2Oat(args, &error_msg)) << error_msg; in TEST_F()
209 std::string error_msg; in TEST_F() local
214 ASSERT_TRUE(Dex2Oat(args, &error_msg)) << error_msg; in TEST_F()
577 std::string error_msg; in TEST_F() local
579 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
1129 std::string error_msg; in Run() local
1130 ASSERT_TRUE(test_.Dex2Oat(args, &error_msg)) << error_msg; in Run()
[all …]
/art/runtime/ti/
Dagent.h57 /*out*/std::string* error_msg);
64 /*out*/std::string* error_msg);
70 /*out*/std::string* error_msg);
77 /*out*/std::string* error_msg);
/art/runtime/gc/space/
Dimage_space.h143 std::string* error_msg)
150 std::string* error_msg) REQUIRES_SHARED(Locks::mutator_lock_);
241 /*out*/std::string* error_msg);
251 /*out*/std::string* error_msg);
268 static bool ValidateOatFile(const OatFile& oat_file, std::string* error_msg);
294 std::string* error_msg)
Dmalloc_space.cc108 std::string error_msg; in CreateMemMap() local
113 &error_msg); in CreateMemMap()
116 << PrettySize(*capacity) << ": " << error_msg; in CreateMemMap()
211 std::string error_msg; in CreateZygoteSpace() local
213 End(), alloc_space_name, PROT_READ | PROT_WRITE, &error_msg); in CreateZygoteSpace()
214 CHECK(mem_map.IsValid()) << error_msg; in CreateZygoteSpace()
/art/dex2oat/linker/
Doat_writer_test.cc90 std::string error_msg; in SetupCompiler() local
93 &error_msg)) { in SetupCompiler()
94 LOG(FATAL) << error_msg; in SetupCompiler()
265 std::string error_msg; in CheckOatWriteResult() local
271 &error_msg)); in CheckOatWriteResult()
272 ASSERT_TRUE(opened_oat_file != nullptr) << error_msg; in CheckOatWriteResult()
283 opened_oat_file->GetOatDexFiles()[i]->OpenDexFile(&error_msg); in CheckOatWriteResult()
433 std::string error_msg; in TEST_F() local
460 &error_msg)); in TEST_F()
461 ASSERT_TRUE(oat_file.get() != nullptr) << error_msg; in TEST_F()
[all …]
/art/runtime/arch/
Dinstruction_set_features.h40 std::string* error_msg);
77 const std::string& feature_list, std::string* error_msg) const WARN_UNUSED;
133 std::string* error_msg) const = 0;
/art/libdexfile/external/include/art_api/
Ddex_file_external.h57 /*out*/ const struct ExtDexFileString** error_msg,
64 /*out*/ const struct ExtDexFileString** error_msg,
/art/runtime/verifier/
Dverifier_deps.cc985 /* out */ std::string* error_msg) const { in ValidateDependencies()
987 if (!VerifyDexFile(class_loader, *entry.first, *entry.second, classpath, self, error_msg)) { in ValidateDependencies()
1014 /* out */ std::string* error_msg) const { in VerifyAssignability()
1029 *error_msg = "Could not resolve class " + destination_desc; in VerifyAssignability()
1034 *error_msg = "Could not resolve class " + source_desc; in VerifyAssignability()
1040 *error_msg = "Class " + destination_desc + (expected_assignability ? " not " : " ") + in VerifyAssignability()
1052 /* out */ std::string* error_msg) const { in VerifyClasses()
1062 *error_msg = "Could not resolve class " + descriptor; in VerifyClasses()
1065 *error_msg = "Unexpected access flags on class " + descriptor in VerifyClasses()
1071 *error_msg = "Unexpected successful resolution of class " + descriptor; in VerifyClasses()
[all …]
/art/libartbase/base/
Dscoped_flock.h49 std::string* error_msg);
52 static ScopedFlock Open(const char* filename, std::string* error_msg);
/art/runtime/jni/
Djava_vm_ext.cc95 char* error_msg = nullptr; in ~SharedLibrary() local
96 if (!android::CloseNativeLibrary(handle_, needs_native_bridge_, &error_msg)) { in ~SharedLibrary()
97 LOG(WARNING) << "Error while unloading native library \"" << path_ << "\": " << error_msg; in ~SharedLibrary()
98 android::NativeLoaderFreeErrorMessage(error_msg); in ~SharedLibrary()
492 std::string* error_msg) in JavaVMExt() argument
501 globals_(kGlobalsMax, kGlobal, IndirectReferenceTable::ResizableCapacity::kNo, error_msg), in JavaVMExt()
507 error_msg), in JavaVMExt()
530 std::string* error_msg) NO_THREAD_SAFETY_ANALYSIS { in Create() argument
531 std::unique_ptr<JavaVMExt> java_vm(new JavaVMExt(runtime, runtime_options, error_msg)); in Create()
669 std::string error_msg; in AddGlobalRef() local
[all …]
Djni_env_ext.cc68 JNIEnvExt* JNIEnvExt::Create(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) { in Create() argument
69 std::unique_ptr<JNIEnvExt> ret(new JNIEnvExt(self_in, vm_in, error_msg)); in Create()
76 JNIEnvExt::JNIEnvExt(Thread* self_in, JavaVMExt* vm_in, std::string* error_msg) in JNIEnvExt() argument
80 locals_(kLocalsInitial, kLocal, IndirectReferenceTable::ResizableCapacity::kYes, error_msg), in JNIEnvExt()
102 std::string error_msg; in NewLocalRef() local
103 jobject ref = reinterpret_cast<jobject>(locals_.Add(local_ref_cookie_, obj, &error_msg)); in NewLocalRef()
106 LOG(FATAL) << error_msg; in NewLocalRef()
/art/openjdkjvmti/
Dti_redefine.h84 /*out*/std::string* error_msg);
103 std::string* error_msg);
107 static jvmtiError GetClassRedefinitionError(jclass klass, /*out*/std::string* error_msg)
315 std::string* error_msg) in Redefiner() argument
322 error_msg_(error_msg) { } in Redefiner()
337 /*out*/std::string* error_msg)
367 void RecordFailure(jvmtiError result, const std::string& class_sig, const std::string& error_msg);
368 void RecordFailure(jvmtiError result, const std::string& error_msg) { in RecordFailure() argument
369 RecordFailure(result, "NO CLASS", error_msg); in RecordFailure()
/art/tools/veridex/
Dveridex.cc151 std::string error_msg; in Run() local
158 if (!Load(str, boot_content[i++], &boot_dex_files, &error_msg)) { in Run()
159 LOG(ERROR) << error_msg; in Run()
169 if (!Load(str, app_content[i++], &app_dex_files, &error_msg)) { in Run()
170 LOG(ERROR) << error_msg; in Run()
292 std::string* error_msg) { in Load() argument
294 *error_msg = "Missing file name"; in Load()
300 *error_msg = "ReadFileToString failed for " + filename; in Load()
314 error_msg, in Load()
/art/runtime/gc/accounting/
Dcard_table.cc66 std::string error_msg; in Create() local
71 &error_msg); in Create()
72 CHECK(mem_map.IsValid()) << "couldn't allocate card table: " << error_msg; in Create()
Dbitmap.cc50 std::string error_msg; in AllocateMemMap() local
55 &error_msg); in AllocateMemMap()
57 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg; in AllocateMemMap()
Dread_barrier_table.h41 std::string error_msg; in ReadBarrierTable() local
46 &error_msg); in ReadBarrierTable()
48 << "couldn't allocate read barrier table: " << error_msg; in ReadBarrierTable()
/art/runtime/gc/
Dheap_test.cc35 std::string error_msg; in SetUp() local
44 &error_msg); in SetUp()
45 ASSERT_TRUE(reserved_.IsValid()) << error_msg; in SetUp()
/art/dex2oat/
Dcommon_compiler_driver_test.cc68 std::string error_msg; in ReserveImageSpace() local
77 &error_msg); in ReserveImageSpace()
78 CHECK(image_reservation_.IsValid()) << error_msg; in ReserveImageSpace()
/art/runtime/arch/arm/
Dinstruction_set_features_arm.h31 static ArmFeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
85 std::string* error_msg) const override;
/art/libdexfile/dex/
Dcode_item_accessors_test.cc44 std::string error_msg; in CreateFakeDex() local
52 &error_msg)); in CreateFakeDex()
53 CHECK(dex != nullptr) << error_msg; in CreateFakeDex()

12345678