/art/runtime/arch/arm/ |
instruction_set_features_arm_test.cc | 25 std::string error_msg; local 27 InstructionSetFeatures::FromVariant(kArm, "krait", &error_msg)); 28 ASSERT_TRUE(krait_features.get() != nullptr) << error_msg; 39 InstructionSetFeatures::FromVariant(kArm, "denver", &error_msg)); 40 ASSERT_TRUE(denver_features.get() != nullptr) << error_msg; 52 InstructionSetFeatures::FromVariant(kArm, "arm7", &error_msg)); 53 ASSERT_TRUE(arm7_features.get() != nullptr) << error_msg; 65 InstructionSetFeatures::FromVariant(kArm, "arm6", &error_msg)); 67 EXPECT_NE(error_msg.size(), 0U); 71 std::string error_msg; local [all...] |
/art/runtime/arch/arm64/ |
instruction_set_features_arm64_test.cc | 25 std::string error_msg; local 27 InstructionSetFeatures::FromVariant(kArm64, "default", &error_msg)); 28 ASSERT_TRUE(arm64_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/mips/ |
instruction_set_features_mips_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kMips, "default", &error_msg)); 27 ASSERT_TRUE(mips_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/mips64/ |
instruction_set_features_mips64_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kMips64, "default", &error_msg)); 27 ASSERT_TRUE(mips64_features.get() != nullptr) << error_msg;
|
/art/runtime/arch/x86/ |
instruction_set_features_x86_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kX86, "default", &error_msg)); 27 ASSERT_TRUE(x86_features.get() != nullptr) << error_msg; 37 std::string error_msg; local 39 InstructionSetFeatures::FromVariant(kX86, "atom", &error_msg)); 40 ASSERT_TRUE(x86_features.get() != nullptr) << error_msg; 49 InstructionSetFeatures::FromVariant(kX86, "default", &error_msg)); 50 ASSERT_TRUE(x86_default_features.get() != nullptr) << error_msg; 59 InstructionSetFeatures::FromVariant(kX86_64, "atom", &error_msg)); 60 ASSERT_TRUE(x86_64_features.get() != nullptr) << error_msg; 74 std::string error_msg; local [all...] |
/art/runtime/arch/x86_64/ |
instruction_set_features_x86_64_test.cc | 24 std::string error_msg; local 26 InstructionSetFeatures::FromVariant(kX86_64, "default", &error_msg)); 27 ASSERT_TRUE(x86_64_features.get() != nullptr) << error_msg;
|
/art/runtime/base/ |
scoped_flock_test.cc | 27 std::string error_msg; local 35 &error_msg)); 37 ASSERT_FALSE(file_lock.Init("/guaranteed/not/to/exist", &error_msg));
|
/art/compiler/ |
elf_writer.cc | 44 std::string error_msg; local 49 &error_msg)); 50 CHECK(elf_file.get() != nullptr) << error_msg; 52 bool success = elf_file->GetLoadedSize(oat_loaded_size, &error_msg); 53 CHECK(success) << error_msg; 60 std::string error_msg; local 61 std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, /*low_4gb*/false, &error_msg)); 62 CHECK(elf_file.get() != nullptr) << error_msg;
|
elf_writer_test.cc | 66 std::string error_msg; local 71 &error_msg)); 72 CHECK(ef.get() != nullptr) << error_msg; 78 std::string error_msg; local 83 &error_msg)); 84 CHECK(ef.get() != nullptr) << error_msg; 90 std::string error_msg; local 95 &error_msg)); 96 CHECK(ef.get() != nullptr) << error_msg; 97 CHECK(ef->Load(file.get(), false, /*low_4gb*/false, &error_msg)) << error_msg [all...] |
/art/dexdump/ |
dexdump_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 50 return ::art::Exec(exec_argv, error_msg); 58 std::string error_msg; local 59 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; 63 std::string error_msg; local 64 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 68 std::string error_msg; local 69 ASSERT_FALSE(Exec({"-c", "-i", dex_file_}, &error_msg)) << error_msg 73 std::string error_msg; local 79 std::string error_msg; local [all...] |
/art/dexlist/ |
dexlist_test.cc | 44 bool Exec(const std::vector<std::string>& args, std::string* error_msg) { 54 return ::art::Exec(exec_argv, error_msg); 62 std::string error_msg; local 63 ASSERT_FALSE(Exec({}, &error_msg)) << error_msg; 67 std::string error_msg; local 68 ASSERT_FALSE(Exec({"-o", "/joho", dex_file_}, &error_msg)) << error_msg; 72 std::string error_msg; local 73 ASSERT_FALSE(Exec({"-m", "joho", dex_file_}, &error_msg)) << error_msg 77 std::string error_msg; local 82 std::string error_msg; local [all...] |
/art/runtime/arch/ |
instruction_set_features_test.cc | 46 std::string error_msg; local 48 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 49 ASSERT_TRUE(property_features.get() != nullptr) << error_msg; 79 std::string error_msg; local 81 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 82 ASSERT_TRUE(base_features.get() != nullptr) << error_msg; 85 base_features->AddFeaturesFromString(dex2oat_isa_features, &error_msg)); 86 ASSERT_TRUE(property_features.get() != nullptr) << error_msg; 116 std::string error_msg; local 118 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg)); [all...] |
/art/oatdump/ |
oatdump_test.cc | 61 bool Exec(Mode mode, const std::vector<std::string>& args, std::string* error_msg) { 80 return ::art::Exec(exec_argv, error_msg); 91 std::string error_msg; local 92 ASSERT_TRUE(Exec(kModeArt, {}, &error_msg)) << error_msg; 96 std::string error_msg; local 97 ASSERT_TRUE(Exec(kModeOat, {}, &error_msg)) << error_msg; 101 std::string error_msg; local 102 ASSERT_TRUE(Exec(kModeArt, {"--no-dump:vmap"}, &error_msg)) << error_msg 106 std::string error_msg; local 111 std::string error_msg; local 116 std::string error_msg; local 121 std::string error_msg; local [all...] |
/art/runtime/gc/accounting/ |
bitmap.cc | 47 std::string error_msg; local 50 &error_msg)); 52 LOG(ERROR) << "Failed to allocate bitmap " << name << ": " << error_msg; local
|
read_barrier_table.h | 39 std::string error_msg; local 41 PROT_READ | PROT_WRITE, false, false, &error_msg); 43 << "couldn't allocate read barrier table: " << error_msg;
|
/art/runtime/ |
oat_file_test.cc | 75 std::string error_msg; local 78 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(nullptr, &error_msg)) << error_msg; 79 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies("", &error_msg)) << error_msg; 82 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc", &error_msg)); 83 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc*123*def", &error_msg)); 84 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc*def*", &error_msg)); 87 EXPECT_FALSE(OatFile::CheckStaticDexFileDependencies("abc*123*", &error_msg)); 95 EXPECT_TRUE(OatFile::CheckStaticDexFileDependencies(encoding1.c_str(), &error_msg)) [all...] |
zip_archive_test.cc | 34 std::string error_msg; local 35 std::unique_ptr<ZipArchive> zip_archive(ZipArchive::Open(GetLibCoreDexFileNames()[0].c_str(), &error_msg)); 36 ASSERT_TRUE(zip_archive.get() != nullptr) << error_msg; 37 ASSERT_TRUE(error_msg.empty()); 38 std::unique_ptr<ZipEntry> zip_entry(zip_archive->Find("classes.dex", &error_msg)); 40 ASSERT_TRUE(error_msg.empty()); 46 bool success = zip_entry->ExtractToFile(*file, &error_msg); 47 ASSERT_TRUE(success) << error_msg; 48 ASSERT_TRUE(error_msg.empty());
|
utils_test.cc | 362 std::string error_msg; local 365 EXPECT_TRUE(Exec(command, &error_msg)); 367 EXPECT_EQ(0U, error_msg.size()) << error_msg; 376 std::string error_msg; local 379 EXPECT_FALSE(Exec(command, &error_msg)); 380 EXPECT_FALSE(error_msg.empty()); 398 std::string error_msg; local 401 EXPECT_FALSE(Exec(command, &error_msg)); 402 EXPECT_NE(0U, error_msg.size()) << error_msg 423 std::string error_msg; local [all...] |
dex2oat_environment_test.h | 56 std::string error_msg; variable 63 ASSERT_FALSE(DexFile::GetChecksum(GetStrippedDexSrc1().c_str(), &checksum, &error_msg)) 72 GetMultiDexSrc1().c_str(), &error_msg, &multi1)) << error_msg; variable 77 GetMultiDexSrc2().c_str(), &error_msg, &multi2)) << error_msg; variable 138 bool GetCachedImageFile(/*out*/std::string* image, std::string* error_msg) const { 140 return GetDalvikCacheFilename(GetImageLocation().c_str(), cache.c_str(), image, error_msg);
|
/art/runtime/verifier/ |
method_verifier_test.cc | 39 std::string error_msg; local 45 &error_msg); 46 ASSERT_TRUE(failure == MethodVerifier::kNoFailure) << error_msg;
|
/system/tools/aidl/ |
type_namespace.cpp | 102 string error_msg; local 103 const ValidatableType* return_type = GetValidatableType(raw_type, &error_msg); 108 << error_msg; 122 string error_msg; local 123 const ValidatableType* t = GetValidatableType(a.GetType(), &error_msg); 125 LOG(ERROR) << error_prefix << error_msg; local
|
/art/imgdiag/ |
imgdiag_test.cc | 86 bool Exec(pid_t image_diff_pid, const std::string& boot_image, std::string* error_msg) { 115 return ::art::Exec(exec_argv, error_msg); 119 bool ExecDefaultBootImage(pid_t image_diff_pid, std::string* error_msg) { 120 return Exec(image_diff_pid, boot_image_location_, error_msg); 141 std::string error_msg; local 142 ASSERT_TRUE(ExecDefaultBootImage(getpid(), &error_msg)) << "Failed to execute -- because: " 143 << error_msg; local 150 std::string error_msg; local 152 &error_msg)) << "Incorrectly executed"; 153 UNUSED(error_msg); [all...] |
/external/libxml2/ |
check-xinclude-test-suite.py | 28 error_msg = '' variable 32 global error_msg 36 if len(error_msg) < 300: 37 if len(error_msg) == 0 or error_msg[-1] == '\n': 38 error_msg = error_msg + " >>" + str 40 error_msg = error_msg + str 46 global error_msg [all...] |
/system/webservd/webservd/ |
config.cc | 115 std::string error_msg; local 118 config_json, base::JSON_ALLOW_TRAILING_COMMAS, nullptr, &error_msg) 126 error_msg.c_str());
|
/art/compiler/jit/ |
jit_compiler.cc | 120 std::string error_msg; local 125 instruction_set, str.as_string(), &error_msg)); 127 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; local 134 instruction_set, "default", &error_msg)); 136 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; local 140 instruction_set_features_->AddFeaturesFromString(str.as_string(), &error_msg)); 142 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; local
|